/* ==========================================================
   London Priviledge Travle – global styles (shared across all pages)
   1. Tokens  2. Base  3. Layout  4. Buttons  5. Forms
   6. Cards  7. Badges  8. Components  9. Header/Footer  10. Utilities
   ========================================================== */

/* 1. Tokens */
:root {
  /* Palette taken from the London Privilege Travel logo */
  --navy: #052a5a;
  --navy-deep: #031a3a;
  --teal: #0096a6;
  --teal-dark: #007785;
  --gold: #c58f2a;
  --gold-light: #f2c96a;
  --brand: var(--navy);
  --brand-dark: var(--navy-deep);
  --brand-soft: #e6ecf6;
  --accent: var(--gold);
  --accent-dark: #a97819;
  --ink: #0b1d3a;
  --muted: #5f6b82;
  --line: #e3e7ee;
  --cream: #fbf6ea;
  --mint: #e4f3f4;
  --white: #fff;
  --bg: #fff;
  --surface: #fff;
  --success: #1fa971;
  --danger: #e5484d;
  --warning: #f2c96a;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(5, 42, 90, .08);
  --shadow: 0 10px 30px rgba(5, 42, 90, .14);
  --gold-gradient: linear-gradient(135deg, #b8862a, #f2c96a);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --section-y: clamp(3rem, 6vw, 5.5rem);
  --ease: .2s ease;
}

/* 2. Base */
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* 3. Layout */
.section { padding-block: var(--section-y); }
.section-cream { background: var(--cream); }
.section-mint { background: var(--mint); }
.section-blue { background: var(--navy); color: #fff; }
.section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: .6rem; }
.section-sub { color: var(--muted); margin: 0; }
.ph { background: #d9e2f2; object-fit: cover; width: 100%; } /* placeholder image helper */
.ratio-card { aspect-ratio: 4 / 3; }
.ratio-tall { aspect-ratio: 3 / 4; }

/* 4. Buttons */
.btn { border-radius: 999px; font-weight: 700; padding: .65rem 1.4rem; transition: all var(--ease); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--gold-gradient); border-color: var(--gold); color: var(--navy-deep); }
.btn-accent:hover { background: var(--gold); border-color: var(--accent-dark); color: var(--navy-deep); }
.btn-dark-pill { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-dark-pill:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-outline-brand { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-brand:hover { background: var(--navy); color: #fff; }
.btn-sm-pill { padding: .35rem 1rem; font-size: .85rem; }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }

/* 5. Forms */
.form-control, .form-select, .ts-control { border-radius: var(--radius-sm) !important; border-color: var(--line); min-height: 48px; }
.form-control:focus, .form-select:focus, .ts-wrapper.focus .ts-control { border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(0, 150, 166, .2); }
.form-label { font-weight: 600; font-size: .8rem; color: var(--muted); margin-bottom: .2rem; }
.form-control.is-invalid, .is-invalid .ts-control { border-color: var(--danger); }
.form-control.is-valid { border-color: var(--success); }

/* 6. Cards */
.card-ui { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform var(--ease), box-shadow var(--ease); }
.card-ui:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; }
.card-media img { aspect-ratio: 4 / 3; }
.card-body-ui { padding: 1.1rem 1.2rem 1.3rem; }
.card-title-ui { font-size: 1.05rem; margin-bottom: .5rem; }
.meta { color: var(--muted); font-size: .85rem; display: flex; gap: .9rem; flex-wrap: wrap; }
.price { font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.price small { color: var(--muted); font-weight: 500; font-size: .75rem; display: block; }
.price del { color: var(--muted); font-size: .85rem; font-weight: 500; }
.card-foot { display: flex; justify-content: space-between; align-items: end; border-top: 1px dashed var(--line); margin-top: .9rem; padding-top: .9rem; }
.card-links { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: .8rem; }

/* 7. Badges */
.tag { position: absolute; top: .8rem; left: .8rem; background: var(--gold-gradient); color: var(--navy-deep); font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.tag-right { left: auto; right: .8rem; background: var(--surface); color: var(--ink); }
.tag-blue { background: var(--navy); color: #fff; }
.tag-green { background: var(--teal); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--mint); color: var(--teal-dark); font-weight: 600; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; }

/* 8. Components */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon { flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--teal); font-size: 1.4rem; box-shadow: var(--shadow-sm); }
.dest-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; color: #fff; }
.dest-card img { aspect-ratio: 3 / 4; transition: transform .4s ease; }
.dest-card:hover img { transform: scale(1.05); }
.dest-card .dest-info { position: absolute; inset: auto 0 0 0; padding: 1.2rem; background: linear-gradient(transparent, rgba(10, 20, 40, .85)); }
.dest-card h5 { margin: 0; color: #fff; }
.dest-card span { font-size: .85rem; opacity: .85; }
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat-num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--navy); }
.promo { background: linear-gradient(100deg, #c58f2a, #f2c96a); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); color: var(--navy-deep); overflow: hidden; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; height: 100%; }
.stars { color: var(--warning); letter-spacing: 2px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.partner { height: 40px; width: auto; opacity: .6; filter: grayscale(1); transition: all var(--ease); }
.partner:hover { opacity: 1; filter: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.gallery-grid img { border-radius: var(--radius); aspect-ratio: 1; }
.gallery-grid .wide { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (max-width: 767.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Hero + search */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; padding: 8rem 0 7rem; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background: #2a4a7a; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 26, 58, .2), rgba(3, 26, 58, .35) 50%, rgba(3, 26, 58, .25)); z-index: -1; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); color: #fff; }
.hero p { max-width: 520px; margin-inline: auto; opacity: .92; }
.search-box { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 1rem 1.25rem 1.25rem; box-shadow: var(--shadow); text-align: left; }
.search-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.search-tab { border: 0; background: transparent; padding: .45rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.search-tab:hover { color: var(--teal); }
.search-tab.active { background: var(--brand); color: #fff; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }

/* 9. Header / Footer */
.topbar { background: var(--navy); color: #fff; font-size: .82rem; padding: .45rem 0; text-align: center; }
.site-nav { background: var(--surface); box-shadow: var(--shadow-sm); }
.site-nav .nav-link { font-weight: 600; color: var(--ink); padding: .6rem .9rem; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--teal); }
.site-nav { border-bottom: 3px solid var(--gold); }
.brand-logo img { height: 56px; width: auto; }
.footer-logo {  border-radius: var(--radius); padding: .5rem .9rem; display: inline-block; }
.footer-logo img { height: 140px; width: auto; }
.contact-strip { background: linear-gradient(90deg, var(--navy), #063a73); color: #fff; padding: 1.5rem 0; }
.contact-strip a { color: #fff; }
.site-footer { background: var(--navy-deep); border-top: 4px solid var(--gold); color: #b8c6de; padding: 4rem 0 1.5rem; }
.site-footer h6 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: #b8c6de; display: block; padding: .15rem 0; font-size: .92rem; }
.site-footer a:hover { color: var(--gold-light); }
.social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); margin-right: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }

/* 10. Utilities */
.text-brand { color: var(--brand) !important; }
.text-accent { color: var(--gold) !important; }
.text-teal { color: var(--teal) !important; }
.bg-navy { background: var(--navy) !important; }
.bg-gold { background: var(--gold-gradient) !important; }
.bg-brand-soft { background: var(--brand-soft) !important; }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow) !important; }
.fw-800 { font-weight: 800; }

/* 11. Theme toggle */
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-grid; place-items: center; transition: all var(--ease); }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle .bi-sun-fill { display: none; }
[data-bs-theme="dark"] .theme-toggle .bi-sun-fill { display: inline; }
[data-bs-theme="dark"] .theme-toggle .bi-moon-stars-fill { display: none; }

/* 12. Dark theme – activated with <html data-bs-theme="dark"> */
[data-bs-theme="dark"] {
  --bg: #061326;
  --surface: #0c2040;
  --ink: #e8eefb;
  --muted: #9fb0cd;
  --line: #1c3560;
  --cream: #09192f;
  --mint: #082536;
  --brand: #0096a6;
  --brand-dark: #007785;
  --brand-soft: #0f2a4d;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .4);
  --shadow: 0 10px 30px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
[data-bs-theme="dark"] a { color: var(--gold-light); }
[data-bs-theme="dark"] a:hover { color: #fff; }
[data-bs-theme="dark"] .btn-brand, [data-bs-theme="dark"] .btn-dark-pill { color: #fff; }
[data-bs-theme="dark"] .btn-dark-pill { background: var(--teal); border-color: var(--teal); }
[data-bs-theme="dark"] .btn-dark-pill:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
[data-bs-theme="dark"] .btn-outline-brand { border-color: var(--gold-light); color: var(--gold-light); }
[data-bs-theme="dark"] .btn-outline-brand:hover { background: var(--gold-light); color: var(--navy-deep); }
[data-bs-theme="dark"] .btn-accent, [data-bs-theme="dark"] .btn-accent:hover, [data-bs-theme="dark"] .promo a.btn-dark-pill { color: var(--navy-deep); }
[data-bs-theme="dark"] .promo a.btn-dark-pill { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
[data-bs-theme="dark"] .promo { color: var(--navy-deep); }
[data-bs-theme="dark"] .promo h2 { color: var(--navy-deep); }
[data-bs-theme="dark"] .site-nav .nav-link:hover, [data-bs-theme="dark"] .site-nav .nav-link.active { color: var(--gold-light); }
[data-bs-theme="dark"] .navbar-toggler-icon { filter: invert(1); }
[data-bs-theme="dark"] .brand-logo img { background: #fff; border-radius: var(--radius-sm); padding: 3px 8px; height: 52px; }
[data-bs-theme="dark"] .topbar { background: var(--navy-deep); border-bottom: 1px solid var(--line); }
[data-bs-theme="dark"] .stat-num { color: var(--gold-light); }
[data-bs-theme="dark"] .chip { background: var(--brand-soft); color: var(--gold-light); }
[data-bs-theme="dark"] .price del { color: var(--muted); }
[data-bs-theme="dark"] .contact-strip { background: linear-gradient(90deg, #052a5a, #031a3a); border-top: 1px solid var(--line); }
[data-bs-theme="dark"] .site-footer { background: #030d1c; }
[data-bs-theme="dark"] .ph { background: #14294d; }
[data-bs-theme="dark"] img.ph:not(.hero-media) { filter: brightness(.88); }
[data-bs-theme="dark"] .partner { filter: grayscale(1) invert(1); opacity: .55; }
[data-bs-theme="dark"] .partner:hover { filter: none; opacity: 1; }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select { background-color: #0a1b36; color: var(--ink); border-color: var(--line); }
[data-bs-theme="dark"] .search-tab.active { background: var(--gold-gradient); color: var(--navy-deep); }

/* Tom Select (searchable dropdown) */
.ts-dropdown { border-radius: var(--radius-sm); border-color: var(--line); overflow: hidden; }
[data-bs-theme="dark"] .ts-control, [data-bs-theme="dark"] .ts-control input, [data-bs-theme="dark"] .ts-wrapper.single .ts-control { background: #0a1b36; color: var(--ink); border-color: var(--line); }
[data-bs-theme="dark"] .ts-dropdown, [data-bs-theme="dark"] .ts-dropdown .option { background: #0a1b36; color: var(--ink); }
[data-bs-theme="dark"] .ts-dropdown .active { background: var(--brand-soft); color: var(--gold-light); }

/* Flatpickr (date range picker) */
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--teal); border-color: var(--teal); }
.flatpickr-day.inRange { background: var(--mint); border-color: var(--mint); box-shadow: -5px 0 0 var(--mint), 5px 0 0 var(--mint); }
[data-bs-theme="dark"] .flatpickr-calendar { background: #0a1b36; border: 1px solid var(--line); box-shadow: var(--shadow); }
[data-bs-theme="dark"] .flatpickr-months .flatpickr-month, [data-bs-theme="dark"] .flatpickr-current-month .flatpickr-monthDropdown-months,
[data-bs-theme="dark"] span.flatpickr-weekday, [data-bs-theme="dark"] .flatpickr-day, [data-bs-theme="dark"] .numInput { color: var(--ink); fill: var(--ink); background: transparent; }
[data-bs-theme="dark"] .flatpickr-months .flatpickr-prev-month svg, [data-bs-theme="dark"] .flatpickr-months .flatpickr-next-month svg { fill: var(--ink); }
[data-bs-theme="dark"] .flatpickr-day.flatpickr-disabled, [data-bs-theme="dark"] .flatpickr-day.prevMonthDay, [data-bs-theme="dark"] .flatpickr-day.nextMonthDay { color: #4a5d80; }
[data-bs-theme="dark"] .flatpickr-day:hover { background: var(--brand-soft); border-color: var(--brand-soft); }
[data-bs-theme="dark"] .flatpickr-day.selected, [data-bs-theme="dark"] .flatpickr-day.startRange, [data-bs-theme="dark"] .flatpickr-day.endRange { background: var(--teal); color: #fff; }
[data-bs-theme="dark"] .flatpickr-day.inRange { background: var(--brand-soft); border-color: var(--brand-soft); box-shadow: -5px 0 0 var(--brand-soft), 5px 0 0 var(--brand-soft); }


/* CTA Section  */
/* Closing call-to-action */
    .cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy-deep), var(--navy) 55%, #063a73); color: #fff; padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow); border-bottom: 5px solid var(--gold); }
    .cta-band::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 201, 106, .35), transparent 70%); }
    .cta-band::after { content: ""; position: absolute; width: 260px; height: 260px; left: -90px; bottom: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 150, 166, .45), transparent 70%); }
    .cta-band > * { position: relative; z-index: 1; }
    .cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: .75rem; }
    .cta-band p { color: rgba(255, 255, 255, .85); max-width: 520px; }
    .cta-points { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; }
    .cta-points li { display: flex; align-items: center; gap: .45rem; }
    .cta-points i { color: var(--gold-light); }
    .btn-cta-ghost { border: 2px solid rgba(255, 255, 255, .6); color: #fff; background: transparent; }
    .btn-cta-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
    .cta-visual { border-radius: var(--radius-lg); overflow: hidden; border: 4px solid rgba(255, 255, 255, .15); transform: rotate(2deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
    .cta-visual img { aspect-ratio: 4 / 3; }
    .cta-badge { position: absolute; left: -8px; bottom: 18px; background: var(--gold-gradient); color: var(--navy-deep); font-weight: 800; font-size: .85rem; padding: .5rem 1rem; border-radius: 999px; box-shadow: var(--shadow-sm); transform: rotate(-4deg); }
    @media (max-width: 767.98px) { .cta-visual { transform: none; } .cta-badge { left: 8px; } }