/* =====================================================================
   Empire Event — public site
   One font (Poppins) everywhere. Golden theme with two alternating
   section colours: warm ivory (light) and deep charcoal (dark).
   ===================================================================== */
:root {
    --ivory: #FFFDF9;
    --champagne: #F4E8DC;
    --gold: #B58A50;
    --gold-light: #D9B26F;
    --gold-bright: #E6C27A;
    --gold-grad: linear-gradient(135deg, #8E6A35 0%, #D9B26F 45%, #F1D79A 60%, #B58A50 100%);
    --ink: #252525;
    --muted: #737373;
    --card: #FFFFFF;
    --dark: #17130F;
    --dark-2: #211B15;
    --dark-text: #EDE6DC;
    --dark-muted: #B9AFA2;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(37, 37, 37, .08);
    --shadow-hover: 0 18px 40px rgba(37, 37, 37, .14);
    --header-h: 72px;
    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
    font-family: var(--font);
    background: var(--ivory);
    color: var(--ink);
    font-size: 15.5px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .btn, input, select, textarea, button { font-family: var(--font); }
a { color: var(--gold); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 500; letter-spacing: .2px; transition: all .25s ease; }
.btn-gold {
    background: var(--gold-grad); background-size: 200% 200%; background-position: 0% 50%;
    color: #1d160e; border: 0; box-shadow: 0 6px 18px rgba(181, 138, 80, .35);
}
.btn-gold:hover, .btn-gold:focus { color: #1d160e; background-position: 100% 50%; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(181, 138, 80, .45); }
.btn-gold:disabled { opacity: .7; }
.btn-outline-gold { border: 1.5px solid var(--gold-light); color: var(--gold-bright); background: transparent; }
.btn-outline-gold:hover { background: var(--gold-light); color: #1d160e; border-color: var(--gold-light); }
.btn-outline-dark-gold { border: 1.5px solid var(--gold); color: var(--gold); background: transparent; padding: .6rem 1.6rem; }
.btn-outline-dark-gold:hover { background: var(--gold); color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1030;
    background: rgba(23, 19, 15, .55);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(23, 19, 15, .96); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.site-header .navbar { min-height: var(--header-h); padding: .4rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-weight: 700; font-size: 1.2rem; letter-spacing: 1.5px; text-transform: uppercase;
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-tagline { font-size: .68rem; color: var(--dark-muted); letter-spacing: 2px; text-transform: uppercase; }
.site-header .nav-link { color: var(--dark-text); font-weight: 400; font-size: .95rem; padding: .5rem .85rem !important; position: relative; }
.site-header .nav-link::after {
    content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px;
    background: var(--gold-light); transform: scaleX(0); transition: transform .25s ease;
}
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--gold-bright); }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 1px solid rgba(217, 178, 111, .5); color: var(--gold-bright); font-size: 1.5rem; padding: .2rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(217, 178, 111, .35); }
@media (max-width: 991.98px) {
    .site-header .navbar-collapse { background: var(--dark); margin: .5rem -12px 0; padding: .5rem 1.25rem 1.25rem; border-top: 1px solid rgba(217,178,111,.2); }
    .site-header .nav-link::after { display: none; }
}

/* ---------- Sections (two alternating colours) ---------- */
.section { padding: 90px 0; }
.section-light { background: var(--ivory); color: var(--ink); }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark .section-lead, .section-dark .about-text { color: var(--dark-muted); }
.section-head { max-width: 680px; margin: 0 auto 2.5rem; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
}
.section-dark .eyebrow { color: var(--gold-light); }
.section-title { font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.25; margin: .5rem 0 .75rem; }
.section-dark .section-title { color: #fff; }
.section-lead { color: var(--muted); margin: 0; }
.gold-divider { display: flex; align-items: center; justify-content: center; gap: .6rem; color: var(--gold); margin: .25rem 0 1rem; font-size: .6rem; }
.gold-divider span { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.gold-divider span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
    padding: calc(var(--header-h) + 60px) 0 80px;
    background: var(--dark) var(--hero-image) center / cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23,19,15,.92) 0%, rgba(23,19,15,.7) 45%, rgba(23,19,15,.35) 100%); }
.hero-content { max-width: 640px; }
.hero .eyebrow { color: var(--gold-bright); margin-bottom: 1rem; }
.hero-title { font-weight: 700; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.12; color: #fff; margin-bottom: 1.1rem; }
.hero-subtitle { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--dark-text); opacity: .9; margin-bottom: 2rem; max-width: 520px; }

/* ---------- Category tabs ---------- */
.category-tabs {
    display: flex; gap: .65rem; overflow-x: auto; padding: .35rem .2rem 1rem; margin-bottom: 1.5rem;
    justify-content: center; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
@media (max-width: 767.98px) { .category-tabs { justify-content: flex-start; } }
.category-tab {
    flex: 0 0 auto; border: 1.5px solid #e6d8c6; background: #fff; color: var(--ink);
    padding: .6rem 1.35rem; border-radius: 999px; font-weight: 500; font-size: .92rem;
    transition: all .2s ease; white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem;
}
.category-tab:hover { border-color: var(--gold); color: var(--gold); }
.category-tab.active { background: var(--gold-grad); border-color: transparent; color: #1d160e; box-shadow: 0 6px 16px rgba(181,138,80,.35); }
.category-tab .count { font-size: .72rem; background: rgba(0,0,0,.08); border-radius: 999px; padding: 0 .5rem; }
.category-tabs-sm .category-tab { padding: .45rem 1.1rem; font-size: .85rem; }
.tabs-skeleton { display: flex; gap: .65rem; }
.tabs-skeleton span { width: 130px; height: 42px; border-radius: 999px; background: linear-gradient(90deg,#f1e9de,#faf5ee,#f1e9de); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

/* ---------- Package cards ---------- */
.package-card {
    height: 100%; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); border: 1px solid #f0e6d8; transition: transform .3s ease, box-shadow .3s ease;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.package-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--champagne); }
.package-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.package-card:hover .package-media img { transform: scale(1.05); }
.package-badge {
    position: absolute; top: 12px; left: 12px; background: rgba(23,19,15,.78); color: var(--gold-bright);
    font-size: .72rem; font-weight: 500; padding: .25rem .7rem; border-radius: 999px; letter-spacing: .5px;
}
.package-photos-count { position: absolute; bottom: 12px; right: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; }
.package-body { padding: 1.25rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.package-title { font-size: 1.12rem; font-weight: 600; margin-bottom: .35rem; color: var(--ink); }
.package-price { font-weight: 600; color: var(--gold); font-size: 1.05rem; margin-bottom: .4rem; }
.package-price small { color: var(--muted); font-weight: 400; font-size: .75rem; }
.package-desc { color: var(--muted); font-size: .9rem; margin-bottom: .9rem; }
.package-features { list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .88rem; }
.package-features li { display: flex; gap: .5rem; padding: .22rem 0; color: #3d3d3d; }
.package-features li i { color: var(--gold); flex: 0 0 auto; margin-top: .1rem; }
.package-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.package-actions .btn { font-size: .85rem; padding: .55rem .5rem; }
.btn-photos { border: 1.5px solid var(--gold); color: var(--gold); background: #fff; }
.btn-photos:hover { background: var(--champagne); color: #8E6A35; border-color: var(--gold); }

.state-box { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.state-box i { font-size: 2.6rem; color: var(--gold); display: block; margin-bottom: .6rem; }
.state-box h3 { font-size: 1.15rem; color: var(--ink); font-weight: 600; }
.skeleton-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid #f0e6d8; }
.skeleton-card .sk-img { aspect-ratio: 4/3; }
.skeleton-card .sk-line { height: 14px; margin: 14px 18px; border-radius: 6px; }
.skeleton-card .sk-img, .skeleton-card .sk-line { background: linear-gradient(90deg,#f3ece2,#fbf7f1,#f3ece2); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- About ---------- */
.about-media { position: relative; border-radius: var(--radius); }
.about-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); display: block; }
.about-media::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: 0; }
.about-media img { position: relative; z-index: 1; }
.about-badge {
    position: absolute; z-index: 2; right: -10px; bottom: 22px; background: var(--gold-grad); color: #1d160e;
    padding: .7rem 1.1rem; border-radius: 14px; font-weight: 500; font-size: .88rem; display: flex; gap: .5rem; align-items: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.3);
}
.about-text { margin-bottom: 1.25rem; }
.about-points { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.about-points li { display: flex; gap: .6rem; padding: .3rem 0; color: var(--dark-text); }
.about-points i { color: var(--gold-light); }
@media (max-width: 575.98px) { .about-media::before { inset: -8px 8px 8px -8px; } .about-badge { right: 8px; } }

/* ---------- Event photo grid ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 991.98px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.photo-item {
    position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; border: 0; padding: 0;
    background: var(--champagne); cursor: zoom-in; display: block; width: 100%;
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.photo-item:hover img { transform: scale(1.06); }
.photo-item .photo-caption {
    position: absolute; inset: auto 0 0 0; padding: 1.6rem .8rem .6rem; text-align: left;
    background: linear-gradient(transparent, rgba(23,19,15,.85)); color: #fff; font-size: .8rem;
    opacity: 0; transform: translateY(6px); transition: all .3s ease;
}
.photo-item:hover .photo-caption, .photo-item:focus-visible .photo-caption { opacity: 1; transform: none; }
.photo-caption small { display: block; color: var(--gold-bright); font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; }
@media (hover: none) { .photo-item .photo-caption { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact-card {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; height: 100%;
    background: var(--dark-2); border: 1px solid rgba(217,178,111,.22); border-radius: var(--radius);
    padding: 1.6rem 1rem; color: var(--dark-text); text-decoration: none; transition: all .25s ease;
}
button.contact-card { font: inherit; }
.contact-card:hover { border-color: var(--gold-light); transform: translateY(-4px); color: #fff; }
.contact-card i { font-size: 1.6rem; color: var(--gold-light); margin-bottom: .35rem; }
.contact-card .label { font-size: .75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--dark-muted); }
.contact-card .value { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: #0F0C09; color: var(--dark-muted); padding: 2.2rem 0 1.4rem; font-size: .9rem; }
.site-footer hr { border-color: rgba(217,178,111,.18); opacity: 1; margin: 1.4rem 0 1rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(217,178,111,.35); color: var(--gold-light); text-decoration: none; transition: all .2s; }
.footer-social a:hover { background: var(--gold-light); color: #1d160e; }
.copyright { text-align: center; font-size: .8rem; }

.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 1020; width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.07); }

/* ---------- Gallery modal ---------- */
.gallery-modal .modal-content { background: var(--dark); color: var(--dark-text); border: 1px solid rgba(217,178,111,.25); border-radius: var(--radius); }
.gallery-modal .modal-header { border-bottom: 1px solid rgba(217,178,111,.15); }
.gallery-modal .modal-title { color: #fff; font-weight: 600; font-size: 1.1rem; }
.gallery-counter { color: var(--gold-bright); font-size: .85rem; font-weight: 500; background: rgba(217,178,111,.12); padding: .15rem .65rem; border-radius: 999px; }
.gallery-stage { position: relative; background: #0d0a08; border-radius: 12px; overflow: hidden; height: min(68vh, 620px); display: flex; align-items: center; justify-content: center; }
@media (max-width: 767.98px) { .gallery-stage { height: 56vh; } }
.gallery-main-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; transition: opacity .25s ease; }
.gallery-main-img.is-loading { opacity: .15; }
.gallery-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-light); pointer-events: none; }
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(217,178,111,.5); background: rgba(23,19,15,.7); color: var(--gold-bright); font-size: 1.3rem;
    display: grid; place-items: center; transition: all .2s;
}
.gallery-nav:hover { background: var(--gold-light); color: #1d160e; }
.gallery-nav.prev { left: 12px; } .gallery-nav.next { right: 12px; }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: .6rem 1rem; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #eee; }
.gallery-caption:empty { display: none; }
.gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .9rem .1rem .2rem; scrollbar-width: thin; }
.gallery-thumb { flex: 0 0 auto; width: 86px; height: 64px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #2a231c; opacity: .6; transition: all .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: .9; }
.gallery-thumb.active { border-color: var(--gold-bright); opacity: 1; }
.gallery-empty { text-align: center; padding: 3rem 1rem; color: var(--dark-muted); }
.gallery-empty i { font-size: 2.5rem; color: var(--gold-light); }

/* ---------- Enquiry modal ---------- */
.enquiry-modal .modal-content { border-radius: var(--radius); border: 0; overflow: hidden; }
.enquiry-modal .modal-header { background: var(--dark); color: #fff; border: 0; align-items: flex-start; }
.enquiry-modal .modal-header .btn-close { filter: invert(1) grayscale(1) brightness(2); }
.enquiry-modal .modal-title { font-weight: 600; color: var(--gold-bright); }
.enquiry-modal .modal-sub { font-size: .85rem; color: var(--dark-muted); }
.enquiry-modal .modal-body { background: var(--ivory); }
.enquiry-modal .modal-footer { background: var(--ivory); border-top: 1px solid #efe5d6; }
.form-label { font-weight: 500; font-size: .88rem; margin-bottom: .3rem; }
.form-label .req { color: #b3261e; } .form-label .opt { color: var(--muted); font-weight: 400; font-size: .8rem; }
.form-control, .form-select { border-radius: 10px; border-color: #e3d6c4; padding: .6rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(181,138,80,.2); }
.form-control[readonly] { background: #f7f1e8; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 575.98px) {
    .section { padding: 64px 0; }
    .package-actions { grid-template-columns: 1fr 1fr; }
    body { font-size: 15px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
