/* ============================================
   PT. AGUNG SEJATI ABADI - Company Profile
   Custom Styles (Tailwind CSS Extension)
   Color Scheme: Black & Gold
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --gold: #D4A94C;
    --gold-light: #E8C97A;
    --gold-dark: #B08930;
    --black: #0A0A0A;
    --black-light: #1A1A1A;
    --black-lighter: #2A2A2A;
    --white: #FFFFFF;
    --gray: #B0B0B0;
    --gray-dark: #555555;
}

/* ---------- Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

/* ---------- Selection ---------- */
::selection {
    background: var(--gold);
    color: var(--black);
}

/* ---------- Typography ---------- */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* ---------- Gold Gradient Text ---------- */
.gold-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Gold Border Decoration ---------- */
.gold-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    margin: 0 auto;
    border-radius: 2px;
}

.gold-line-left {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
    border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--black);
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-gold:hover::before {
    left: 0;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 169, 76, 0.4);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    padding: 12px 34px;
    border-radius: 50px;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 169, 76, 0.3);
}

/* ---------- Logo ---------- */
.navbar-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(1);
    transition: filter 0.3s ease;
}

/* If logo is dark, invert it for dark navbar */
.logo-invert {
    filter: brightness(0) invert(1);
}

/* ---------- Navbar ---------- */
.navbar {
    background: rgba(14, 14, 14, 0.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(212, 169, 76, 0.12);
    transition: all 0.4s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active-nav {
    color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active-nav::after {
    width: 100%;
}

/* ---------- Mega Menu ---------- */
.nav-item-mega {
    position: relative;
}

.nav-item-mega>.nav-link-mega-trigger {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-item-mega>.nav-link-mega-trigger::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-item-mega:hover>.nav-link-mega-trigger {
    color: var(--gold);
}

.nav-item-mega:hover>.nav-link-mega-trigger::after {
    width: 100%;
}

.mega-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-item-mega:hover .mega-chevron {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
    width: 780px;
    background: rgba(12, 12, 12, 0.98);
    backdrop-filter: blur(28px);
    border: 1px solid rgba(212, 169, 76, 0.18);
    border-radius: 16px;
    padding: 36px 36px 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
    transform: translateX(-50%) translateY(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 169, 76, 0.08);
    z-index: 2000;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: rgba(12, 12, 12, 0.98);
    border-left: 1px solid rgba(212, 169, 76, 0.18);
    border-top: 1px solid rgba(212, 169, 76, 0.18);
    transform: translateX(-50%) rotate(45deg);
}

.nav-item-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.mega-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 0 28px;
}

.mega-col-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 169, 76, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu-item {
    display: block;
    padding: 6px 0 6px 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    border-radius: 0 6px 6px 0;
}

.mega-menu-item:hover {
    color: var(--gold-light);
    border-left-color: var(--gold);
    background: rgba(212, 169, 76, 0.06);
    padding-left: 16px;
}

.mega-menu-item.mega-parent {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.85rem;
    padding-left: 0;
    border-left: none;
    margin-top: 10px;
    margin-bottom: 4px;
    border-radius: 0;
    background: transparent;
}

.mega-menu-item.mega-parent:first-child {
    margin-top: 0;
}

.mega-menu-item.mega-parent:hover {
    color: var(--gold);
    padding-left: 0;
    border-left: none;
    background: transparent;
}

.mega-menu-item.mega-sub {
    padding-left: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.mega-menu-item.mega-sub:hover {
    padding-left: 20px;
}

.mega-bottom-bar {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---------- Auth Buttons ---------- */
.btn-nav-masuk {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.btn-nav-masuk:hover {
    color: var(--gold);
}

.btn-nav-daftar {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}

.btn-nav-daftar:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 169, 76, 0.2);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0.85) 100%),
        url('https://images.unsplash.com/photo-1570125909232-eb263c188f7e?w=1920&q=80') center/cover no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--black), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* ---------- Floating Particles ---------- */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 6s ease-in-out infinite;
}

@keyframes floatParticle {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-100px) scale(1);
    }
}

/* ---------- Section Styling ---------- */
.section-dark {
    background: var(--black);
}

.section-darker {
    background: var(--black-light);
}

