/* --- 1. VARIABLES Y BASE --- */
:root {
    --black: #1a1a1a;
    --white: #ffffff;
    --grey-light: #f8f8f8;
    --gold: #b2945e;
    --text-main: #333333;
    --text-muted: #777;
    --font-serif: 'Playfair Display', serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { scroll-behavior: smooth; }

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 {
    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;
}

.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 ease;
}

.nav-links a:hover { color: var(--gold); }

/* --- 3. SECCIONES GENERALES --- */
.content-section { padding: 100px 10%; }

.section-title {
    font-family: var(--font-serif);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* --- 4. MULTIMEDIA / GALERÍA (ESPECÍFICO) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.media-container {
    overflow: hidden; 
    border: 1px solid #eee;
    background-color: #f9f9f9;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* --- 5. MODAL (AMPLIACIÓN DE FOTOS) --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    padding-top: 60px; 
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0,0,0,0.9); 
}

.modal-contenido {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.cerrar {
    position: absolute;
    top: 15px; 
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cerrar:hover { color: var(--gold); }

/* --- 6. 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 ease;
}

.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;
}

/* --- 7. RESPONSIVE (MÓVIL) --- */
@media (max-width: 768px) {
    .navbar { 
        flex-direction: column; 
        padding: 20px; 
    }

    .nav-links { 
        margin-top: 20px; 
        gap: 15px; 
        flex-wrap: wrap;
        justify-content: center; 
        padding: 0; 
    }

    .nav-links a {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .content-section { padding: 60px 5%; }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 10px;
    }

    .gallery-img { height: 250px; }
}