:root {
    --brand: #5b3a21;
    --brand-dark: #3c2512;
    --brand-soft: #7a4f2a;
    --accent: #ff7a1a;
    --accent-2: #ffb347;
    --ink: #2b241d;
    --muted: #7a6a55;
    --line: #efe9e0;
    --soft-bg: #f9f5ef;
    --grad-brand: linear-gradient(135deg, #3c2512 0%, #5b3a21 55%, #8a5a2e 100%);
    --grad-accent: linear-gradient(135deg, #ff7a1a 0%, #ffb347 100%);
    --shadow-sm: 0 4px 14px rgba(91, 58, 33, .08);
    --shadow-md: 0 12px 34px rgba(91, 58, 33, .13);
    --shadow-lg: 0 24px 60px rgba(91, 58, 33, .2);
    --radius: 18px;
    --radius-sm: 12px;
}

* { box-sizing: border-box; }

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 800; color: var(--brand); }

a { text-decoration: none; color: var(--brand); }
a:hover { color: var(--accent); }

.text-muted-2 { color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    padding: .45rem 0;
}
.topbar a { color: rgba(255, 255, 255, .9); }
.topbar a:hover { color: var(--accent-2); }
.topbar .bi { margin-right: .3rem; color: var(--accent-2); }

/* ---------- Navbar ---------- */
.site-navbar {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 10px rgba(91, 58, 33, .04);
}
.site-navbar .navbar-brand {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: .55rem;
}
.site-navbar .navbar-brand .logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: var(--shadow-sm);
}
.site-navbar .nav-link {
    font-weight: 700;
    color: var(--brand);
    padding: .5rem .9rem !important;
    border-radius: 10px;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--accent);
    background: rgba(255, 122, 26, .08);
}
.site-navbar .book-btn {
    background: var(--grad-accent);
    color: #fff !important;
    font-weight: 800;
    border-radius: 12px;
    padding: .55rem 1.25rem !important;
    box-shadow: 0 8px 20px rgba(255, 122, 26, .35);
}
.site-navbar .book-btn:hover { transform: translateY(-2px); }

.btn-accent {
    background: var(--grad-accent);
    border: none;
    color: #fff;
    font-weight: 800;
    border-radius: 12px;
    padding: .65rem 1.4rem;
    box-shadow: 0 8px 20px rgba(255, 122, 26, .3);
    transition: .2s;
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 122, 26, .4); }

.btn-brand {
    background: var(--brand);
    border: none;
    color: #fff;
    font-weight: 800;
    border-radius: 12px;
    padding: .65rem 1.4rem;
    box-shadow: 0 8px 20px rgba(91, 58, 33, .25);
    transition: .2s;
}
.btn-brand:hover { background: var(--brand-soft); color: #fff; transform: translateY(-2px); }

.btn-outline-brand {
    border: 2px solid var(--brand);
    color: var(--brand);
    font-weight: 800;
    border-radius: 12px;
    padding: .6rem 1.3rem;
    transition: .2s;
}
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

/* ---------- Hero ---------- */
.hero {
    background: var(--grad-brand);
    position: relative;
    overflow: hidden;
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 80% 20%, rgba(255, 179, 71, .25), transparent 60%),
        radial-gradient(500px 280px at 10% 85%, rgba(27, 74, 158, .55), transparent 60%);
}
.hero .container-fluid-wrap { position: relative; z-index: 2; }
.hero .badge-hero {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: var(--accent-2);
    font-weight: 700;
    padding: .45rem 1rem;
    border-radius: 999px;
    font-size: .85rem;
    backdrop-filter: blur(4px);
}
.hero h1 { color: #fff; font-weight: 900; line-height: 1.12; }
.hero .hero-sub { color: rgba(255, 255, 255, .82); font-size: 1.08rem; }
.hero-floating { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px); } }

/* ---------- Flight search widget ---------- */
.search-widget {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(24px);
    position: relative;
    z-index: 5;
}
.search-widget .nav-pills .nav-link {
    font-weight: 800;
    color: var(--brand);
    border-radius: 10px;
    padding: .5rem 1.1rem;
}
.search-widget .nav-pills .nav-link.active {
    background: var(--grad-accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 122, 26, .35);
}
.search-widget label { font-weight: 700; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.search-control {
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .7rem .9rem;
    font-weight: 600;
    color: var(--ink);
    transition: .15s;
}
.search-control:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 122, 26, .12); }
.swap-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--soft-bg);
    border: 2px solid var(--line);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}
.swap-btn:hover { background: var(--brand); color: #fff; transform: rotate(180deg); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--soft-bg); }
.section-brand { background: var(--grad-brand); }

.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 122, 26, .12);
    color: var(--accent);
    font-weight: 800;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: .4rem 1rem;
    border-radius: 999px;
}
.sec-title { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.sec-sub { color: var(--muted); max-width: 640px; }

/* ---------- Cards ---------- */
.feature-card, .step-card, .service-card, .stat-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    height: 100%;
    transition: .25s;
    position: relative;
}
.feature-card:hover, .service-card:hover, .step-card:hover, .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.icon-badge {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--grad-brand);
    color: #fff;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}
.icon-badge.amber { background: var(--grad-accent); }
.mini-badge {
    display: inline-block;
    background: #fff4e8;
    color: var(--accent);
    font-weight: 800;
    font-size: .78rem;
    border-radius: 999px;
    padding: .3rem .8rem;
    margin-top: .9rem;
}
.stat-card .stat-num { font-size: 2.3rem; font-weight: 900; color: var(--brand); }
.section-brand .stat-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); box-shadow: none; }
.section-brand .stat-card .stat-num { color: var(--accent-2); }
.section-brand .stat-label { color: rgba(255,255,255,.8); }
.section-brand .sec-badge { background: rgba(255,255,255,.12); color: var(--accent-2); }
.section-brand .sec-title { color: #fff; }
.section-brand .sec-sub { color: rgba(255,255,255,.75); }

.step-card { text-align: center; background: var(--soft-bg); border: 1.5px dashed rgba(13,36,88,.2); }
.step-number {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--grad-accent);
    color: #fff;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(255,122,26,.4);
}

