
/* RESET Y VARIABLES */
:root {
    --verde-oliva: #1a3c34; 
    --blanco-tiza: #f4f1ea;
    --texto-oscuro: #333;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Montserrat', sans-serif; 
}

body { 
    background-color: var(--blanco-tiza);
    color: var(--texto-oscuro);
    line-height: 1.5;
}

/* INTERFAZ 1: PORTADA */
.hero {
    height: 100vh;
    background-image: url('img/portada.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8% 10%;
}

.main-title {
    font-size: 2.2rem;       
    font-weight: 700;
    line-height: 1;
    margin-top: 190px; /* Posición bajada según dibujo */
    color: var(--verde-oliva);
}

.subtitle {
    font-size: 1rem;         
    font-weight: 400;
    color: var(--blanco-tiza);
    text-align: right;       
}

/* DIVISOR */
.divider {
    width: 100%;
    position: relative;
    z-index: 1;
    line-height: 0;
}
.divider img { width: 100%; display: block; }

/* INTERFAZ 2: SOBRE MÍ */
.about {
    background: white;
    margin-top: -100px; 
    position: relative;
    z-index: 10;
    padding: 0 10% 80px 10%;
}

.profile-container {
    display: flex;
    align-items: flex-start; 
    gap: 60px;
    flex-wrap: nowrap; 
}

.profile-frame {
    flex-shrink: 0; 
}

.profile-pic {
    width: 380px;
    border-radius: 4px;
    margin-top: 100px; 
}

.text-content {
    flex: 1; 
    padding-top: 130px; /* Empuja el texto hacia abajo para que empiece después de la barra verde */
}

.text-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* RESPONSIVE: En celulares sí queremos que el texto se baje */
@media (max-width: 900px) {
    .profile-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .text-content {
        padding-top: 20px;
    }
    .about {
        margin-top: -60px;
    }
}

/* INTERFAZ 3: PASIÓN (SPLIT 50/50) */
.passion-container {
    display: flex;
    min-height: 100vh;
}

.text-passion {
    flex: 1;
    padding: 80px 6%;
    background-color: var(--verde-oliva);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.huge-title {
    font-size: 120px; 
    font-weight: 700;
    color: var(--blanco-tiza);
    line-height: 0.85;
    margin-bottom: 40px;
    letter-spacing: -3px;
}

.definition { font-size: 0.85rem; opacity: 0.7; margin-bottom: 30px; 
     color: var(--blanco-tiza);
}

.memories-block h3 { font-size: 1.5rem; margin-bottom: 10px; 
color: var(--blanco-tiza);
}
.neuro-final {
    color: var(--blanco-tiza); 
}

.memories-block {
    margin: 30px 0;
}

.memories-block h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blanco-tiza); 
    margin-bottom: 10px;
}

.memories-block p {
    font-size: 1rem;
    color: var(--blanco-tiza); 
    margin-bottom: 15px;
}

/* ESTILOS PARA LA CITA (BLOCKQUOTE) */
blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 40px 0;
    padding-left: 25px;
    border-left: 3px solid var(--blanco-tiza); 
    color: var(--blanco-tiza);
}

blockquote cite {
    display: block;
    margin-top: 15px;
    font-weight: 700;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--blanco-tiza);
}

.image-passion { flex: 1; }
.image-passion img { width: 100%; height: 100%; object-fit: cover; }

/* INTERFAZ 4: GALERÍA */
.gallery {
    padding: 100px 10%;
    text-align: center;
    background: white;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.card img { width: 100%; margin-bottom: 15px; }
.card p { font-weight: 700; }

.closing { font-style: italic; opacity: 0.8; }

/* FOOTER */
.footer {
    background: var(--verde-oliva);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.footer-logo { width: 100px; margin-bottom: 30px; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .passion-container { flex-direction: column; }
    .profile-container { flex-direction: column; text-align: center; }
    .huge-title { font-size: 70px; }
    .about { margin-top: -60px; }
}