/* ═══════════════════════════════════════════════
   Vijo Int — DJ Booking Platform
   Theme: Nightclub / Live Performance Energy
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-deep: #050505;
    --bg-card: #0c0c0c;
    --bg-card-hover: #111;
    --bg-input: #0f0f0f;

    --glow-blue: #00cfff;
    --glow-purple: #8a2cff;
    --gradient-accent: linear-gradient(135deg, #00cfff, #8a2cff);
    --gradient-accent-r: linear-gradient(135deg, #8a2cff, #00cfff);

    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --text-muted: #555;

    --border-subtle: rgba(255,255,255,0.05);
    --border-glow: rgba(0, 207, 255, 0.2);

    --glow-sm: 0 0 10px rgba(0,207,255,0.25);
    --glow-md: 0 0 20px rgba(0,207,255,0.3), 0 0 40px rgba(138,44,255,0.12);
    --glow-lg: 0 0 30px rgba(0,207,255,0.4), 0 0 60px rgba(138,44,255,0.2);
    --glow-text: 0 0 20px rgba(0,207,255,0.5), 0 0 60px rgba(138,44,255,0.3);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.text-muted {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ── RESET ── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--glow-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

/* ═══════════════════════════════════════════════
   BACKGROUND EFFECTS — "VIBE LAYER"
   ═══════════════════════════════════════════════ */

.bg-effects {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Animated gradient blobs */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.06;
    animation: blobFloat 20s ease-in-out infinite alternate;
}

.bg-blob--blue {
    width: 600px;
    height: 600px;
    background: var(--glow-blue);
    top: -10%;
    left: -5%;
}

.bg-blob--purple {
    width: 500px;
    height: 500px;
    background: var(--glow-purple);
    bottom: -10%;
    right: -5%;
    animation-delay: -10s;
    animation-direction: alternate-reverse;
}

.bg-blob--accent {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--glow-blue), var(--glow-purple));
    top: 50%;
    left: 40%;
    animation-delay: -5s;
    animation-duration: 25s;
}

@keyframes blobFloat {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(60px, -40px) scale(1.1); }
    66%  { transform: translate(-40px, 60px) scale(0.95); }
    100% { transform: translate(30px, -20px) scale(1.05); }
}

/* Dancefloor grid canvas */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5,5,5,0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

/* Desktop: primary links + trailing sit in one flex row */
.nav-desktop-only {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-links--primary {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.nav-header-trailing {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    margin-left: auto;
}

/* Hamburger — hidden on large screens */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(0, 207, 255, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(10, 10, 14, 0.9);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.nav-burger:hover {
    border-color: rgba(0, 207, 255, 0.55);
    box-shadow: 0 0 16px rgba(0, 207, 255, 0.15);
}
.nav-burger__bar {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--glow-blue), var(--glow-purple));
    border-radius: 1px;
    transition: transform 0.25s var(--ease), opacity 0.2s;
}
body.nav-drawer-open .nav-burger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.nav-drawer-open .nav-burger__bar:nth-child(2) {
    opacity: 0;
}
body.nav-drawer-open .nav-burger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Slide-in drawer + overlay */
.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.nav-drawer-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1003;
    width: min(100vw - 3rem, 320px);
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background: linear-gradient(180deg, #0a0a10 0%, #050508 100%);
    border-left: 1px solid rgba(0, 207, 255, 0.2);
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.5), -4px 0 32px rgba(138, 44, 255, 0.08);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.nav-drawer.is-open {
    transform: translateX(0);
}

.nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}
.nav-drawer__title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.nav-drawer__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.nav-drawer__close:hover {
    background: rgba(0, 207, 255, 0.12);
    color: #fff;
}

.nav-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1.15rem 2rem;
    -webkit-overflow-scrolling: touch;
}

.nav-drawer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.nav-drawer__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-drawer__list a {
    display: block;
    padding: 1rem 0.15rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}
.nav-drawer__list a::after {
    display: none !important;
}
.nav-drawer__list a:hover,
.nav-drawer__list a.active {
    color: var(--glow-blue);
}

.nav-drawer__cta {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 207, 255, 0.12);
}
.nav-drawer__book {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.25rem !important;
}

