/* ==================== Gallery Hero Section ==================== */
.gallery-hero {
    position: relative;
    background: url('./images/img102.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px 100px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0, 100, 0, 0.65) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 0;
}

.gallery-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    animation: gallery-hero-fadeUp 0.8s ease-out both;
}

@keyframes gallery-hero-fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.gallery-hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.gallery-hero-badge i {
    margin-right: 6px;
}

.gallery-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.gallery-hero-text {
    font-size: 1.25rem;
    font-family: 'Open Sans', sans-serif;
    opacity: 0.92;
    margin: 0 auto;
    max-width: 600px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* ==================== Gallery Section ==================== */
.gallery-section {
    padding: var(--gf-section-padding);
    background-color: var(--gf-bg-light);
}

.gallery-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.gallery-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gf-green-text);
    font-family: 'Playfair Display', serif;
    margin-bottom: 12px;
}

.gallery-section-lead {
    font-size: 1.1rem;
    color: var(--gf-text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Instagram Grid ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gallery-embed-wrap {
    border-radius: var(--gf-radius-lg);
    overflow: hidden;
    box-shadow: var(--gf-shadow);
    background-color: #fff;
    transition: transform var(--gf-transition), box-shadow var(--gf-transition);
    /* Instagram embeds vary in height — allow natural height */
    display: flex;
    flex-direction: column;
}

.gallery-embed-wrap:hover {
    transform: translateY(-5px);
    box-shadow: var(--gf-shadow-hover);
}

.gallery-embed-wrap iframe {
    width: 100%;
    min-height: 480px;
    border: none;
    display: block;
    flex: 1;
}

/* ==================== Follow CTA ==================== */
.gallery-cta {
    text-align: center;
    margin-top: 48px;
}

.gallery-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity var(--gf-transition), transform var(--gf-transition);
    box-shadow: var(--gf-shadow-sm);
}

.gallery-cta-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--gf-shadow);
}

/* ==================== Responsive ==================== */
@media (max-width: 991px) {
    .gallery-hero {
        padding: 100px 20px 80px;
    }

    .gallery-hero-title {
        font-size: 2.4rem;
    }

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

@media (max-width: 767px) {
    .gallery-hero {
        padding: 80px 16px 60px;
        min-height: 280px;
    }

    .gallery-hero-title {
        font-size: 2rem;
    }

    .gallery-hero-text {
        font-size: 1.05rem;
    }

    .gallery-section {
        padding: 50px 16px;
    }

    .gallery-section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 575px) {
    .gallery-hero-title {
        font-size: 1.75rem;
    }

    .gallery-hero-badge {
        font-size: 0.8rem;
        padding: 5px 14px;
    }

    .gallery-section-title {
        font-size: 1.5rem;
    }

    .gallery-section-lead {
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
