/* Sección de galería */
.gallery-section {
    padding: 6rem 0;
    color: #2d2923;
    max-height: 165vh;
    background: linear-gradient(135deg, #f7edda 0%, #ffffff 100%);
}

.gallery-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5rem;
    position: relative;
}

.gallery-content {
    max-width: 560px;
    margin-bottom: 4rem;
}

.gallery-logo {
    width: 134px;
    height: 70px;
    margin-bottom: 56px;
}

.gallery-title {
    font-family: "Libre Bodoni";
    font-size: 100px;
    font-style: normal;
    font-weight: 400;
    line-height: 85%; /* 85px */
    letter-spacing: -6px;
    color: #B48C09;
    margin-bottom: 13px;
}

.gallery-subtitle {
    font-family: "Libre Bodoni";
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 111%; /* 33.3px */ 
    color: #2D2924;
    max-width: 250px;
    margin-bottom: 32px;
}

.gallery-description {
    font-family: "tt-commons-pro", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 135%; /* 18.9px */
    max-width: 328px;
}

.gallery-images {
    position: relative;
    margin-bottom: 3rem;
    height: 1200px;
    margin-top: -58vh;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-vertical,
.image-horizontal,
.image-square {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-vertical {
    width: 52%;
    height: 80%;
    right: 5%;
    top: 0;
}

.image-horizontal {
    width: 60%;
    height: 40%;
    left: 0%;
    top: 45%;
}

.image-square {
    width: 27%;
    height: 43%;
    left: 16%;
    top: 69%;
}

.rounded-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-description-box {
    max-width: 560px;
    margin-left: auto;
    position: relative;
    top: -20vh;
    z-index: 2;
    visibility: visible;
    font-family: "Libre Bodoni";
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 111%;
    color: #2D2924;
}

.gallery-description-box .highlight {
    font-family: "Libre Bodoni";
    font-size: 30px;
    font-style: italic;
    font-weight: 400;
    line-height: 111%;
    color: #B48C09;
}

/* Efecto de escalado para imágenes */
.image-scale {
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.image-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Media queries para responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .title-frame, .subtitle-frame {
        width: 90%;
    }
    
    .gallery-container {
        padding: 0 3rem;
    }
    
    .gallery-title {
        font-size: 2.5rem;
    }
    
    .gallery-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .gallery-container {
        padding: 0 2rem;
    }
    
    .gallery-content {
        max-width: 100%;
    }
    
    .gallery-description {
        max-width: 100%;
    }
    
    .gallery-images {
        height: 900px;
    }
    
    .image-vertical {
        width: 70%;
        height: 60%;
        right: 15%;
        top: 0;
    }
    
    .image-horizontal {
        width: 80%;
        height: 35%;
        left: 10%;
        top: 35%;
    }
    
    .image-square {
        width: 60%;
        height: 40%;
        left: 20%;
        top: 60%;
    }
    
    .gallery-description-box {
        max-width: 100%;
        margin: 0;
        top: -80px;
    }
}

@media (max-width: 576px) {
    .navigation ul {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-subtitle {
        font-size: 1.4rem;
    }
    
    .gallery-container {
        padding: 0 1.5rem;
    }
    
    .gallery-images {
        height: 700px;
    }
    
    .image-vertical {
        width: 85%;
        height: 50%;
        right: 7.5%;
        top: 0;
    }
    
    .image-horizontal {
        width: 90%;
        height: 30%;
        left: 5%;
        top: 35%;
    }
    
    .image-square {
        width: 70%;
        height: 35%;
        left: 15%;
        top: 60%;
    }
    
    .gallery-description-box {
        padding: 1.5rem;
        top: -60px;
    }
}