/* ===========================================
   EpicGem Explorers - Modern Tour UI
   =========================================== */

:root {
    --emerald: #0F7B6C;
    --emerald-dark: #0a5a4f;
    --emerald-light: #14a58f;
    --gold: #D4AF37;
    --gold-light: #e6c65c;
    --white: #FFFFFF;
    --black: #121212;
    --orange: #FF7A00;
    --ink: #1c2b28;
    --muted: #6b7c78;
    --bg-soft: #f4f7f6;
    --border: #e6ecea;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 4px 14px rgba(15, 30, 26, 0.08);
    --shadow-md: 0 12px 34px rgba(15, 30, 26, 0.12);
    --shadow-lg: 0 24px 60px rgba(15, 30, 26, 0.18);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--white);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    color: var(--black);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }

.eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 14px;
}

.section-heading {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-heading .accent { color: var(--emerald); }

.section-sub {
    color: var(--muted);
    max-width: 620px;
    font-size: 1.05rem;
}

.text-center { text-align: center; }
.center-head { text-align: center; }
.center-head .section-sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
    background: var(--emerald);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(15, 123, 108, 0.32);
}
.btn-primary:hover {
    background: var(--emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 123, 108, 0.42);
}

.btn-gold {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35);
}
.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--emerald);
    border-color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--emerald);
    border-color: var(--emerald);
}
.btn-ghost:hover { background: var(--emerald); color: var(--white); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

.btn-danger { background: #e4572e; color: #fff; }
.btn-danger:hover { background: #c8431f; transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
    height: 58px;
    width: auto;
    border-radius: 10px;
    transition: var(--transition);
}
.site-header.scrolled .brand-logo { height: 50px; }
.brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--emerald);
    letter-spacing: -0.3px;
    line-height: 1.1;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.main-nav a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ink);
    padding: 10px 14px;
    border-radius: 100px;
    transition: var(--transition);
}
.main-nav a:hover { color: var(--emerald); }
.main-nav a.active { color: var(--emerald); }
.main-nav a.nav-cta {
    background: var(--emerald);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(15, 123, 108, 0.3);
}
.main-nav a.nav-cta:hover { background: var(--emerald-dark); color: #fff; transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--emerald);
    border-radius: 3px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
    background-size: cover;
    background-position: center;
    background-color: var(--emerald-dark);
    display: flex;
    align-items: center;
    will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(10, 30, 26, 0.82) 0%, rgba(10, 30, 26, 0.45) 55%, rgba(10, 30, 26, 0.25) 100%);
}
.hero-slide.single { opacity: 1; position: relative; }

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
.hero-inner { max-width: 640px; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--gold-light);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 22px;
}
.hero-title {
    color: var(--white);
    font-size: clamp(2.3rem, 6vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}
.hero-title .accent { color: var(--gold); }
.hero-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    margin-bottom: 34px;
    max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-dots {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}
.hero-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.hero-dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.2); }

.hero-scroll {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 5;
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Fallback hero (no slides) */
.hero-fallback {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
}

/* ---------- Stat strip ---------- */
.stat-strip {
    background: var(--emerald);
    color: #fff;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 44px 0;
}
.stat-item { text-align: center; }
.stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--gold);
}
.stat-label { font-size: 0.9rem; opacity: 0.9; letter-spacing: 0.04em; }

/* ---------- Feature cards ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    margin-top: 52px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.feature-icon {
    width: 58px; height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    color: #fff;
    margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Modal popup ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10, 30, 26, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}
.modal-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 680px;
    padding: 34px 32px 40px;
    animation: modalIn 0.25s ease-out;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: var(--transition);
}
.modal-close:hover { color: var(--orange); background: var(--bg-soft); }
.modal-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.modal-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }

/* ---------- Service cards ---------- */
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    scroll-margin-top: 100px;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-summary { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.service-features { list-style: none; margin-bottom: 24px; flex: 1; }
.service-features li {
    position: relative;
    padding: 6px 0 6px 26px;
    font-size: 0.9rem;
    color: var(--ink);
}
.service-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 11px;
    width: 12px; height: 7px;
    border-left: 2px solid var(--emerald);
    border-bottom: 2px solid var(--emerald);
    transform: rotate(-45deg);
}
.service-card .btn-request { align-self: flex-start; }

