/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

:root {
    --primary-color: #d4a574;
    --secondary-color: #8b6f47;
    --font-primary: 'Playfair Display', serif;
    --font-second: sans-serif;
    --text-color: #4a4a4a;
    --white: #ffffff;
    --dark-color: #2c2c2c;
    --azul-debi: #115e75;
}

body {
    font-family: var(--font-second);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--azul-debi);
    
    
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;

}

.header {
    
    padding: 15px 0;
    position:relative;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    
}

.contenido-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}


.nombre {

    display: flex;
    flex-direction: column;
    gap: 0;
    flex-shrink: 0;
    
}

.nombre h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
       
}

.nombre span {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 400;
    letter-spacing: 2px;
    display: block;
    margin-bottom: -5px;
    text-align: center;
    font-style: italic;
    
}

/* Navegación */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.lista-nav {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.lista-nav a {
    text-decoration: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.lista-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.lista-nav a:hover::after {
    width: 100%;
}

.lista-nav a:hover {
    color: var(--white);
}


/* Redes Sociales */
.link-social {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.link-social a img {
    width: 25px;
    height: 25px;
}

.social-icon{
    width: 36px;
    height: 36px;
    border-radius: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: rem;
    
}

.social-icon:hover {
    background-color: rgb(233, 228, 228, 0.8);
    color: var(--white);
    transform: translateY(-3px);
    border-radius: 30%;
}

.cita {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;  
    margin-top: 2em;
    margin-left: 20%;
    margin-right: 20%;
}

.cita h2 {
    font-family: var(--font-primary)
}

.cita h3 {
    font-family: var(--font-primary);
    text-align: right;
    font-style: italic;
    padding-right: 5%;
    margin-top: 1%;

}

/* Secciones */
.seccion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 40px;
    gap: 20px;
    min-height: 500px;
}

.seccion-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.seccion-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

.seccion-texto h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
}

.seccion-texto p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--white);
}

/* Sobre mi*/
.subtitulo {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--white);
    font-size: 1.5rem !important;
    margin-top: -10px;
}

/* Regalo descargable */
.regalo-contenedor {
    margin-top: 30px;
    text-align: center;
}

.regalo-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background-color: rgba(212, 165, 116, 0.1);
    border: 1px solid white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.regalo-link:hover {
    background-color: rgba(212, 165, 116, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.regalo-gif {
    width: 40px;
    height: 40px;
}

.regalo-texto {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 600;
}

#sobre-mi .seccion-imagen {
    /*max-height: 40em;  /* Ajustar este número (Se saco para que la foto se agrande*/
    overflow: hidden;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.5);
}

#sobre-mi .seccion-imagen img {
    object-position: center 20%; /* Ajustar para mostrar la parte que quiero ver */
}

#reencuentro .seccion-imagen {
    /*max-height: 48em;  /* Ajustar este número */
    overflow: hidden;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.5);
}

#reencuentro .seccion-imagen img {
    object-position: center 20%; /* Ajustar para mostrar la parte que quiero ver */
}

.link-propuesta, .mail, .telefono {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}


.seccion-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.5);
}

/* cita final de terapia humanista */
.cita-final {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Sección Testimonios */
.testimonios-seccion {
    padding: 80px 40px;
    background-color: #0d4f63;
}

.testimonios-titulo {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.testimonios-subtitulo {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 50px;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonio-card {
    background-color: var(--white);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    position: relative;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.4);
}

.testimonio-foto {
    width: 80px;
    height: 80px;
    margin: -50px auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.testimonio-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonio-estrellas {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.testimonio-texto {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonio-nombre {
    font-family: var(--font-primary);
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 600;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
}

/* Footer */

/* Footer */
.footer {
    background-color: #2b5b6a;
    padding: 60px 40px 20px 40px;
    margin-top: 40px;
}

.footer-contenido {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 90%;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-columna h3,
.footer-columna h4 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-logo {
    font-size: 1.8rem !important;
    letter-spacing: 2px;
}

.footer-columna p,
.footer-columna li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 2;
}

.footer-columna ul {
    list-style: none;
    padding: 0;
}

.footer-columna ul a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
}

.footer-columna ul a:hover {
    color: var(--primary-color);
}

.footer-redes {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.footer-redes a img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    opacity: 0.75;
}

.footer-redes a:hover img {
    transform: translateY(-3px);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    max-width: 90%;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile - Todas las secciones apiladas */
@media (max-width: 768px) {
    .seccion {
        display: flex; /* Cambiá a flex en vez de grid */
        flex-direction: column; /* Todo en columna */
        margin: 20px 10px; /* Menos margen */
    }

    .seccion-imagen {
        width: 100%; /* Ancho completo */
        height: 250px; /* Altura fija */
        order: 1;
    }

    .seccion-imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cubre todo el espacio */
    }

    .seccion-texto {
        width: 100%; /* Ancho completo */
        order: 2;
        padding: 25px 15px; /* Menos padding */
    }

    .seccion-texto h2 {
        font-size: 1.6rem; /* Título más chico */
    }

    .seccion-texto p {
        font-size: 0.95rem; /* Texto más chico */
    }

    .seccion-texto p,
    .lista li {
        font-size: 0.95rem; /* Texto un poco más chico */
    }

    /* Ajustar header */
    body {
        padding-top: 120; /* Más espacio porque el nav ocupa más */
    }

    .contenido-header {
        flex-direction: column;
        gap: 15px;
    }

    .nombre h1 {
        font-size: 1.8rem;
    }

    .lista-nav {
        gap: 10px;
        font-size: 0.85rem;
    }

    /* Footer en mobile */
    .footer-contenido {
        grid-template-columns: 1fr;
    }
}

/* Responsive Testimonios */
@media (max-width: 1024px) {
    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .testimonios-seccion {
        padding: 60px 20px;
    }
}

/* Responsive boton whatsapp*/
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .seccion-imagen {
        height: 200px; /* Aún más chica */
    }

    .seccion-texto {
        padding: 20px 10px;
    }
}