/* ---------- Destinations ---------- */
.dest-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 260px;
    box-shadow: var(--shadow-sm);
    transition: .25s;
    display: block;
    color: #fff;
}
.dest-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-lg); color: #fff; }
.dest-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--brand-soft), var(--brand));
}
.dest-bg.amber { background: linear-gradient(135deg, #c2570a, #ff7a1a); }
.dest-bg.teal { background: linear-gradient(135deg, #0e5a5c, #17a2b8); }
.dest-bg.purple { background: linear-gradient(135deg, #4a2a8f, #8e2de2); }
.dest-bg.green { background: linear-gradient(135deg, #0f5c3f, #1fad78); }
.dest-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
    z-index: 1;
}
.dest-body { position: relative; z-index: 2; padding: 1.4rem; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.dest-body .dest-price { font-weight: 800; color: var(--accent-2); }

/* ---------- Testimonials ---------- */
.t-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    padding: 1.8rem;
    height: 100%;
}
.t-stars { color: #ffb300; }
.quote-icon { font-size: 2.2rem; color: rgba(255,122,26,.25); }

/* ---------- Page hero ---------- */
.page-hero {
    background: var(--grad-brand);
    color: #fff;
    padding: 72px 0 96px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "\F2A3"; /* bi-airplane */
    font-family: "bootstrap-icons";
    position: absolute;
    right: -30px; top: -40px;
    font-size: 190px;
    color: rgba(255,255,255,.06);
}
.page-hero h1 { color: #fff; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); margin-bottom: 0; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb-item.active { color: var(--accent-2); }
.page-hero .badge-hero { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: var(--accent-2); }

/* ---------- Flight results ---------- */
.results-panel {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    margin-top: -40px;
    position: relative;
    z-index: 3;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.flight-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    transition: .2s;
}
.flight-card:hover { border-color: var(--accent-2); box-shadow: var(--shadow-md); }
.airline-chip {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--soft-bg);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-weight: 900;
    font-size: 1rem;
}
.flight-time { font-size: 1.6rem; font-weight: 900; color: var(--brand); }
.flight-city { font-weight: 700; color: var(--ink); }
.tag-sm { font-size: .8rem; color: var(--muted); }
.stop-line { position: relative; text-align: center; color: var(--muted); font-size: .78rem; font-weight: 700; }
.duration-rule { border-top: 1.5px dashed var(--line); }

/* ---------- Steps / timeline ---------- */
.simple-ul { padding-left: 0; list-style: none; }
.simple-ul li { padding: .45rem 0; display: flex; gap: .6rem; align-items: flex-start; }
.check-ico { color: #12b76a; font-size: 1.15rem; }

/* ---------- FAQ ---------- */
.accordion-button { font-weight: 800; color: var(--brand); }
.accordion-item { border-radius: var(--radius-sm) !important; border: 1px solid var(--line) !important; overflow: hidden; margin-bottom: .6rem; }
.accordion-button:not(.collapsed) { background: rgba(255,122,26,.08); color: var(--accent); box-shadow: none; }

/* ---------- Footer ---------- */
.footer {
    background: var(--brand-dark);
    color: rgba(255,255,255,.75);
    padding: 70px 0 0;
    font-size: .92rem;
}
.footer h6 { color: #fff; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; font-size: .85rem; margin-bottom: 1.1rem; }
.footer a { color: rgba(255,255,255,.75); display: inline-block; padding: .22rem 0; }
.footer a:hover { color: var(--accent-2); }
.footer .brand-line { font-size: 1.5rem; font-weight: 900; color: #fff; }
.footer .contact-line { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; color: rgba(255,255,255,.85); }
.footer .contact-line .bi { color: var(--accent-2); margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.3rem 0; font-size: .85rem; }
.social-btn {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff !important;
    margin-right: .4rem;
    transition: .2s;
    padding: 0;
}
.social-btn:hover { background: var(--grad-accent); transform: translateY(-2px); }
.pay-badge { height: 30px; background: #fff; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .55rem; font-size: .72rem; font-weight: 800; color: #33415c; margin: 0 .35rem .5rem 0; }

/* ---------- Forms ---------- */
.form-control, .form-select {
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .65rem .95rem;
    font-weight: 500;
}
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,26,.1); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    left: 16px; bottom: 16px;
    z-index: 2000;
    max-width: 460px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    padding: 1.4rem;
    display: none;
    transition: .3s;
}
.cookie-banner.show { display: block; animation: slideUp .35s ease; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Back to top ---------- */
#backToTop {
    position: fixed;
    right: 22px; bottom: 22px;
    z-index: 1500;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--grad-accent);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { transform: translateY(-4px); }

/* ---------- Auth (admin) ---------- */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-brand);
    position: relative;
    padding: 2rem;
}
.auth-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 340px at 80% 15%, rgba(255,179,71,.22), transparent 60%);
}
.auth-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 460px;
    padding: 2.2rem;
}

/* ---------- Utility ---------- */
.bg-soft { background: var(--soft-bg); }
.divider-dashed { border-top: 1px dashed var(--line); }
.circle-icon {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    background: var(--soft-bg);
    color: var(--brand);
}

/* Responsive */
@media (max-width: 767px) {
    .section { padding: 60px 0; }
    .hero h1 { font-size: 1.9rem; }
    .search-widget { transform: translateY(16px); }
    .page-hero { padding: 52px 0 76px; }
}