/* ---------- Section backgrounds ---------- */
.bg-soft { background: var(--bg-soft); }

/* ---------- Event / Tour cards ---------- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 52px;
}
.tour-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.tour-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tour-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
}
.tour-media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.tour-card:hover .tour-media img { transform: scale(1.08); }
.tour-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--gold);
    color: var(--black);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.04em;
}
.tour-price-tag {
    position: absolute;
    bottom: 16px; right: 16px;
    background: rgba(18, 18, 18, 0.82);
    backdrop-filter: blur(6px);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 10px;
}
.tour-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.tour-meta {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.tour-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tour-meta svg { width: 15px; height: 15px; color: var(--emerald); }
.tour-title { font-size: 1.3rem; margin-bottom: 10px; }
.tour-desc { color: var(--muted); font-size: 0.94rem; margin-bottom: 20px; flex: 1; }
.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}
.tour-footer .price { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--emerald); font-size: 1.05rem; }
.tour-footer .price small { display: block; font-weight: 400; color: var(--muted); font-size: 0.72rem; }

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center;
    padding: 70px 24px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    margin-top: 40px;
}
.empty-state svg { width: 60px; height: 60px; color: var(--emerald); opacity: 0.5; margin-bottom: 18px; }
.empty-state h3 { margin-bottom: 10px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Page banner ---------- */
.page-banner {
    margin-top: 82px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    color: #fff;
    padding: 90px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: '';
    position: absolute;
    right: -80px; top: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(212,175,55,0.25), transparent 70%);
    border-radius: 50%;
}
.page-banner h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.page-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }
.breadcrumb { margin-top: 16px; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.breadcrumb a { color: var(--gold-light); }

/* ---------- About ---------- */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 52px;
}
.value-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--emerald);
    transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card:nth-child(2) { border-top-color: var(--gold); }
.value-card:nth-child(3) { border-top-color: var(--orange); }
.value-card:nth-child(4) { border-top-color: var(--emerald-light); }
.value-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--black), #1e2a27);
    color: #fff;
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    left: -60px; bottom: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(15,123,108,0.5), transparent 70%);
    border-radius: 50%;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 14px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 540px; margin: 0 auto 28px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Detail page ---------- */
.detail-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 44px;
    margin-top: 40px;
}
.detail-hero {
    height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 30px;
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-meta-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 24px 0 30px;
}
.detail-meta-item { display: flex; align-items: center; gap: 12px; }
.detail-meta-item svg { width: 26px; height: 26px; color: var(--emerald); }
.detail-meta-item .label { font-size: 0.78rem; color: var(--muted); }
.detail-meta-item .value { font-family: 'Poppins', sans-serif; font-weight: 600; }
.detail-body h2 { margin: 30px 0 14px; }
.detail-body p { color: var(--muted); margin-bottom: 14px; white-space: pre-wrap; }
.includes-box {
    background: rgba(15, 123, 108, 0.06);
    border-left: 4px solid var(--emerald);
    border-radius: 10px;
    padding: 26px;
    margin-top: 20px;
}
.includes-box h3 { margin-bottom: 14px; color: var(--emerald); }
.includes-box ul { list-style: none; }
.includes-box li { padding: 7px 0 7px 28px; position: relative; color: var(--ink); }
.includes-box li::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 14px; height: 8px;
    border-left: 2px solid var(--emerald);
    border-bottom: 2px solid var(--emerald);
    transform: rotate(-45deg);
}
.booking-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 30px;
    position: sticky;
    top: 100px;
}
.booking-card .price-big {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--emerald);
}
.booking-card .price-label { font-size: 0.82rem; color: var(--muted); }
.booking-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}
.booking-row .k { color: var(--muted); }
.booking-row .v { font-weight: 600; }