.nav-drawer__account {
    margin-top: 1.5rem;
    padding: 1.15rem;
    border-radius: var(--radius-md);
    background: rgba(0, 207, 255, 0.05);
    border: 1px solid rgba(0, 207, 255, 0.12);
}
.nav-drawer__account-label {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.nav-drawer__account-name {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}
.nav-drawer__account-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.nav-drawer__account-links a {
    display: block;
    padding: 0.65rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--glow-purple);
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-drawer__account-links a:first-child {
    border-top: none;
    padding-top: 0;
}
.nav-drawer__account-links a:hover {
    color: var(--glow-blue);
}

body.nav-drawer-open {
    overflow: hidden;
    touch-action: none;
}
body.nav-drawer-open .site-header {
    z-index: 1002;
}

/* Tablet / mobile: compact bar + hamburger; full nav lives in drawer */
@media (max-width: 900px) {
    .nav-burger {
        display: flex;
    }
    .nav-desktop-only {
        display: none !important;
    }
    .nav-container {
        padding: 0.65rem 1rem;
        gap: 0.75rem;
    }
}

/* Far-right account strip — separated from nav + Book Now */
.nav-auth-rail {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-left: 1.15rem;
    margin-left: 0.35rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -12px 0 24px -8px rgba(0, 207, 255, 0.06);
}

/* Header logo (Assets/favicon.png) */
.brand-mark {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
}

.brand-mark__img {
    display: block;
    height: clamp(2rem, 4.5vw, 2.75rem);
    width: auto;
    max-height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 207, 255, 0.28));
    transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}

.brand-mark:hover .brand-mark__img,
.brand-mark:focus-visible .brand-mark__img {
    filter: drop-shadow(0 0 18px rgba(0, 207, 255, 0.5)) drop-shadow(0 0 28px rgba(138, 44, 255, 0.2));
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Member portal (user-auth): circular avatar-style control + register */
.nav-auth-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    padding: 0.2rem 0.35rem 0.2rem 0.2rem !important;
    padding-bottom: 0.2rem !important;
    color: var(--text-secondary) !important;
    font-weight: 600 !important;
}
.nav-auth-link::after {
    display: none !important;
}
.nav-auth-link:hover {
    color: #fff !important;
}
.nav-auth-link:hover .nav-auth-avatar {
    box-shadow: 0 0 18px rgba(0, 207, 255, 0.35), 0 0 28px rgba(138, 44, 255, 0.2);
    border-color: rgba(0, 207, 255, 0.55);
}
.nav-auth-avatar {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(0, 207, 255, 0.18), rgba(138, 44, 255, 0.22));
    border: 1px solid rgba(0, 207, 255, 0.4);
    box-shadow: 0 0 14px rgba(0, 207, 255, 0.18);
    color: var(--glow-blue);
    transition: box-shadow 0.25s var(--ease), border-color 0.25s;
}
.nav-auth-icon {
    width: 1.05rem;
    height: 1.05rem;
}
.nav-auth-text {
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}
.nav-auth-register {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--glow-purple);
    position: relative;
    padding-bottom: 3px;
    text-decoration: none;
}
.nav-auth-register::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--glow-purple), var(--glow-blue));
    transition: width 0.3s var(--ease);
}
.nav-auth-register:hover {
    color: #fff;
}
.nav-auth-register:hover::after {
    width: 100%;
}
@media (max-width: 768px) {
    .nav-auth-text { display: none; }
    .nav-auth-link { padding: 0.15rem !important; }
    .member-nav-menu__name { max-width: 100px; }
}

/* Logged-in member dropdown (header) */
.member-nav-menu { position: relative; }
.member-nav-menu__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(12, 12, 12, 0.9);
    border: 1px solid rgba(0, 207, 255, 0.35);
    border-radius: 999px;
    padding: 0.2rem 0.75rem 0.2rem 0.25rem;
    color: var(--text-primary);
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 0 16px rgba(138, 44, 255, 0.12);
}
.member-nav-menu__trigger:hover {
    border-color: rgba(0, 207, 255, 0.55);
    box-shadow: 0 0 22px rgba(0, 207, 255, 0.2);
}
.nav-auth-avatar--initials {
    font-size: 0.72rem;
    font-weight: 800;
    background: hsl(var(--hue), 52%, 36%);
    color: #fff;
    box-shadow: 0 0 12px hsla(var(--hue), 75%, 45%, 0.35);
}
.nav-auth-avatar--google {
    background: #fff;
    color: #4285f4;
    font-weight: 900;
    font-size: 0.8rem;
}
.member-nav-menu__name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.member-nav-menu__chev { opacity: 0.55; font-size: 0.72rem; }
.member-nav-menu__dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    box-shadow: var(--glow-md), 0 16px 48px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    z-index: 200;
}
.member-nav-menu__dropdown a {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-subtle);
}
.member-nav-menu__dropdown a:last-child { border-bottom: none; }
.member-nav-menu__dropdown a:hover {
    background: rgba(0, 207, 255, 0.08);
    color: #fff;
}

