/* MILÁN | Sanctuary 
   Design by Reminder Media & Press 
*/

:root {
    --color-linen: #F5F4F0;
    --color-sand: #EFEBE7;
    --color-text: #4A4540; 
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
}

body { 
    background-color: var(--color-linen); 
    color: var(--color-text); 
    font-family: var(--font-sans); 
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header: Estética de Lujo */
.luxury-nav {
    position: absolute; /* Cambiado de 'fixed' a 'absolute' */
    width: 100%;
    padding: 35px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    mix-blend-mode: exclusion;
}

.logo {
    font-family: var(--font-serif);
    letter-spacing: 12px;
    font-size: 1.2rem;
    color: white;
    text-transform: uppercase;
    font-weight: 300;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-left: 35px;
    position: relative;
    transition: var(--transition);
}

.cta-outline {
    border: 1px solid white;
    padding: 10px 20px;
}

/* Efecto Click-Inciter (Línea que crece) */
.hover-trigger::after {
    content: '';
    position: absolute;
    width: 0; 
    height: 1px;
    bottom: -4px; 
    left: 0;
    background-color: white;
    transition: var(--transition);
}

.hover-trigger:hover::after { 
    width: 100%; 
}

/* Hero Section con Zoom Integrado */
.hero-full {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.hero-image-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    object-fit: cover; /* Asegura que la imagen no se deforme */
    animation: slowZoom 25s infinite alternate;
    opacity: 0.85;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Capa mínima de contraste */
    z-index: 2;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.reveal {
    font-family: var(--font-serif);
    font-size: 5.5vw;
    color: white;
    font-weight: 300;
    font-style: italic;
    letter-spacing: -1px;
}

/* Amenities Section */
.amenities-section { 
    padding: 120px 10%; 
    background: var(--color-sand); 
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.7rem;
    margin-bottom: 20px;
    opacity: 0.6;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 40px;
    margin-top: 60px;
}

.amenity-card { 
    border-bottom: 1px solid rgba(74, 69, 64, 0.15); 
    padding-bottom: 20px; 
}

.amenity-card span { 
    font-family: var(--font-serif); 
    font-size: 2.8rem; 
    display: block; 
    font-weight: 300; 
    margin-bottom: 5px;
}

.amenity-card p { 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    opacity: 0.7; 
}

/* Galería Asimétrica */
.final-gallery {
    padding: 100px 5%;
    background: var(--color-linen);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 20px;
}

.img-wrap { 
    overflow: hidden; 
    background: #e5e5e5; 
}

.img-wrap img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: var(--transition); 
}

.img-wrap:hover img { 
    transform: scale(1.05); 
}

.tall { grid-column: span 2; grid-row: span 2; }
.wide { grid-column: span 4; grid-row: span 1; }
.small { grid-column: span 4; grid-row: span 1; }

/* Sección de Condiciones */
.conditions-section {
    padding: 150px 10%;
    background-color: var(--color-linen);
    text-align: center;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 100px;
    margin-top: 80px;
    text-align: left;
}

.condition-item h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.condition-item p {
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 300;
    opacity: 0.8;
}

.booking-options {
    margin-top: 120px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 60px;
}

.booking-options p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    opacity: 0.6;
}

.booking-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.booking-buttons a {
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
}

.separator {
    font-weight: 100;
    opacity: 0.3;
    font-size: 1.5rem;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .conditions-grid { grid-template-columns: 1fr; gap: 50px; }
    .booking-buttons { flex-direction: column; gap: 10px; }
    .separator { display: none; }
}


/* Ubicación */
.location-section {
    padding: 150px 10%;
    background-color: var(--color-sand);
}

.split-location {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
    align-items: center;
}

.location-info .soft-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--color-text);
}

.location-info p {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 420px;
    opacity: 0.8;
}

.map-link {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 5px;
    transition: var(--transition);
}

.map-link:hover {
    opacity: 0.6;
}