/* ---------- Forms ---------- */
.form-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.98rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: #fbfdfc;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--emerald);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 123, 108, 0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Contact ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
}
.contact-info-card {
    background: linear-gradient(150deg, var(--emerald), var(--emerald-dark));
    color: #fff;
    border-radius: var(--radius);
    padding: 40px 34px;
}
.contact-info-card h3 { color: #fff; margin-bottom: 26px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item .ci-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.14);
    display: flex; align-items: center; justify-content: center;
}
.contact-info-item svg { width: 20px; height: 20px; color: var(--gold-light); }
.contact-info-item h4 { color: #fff; font-size: 0.95rem; margin-bottom: 3px; }
.contact-info-item p, .contact-info-item a { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

/* ---------- Alerts ---------- */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 22px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert svg { width: 20px; height: 20px; flex-shrink: 0; }
.alert-success { background: #e5f6ef; color: #0b6b4f; border: 1px solid #b8e6d4; }
.alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    margin-top: 0;
}
.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 40px;
}
.footer-logo { height: 60px; border-radius: 10px; margin-bottom: 18px; background: #fff; padding: 4px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }
.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 36px; height: 3px;
    background: var(--gold);
    border-radius: 3px;
}
.footer-links, .footer-contact { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.92rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; }
.footer-contact svg { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--gold-light); }

.social-row { display: flex; gap: 12px; }
.social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}
.social-btn:hover { background: var(--emerald); color: #fff; transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 24px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
}
.footer-sep { margin: 0 8px; opacity: 0.4; }
.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    padding: 7px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    transition: var(--transition);
}
.admin-link:hover { color: var(--gold-light); border-color: var(--gold); }

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

/* ===========================================
   Admin
   =========================================== */
