/* Variables de color */
:root {
    --white: #ffffff;
    --blue-light: #A7D2F2;
    --grey-light: #F2F2F2;
    --mint: #CFF2D6;
    --black: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    background-color: var(--white);
    color: var(--black);
}

/* Separación y centrado de títulos */
section {
    text-align: center;
    margin-bottom: 30px;
}

/* Encabezado */
.header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000; /* Asegura que el menú esté por encima de otros elementos */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.logo {
    font-size: 2.5rem;
    font-family: 'Dancing Script', cursive;
    font-weight: 900;
    color: #000;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #333;
        padding: 20px;
        border-radius: 5px;
        width: 200px;
        text-align: center;
    }

    .burger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
    }

    .logo{
        font-size: 1rem;
    }
}

/* Efecto al hacer scroll para una pequeña sombra en el menú */
.header.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


/* Sección Hero */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    position: relative;
    max-width: 800px;
    width: 80%;
}

.slide {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-150%, -50%); /* Inicia fuera de la pantalla */
    transition: all 1s ease-in-out;
    width: 100%;
}

.slide.active {
    opacity: 1;
    transform: translate(-50%, -50%); /* Llega al centro de la pantalla */
}

.slide.exit {
    opacity: 0;
    transform: translate(150%, -50%); /* Sale hacia la derecha */
}

.hero-title {
    font-size: 4.5rem;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Sombra para resaltar el texto */
    line-height: 1.2;
}

.hero-text {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}




.btn {
    padding: 10px 20px;
    background-color: var(--mint);
    color: var(--black);
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}


/* Estilo de las tarjetas de servicio */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.services-section h2 {
    font-size: 2rem;
    margin: 1.5rem;
    color: #333;
    text-align: center;
}

.service-card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Hace que los bordes redondeados se apliquen a la imagen también */
    width: 400px; /* Aumenta el ancho de la tarjeta */
    text-align: left;
    transition: transform 0.3s ease; /* Animación al pasar el cursor */
}

.service-card:hover {
    transform: scale(1.03); /* Efecto de zoom al pasar el cursor */
}

.service-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.service-content .btn{
    align-content: center;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 1.8rem;
    margin: 10px 0;
    color: #0a6a8d;
    text-align: center;
}

.service-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}



/* Contenedor de la Sección About */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.about-container {
    display: flex;
    align-items: center;
    width: 90%;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 400px;
    height: 400px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text h2{
    text-align: center;
}

.about-text {
    flex: 2;
    padding-left: 2rem;
    text-align: left;
}

.about-text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.about-text h4 {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    margin-right: 10px;
    font-size: 1.5rem;
    color: #555;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #007bff;
}

/* Responsividad */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        margin-bottom: 1.5rem;
    }

    .about-text {
        padding-left: 0;
    }
}


/* Galería de Fotos */
.gallery {
    padding: 2rem;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery-container img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
}


/* Sección de Videos */
.videos-section {
    padding: 2rem;
    text-align: center;
    background-color: #f5f5f5;
}

.videos-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.video-item iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Adaptación para pantallas pequeñas */
@media (max-width: 768px) {
    .video-item iframe {
        height: 180px;
    }
}

/* Fondo de sección alternado */
#benefits, #testimonials, #for-you {
    background-color: #f9f9f9; /* Fondo claro */
}

.quote-section {
    background-color: #a8db9c6b; 
}

.quote-section span{
  font-family:'Dancing Script', cursive; ;
  font-size: 1.6rem;    
}

#newsletter {
    padding: 40px 0;
    background-color: #7ac1e26b; 
}




/* Beneficios de las Constelaciones Familiares */
.benefits-list {
    list-style: none;
    padding: 0;
}

ol.benefits-list{
    list-style-type: upper-roman;
}

.benefits-list li{
    padding: 10px;
    font-size: 18px;
    color: #666;
}

/* Checklist estilo moderno */
.checklist {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.checklist li {
    font-size: 18px;
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 5px;
    color: #333;
    position: relative;
    display: flex;
    align-items: center;
}

.checklist.for li {
    color: #2e7d32;
}

.checklist.not li {
    color: #b71c1c;
}

.checklist li::before {
    content: "✔";
    font-weight: bold;
    margin-right: 10px;
}


/* Sección Quote (Frase Destacada) */
.quote-section blockquote {
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
    color: #3b5998;
    max-width: 800px;
    margin: 20px auto;
    padding: 60px;
    /*border-left: 5px solid #3b5998;*/
}

/* Testimonios en Tarjetas */
.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: left;
    color: #333;
}

.testimonial-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.testimonial-card h4 {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}


/* Beneficios de las Constelaciones Familiares */
#benefits {
    padding: 20px;
    text-align: center;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 10px;
    font-size: 18px;
    color: #666;
}

#image-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 33.33%; /* Mostrar 3 imágenes por vez */
    box-sizing: border-box;
    padding: 5px;
}

.carousel-slide img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
}

.carousel-btn-left {
    left: 10px;
}

.carousel-btn-right {
    right: 10px;
}

/* Responsive: Muestra 2 imágenes por vez en pantallas pequeñas */
@media (max-width: 768px) {
    .carousel-slide {
        min-width: 50%; /* Mostrar 2 imágenes por vez */
    }
}



/* FAQ con Acordeón */
.accordion {
    width: 80%;
    margin: 40px auto;
}

.accordion-button {
    width: 100%;
    padding: 15px;
    background-color: #f2f2f2;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.accordion-button:hover {
    background-color: #ddd;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 15px;
}

.accordion-content p{
    text-align: left;
    padding: 20px 0;
}



/* Sección Newsletter */
#newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

#newsletter-form input[type="email"] {
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

#newsletter-form button {
    background-color: #3b5998;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#newsletter-form button:hover {
    background-color: #2e4777;
}

/* Blog Section */
/*.blog {
    padding: 2rem;
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.blog-image {
    width: 90%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.post {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.post h3 {
    color: var(--blue-light);
    font-family: 'Montserrat', sans-serif;
}
*/

/* Sección de Contacto */
.contact-section {
    padding: 50px;
    background-color: #f7f9fc;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.contact-info, .contact-form {
    background-color: #e9f2fb;
    padding: 30px;
    border-radius: 8px;
    width: 48%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #333;
}

.contact-info p, .contact-form p {
    color: #666;
    font-size: 1rem;
}

.contact-info hr {
    margin: 20px 0;
    border-top: 1px solid #ddd;
}

.contact-info h4 {
    font-size: 1.2rem;
    color: #0a6a8d;
    margin-bottom: 10px;
}

.contact-info img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    margin: 0 5px;
    color: #666;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #0a6a8d;
}

/* Formulario de Contacto */
.contact-form h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.form-group input {
    flex: 1;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form textarea {
    resize: vertical;
    height: 100px;
}

.contact-form button {
    padding: 12px;
    background-color: #0a6a8d;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #08577a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
}



/* Footer */
.footer {
    background: var(--grey-light);
    text-align: center;
    padding: 1rem;
}