/* Member auth pages (login / register / dashboard) — spacing + rhythm */
.member-page {
    padding-top: 1rem;
    padding-bottom: 3rem;
}
.member-panel {
    max-width: 460px;
    margin: 0 auto;
    padding: 2.25rem 2.5rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 207, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--glow-md), 0 24px 64px rgba(0, 0, 0, 0.35);
}
.member-panel--wide { max-width: 820px; }

/* Member dashboard: use full content width so booking tables are not clipped */
.member-panel--dashboard {
    max-width: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}
.member-dash-grid--full {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    align-items: start;
}
@media (max-width: 900px) {
    .member-dash-grid--full {
        grid-template-columns: 1fr;
    }
}
.member-panel__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.member-panel__lead {
    margin: 0 0 1.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}
.member-panel .alert {
    margin-bottom: 1.35rem;
}
.member-form__oauth {
    margin-bottom: 1.25rem;
}
.member-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.member-google-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 207, 255, 0.35);
    box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.08);
}
.member-google-btn__g {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 4px;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc04, #ea4335);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
}
.member-form__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.35rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    text-align: center;
}
.member-form__divider::before,
.member-form__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.member-form__divider span {
    flex-shrink: 0;
    opacity: 0.9;
}
.member-form__group {
    margin-bottom: 1.35rem;
}
.member-form__group:last-of-type {
    margin-bottom: 0;
}
.member-form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}
.member-form__input {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-input);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.member-form__input:focus {
    outline: none;
    border-color: var(--glow-blue);
    box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.12);
}
.member-form__actions {
    margin-top: 2rem;
    padding-top: 0.25rem;
}
.member-form__submit {
    width: 100%;
    padding: 0.95rem 1.5rem;
    cursor: pointer;
    border: none;
}
.member-form__btn-secondary {
    width: 100%;
    margin-top: 0.5rem;
}
.member-resend {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(0, 207, 255, 0.12);
    text-align: center;
}
.member-resend__hint { margin-bottom: 0.85rem; font-size: 0.88rem; }
.member-panel__footer {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(0, 207, 255, 0.1);
}
.member-panel__footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}
.member-panel__footer p:first-child { margin-top: 0; }
.member-dev-hint {
    font-size: 0.78rem !important;
    opacity: 0.85;
}
.member-dev-hint code {
    font-size: 0.85em;
    color: var(--glow-blue);
}
.member-dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.member-dash-card__title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
}
.member-dash-card--muted { opacity: 0.95; }
.member-dash-card .btn-dj {
    margin-top: 1rem;
}
.member-kv {
    list-style: none;
    margin: 0;
    padding: 0;
}
.member-kv li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}
.member-kv li span { color: var(--text-secondary); }

