/* Gallery Styles */
.gallery-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #070707;
    margin-top: 0; /* Remove spacing between sections */
}

.gallery-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 10;
}

.gallery-prev,
.gallery-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.gallery-prev img,
.gallery-next img {
    width: 20px;
    height: auto;
}

.gallery-prev:hover,
.gallery-next:hover {
    opacity: 1;
}

.gallery-info {
    position: absolute;
    bottom: 80px; /* Moved further from bottom */
    left: 120px; /* Moved further from edge */
    color: #fff;
    z-index: 10;
    font-family: 'DM Sans', sans-serif;
}

.gallery-info h3 {
    font-size: 45px; /* Larger font size as requested */
    font-weight: 200;
    margin: 0;
    letter-spacing: -0.03em;
}

.gallery-counter {
    position: absolute;
    bottom: 80px; /* Moved further from bottom */
    right: 120px; /* Moved further from edge */
    color: #fff;
    font-size: 45px; /* Larger font size as requested */
    font-weight: 200;
    z-index: 10;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: -0.03em;
}

/* Swiper specific styles */
.gallery-slider {
    width: 100%;
    height: 100vh;
}

.gallery-slider .swiper-slide {
    width: 100%;
    height: 100vh;
    position: relative;
}

.gallery-slider .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

/* Hide default Swiper navigation */
.gallery-slider .swiper-button-next,
.gallery-slider .swiper-button-prev {
    display: none;
}

/* Gallery slide animations */
.gallery-slide {
    overflow: hidden;
    position: relative;
}

.gallery-slide img {
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.swiper-slide-active .gallery-slide img {
    transform: scale(1.05);
}

/* Mobile styles for gallery */
@media (max-width: 768px), (max-device-width: 768px), (orientation: portrait) {
    .gallery-section {
        height: auto;
        padding: 0;
        margin: 0;
        background-color: #070707;
        min-height: auto;
        display: block;
    }
    
    .gallery-slider {
        height: auto;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .gallery-slider .swiper-slide {
        height: auto;
        width: 100%;
        padding: 0;
        margin: 0;
        display: block;
    }
    
    .gallery-slide {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        display: block;
    }
    
    .gallery-slide img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        margin: 0;
        padding: 0;
        display: block;
    }
    
    .gallery-navigation {
        display: none !important; /* Hide navigation arrows on mobile */
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        z-index: -999 !important;
    }
    
    .gallery-prev,
    .gallery-next {
        display: none !important; /* Hide navigation arrows on mobile */
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    /* Adjust swiper container to better fit mobile */
    .swiper-container {
        overflow: hidden;
        width: 100%;
    }
}

/* Add a subtle vignette effect */
.gallery-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
    pointer-events: none;
}