/* ---------- Card Styling ---------- */
.card-dark {
    background: var(--black-lighter);
    border: 1px solid rgba(212, 169, 76, 0.1);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.card-dark:hover {
    border-color: rgba(212, 169, 76, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 169, 76, 0.08);
}

/* ---------- Fleet Card ---------- */
.fleet-card {
    background: var(--black-lighter);
    border: 1px solid rgba(212, 169, 76, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.fleet-card:hover {
    border-color: rgba(212, 169, 76, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 169, 76, 0.1);
}

.fleet-card .fleet-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fleet-card:hover .fleet-img {
    transform: scale(1.08);
}

/* ---------- Testimonial Card ---------- */
.testimonial-card {
    background: linear-gradient(145deg, var(--black-lighter), var(--black-light));
    border: 1px solid rgba(212, 169, 76, 0.15);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.15;
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: rgba(212, 169, 76, 0.4);
    transform: translateY(-5px);
}

/* ---------- Stats Counter ---------- */
.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(26, 26, 26, 0.9)),
        url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?w=1920&q=80') center/cover no-repeat;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Footer ---------- */
footer {
    background: var(--black);
    border-top: 1px solid rgba(212, 169, 76, 0.15);
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 1px solid rgba(212, 169, 76, 0.2);
    display: flex;
    flex-direction: column;
    padding: 80px 40px 40px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-link {
    font-size: 1rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- Mobile Accordion ---------- */
.mobile-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-acc-trigger {
    font-size: 1rem;
    padding: 14px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Poppins', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    width: 100%;
}

.mobile-acc-trigger.open {
    color: var(--gold);
}

.acc-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--gold);
}

.mobile-acc-trigger.open .acc-chevron {
    transform: rotate(180deg);
}

.mobile-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 12px;
}

.mobile-acc-body.open {
    max-height: 600px;
}

.mobile-acc-group-title {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 4px;
}

.mobile-acc-item {
    display: block;
    padding: 6px 0 6px 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    text-decoration: none;
    border-left: 1px solid rgba(212, 169, 76, 0.2);
    transition: all 0.2s ease;
    margin-bottom: 1px;
}

.mobile-acc-item:hover {
    color: var(--gold-light);
    border-left-color: var(--gold);
    padding-left: 14px;
}

/* Mobile menu overflow scroll */
.mobile-menu {
    overflow-y: auto;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ---------- Hamburger ---------- */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10000;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Service Icon Circle ---------- */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 169, 76, 0.15), rgba(212, 169, 76, 0.05));
    border: 1px solid rgba(212, 169, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.card-dark:hover .icon-circle {
    background: linear-gradient(135deg, rgba(212, 169, 76, 0.3), rgba(212, 169, 76, 0.1));
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 169, 76, 0.2);
}

/* ---------- Star Rating ---------- */
.stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* ---------- WhatsApp Floating Button ---------- */
.wa-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.wa-float-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 12px 20px 12px 16px;
    border-radius: 50px;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.4);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    max-width: 220px;
    /* always show full label */
}

.wa-float:hover .wa-float-inner {
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
    transform: translateY(-3px);
    background: #20ba5a;
}

.wa-label {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
    letter-spacing: 0.2px;
}

/* Ping animation dot */
.wa-ping {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    background: #ff4444;
    border-radius: 50%;
    border: 2px solid var(--black);
}

.wa-ping::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(255, 68, 68, 0.5);
    animation: wa-ping-anim 1.8s ease-out infinite;
}

@keyframes wa-ping-anim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .wa-float {
        bottom: 20px;
        left: 16px;
    }

    .wa-float-inner {
        padding: 11px 14px;
    }
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(212, 169, 76, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212, 169, 76, 0.5);
}

/* ---------- Loading Animation ---------- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(212, 169, 76, 0.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Pulse Animation ---------- */
@keyframes pulse-gold {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(212, 169, 76, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(212, 169, 76, 0);
    }
}

.pulse-gold {
    animation: pulse-gold 2s infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem !important;
    }

    .btn-gold,
    .btn-outline-gold {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

/* ========================================
   GALLERY SECTION
   ======================================== */

/* ---------- Filter Tabs ---------- */
.gallery-filter {
    background: transparent;
    border: 1.5px solid rgba(212, 169, 76, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.gallery-filter:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.gallery-filter.active-filter {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-color: transparent;
    color: var(--black);
    box-shadow: 0 4px 20px rgba(212, 169, 76, 0.35);
}

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

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ---------- Gallery Item ---------- */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 1px solid rgba(212, 169, 76, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 169, 76, 0.25);
}

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

/* ---------- Gallery Overlay ---------- */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    text-align: center;
    color: var(--white);
}

.gallery-tag {
    margin-top: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(212, 169, 76, 0.85);
    color: var(--black);
    padding: 3px 12px;
    border-radius: 50px;
}

/* ---------- Gallery Hidden State ---------- */
.gallery-item.hidden-gallery {
    display: none;
}

/* ---------- Lightbox ---------- */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(12px);
}

.gallery-lightbox.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 88vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(212, 169, 76, 0.2);
    display: block;
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.03em;
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 28px;
    background: rgba(212, 169, 76, 0.15);
    border: 1.5px solid rgba(212, 169, 76, 0.4);
    color: var(--gold);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--gold);
    color: var(--black);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 169, 76, 0.12);
    border: 1.5px solid rgba(212, 169, 76, 0.35);
    color: var(--gold);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold);
    color: var(--black);
}

@media (max-width: 640px) {
    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-content {
        max-width: 96vw;
    }
}