.member-bookings-empty {
    margin: 0 0 0.75rem;
    line-height: 1.5;
}
.member-bookings-table-wrap {
    overflow-x: auto;
    margin: 0 0 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.member-bookings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.member-bookings-table th,
.member-bookings-table td {
    padding: 0.65rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.member-bookings-table th {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.member-bookings-table tbody tr:last-child td {
    border-bottom: none;
}
.member-booking-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.member-booking-badge--pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fcd34d;
}
.member-booking-badge--approved {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}
.member-booking-badge--rejected {
    background: rgba(248, 113, 113, 0.18);
    color: #fca5a5;
}
.member-bookings-actions {
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */

.btn-dj {
    display: inline-block;
    background: var(--gradient-accent);
    color: #fff;
    padding: 0.8rem 2.2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: box-shadow 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-dj::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}

.btn-dj:hover::before { left: 100%; }
.btn-dj:hover {
    box-shadow: var(--glow-lg);
    transform: translateY(-3px);
    color: #fff;
}

.btn-glow-pulse {
    animation: glowPulse 2.5s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    from { box-shadow: 0 0 10px rgba(0,207,255,0.2), 0 0 30px rgba(138,44,255,0.1); }
    to   { box-shadow: 0 0 25px rgba(0,207,255,0.45), 0 0 60px rgba(138,44,255,0.25); }
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glow);
    color: var(--glow-blue);
}

.btn-outline:hover {
    background: rgba(0,207,255,0.08);
    border-color: var(--glow-blue);
    box-shadow: var(--glow-md);
    color: #fff;
}

/* Match hero CTA (.btn-dj): same padding, type scale, and lift on hover */
.btn-book {
    display: inline-block;
    background: var(--gradient-accent) !important;
    color: #fff !important;
    padding: 0.8rem 2.2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: box-shadow 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
}
.btn-book::after { display: none !important; }
.btn-book:hover {
    box-shadow: var(--glow-lg);
    transform: translateY(-3px);
    color: #fff !important;
}

/* Header CTA — slightly compact so “Book a function” fits on smaller desktops */
.nav-header-trailing .btn-book {
    padding: 0.65rem 1.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    max-width: 11rem;
    text-align: center;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: -2.5rem -2rem 0;
    padding: 4rem 2rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0,207,255,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 30%, rgba(138,44,255,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 80%, rgba(0,207,255,0.06) 0%, transparent 50%);
    animation: heroBgShift 12s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes heroBgShift {
    0%   { transform: scale(1) translate(0, 0); }
    50%  { transform: scale(1.03) translate(-10px, 5px); }
    100% { transform: scale(1) translate(10px, -5px); }
}

/* Light sweep */
.hero-sweep {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-sweep::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,207,255,0.06), rgba(138,44,255,0.04), transparent);
    transform: skewX(-15deg);
    animation: heroSweep 6s ease-in-out infinite;
}

@keyframes heroSweep {
    0%   { left: -50%; }
    100% { left: 120%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}

.hero-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--glow-blue);
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Hero: full logo image (2× former header size × hero scale ≈ prominent) */
.hero-logo-wrap {
    margin: 0 0 1.5rem;
    line-height: 0;
}

.hero-logo {
    width: auto;
    height: clamp(152px, 36vw, 440px);
    max-width: min(92vw, 1040px);
    margin: 0 auto;
    display: block;
    object-fit: contain;
    animation: heroLogoGlow 3s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 28px rgba(0, 207, 255, 0.35)) drop-shadow(0 0 60px rgba(138, 44, 255, 0.2));
    transition: transform 0.4s var(--ease), filter 0.4s;
}

.hero-logo-wrap:hover .hero-logo {
    transform: scale(1.03);
}

@keyframes heroLogoGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(0, 207, 255, 0.25)) drop-shadow(0 0 50px rgba(138, 44, 255, 0.12));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(0, 207, 255, 0.5)) drop-shadow(0 0 90px rgba(138, 44, 255, 0.28));
    }
}

@keyframes textGlow {
    from { filter: drop-shadow(0 0 20px rgba(0,207,255,0.2)); }
    to   { filter: drop-shadow(0 0 40px rgba(0,207,255,0.45)) drop-shadow(0 0 80px rgba(138,44,255,0.2)); }
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════════ */

.ticker {
    overflow: hidden;
    background: rgba(0,207,255,0.04);
    border-top: 1px solid rgba(0,207,255,0.1);
    border-bottom: 1px solid rgba(0,207,255,0.1);
    padding: 0.7rem 0;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    gap: 2rem;
    animation: tickerScroll 25s linear infinite;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--glow-blue);
    text-shadow: 0 0 10px rgba(0,207,255,0.4);
}

.ticker-track span { flex-shrink: 0; }

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   SECTION BLOCKS
   ═══════════════════════════════════════════════ */

.section-block {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
}

/* Section taglines — high-contrast glow for dark backgrounds */
.section-sub {
    color: #d2e9ff;
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.55;
    text-shadow:
        0 0 14px rgba(0, 207, 255, 0.5),
        0 0 28px rgba(138, 44, 255, 0.35),
        0 0 42px rgba(0, 207, 255, 0.12);
    animation: sectionSubGlow 3.2s ease-in-out infinite alternate;
}

@keyframes sectionSubGlow {
    0% {
        color: #c8e4ff;
        text-shadow:
            0 0 12px rgba(0, 207, 255, 0.4),
            0 0 22px rgba(138, 44, 255, 0.28);
    }
    100% {
        color: #eef6ff;
        text-shadow:
            0 0 18px rgba(0, 207, 255, 0.65),
            0 0 36px rgba(138, 44, 255, 0.45),
            0 0 48px rgba(0, 255, 200, 0.08);
    }
}

