:root {
    --navy: #0d1b3d;
    --navy-dark: #081226;
    --gold: #d4a017;
    --gold-light: #f2c94c;
    --maroon: #7a1f2b;
    --cream: #fdf8ee;
}

body {
    background: var(--cream);
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    color: #24272b;
}

/* Top bar */
.top-bar {
    background: var(--navy);
    color: #fff;
    font-size: .85rem;
    padding: 6px 0;
    letter-spacing: .3px;
}

/* Header — 3 logos */
.site-header-logos {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 18px 0;
    border-bottom: 4px solid var(--gold);
}
.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: nowrap;
}
.logo-row .logo-center,
.logo-row .logo-side {
    background: #fff;
    border-radius: 50%;
    object-fit: contain;
    padding: 4px;
    flex-shrink: 0;
}
.logo-row .logo-center {
    height: 120px;
    width: 120px;
    order: 2;
}
.logo-row .logo-side {
    height: 84px;
    width: 84px;
}
.logo-row .logo-side:first-child { order: 1; }
.logo-row .logo-side:last-child { order: 3; }

@media (max-width: 767px) {
    .logo-row { gap: 10px; }
    .logo-row .logo-center { height: 78px; width: 78px; }
    .logo-row .logo-side { height: 52px; width: 52px; }
}
@media (max-width: 420px) {
    .logo-row { gap: 6px; }
    .logo-row .logo-center { height: 64px; width: 64px; }
    .logo-row .logo-side { height: 42px; width: 42px; }
}

/* Floating Home button */
.home-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--maroon);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
    z-index: 1050;
    transition: transform .15s ease, background .15s ease;
}
.home-fab:hover { background: var(--navy); color: #fff; transform: scale(1.08); }

/* Hero — banner image only, no overlay text */
.hero-banner {
    width: 100%;
    display: block;
    line-height: 0;
}
.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Home cards */
.action-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(13,27,61,.12);
    transition: transform .18s ease, box-shadow .18s ease;
    height: 100%;
}
.action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(13,27,61,.2);
}
.action-card .card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--gold-light);
    font-size: 1.8rem;
    margin: 24px auto 6px;
}
.action-card .card-body {
    text-align: center;
    padding: 10px 24px 30px;
}
.action-card h4 {
    font-weight: 700;
    color: var(--navy);
}
.action-card .btn {
    background: var(--maroon);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 30px;
}
.action-card .btn:hover { background: var(--navy); }

/* Section titles */
.section-title {
    text-align: center;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 8px;
}
.section-sub {
    text-align: center;
    color: #6b6f76;
    margin-bottom: 34px;
}

/* Forms */
.form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(13,27,61,.1);
    padding: 32px;
    max-width: 720px;
    margin: 0 auto;
}
.form-card h3 {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 6px;
}
.form-label { font-weight: 600; color: var(--navy); }
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #d8dce3;
    padding: 10px 12px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(212,160,23,.2);
}
.btn-carnival {
    background: var(--maroon);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 10px;
    letter-spacing: .3px;
}
.btn-carnival:hover { background: var(--navy); color: #fff; }

.qr-box {
    background: var(--navy);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    color: #fff;
}
.qr-box img {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    max-width: 220px;
    width: 100%;
}
.qr-box .amount-tag {
    display: inline-block;
    margin-top: 12px;
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 800;
    padding: 6px 20px;
    border-radius: 24px;
    font-size: 1.2rem;
}

.plan-select .form-check {
    border: 1px solid #d8dce3;
    border-radius: 10px;
    padding: 12px 16px 12px 42px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.plan-select .form-check:hover { border-color: var(--gold); }
.plan-select .form-check-input:checked ~ .form-check-label { color: var(--navy); font-weight: 700; }

.member-row { margin-bottom: 8px; }

/* Success page */
.success-card {
    max-width: 560px;
    margin: 40px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(13,27,61,.15);
    padding: 40px 32px;
    text-align: center;
}
.success-card .check-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #e8f8ee;
    color: #1e9e5a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    margin: 0 auto 18px;
}
.booking-no-tag {
    display: inline-block;
    background: var(--navy);
    color: var(--gold-light);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1px;
    padding: 10px 26px;
    border-radius: 10px;
    margin: 16px 0;
}

footer.site-footer {
    background: var(--navy-dark);
    color: #cfd3db;
    padding: 26px 0;
    margin-top: 60px;
    font-size: .9rem;
}
footer.site-footer a { color: var(--gold-light); }

/* Admin panel */
.admin-sidebar {
    background: var(--navy-dark);
    min-height: 100vh;
    color: #fff;
}
.admin-sidebar .brand {
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: var(--gold-light);
    font-weight: 700;
}
.admin-sidebar a.nav-link {
    color: #d3d7de;
    padding: 10px 20px;
    border-left: 3px solid transparent;
}
.admin-sidebar a.nav-link:hover,
.admin-sidebar a.nav-link.active {
    background: rgba(255,255,255,.06);
    color: var(--gold-light);
    border-left-color: var(--gold);
}
.admin-sidebar .nav-heading {
    color: #7d8493;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 20px 4px;
}
.stat-card {
    border: none;
    border-radius: 14px;
    color: #fff;
    padding: 20px;
}
.stat-card h3 { font-weight: 800; margin: 6px 0 0; }
.stat-card .label { font-size: .85rem; opacity: .9; }
.stat-card.c1 { background: linear-gradient(135deg,#0d1b3d,#1c3874); }
.stat-card.c2 { background: linear-gradient(135deg,#7a1f2b,#a5303f); }
.stat-card.c3 { background: linear-gradient(135deg,#b8860b,#d4a017); }
.stat-card.c4 { background: linear-gradient(135deg,#1e9e5a,#2bbd6f); }

.table-responsive { border-radius: 10px; overflow: hidden; }
.admin-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(13,27,61,.08);
    padding: 22px;
    margin-bottom: 22px;
}
.thumb-img {
    width: 42px; height: 42px; object-fit: cover; border-radius: 6px; cursor: pointer;
    border: 1px solid #ddd;
}