.admin-body { background: var(--bg-soft); }
.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 260px;
    background: var(--black);
    color: rgba(255,255,255,0.75);
    position: fixed;
    top: 0; left: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    z-index: 100;
    transition: var(--transition);
}
.admin-brand {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-brand img { height: 44px; border-radius: 8px; background: #fff; padding: 3px; }
.admin-brand span { font-family: 'Poppins', sans-serif; font-weight: 600; color: #fff; font-size: 0.95rem; line-height: 1.2; }
.admin-menu { list-style: none; flex: 1; }
.admin-menu a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 24px;
    font-size: 0.94rem;
    color: rgba(255,255,255,0.7);
    border-left: 3px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}
.admin-menu a svg { width: 19px; height: 19px; }
.admin-menu a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.admin-menu a.active { background: rgba(15,123,108,0.18); color: #fff; border-left-color: var(--gold); }
.admin-badge {
    margin-left: auto;
    background: var(--orange);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
}
.admin-logout {
    margin: 0 24px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(228,87,46,0.15);
    color: #ff8a66;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}
.admin-logout:hover { background: rgba(228,87,46,0.28); }

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 0;
}
.admin-topbar {
    background: #fff;
    padding: 18px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-topbar h1 { font-size: 1.4rem; }
.admin-topbar .user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--muted);
}
.admin-topbar .avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.admin-content { padding: 34px; }

.admin-mobile-bar { display: none; }

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-bottom: 34px;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card .sc-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.stat-card .sc-icon svg { width: 26px; height: 26px; }
.sc-emerald { background: linear-gradient(135deg, var(--emerald), var(--emerald-light)); }
.sc-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.sc-orange { background: linear-gradient(135deg, var(--orange), #ff9d40); }
.sc-dark { background: linear-gradient(135deg, #2c3a37, #1e2a27); }
.stat-card .sc-num { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--black); }
.stat-card .sc-label { font-size: 0.85rem; color: var(--muted); }

.panel {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    overflow: hidden;
}
.panel-head {
    padding: 20px 26px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.panel-head h2 { font-size: 1.15rem; }
.panel-body { padding: 26px; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.admin-table th { background: var(--bg-soft); font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--ink); }
.admin-table tr:hover td { background: #fafcfb; }
.admin-table .thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; }
.table-wrap { overflow-x: auto; }

.tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}
.tag-green { background: #e5f6ef; color: #0b6b4f; }
.tag-gold { background: #faf0d0; color: #8a6d13; }
.tag-orange { background: #ffe9d6; color: #b35300; }
.tag-gray { background: #eef1f0; color: #667; }

.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.img-preview {
    margin-top: 12px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px dashed var(--border);
    background: var(--bg-soft);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.85rem;
}
.img-preview img { width: 100%; height: 100%; object-fit: cover; }

.mode-toggle { display: flex; gap: 12px; flex-wrap: wrap; }
.mode-option {
    flex: 1;
    min-width: 160px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    cursor: pointer;
    transition: var(--transition);
}
.mode-option.selected { border-color: var(--emerald); background: rgba(15,123,108,0.05); }
.mode-option h4 { margin-bottom: 4px; }
.mode-option p { font-size: 0.82rem; color: var(--muted); }
.mode-option input { margin-right: 8px; }

.inquiry-item {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    transition: var(--transition);
}
.inquiry-item.unread { border-left: 4px solid var(--orange); background: #fffdfa; }
.inquiry-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.inquiry-head strong { font-family: 'Poppins', sans-serif; }
.inquiry-meta { font-size: 0.82rem; color: var(--muted); }
.inquiry-msg { color: var(--ink); font-size: 0.92rem; margin: 8px 0; }

/* ---------- Login ---------- */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, var(--emerald-dark), var(--black));
    position: relative;
    overflow: hidden;
}
.login-page::before,
.login-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.4;
}
.login-page::before { width: 340px; height: 340px; background: radial-gradient(circle, var(--emerald-light), transparent 70%); top: -80px; left: -60px; }
.login-page::after { width: 300px; height: 300px; background: radial-gradient(circle, var(--gold), transparent 70%); bottom: -80px; right: -60px; opacity: 0.25; }
.login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 22px;
    padding: 44px 38px;
    box-shadow: var(--shadow-lg);
}
.login-card .login-logo { height: 66px; margin: 0 auto 20px; border-radius: 12px; }
.login-card h2 { text-align: center; font-size: 1.6rem; margin-bottom: 6px; }
.login-card .login-sub { text-align: center; color: var(--muted); font-size: 0.92rem; margin-bottom: 30px; }
.login-back { text-align: center; margin-top: 22px; font-size: 0.88rem; }
.login-back a { color: var(--emerald); }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.input-icon input { padding-left: 44px; }

/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 1080px) {
    .brand-name { display: none; }
}

@media (max-width: 992px) {
    .about-layout { grid-template-columns: 1fr; gap: 36px; }
    .detail-grid { grid-template-columns: 1fr; }
    .booking-card { position: static; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .brand-name { display: inline; font-size: 1rem; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 78px; left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        gap: 4px;
        box-shadow: var(--shadow-md);
        transform: translateY(-140%);
        transition: transform 0.35s ease;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav a { padding: 14px 16px; border-radius: 10px; }
    .main-nav a.nav-cta { margin-top: 8px; text-align: center; }

    .hero-slider { height: 92vh; min-height: 540px; }
    .hero-scroll { display: none; }

    .cta-band { padding: 44px 26px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* Admin responsive */
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .admin-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--black);
        color: #fff;
        padding: 14px 20px;
        position: sticky;
        top: 0;
        z-index: 60;
    }
    .admin-mobile-bar .mb-toggle { background: none; border: none; cursor: pointer; }
    .admin-mobile-bar .mb-toggle span { display: block; width: 24px; height: 3px; background: #fff; margin: 4px 0; border-radius: 3px; }
    .admin-mobile-bar img { height: 38px; border-radius: 6px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .stat-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .form-card { padding: 24px; }
    .cta-band { padding: 36px 20px; }
}
