/* ========================================= */
/* GALLERY CAROUSEL - SWIPER 3D EFFECT */
/* ========================================= */
.gallery-section {
    padding: 100px 0;
    overflow: hidden;
    background: #ecf8ff;
    /* Light Blue Background matching image */
    position: relative;
}

/* Vertical Stack Header Layout */
.gallery-header-layout.stack-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align all items */
    justify-content: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag-gallery {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    background-color: #3b82f6;
    /* Blue Badge Background */
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding: 8px 16px;
    display: inline-block;
}

.section-title-gallery {
    font-size: 48px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 20px;
}

.section-subtitle-gallery {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
}

/* Responsive Header */
@media (max-width: 991px) {
    .section-title-gallery {
        font-size: 32px;
    }
}

.gallery-visual-diary {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* SLIDES - HORIZONTAL/LANDSCAPE */
.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 500px;
    /* Horizontal / Landscape width */
    height: 350px;
    /* Height smaller than width */
    /* Swiper handles transitions */
}

/* Card Styling */
.visual-card {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    /* Initially dark/dimmed for non-active slides */
}

.visual-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay for text */
.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.visual-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.visual-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Active Slide Styling */
.swiper-slide-active .visual-card {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.swiper-slide-active .visual-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: #000;
    opacity: 0.2;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color, #2563eb);
    opacity: 1;
}

/* Responsive Slides */
@media (max-width: 768px) {
    .swiper-slide {
        width: 300px;
        height: 220px;
    }
}

/* Custom Cursor */
.gallery-visual-diary {
    cursor: none;
    /* Hide default cursor */
}

.cursor-drag {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background-color: #0b5ed7;
    /* Blue */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    pointer-events: none;
    /* Pass clicks through */
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.15s ease-out;
    box-shadow: 0 5px 15px rgba(11, 94, 215, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cursor-drag.active {
    transform: translate(-50%, -50%) scale(1);
}

.cursor-drag i {
    font-size: 10px;
}