:root {
    --primary-color: #301934;
    --secondary-color: #4B0082;
    --accent-color: #800080;
    --text-color: #333;
    --background-color: #000;
    --gold-color: #FFD700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header & Navigation */
header {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gold-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-color);
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--gold-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url("imagenes/B1.jpg");
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--gold-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.mystic-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: mysticalFloat 20s infinite linear;
}

/*Sección adicionada Banner principal para agregar los videos a los lados*/

.hero-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 120px; /* más separación */
    padding: 40px 20px;
}

.hero-video {
    /*width: 240px;    /*más ancho */
    /*height: 430px;   /*más alto */
    flex: 0 0 30%; 
    border-radius: 15px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    background-color: #000; /* fondo oscuro por si carga lento */
    aspect-ratio: 16/9;
}

/* Responsive para móviles */
@media screen and (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .hero-video {
        width: 90%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 16/9;
    }
}




/*sección corregida de testimonios*/

/* Sección principal de testimonios */
#testimonials {
    background-color: #3E215D; /* Morado profundo */
    color: #ffffff;
    padding: 3rem 2rem;
    font-family: sans-serif;
  }
  
  /* Título */
  #testimonials h2 {
    text-align: center;
    color: #FFD700; /* Oro */
    margin-bottom: 2rem;
    font-size: 2rem;
  }
  
  /* Contenedor que aloja las tarjetas */
  .testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Tarjeta individual */
  .testimonial-card {
    background-color: #2F1A39; /* Morado un poco más oscuro */
    border: 1px solid #FFD700; /* Borde dorado */
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s;
  }
  
  /* Efecto hover */
  .testimonial-card:hover {
    transform: translateY(-5px);
  }
  
  /* Texto de la cita */
  .testimonial-card .quote {
    font-style: italic;
    margin-bottom: 1rem;
  }
  
  /* Nombre del autor */
  .testimonial-card .author {
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 0.5rem;
  }
  
  /* Estrellas o calificación */
  .testimonial-card .rating {
    color: #FFD700;
    font-size: 1.2rem;
  }
  
/*Hasta aquí va testimonios*/

/* Services Section */
.services {
    padding: 5rem 2rem;
    background-color: var(--background-color);
    color: white;
}

.services h2 {
    text-align: center;
    color: var(--gold-color);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta de servicio ajustada */
.service-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--gold-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden; /* Para que la imagen respete el borde redondeado */
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Imagen local en la parte superior */
.service-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Contenedor para el contenido textual de la tarjeta */
.service-card .content {
    padding: 2rem;
    text-align: center;
    color: white;
}



/* About Section */
.about {
    padding: 5rem 2rem;
    background-color: var(--background-color);
    color: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: var(--gold-color);
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    padding: 2rem;
}

.about-image svg {
    color: var(--gold-color);
    max-width: 400px;
    height: auto;
}

/*efecto de marco para la sección About */

/* 1. Enmarca el contenedor principal */
#quienes-somos {
    padding: 4rem 3rem;       /* de 3rem/2rem a 4rem/3rem */
    max-width: 1200px;        /* de 1000px a 1200px */
    margin: 2rem auto;
    background: rgba(0, 0, 20, 0.6);
    border: 4px solid transparent;
    border-image: linear-gradient(45deg, rgba(255,215,0,0.8), rgba(138,43,226,0.8)) 1;
    box-shadow:
      0 0 20px rgba(255,215,0,0.5),
      inset 0 0 15px rgba(138,43,226,0.5);
  }
  
  /* 2. Esquinas místicas animadas */
  #quienes-somos::before,
  #quienes-somos::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, rgba(255,215,0,0.9), transparent 60%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,215,0,0.8);
    animation: pulse 3s ease-in-out infinite;
  }
  
  /* esquina superior izquierda */
  #quienes-somos::before {
    top: -12px;
    left: -12px;
  }
  
  /* esquina inferior derecha */
  #quienes-somos::after {
    bottom: -12px;
    right: -12px;
  }
  
  /* 3. Animación de pulso */
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 0.6;
    }
    50% {
      transform: scale(1.5);
      opacity: 1;
    }
  }
  
  /* Ajuste pronunciado para la imagen */
#quienes-somos .about-image img {
    width: 60%;       /* antes 50% */
    max-width: 100%;  /* para no desbordar en móviles */
    height: auto;     /* mantiene proporción */
    display: block;
    margin: 0 auto;   /* centra la imagen en su contenedor */
  }

  /* 4. Asegura que el contenido quede por encima del marco */
  #quienes-somos .about-container,
  #quienes-somos .about-content,
  #quienes-somos .about-image {
    position: relative;
    z-index: 2;
  }
  
/*..............Finaliza la sección del marco About...............*/


/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--gold-color);
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 2rem;
    background-color: var(--primary-color);
    position: relative;
}

.testimonials h2 {
    text-align: center;
    color: var(--gold-color);
    margin-bottom: 3rem;
}

.testimonial-slider {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    min-width: 300px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--gold-color);
    transition: transform 0.3s ease;
    color: white;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.testimonial-author strong {
    color: var(--gold-color);
}

