/* ══════════════════════════════════════════
   GROUP SPACES PAGE - JUNGLE LUXURY
   ══════════════════════════════════════════ */

:root {
    --gold: #d4af37;
    --gold-light: #f4e7bc;
    --dark-green: #0a1f11;
    --dark-green-light: #1b4d2e;
    --mint-bg: #f3f9f6;
    --text-dark: #1a1a1a;
    --text-muted: #5a6b61;
    --luxury-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    --glass-white: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
}

/* ═════ 1. HERO SECTION ═════ */
.gs-hero {
    height: 70vh;
    min-height: 500px;
    background: url('../img/group-space.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 31, 17, 0.25), rgba(10, 31, 17, 0.45));
}

.gs-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background: var(--glass-white);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 50px 80px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.gs-hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 3.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--dark-green);
    margin: 0;
}

/* ═════ 2. INTRO SECTION ═════ */
.gs-intro {
    background-color: var(--mint-bg);
    padding: 80px 0;
    text-align: center;
}

.gs-intro-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--dark-green);
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.gs-cta-btn {
    display: inline-block;
    padding: 16px 45px;
    background: var(--dark-green);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.gs-cta-btn:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
    color: #fff;
}

/* ═════ 3-5. SPACE SECTIONS ═════ */
.gs-space-section {
    padding: 80px 0;
    background: #ffffff;
}

.gs-section-alt {
    background: var(--mint-bg);
}

.gs-section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--dark-green);
    text-align: center;
    margin-bottom: 1.5rem;
}

.gs-section-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* ═════ MASONRY GALLERY GRID ═════ */
.gs-gallery-grid {
    display: grid;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.gs-gallery-3col {
    grid-template-columns: repeat(3, 1fr);
}

.gs-gallery-item {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.gs-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.gs-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
    transition: transform 0.6s ease;
}

.gs-gallery-item:hover img {
    transform: scale(1.08);
}

/* Tall image spans 2 rows */
.gs-gallery-item-tall {
    grid-row: span 2;
}

.gs-gallery-item-tall img {
    aspect-ratio: auto;
    height: 100%;
}

/* Wide image spans 2 cols */
.gs-gallery-item-wide {
    grid-column: span 2;
}

.gs-gallery-item-wide img {
    aspect-ratio: auto;
    height: 100%;
}

/* ═════ LIGHTBOX (FANCYBOX) ═════ */
.gs-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 17, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.gs-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.gs-lightbox-close {
    position: absolute;
    top: 69px;
    right: 40px;
    color: white;
    font-size: 3rem;
    font-weight: 200;
    cursor: pointer;
    z-index: 100000;
    transition: transform 0.3s ease;
    line-height: 1;
    background: none;
    border: none;
    outline: none;
    padding: 0;
}

.gs-lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--gold);
}

.gs-lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
    z-index: 10001;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gs-lightbox.active .gs-lightbox-content {
    transform: scale(1);
}

.gs-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.gs-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10003;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gs-lightbox-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.gs-nav-prev {
    left: 40px;
}

.gs-nav-next {
    right: 40px;
}

/* ═════ ANIMATIONS ═════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ═════ RESPONSIVE ═════ */
@media (max-width: 992px) {
    .gs-gallery-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gs-hero-content {
        padding: 30px 20px;
    }

    .gs-hero-title {
        font-size: 2.4rem;
        letter-spacing: 3px;
    }

    .gs-intro-heading {
        font-size: 1.8rem;
    }

    .gs-section-title {
        font-size: 1.8rem;
    }

    .gs-lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .gs-item-tall {
        grid-row: span 1;
    }
    
    .gs-item-wide {
        grid-column: span 1;
    }

    .gs-gallery-item-tall img, .gs-gallery-item-wide img {
        aspect-ratio: 1 / 1;
    }

    .gs-nav-prev {
        left: 10px;
    }

    .gs-nav-next {
        right: 10px;
    }

    .gs-lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
}