.map-wrapper {
    height: 550px;
    background: #e0e0e0;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.03);
}

/* Filtro de Mapa Minimalista */
.map-wrapper iframe {
    filter: grayscale(1) invert(5%) contrast(90%);
    width: 100%;
    height: 100%;
}

/* Footer Compacto */
.minimal-footer {
    padding: 60px;
    background-color: var(--color-linen);
    border-top: 1px solid rgba(0,0,0,0.03);
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left { 
    font-size: 0.65rem; 
    letter-spacing: 1.5px; 
    text-transform: uppercase; 
}

.agency { 
    margin-left: 20px; 
    font-weight: 600; 
    opacity: 0.4; 
}

.footer-right a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-left: 40px;
    font-weight: 400;
}

/* Responsividad básica para móvil */
@media (max-width: 968px) {
    .luxury-nav { padding: 25px 30px; }
    .nav-links a { margin-left: 15px; font-size: 0.55rem; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .split-location { grid-template-columns: 1fr; gap: 50px; }
    .gallery-container { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .tall, .wide, .small { grid-column: span 2; height: 300px; }
}


/* Estilos para la Página de Galería */
.gallery-page {
    background-color: #fff;
}

.gallery-header {
    text-align: center;
    padding: 150px 20px 80px;
}

.masonry-gallery {
    column-count: 2; /* Dos columnas estilo revista */
    column-gap: 20px;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto 100px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.gallery-item img:hover {
    transform: scale(1.03);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .masonry-gallery {
        column-count: 1;
    }
    .gallery-header {
        padding: 100px 20px 50px;
    }
}

.static-nav {
    position: absolute;
    background: white;
    mix-blend-mode: normal !important;
    color: #000 !important;
}

.static-nav .cta-outline {
    border-color: #000;
    color: #000;
}

//* ===========================================================
   MILÁN | ULTRA-CLEAN MOBILE MENU & FOOTER
   =========================================================== */

@media (max-width: 768px) {
    /* NAVEGACIÓN: Espaciado inteligente */
    .luxury-nav {
        padding: 15px 20px !important;
        flex-direction: row !important; /* Mantiene logo y links en línea */
        justify-content: space-between !important;
        align-items: center !important;
        background: rgba(255, 255, 255, 0.95); /* Fondo sutil para legibilidad */
        backdrop-filter: blur(5px);
        position: fixed !important; /* Lo fijamos para mejor UX en móvil */
        top: 0;
        left: 0;
    }

    .logo {
        font-size: 1.1rem !important;
        letter-spacing: 2px !important;
    }

    .nav-links {
        display: flex !important;
        gap: 8px !important; /* Espacio reducido entre botones */
        align-items: center !important;
    }

    /* Ajuste de los links para que quepan en una sola línea */
    .nav-links a {
        font-size: 0.6rem !important;
        letter-spacing: 0.5px !important;
        padding: 4px 0;
    }

    /* El botón principal de reserva más estilizado */
    .cta-outline {
        padding: 6px 10px !important;
        font-size: 0.55rem !important;
        border: 1px solid #000 !important;
        margin-left: 5px;
    }

    /* Separamos el contenido del Hero para que no lo tape el menú fijo */
    .hero-full {
        padding-top: 60px;
    }

    /* FOOTER: Reorganización total */
    .minimal-footer {
        padding: 40px 20px !important;
        background: #f9f9f9;
    }

    .footer-wrap {
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .footer-right {
        display: flex !important;
        flex-direction: row !important; /* Redes sociales en línea horizontal */
        justify-content: center !important;
        gap: 25px !important;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        width: 100%;
    }

    .footer-left {
        gap: 8px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .copyright, .agency {
        font-size: 0.65rem !important;
    }
}

@media (max-width: 480px) {
    /* Ocultamos links de texto para dejar solo la acción principal */
    .nav-links a:not(.cta-outline):not([href="gallery.html"]) {
        display: none !important;
    }
}