/* ==========================================================================
   VISTA EL YATE - NIZUC SUNSEEKER 45"
   ========================================================================== */

/* --- HEADER PRINCIPAL --- */
.header-yate {
    /* Padding de 200px para librar el Navbar y verse masivo */
    padding: 200px 20px 140px;
    background: linear-gradient(180deg, var(--navy-dark) 0%, #112B4A 100%);
    position: relative;
    border-bottom: 2px solid var(--gold);
}

.header-yate h1 {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* Sube la primera sección sobre el header azul para efecto de profundidad */
.mt-negativo {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

/* --- CAJAS DE ESPECIFICACIONES (El toque super cool) --- */
.spec-box {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 30px 15px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.spec-box:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.spec-box i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}

.spec-box h4 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.spec-box span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

/* --- TIPOGRAFÍA Y EXTRAS --- */
.gold-line-center {
    width: 60px;
    border-top: 2px solid var(--gold);
    margin: 0 auto;
    opacity: 1;
}

/* --- GRID EDITORIAL "BENTO BOX" --- */
.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #000;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.large-item img {
    height: 600px;
}

.small-item img,
.small-item video {
    height: 288px;
}

.square-item img,
.square-item video {
    height: 350px;
}

/* --- EFECTOS HOVER --- */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.gallery-overlay span {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-style: italic;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--gold);
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
    opacity: 0.85;
}

/* --- ANIMACIÓN REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 991px) {
    .large-item img {
        height: 450px;
    }

    .small-item img,
    .small-item video {
        height: 250px;
    }

    .spec-box h4 {
        font-size: 1.2rem;
    }

    .spec-box i {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-yate {
        padding-top: 150px;
        padding-bottom: 100px;
    }

    .large-item img,
    .small-item img,
    .small-item video,
    .square-item img,
    .square-item video {
        height: 350px;
    }
}