/* Enhanced Celtic Tech Theme - Professional & Readable */
:root {
  --dark-bg: #0d1117;
  --deep-green: #132a22;
  --darker-green: #0a1a14;
  --tech-teal: #23857a;
  --celtic-gold: #c9a95d;
  --light-text: #e8e6e3;
  --card-bg: #161b22;
  --border-accent: #2a5446;
  --grid-color: rgba(35, 133, 122, 0.15);
}

* {
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Enhanced Tech Grid Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 35px 35px;
  opacity: 0.2;
  z-index: -2;
  pointer-events: none;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 35px 35px; }
}

/* Celtic Knot-inspired subtle overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(35, 133, 122, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(35, 133, 122, 0.05) 0%, transparent 20%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

#hero {
  background: linear-gradient(to bottom, var(--deep-green) 0%, var(--dark-bg) 100%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.logo-container {
  margin-bottom: 30px;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  box-shadow: 0 0 15px rgba(42, 84, 70, 0.4);
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(42, 84, 70, 0.6);
}

#hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--light-text);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
}

#hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: var(--light-text);
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

#nav-bar {
  background-color: rgba(10, 26, 20, 0.95);
  padding: 15px;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-accent);
}

#nav-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
}

#nav-bar a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 0;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
}

#nav-bar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--celtic-gold);
  transition: width 0.3s ease;
}

#nav-bar a:hover::after {
  width: 100%;
}

#nav-bar a:hover {
  color: var(--celtic-gold);
}

/* Services Section */
#servicios {
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.centered {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 50px;
  color: var(--light-text);
  position: relative;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.centered::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--tech-teal), var(--celtic-gold));
}

.tarjetas-servicios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.tarjeta-servicio {
  background: linear-gradient(145deg, var(--card-bg), #121920);
  padding: 30px;
  border-radius: 8px;
  width: 350px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-accent);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.tarjeta-servicio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--tech-teal), var(--celtic-gold));
  opacity: 0.7;
}

.tarjeta-servicio:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  border-color: var(--tech-teal);
}

.tarjeta-servicio h3 {
  color: var(--celtic-gold);
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.tarjeta-servicio p {
  color: var(--light-text);
  opacity: 0.9;
  margin-bottom: 25px;
  line-height: 1.6;
}

.btn {
  background: linear-gradient(135deg, var(--tech-teal), #1a6b60);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(42, 84, 70, 0.3);
  font-family: 'Montserrat', sans-serif;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #1a6b60, var(--tech-teal));
}

/* Contact Form Styling */
#formulario {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

#formulario .tarjeta-servicio {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contact-form label {
  text-align: left;
  color: var(--celtic-gold);
  font-weight: 600;
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
}

#contact-form input,
#contact-form textarea {
  padding: 15px;
  border: 1px solid var(--border-accent);
  border-radius: 4px;
  background: rgba(22, 27, 34, 0.6);
  color: var(--light-text);
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: 'Open Sans', sans-serif;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--tech-teal);
  box-shadow: 0 0 0 2px rgba(35, 133, 122, 0.2);
}

#contact-form button {
  align-self: center;
  margin-top: 20px;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}

.newsletter-input {
  padding: 10px 15px;
  border: 1px solid var(--border-accent);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  font-family: 'Open Sans', sans-serif;
  min-width: 200px;
}

.newsletter-btn {
  padding: 10px 20px;
  background: var(--tech-teal);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: #1a6b60;
}

/* Footer */
footer {
  background: linear-gradient(to top, var(--deep-green) 0%, var(--dark-bg) 100%);
  padding: 40px 20px;
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid var(--border-accent);
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-cta {
  margin-bottom: 25px;
}

.footer-cta h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--celtic-gold);
}

.footer-icons {
  margin: 25px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-icon {
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  border-radius: 4px;
  padding: 5px;
  background: rgba(42, 84, 70, 0.2);
  cursor: pointer;
}

.footer-icon:hover {
  transform: scale(1.1);
  background: rgba(42, 84, 70, 0.4);
}

.footer-links {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--light-text);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--celtic-gold);
}

footer p {
  margin: 10px 0;
  font-family: 'Open Sans', sans-serif;
}

footer p:last-child {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  #nav-bar ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .tarjetas-servicios {
    flex-direction: column;
    align-items: center;
  }
  
  .tarjeta-servicio {
    width: 100%;
    max-width: 400px;
  }
  
  #hero h1 {
    font-size: 2.5rem;
  }
  
  .centered {
    font-size: 2rem;
  }
  
  .footer-icons {
    gap: 20px;
  }
  
  .footer-icon {
    width: 40px;
    height: 40px;
  }
  
  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }
  
  .newsletter-input {
    min-width: unset;
    width: 100%;
    max-width: 250px;
  }
}

/* Center content for all inner pages */
#contenido {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

#contenido .tarjeta-servicio {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

#contenido .text-center {
    text-align: center;
}

#contenido h2, #contenido h3, #contenido h4 {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 15px;
}

#contenido h2 {
    color: var(--celtic-gold);
}

#contenido ul {
    max-width: 600px;
    margin: 0 auto;
}

#contenido p {
    text-align: left;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Specific styling for legal pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h3 {
    color: var(--celtic-gold);
    border-bottom: 1px solid var(--border-accent);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Si estas leyendo esto ahora, estos son los estilos para la puta que te pario */
.service-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
}

.separador {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
    margin: 40px 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.tarjetas-servicios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.tarjeta-servicio .precio {
    font-size: 1.8rem;
    color: var(--celtic-gold);
    font-weight: 700;
    margin: 20px 0;
}

.tarjeta-servicio .precio small {
    font-size: 0.8rem;
    color: var(--light-text);
    opacity: 0.8;
}

.nota-pequena {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 20px;
}
