/* ==========================================================================
   Inspiration Gallery Page — Luxury Boutique Styling
   Balloon Inflation Sydney
   ========================================================================== */

.gallery-page-wrap {
    background: #fafafc;
    min-height: 100vh;
    padding: 48px 0 96px;
    font-family: var(--radion-font-body, 'Plus Jakarta Sans', sans-serif);
    color: #334155;
}

.gallery-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 1. Hero Header */
.gallery-hero {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 44px;
}

.gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #fecdd3;
    color: #e11d48;
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px -1px rgba(225, 29, 72, 0.08);
}

.gallery-title {
    font-family: var(--radion-font-display, 'Outfit', sans-serif) !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #090d16 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
    margin: 0 0 16px 0 !important;
}

.gallery-title span {
    color: #e11d48;
}

.gallery-subtitle {
    font-size: 17.5px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    margin: 0 auto !important;
}

/* 2. Filter Pills Navigation */
.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
}

.filter-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-family: var(--radion-font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 14.5px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.filter-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #090d16;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
    box-shadow: 0 6px 18px -3px rgba(225, 29, 72, 0.35);
}

/* 3. Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-bottom: 64px;
}

@media (max-width: 1120px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .gallery-title {
        font-size: 36px !important;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Styling */
.gallery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-6px);
    border-color: #fecdd3;
    box-shadow: 0 16px 36px -8px rgba(225, 29, 72, 0.12);
}

.gallery-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #f8fafc;
    overflow: hidden;
    cursor: pointer;
}

.gallery-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-media img {
    transform: scale(1.05);
}

.gallery-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 13, 22, 0.3);
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-card:hover .gallery-zoom-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #090d16;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #e11d48;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.gallery-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-card-title {
    font-family: var(--radion-font-display, 'Outfit', sans-serif) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #090d16 !important;
    line-height: 1.35 !important;
    margin: 0 0 6px 0 !important;
}

.gallery-card-desc {
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin: 0 0 16px 0 !important;
    flex-grow: 1;
}

.gallery-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #e11d48;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.gallery-card:hover .gallery-card-action {
    gap: 12px;
    color: #be123c;
}

/* 4. Bottom CTA Banner */
.gallery-cta-banner {
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    border-radius: 28px;
    padding: 56px 40px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.2);
}

.gallery-cta-banner h2 {
    font-family: var(--radion-font-display, 'Outfit', sans-serif) !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
}

.gallery-cta-banner p {
    font-size: 16px !important;
    color: #cbd5e1 !important;
    max-width: 620px;
    margin: 0 auto 28px !important;
    line-height: 1.6 !important;
}

.gallery-cta-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-cta-primary {
    background: #e11d48;
    color: #ffffff !important;
    padding: 14px 30px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px -4px rgba(225, 29, 72, 0.4);
}

.gallery-cta-primary:hover {
    background: #be123c;
    transform: translateY(-2px);
}

.gallery-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.gallery-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 5. Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 22, 0.92);
    backdrop-filter: blur(12px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #ffffff;
    font-family: var(--radion-font-display, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 700;
    margin-top: 16px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: #e11d48;
}