.stars {
    color: var(--gold-color);
    font-size: 1.2rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-button {
    background: var(--gold-color);
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonial-button:hover {
    background: white;
}


/*Banner prmocional opción estrellas*/
.promo-banner {
    position: relative;
    background: linear-gradient(45deg, #5f27cd, #341f97, #cf2ede);
    color: white;
    text-align: center;
    padding: 60px 20px;
    overflow: hidden;
}


.promo-content {
    position: relative;
    z-index: 2;
}

.promo-content p {
    font-size: 1.5rem; /* Aumenta el tamaño del texto */
    margin: 10px 0;
    font-weight: bold;
}

.call-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background-color: #ff9ff3;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 0 10px #fff;
    transition: all 0.3s ease;
}

.call-button:hover {
    background-color: #f368e0;
    transform: scale(1.05);
    box-shadow: 0 0 20px #fff;
}

@media screen and (min-width: 768px) {
    .promo-content p {
        font-size: 2rem; /* Tamaño más grande en pantallas grandes */
    }
}


/* Show call button only on mobile devices */
@media (max-width: 768px) {
    .call-button {
        display: inline-block;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background-color: var(--background-color);
}

.contact h2 {
    text-align: center;
    color: var(--gold-color);
    margin-bottom: 3rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}


/*Alineación imágenes en sección*/

/* 1. Asegúrate de que .contact-flex es un flex container */
#contacto .contact-flex {
    display: flex;
    align-items: center;      /* centra en vertical */
    justify-content: space-between; /* reparte en horizontal */
    flex-wrap: wrap;           /* en móvil apila si hace falta */
    gap: 2rem;
  }
  
  /* 2. Fuerza que cada hijo se alinee en el centro del contenedor */
  #contacto .contact-flex > * {
    align-self: center;
  }
  
  /* 3. Centra la imagen dentro de su propio contenedor */
  #contacto .contact-image {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* 4. Asegura que la imagen no desborde */
  #contacto .contact-image img {
    max-width: 100%;
    height: auto;
    display: block;
  }
 
  
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, select, textarea {
    padding: 1rem;
    border: 1px solid var(--gold-color);
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

textarea {
    height: 150px;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.cta-button {
    background: var(--gold-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
}

.cta-button:hover {
    background: white;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: var(--gold-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gold-color);
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background: white;
}

.whatsapp-button svg {
    width: 35px;
    height: 35px;
    color: var(--primary-color);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.no-link-style {
    color: inherit;
    text-decoration: none;
}

/*código formulario de contacto para ajustar imagen*/
.contact-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 20px;
}

/* Formulario */
#contact-form {
    flex: 1 1 300px;
    max-width: 500px;
}

/* Imagen */
.contact-image {
    flex: 1 1 300px;
    max-width: 600px;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Estilos para pantallas pequeñas (responsivo) */
@media screen and (max-width: 768px) {
    .contact-flex {
        flex-direction: column;
        align-items: center;
    }

    #contact-form,
    .contact-image {
        max-width: 100%;
    }
}


    /* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 2rem 1rem;
    border-top: 1px solid var(--gold-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animations */
@keyframes colorChange {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes mysticalFloat {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image svg {
        max-width: 300px;
    }
}


/*Botón que activa o desactiva el sonido*/
.sound-toggle {
    position: fixed;
    bottom: 130px;  /* más alto que el de WhatsApp */
    right: 40px;
    z-index: 9999;
    background-color: #341f97;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
    transition: transform 0.2s;
}


.sound-toggle:hover {
    transform: scale(1.1);
}


/* 1. Todas las secciones recortan las estrellas */
section:not(#inicio) {
    position: relative;
    overflow: hidden;
  }
  
  /* 2. Contenedor de estrellas */
  section:not(#inicio) .stars {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }
  
  /* 3. Cada estrella */
  section:not(#inicio) .stars span {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle 2s infinite ease-in-out;
  }
  
  /* 4. Animación de parpadeo */
  @keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.6); }
  }
  
  /* 5. Asegura que el contenido de cada sección quede por encima */
  section:not(#inicio) > *:not(.stars) {
    position: relative;
    z-index: 2;
  }
  

/* Estilos para el select donde selecciono el servicio a prestar del formulario de contacto*/

#contact-form select {
    background-color: #000000 !important;  /* fondo blanco */
    color: #f9f5f5    !important;          /* texto oscuro */
  }
  
  /* Estilos para las opciones */
  #contact-form select option {
    background-color: #d461de !important;  /* fondo blanco */
    color: #f9f5f5    !important;          /* texto oscuro */
  }
  
  /* Si tu tema aplica opacidades o transparencias */
  #contact-form select,
  #contact-form select option {
    opacity: 1 !important;
  }
  
  

 /* ----------------------------------------------- */
/* 1) Botón oculto por defecto (escritorio)       */
/* ----------------------------------------------- */
.nav-toggle {
    display: none;
  }
  
  /* Asegura que el nav sea contenedor relativo para el menú absoluto */
  .nav {
    position: relative;
  }
  
  /* Lista horizontal por defecto */
  .nav-list {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  /* ----------------------------------------------- */
  /* 2) Responsive: móvil (≤ 768px)                  */
  /* ----------------------------------------------- */
  @media (max-width: 768px) {
    /* Mostrar el botón hamburger */
    .nav-toggle {
      display: block;
      font-size: 1.8rem;
      background: none;
      border: none;
      cursor: pointer;
      position: absolute;
      top: 50%;
      right: 1rem;
      transform: translateY(-50%);
      z-index: 1100;
    }
  
    /* Ocultar la lista por defecto */
    .nav-list {
      display: none;
      flex-direction: column;
      background-color: #0f0f0f;
      position: absolute;
      top: 100%;
      color: yellow;
      right: 1rem;
      width: 200px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      border-radius: 4px;
      padding: 0.5rem 0;
      z-index: 1000;
    }
  
    /* Cuando .open esté presente en nav */
    .nav.open .nav-list {
      display: flex;
    }
  }
  
 
 