/* =========================
   GALLERY PAGE
========================= */

.gallery-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #0b0b0b;
    color: #fff;
    padding: 100px 20px 80px;
}

/* Background */
.gallery-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.8),
            rgba(253,220,92,0.08)
        );
}

/* Content */
.gallery-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

/* Logo */
.gallery-logo {
    font-size: 4rem;
    color: #fddc5c;
    font-family: 'Marcellus', serif;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

/* Heading */
.gallery-heading {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.gallery-heading::after {
    content: '';
    width: 100px;
    height: 3px;
    background: #fddc5c;

    position: absolute;
    left: 50%;
    bottom: -12px;

    transform: translateX(-50%);
}

/* Intro */
.gallery-text {
    max-width: 750px;
    margin: 30px auto 60px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

/* =========================
   HERO CAROUSEL
========================= */

.gallery-carousel {
    max-width: 650px;
    margin: auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #111;
    padding-top: 120%;
    box-shadow:
        0 15px 40px rgba(0,0,0,0.45);
}

.carousel-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 6s ease;
}

.carousel-slide.active img,
.carousel-slide.active video {
    transform: scale(1.05);
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border-radius: 50%;
    border: 1px solid #fddc5c;

    background: rgba(0,0,0,0.5);
    color: #fddc5c;

    cursor: pointer;
    z-index: 5;

    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: #fddc5c;
    color: #000;
}

.carousel-arrow.prev {
    left: 15px;
}

.carousel-arrow.next {
    right: 15px;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.dot {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    border: 2px solid #fddc5c;
    background: transparent;

    transition: all 0.3s ease;
}

.dot.active {
    background: #fddc5c;
    transform: scale(1.15);
}

/* =========================
   EDITORIAL GRID
========================= */

.editorial-gallery {
    background: #0b0b0b;
    padding: 80px 20px 120px;
}

.gallery-grid {
    max-width: 1300px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    grid-auto-rows: 250px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    background: #111;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.6s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.06);
}

/* Editorial Sizes */
.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 992px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-logo {
        font-size: 3rem;
    }

    .gallery-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .gallery-item.tall,
    .gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-logo {
        font-size: 2.5rem;
    }

    .gallery-heading {
        font-size: 1.8rem;
    }

    .gallery-text {
        font-size: 1rem;
    }

    .carousel-arrow {
        display: none;
    }
}