/* 1. CONFIGURACIÓN GLOBAL Y SMOOTH SCROLL */
:root {
    --black: #1a1a1a;
    --white: #ffffff;
    --grey-light: #f8f8f8;
    --gold: #b2945e;
    --text-main: #333333;
    --text-muted: #777;
    --font-serif: 'Playfair Display', serif;
}

/* El truco para el recorrido elegante */
html { 
    scroll-behavior: smooth; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    background-color: var(--white);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 2. NAVEGACIÓN (Navbar) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6%;
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: 0.3s;
}

.logo, .logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
}

.logo-img { height: 50px; width: auto; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--gold); }

/* 3. SECCIÓN PRENSA (DISEÑO DE RECUADROS) */
.content-section { 
    padding: 100px 10%; 
    /* Evita que el menú tape el título al hacer scroll */
    scroll-margin-top: 80px; 
}

.section-title {
    font-family: var(--font-serif);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.press-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.press-item {
    background: var(--white);
    border: 1px solid #e0e0e0;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.press-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.press-date {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}

.press-headline {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 15px;
    font-weight: 400;
}

.press-source {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.press-link a {
    text-decoration: none;
    color: var(--black);
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
}

.press-link a:hover { color: var(--gold); }

/* 4. REDES SOCIALES Y FOOTER */
.tenor-socials { text-align: center; padding: 80px 0; }

.tenor-socials h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 50px;
}

.social-icons-wrapper { 
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    flex-wrap: wrap; 
}

.social-link {
    text-decoration: none;
    color: #666;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: 0.4s;
}

.social-link::after {
    content: '';
    position: absolute;
    width: 0; height: 1px;
    bottom: -5px; left: 0;
    background-color: var(--gold);
    transition: 0.4s;
}

.social-link:hover { color: var(--gold); }
.social-link:hover::after { width: 100%; }

.main-footer {
    text-align: center;
    padding: 40px;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #999;
    border-top: 1px solid #eee;
    letter-spacing: 1px;
}

/* Móvil - Versión Corregida */
@media (max-width: 768px) {
    .navbar { 
        flex-direction: column; 
        padding: 20px; 
    }

    .nav-links { 
        margin-top: 20px; 
        gap: 15px; 
        /* Estas 3 líneas son la clave del acoplamiento: */
        flex-wrap: wrap;       /* Permite que los enlaces salten de línea si no caben */
        justify-content: center; /* Centra los enlaces en el móvil */
        padding: 0; 
    }

    .nav-links a {
        font-size: 0.7rem; /* Un pelín más pequeño para que quepan mejor */
        letter-spacing: 1px;
    }

    .content-section { padding: 60px 5%; }
    
    .event-item { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 10px; 
    }
}