/* ═══════════════════════════════════════════════
   EVENT CARDS
   ═══════════════════════════════════════════════ */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.event-card {
    position: relative;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0,207,255,0.12);
    background: var(--bg-card);
    transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.event-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 120%, var(--accent, var(--glow-blue)), transparent 65%);
    opacity: 0.07;
    transition: opacity 0.35s;
}

.event-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(0,207,255,0.35);
    box-shadow: var(--glow-md);
}

.event-card:hover .event-card-bg { opacity: 0.15; }

.event-date {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
    color: var(--glow-blue);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 8px rgba(0,207,255,0.3);
}

.event-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.event-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.event-map-link {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--glow-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.event-map-link:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(0, 207, 255, 0.45);
}

.event-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(0,207,255,0.25);
    color: var(--glow-blue);
    background: rgba(0,207,255,0.06);
}

/* ═══════════════════════════════════════════════
   GALLERY GRID
   ═══════════════════════════════════════════════ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    border-color: var(--border-glow);
    box-shadow: var(--glow-md);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--g1, #00cfff), var(--g2, #8a2cff));
    opacity: 0.35;
    transition: opacity 0.4s, transform 0.5s var(--ease);
}

.gallery-item:hover .gallery-placeholder {
    opacity: 0.55;
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5,5,5,0.5);
    opacity: 0;
    transition: opacity 0.35s;
}

.gallery-overlay span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
}

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

/* Light leak on hover */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease);
    pointer-events: none;
}
.gallery-item:hover::after { left: 130%; }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */

/* Grid fallback (used on non-home pages if needed) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Carousel wrapper */
.testi-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testi-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.7s cubic-bezier(0.42, 0, 0.2, 1);
}

.testi-track .testimonial-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: 0;
}

.testimonial-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s,
        border-color 0.35s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(138,44,255,0.25);
    box-shadow: 0 0 20px rgba(138,44,255,0.15), 0 0 40px rgba(0,207,255,0.08);
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--glow-purple);
    letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */

.cta-section {
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0,207,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════
   DIVIDERS
   ═══════════════════════════════════════════════ */

.divider {
    height: 2px;
    border: none;
    background: linear-gradient(90deg, transparent, var(--glow-blue), var(--glow-purple), transparent);
    margin: 0;
    animation: dividerPulse 3s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 1; }
}

/* ═══════════════════════════════════════════════
   CARDS (GLOBAL)
   ═══════════════════════════════════════════════ */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--glow-md);
}

/* ═══════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════ */

.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
    animation: pageEnter 0.5s ease both;
}

/* Member dashboard: give tables more horizontal room */
.is-member-dashboard .main-content {
    max-width: min(1320px, 100%);
}

/* ── HOME: full-width layout ── */

.is-home .main-content {
    max-width: 100%;
    padding: 0;
}

.is-home .hero {
    margin: 0;
    width: 100%;
}

.is-home .ticker {
    width: 100%;
}

.is-home .section-block {
    width: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
}

.is-home .divider {
    width: 100%;
}

.is-home .events-grid {
    grid-template-columns: repeat(3, 1fr);
}

.is-home .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.is-home .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
}

.is-home .cta-section {
    padding-left: 5vw;
    padding-right: 5vw;
}

/* Opacity only — no transform on .main-content, or position:fixed
   descendants (e.g. lightbox) anchor to this box instead of the viewport. */
@keyframes pageEnter {
    from { opacity: 0; }
    to   { opacity: 1; }
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════
   PAGE SECTIONS (NON-HOME)
   ═══════════════════════════════════════════════ */

.page-section {
    padding: 2rem 0;
}

.page-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-section p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════ */

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--glow-blue);
    box-shadow: 0 0 0 3px rgba(0,207,255,0.08);
/* Native date / datetime / time — dark + cyan/purple glow (.vijoint-native-dt from date-inputs.js) */
.form-group input.vijoint-native-dt {
    color-scheme: dark;
    -webkit-appearance: none;
    appearance: none;
    min-height: 2.75rem;
    padding: 0.65rem 0.85rem;
    cursor: pointer;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--bg-input), var(--bg-input)) padding-box,
        linear-gradient(135deg, rgba(0, 207, 255, 0.42), rgba(138, 44, 255, 0.42)) border-box;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.45) inset,
        0 0 16px rgba(0, 207, 255, 0.07),
        0 0 32px rgba(138, 44, 255, 0.06);
    transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.form-group input.vijoint-native-dt:hover {
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.45) inset,
        0 0 22px rgba(0, 207, 255, 0.14),
        0 0 40px rgba(138, 44, 255, 0.1);
}
.form-group input.vijoint-native-dt:focus {
    outline: none;
    border-color: transparent;
    box-shadow:
        0 0 0 1px rgba(0, 207, 255, 0.5) inset,
        0 0 24px rgba(0, 207, 255, 0.22),
        0 0 48px rgba(138, 44, 255, 0.14);
}
.form-group input.vijoint-native-dt::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.95;
    padding: 0.35rem;
    margin-left: 0.15rem;
    filter: invert(0.88) sepia(1) saturate(4.5) hue-rotate(165deg) brightness(1.05);
}
.form-group input.vijoint-native-dt::-webkit-datetime-edit-text {
    color: var(--text-secondary);
    padding: 0 0.12em;
}
.form-group input.vijoint-native-dt::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ═══════════════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════════════ */

