/* ==========================================================================
   1. BASE & RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #f4f1e6;
    color: #2b2b2b;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden; /* Evita cualquier desplazamiento lateral molesto */
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
header {
    text-align: center;
    padding: 40px 0 20px 0;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.logo-img {
    max-width: 240px;
    height: auto;
    display: block;
    opacity: 0.95;
}

header h1 {
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 4px;
    margin: 15px 0 5px 0;
    color: #1a1a1a;
}

.instagram-handle {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    font-style: italic;
    color: #666;
    text-decoration: none;
    letter-spacing: 1px;
}

.instagram-handle:hover {
    color: #000;
    text-decoration: underline;
}

nav {
    border-top: 1px solid #dcd8c4;
    border-bottom: 1px solid #dcd8c4;
    margin: 30px 0 10px 0;
    padding: 12px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 35px;
}

nav a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-decoration: none;
    color: #555;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #000;
}

/* ==========================================================================
   3. GALLERY (CINEMATIC 2-COLUMN GRID)
   ========================================================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Fuerza 2 columnas perfectas en PC */
    gap: 35px;
    padding: 40px 0;
}

.gallery-item {
    background-color: #ffffff;
    border: 1px solid #e2dcbe;
    padding: 18px 18px 22px 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.tape-accent {
    width: 70px;
    height: 14px;
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
    z-index: 5;
}

.accent-peach { background-color: #ffcdb2; }
.accent-blue { background-color: #b5e2fa; }
.accent-slate { background-color: #cad2c5; }
.accent-yellow { background-color: #faedcd; }

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9; /* Mantiene la proporción de cine */
    background-color: #000000;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2; /* Asegura que el vídeo y sus controles queden por encima del contenedor */
    pointer-events: auto; /* Permite hacer clic en los controles nativos */
}

.gallery-item h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: #222;
    text-transform: uppercase;
}

.gallery-item p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   4. ABOUT SECTION
   ========================================================================== */
.about {
    background-color: #e2e0eb;
    padding: 50px 0;
    margin-top: 30px;
    width: 100%;
}

.about-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-placeholder {
    width: 140px;
    height: 140px;
    background-color: #d1ceda;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444446; /* Texto interno de la foto más oscuro */
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.about-text h2 {
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 400;
    text-transform: uppercase;
    color: #1a1a1a; /* Título "About" en negro suave con alto contraste */
}

.about-text p {
    font-size: 0.9rem;
    color: #2b2b2b; /* Párrafos en un tono carbón oscuro muy legible */
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ==========================================================================
   5. FOOTER (COMPACT & CLEAN)
   ========================================================================== */
footer {
    background-color: #d2ebd9;
    padding: 35px 0 35px 0;
    width: 100%;
}

footer h2 {
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    font-weight: 400;
    text-transform: uppercase;
    color: #111b13;
    text-align: center;
}

.footer-grid {
    display: flex;
    justify-content: center; 
    align-items: flex-start;
    max-width: 700px;        
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col {
    flex: 1;
}

.footer-col p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    line-height: 1.7;
    color: #1a261d;
}

.footer-col a {
    color: #0b140e;
    text-decoration: underline;
    font-weight: 500;
}
/* --- Bloque Legal Inferior Centrado --- */
.footer-legal {
    position: relative;
    margin-top: 35px;         /* Da espacio ordenado después de la dirección */
    padding: 15px 50px 5px 50px; 
    border-top: 1px solid rgba(17, 27, 19, 0.12); /* Línea divisoria muy sutil */
    width: 100%;
    text-align: center;       /* Fuerza el centrado absoluto del texto */
    display: block;           /* Comportamiento de bloque limpio para evitar desplazamientos */
}

.footer-legal p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: rgba(26, 38, 29, 0.7);
    text-transform: uppercase;
    display: inline-block;    /* Permite alinearse perfectamente en línea */
    margin: 0 auto;
}

/* Botón flotante para cerrar (X) */
.cookie-close-btn {
    position: absolute;
    right: 30px;
    top: 13px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: rgba(26, 38, 29, 0.5);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.cookie-close-btn:hover {
    color: #000;
}

/* Ajuste responsive para móviles */
@media (max-width: 768px) {
    .footer-legal {
        margin-top: 25px;
        padding: 15px 40px 10px 20px;
        text-align: center;
    }
    .cookie-close-btn {
        right: 15px;
        top: 14px;
    }
}