.alert {
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}
.alert-success {
    background: rgba(0,207,255,0.08);
    border: 1px solid rgba(0,207,255,0.25);
    color: var(--glow-blue);
}
.alert-error {
    background: rgba(255,68,102,0.08);
    border: 1px solid rgba(255,68,102,0.25);
    color: #ff4466;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.site-footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 2.25rem 1.5rem 2.75rem;
    border-top: 1px solid var(--border-glow);
    background: linear-gradient(180deg, transparent, rgba(8, 12, 20, 0.85));
    font-size: 0.95rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.footer-glow {
    margin: 0;
    color: #dceeff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-shadow:
        0 0 12px rgba(0, 207, 255, 0.45),
        0 0 26px rgba(138, 44, 255, 0.3),
        0 0 40px rgba(0, 207, 255, 0.12);
    animation: footerGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes footerGlowPulse {
    0% {
        color: #c8e4ff;
        text-shadow:
            0 0 10px rgba(0, 207, 255, 0.35),
            0 0 20px rgba(138, 44, 255, 0.22);
    }
    100% {
        color: #f0f7ff;
        text-shadow:
            0 0 16px rgba(0, 207, 255, 0.55),
            0 0 32px rgba(138, 44, 255, 0.38);
    }
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   EVENT CARD IMAGES
   ═══════════════════════════════════════════════ */

.event-card-image {
    margin: -2rem -1.5rem 1.25rem;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.event-card:hover .event-card-image img { transform: scale(1.06); }

.event-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════
   GALLERY — REAL IMAGES
   ═══════════════════════════════════════════════ */

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }

/* ═══════════════════════════════════════════════
   LIGHTBOX (fixed overlay — must not participate in gallery grid flow)
   ═══════════════════════════════════════════════ */

.lightbox {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 10000;
    margin: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    overflow: auto;
    overscroll-behavior: contain;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.lightbox img {
    max-width: 82vw;
    max-height: 82vh;
    border-radius: var(--radius-md);
    box-shadow: 0 0 60px rgba(0,207,255,0.15);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 1002;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,207,255,0.12);
    border: 1px solid rgba(0,207,255,0.25);
    color: #fff;
    font-size: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, box-shadow 0.25s;
    z-index: 1002;
    backdrop-filter: blur(6px);
}
.lightbox-arrow:hover {
    background: rgba(0,207,255,0.3);
    box-shadow: 0 0 20px rgba(0,207,255,0.4);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: .9rem;
    letter-spacing: 0.1em;
    z-index: 1001;
}

/* ═══════════════════════════════════════════════
   GALLERY SCROLL CONTAINER
   ═══════════════════════════════════════════════ */

.gallery-scroll-wrap {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,207,255,0.35) transparent;
}

/* Video placeholders grid — desktop matches previous inline minmax(320px, 1fr); mobile flattens to 1 col */
.gallery-grid--video-min {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.gallery-scroll-wrap::-webkit-scrollbar { width: 6px; }
.gallery-scroll-wrap::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll-wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00cfff, #8a2cff);
    border-radius: 3px;
}

/* ═══════════════════════════════════════════════
   VIDEO GRID
   ═══════════════════════════════════════════════ */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}
.video-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,207,255,0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 28px rgba(138,44,255,0.25);
}
.video-card video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    background: #000;
    object-fit: cover;
}
.video-card-title {
    padding: .75rem 1rem;
    font-size: .95rem;
    color: rgba(255,255,255,0.85);
    border-top: 1px solid rgba(0,207,255,0.1);
}

/* ═══════════════════════════════════════════════
   PUBLIC FORMS (Booking + Contact)
   ═══════════════════════════════════════════════ */

.public-form { max-width: 700px; }

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ═══════════════════════════════════════════════
   CONTACT LAYOUT
   ═══════════════════════════════════════════════ */

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ── WhatsApp CTA Button ── */

.wa-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-md);
    background: #0d0d0d;
    border: 1px solid rgba(37, 211, 102, 0.25);
    text-decoration: none;
    transition:
        border-color 0.3s,
        box-shadow 0.3s,
        transform 0.25s var(--ease);
    position: relative;
    overflow: hidden;
}

.wa-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37,211,102,0.06), transparent);
    transition: left 0.5s;
}
.wa-btn:hover::before { left: 100%; }

.wa-btn:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow:
        0 0 16px rgba(37, 211, 102, 0.2),
        0 0 40px rgba(37, 211, 102, 0.08);
    transform: translateY(-2px);
}

/* Black source graphic → white glyph (keep subtle green glow on CTA) */
.wa-btn-icon {
    width: 36px;
    height: 36px;
    max-width: 36px;
    flex-shrink: 0;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(37, 211, 102, 0.4));
    transition: filter 0.3s, transform 0.3s;
}

.wa-btn:hover .wa-btn-icon {
    filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(37, 211, 102, 0.6));
    transform: scale(1.1);
}

.wa-btn-text {
    display: flex;
    flex-direction: column;
}

.wa-btn-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #25d366;
}

.wa-btn-number {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

/* ── Inline WhatsApp link in Quick Links ── */

.wa-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 100%;
}

/* Inline WhatsApp glyph: global img rule is max-width:100% — lock size so it cannot blow up the card */
.wa-inline-icon {
    width: 1.15rem;
    height: 1.15rem;
    max-width: 1.15rem !important;
    flex-shrink: 0;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.92;
    transition: transform 0.2s, opacity 0.2s;
}

.wa-inline:hover .wa-inline-icon {
    transform: scale(1.2);
    opacity: 1;
}

/* ── Contact card + links ── */

.contact-info-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 207, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--glow-md), 0 24px 64px rgba(0, 0, 0, 0.3);
}
.contact-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.contact-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.contact-links a {
    font-size: 0.92rem;
    color: var(--glow-blue);
}
.contact-links a:hover { color: #fff; }

/* ═══════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════ */

.about-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
}

/* "What We Do" — 4 in a row with auto-focus cycle */

.wwd-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.wwd-card {
    position: relative;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    opacity: 0.5;
    transform: scale(0.97);
    transition:
        opacity 0.6s var(--ease),
        transform 0.6s var(--ease),
        border-color 0.6s var(--ease),
        box-shadow 0.6s var(--ease);
}

.wwd-card.wwd-active {
    opacity: 1;
    transform: scale(1);
    border-image: linear-gradient(90deg, transparent, var(--glow-blue), var(--glow-purple), transparent) 1;
    box-shadow:
        0 0 18px rgba(0, 207, 255, 0.2),
        0 0 40px rgba(138, 44, 255, 0.1);
}

.wwd-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: color 0.4s;
}
.wwd-card.wwd-active h3 {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wwd-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    transition: color 0.4s;
}
.wwd-card.wwd-active p {
    color: var(--text-secondary);
}

/* Services page still uses .services-showcase */

.services-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-block {
    padding: 2rem 1.5rem;
    text-align: center;
}
.service-block h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.service-block p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-icon-wrap {
    margin-bottom: 1rem;
}
.service-icon {
    font-size: 2rem;
}

/* ═══════════════════════════════════════════════
   BOOKING — GOOGLE MAP
   ═══════════════════════════════════════════════ */

.booking-map-section {
    position: relative;
}
.booking-api-loading {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.booking-map-warning code {
    font-size: 0.85em;
    color: var(--glow-blue);
}
.booking-map-search {
    margin-bottom: 1rem;
}
.booking-map-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}
.booking-pac-input {
    width: 100%;
    max-width: 520px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glow);
    background: rgba(10, 10, 10, 0.85);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.booking-pac-input:focus {
    outline: none;
    border-color: var(--glow-blue);
    box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.12);
}
.booking-map-canvas {
    width: 100%;
    height: min(58vh, 420px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 207, 255, 0.2);
    overflow: hidden;
    margin-bottom: 0.5rem;
    background: var(--bg-deep);
}
.booking-map-hint {
    font-size: 0.82rem;
    margin-bottom: 1.5rem;
}
.booking-map-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 207, 255, 0.12);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE (≤900px)
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

    .hero { min-height: 70vh; padding: 3rem 1.5rem; margin: -1.5rem -1rem 0; }
    .is-home .hero { margin: 0; }
    .hero-logo { height: clamp(128px, 56vw, 320px); }

    .events-grid,
    .is-home .events-grid { grid-template-columns: 1fr; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .is-home .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

    .testimonials-grid,
    .is-home .testimonials-grid { grid-template-columns: 1fr; }

    .testi-track .testimonial-card {
        flex: 0 0 100%;
    }

    .services-showcase { grid-template-columns: 1fr; }
    .wwd-row { grid-template-columns: repeat(2, 1fr); }

    .main-content { padding: 1.5rem 1rem; }
    .is-home .main-content { padding: 0; }
    .section-block { padding: 2.5rem 0; }
    .is-home .section-block { padding-left: 1.25rem; padding-right: 1.25rem; }

    .form-row-2 { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 2rem; }

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

    .lightbox-arrow {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    .lightbox-prev { left: .6rem; }
    .lightbox-next { right: .6rem; }
    .lightbox img { max-width: 92vw; max-height: 72vh; }
    .lightbox-close {
        top: max(0.85rem, env(safe-area-inset-top, 0px));
        right: max(0.85rem, env(safe-area-inset-right, 0px));
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10001;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Booking: clip wide map/inputs/PAC only inside this section — not .main-content
       (overflow-x on main coerced overflow-y:auto and broke document scroll on mobile) */
    .booking-map-section {
        max-width: 100%;
        overflow-x: hidden;
    }
    .booking-map-section .public-form,
    .booking-map-form.public-form {
        max-width: 100%;
    }
    .booking-pac-input {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .booking-map-canvas,
    #booking-map {
        max-width: 100%;
        width: 100% !important;
        box-sizing: border-box;
    }
    .booking-map-form .form-group input,
    .booking-map-form .form-group textarea {
        max-width: 100%;
        box-sizing: border-box;
    }
    .pac-container {
        max-width: calc(100vw - 1.5rem) !important;
        box-sizing: border-box;
    }

    /* Gallery page: inner scroll + reveal transforms break thumbnails / IO on mobile */
    .gallery-scroll-wrap {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
    .gallery-scroll-wrap .gallery-grid,
    .gallery-scroll-wrap .gallery-item {
        min-width: 0;
    }
    .gallery-scroll-wrap .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .gallery-grid--video-min {
        grid-template-columns: 1fr !important;
    }

    /* Mobile drawer: full-width panel, full-row links, larger tap targets */
    .nav-drawer {
        width: 100%;
        max-width: none;
        border-left: none;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.45);
    }
    .nav-drawer__body {
        padding: 0.5rem 0 2rem;
    }
    .nav-drawer__list {
        gap: 8px;
        padding: 0 16px;
    }
    .nav-drawer__list li {
        border-bottom: none;
    }
    .nav-drawer__list a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-secondary);
        text-decoration: none;
        border-radius: 10px;
        transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-drawer__list a:hover,
    .nav-drawer__list a:focus-visible {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-primary);
    }
    .nav-drawer__list a.active {
        background: rgba(255, 255, 255, 0.05);
        color: var(--glow-blue);
    }
    .nav-drawer__list a:active {
        transform: scale(0.98);
    }
    .nav-drawer__cta {
        margin: 16px 16px 0;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav-drawer__account {
        margin-left: 16px;
        margin-right: 16px;
        padding: 1rem;
    }
    .nav-drawer__account-links {
        gap: 8px;
    }
    .nav-drawer__account-links a {
        display: block;
        width: 100%;
        padding: 14px 16px;
        border-radius: 10px;
        border-top: none;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--glow-purple);
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
        -webkit-tap-highlight-color: transparent;
        box-sizing: border-box;
    }
    .nav-drawer__account-links a:first-child {
        padding-top: 14px;
    }
    .nav-drawer__account-links a:hover,
    .nav-drawer__account-links a:focus-visible {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-primary);
    }
    .nav-drawer__account-links a:active {
        transform: scale(0.98);
    }

    /* Drawer fully non-interactive when off-canvas (avoids stray hit targets on small screens) */
    .nav-drawer:not(.is-open) {
        pointer-events: none;
    }
    .nav-drawer.is-open {
        pointer-events: auto;
    }
}

@media (max-width: 768px) {
    .nav-drawer__list a {
        padding: 18px 20px;
        font-size: 1.0625rem;
    }
}

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