/* Wander public site — themed via :root CSS variables injected by the layout.
   Every color/font/radius below reads from a var() so the admin Theme screen
   re-skins the whole site instantly. */

* { box-sizing: border-box; }

html, body { overflow-x: hidden; max-width: 100%; }

body {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: var(--font-base-size, 16px);
    color: var(--color-text-dark, #152238);
    background: var(--color-body-bg, #ffffff);
    margin: 0;
}

img { max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    color: var(--color-text-dark, #152238);
}

a { color: var(--color-link, #1f6fd6); text-decoration: none; }
a:hover { color: var(--color-link-hover, #164f9c); }

.text-muted-2 { color: var(--color-text-muted, #8a93a3) !important; }

.wander-container {
    max-width: var(--container-width, 1280px);
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}

/* ---------- Buttons ---------- */
.btn-wander {
    background: var(--color-primary, #1f6fd6);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: var(--radius-button, 10px);
    padding: 11px 26px;
    transition: background .2s, transform .2s;
}
.btn-wander:hover { background: var(--color-primary-hover, #164f9c); color: #fff; }
.btn-wander-pill { border-radius: 999px; box-shadow: 0 8px 20px rgba(31,111,214,.35); }
.btn-wander-lg { padding: 15px 40px; font-size: 15px; }

.btn-wander-outline {
    background: #fff;
    color: var(--color-text-dark, #152238);
    border: 1px solid var(--color-border, #e6e9ef);
    border-radius: var(--radius-button, 10px);
    font-weight: 600;
    padding: 11px 26px;
    transition: all .2s;
}
.btn-wander-outline:hover { border-color: var(--color-primary, #1f6fd6); color: var(--color-primary, #1f6fd6); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border, #e6e9ef);
}
.site-header .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 28px; gap: 20px;
}
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo .logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--color-primary, #1f6fd6); }
.site-logo .logo-text { color: var(--color-primary, #1f6fd6); font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.site-nav { display: flex; align-items: center; gap: 32px; flex: 1; justify-content: center; }
.site-nav a.snav-link { color: var(--color-text-muted, #5c6678); font-size: 15px; font-weight: 500; transition: color .2s; position: relative; padding-bottom: 4px; }
.site-nav a.snav-link:hover, .site-nav a.snav-link.active { color: var(--color-primary, #1f6fd6); }
.site-nav a.snav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-primary, #1f6fd6); border-radius: 2px; }
.nav-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-lang { color: var(--color-text-dark); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.nav-lang .bi-chevron-down { font-size: 10px; }
.nav-heart { color: var(--color-text-dark); font-size: 18px; display: inline-flex; }
.nav-lang:hover, .nav-heart:hover { color: var(--color-primary, #1f6fd6); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--color-text-dark); }

/* ---------- Hero (home) — image is full-screen height at the top; the
   destinations card sits 30px under the search bar and flows onto white. ---------- */
.home-hero {
    position: relative;
    padding: 1in 0 60px;                   /* "Explore the World" sits 1in below the nav */
    background: var(--color-body-bg, #fff);/* white behind the part below the image */
}
.home-hero .hero-bg {
    position: absolute; top: 0; left: 0; right: 0; z-index: 0; overflow: hidden;
    height: calc(100vh - 62px);            /* image fills the screen height */
}
.home-hero .hero-bg .img-slot { height: 100%; }
.home-hero .hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; z-index: 1;
    height: calc(100vh - 62px);
    background: linear-gradient(180deg, rgba(9,28,54,.55) 0%, rgba(9,28,54,.32) 45%, rgba(9,28,54,.5) 100%);
}
.home-hero .wander-container { position: relative; z-index: 2; width: 100%; }
.home-hero .hero-inner { max-width: 960px; margin: 0 auto; text-align: center; }
.home-hero h1 { color: #fff; font-size: 62px; font-weight: 700; line-height: 1.05; letter-spacing: -.5px; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.home-hero .hero-sub { color: rgba(255,255,255,.94); font-size: 20px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }

/* ---------- Hero search bar (single pill, centered in hero) ---------- */
.hero-search {
    position: relative; z-index: 5; margin: 34px auto 0; max-width: 920px;
    background: #fff; border-radius: 50px; padding: 8px 8px 8px 12px;
    display: flex; align-items: center; text-align: left;
    box-shadow: 0 24px 54px rgba(9,28,54,.28); border: 1px solid #eef1f6;
}
.hero-search .hs-field { display: flex; align-items: center; gap: 10px; padding: 10px 22px; flex: 1; position: relative; border-right: 1px solid var(--color-border, #e6e9ef); min-width: 0; }
.hero-search .hs-where { flex: 1.7; }
.hero-search .hs-guests { border-right: none; }
.hero-search .hs-field input { border: none; outline: none; width: 100%; font-family: inherit; font-size: 15px; background: transparent; color: var(--color-text-dark); }
.hero-search .hs-field input::placeholder { color: var(--color-text-muted); }
.hero-search .hs-icon { color: var(--color-text-muted); font-size: 16px; flex-shrink: 0; }
.hero-search .hs-icon-primary { color: var(--color-primary); font-size: 16px; flex-shrink: 0; }
.hero-search .hs-chevron { color: var(--color-text-muted); font-size: 12px; margin-left: auto; }
.hero-search .hs-btn { border-radius: 50px; padding: 15px 42px; flex-shrink: 0; margin-left: 8px; }
.hero-search .hs-guests input::-webkit-outer-spin-button,
.hero-search .hs-guests input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Top Destinations (elevated card) ---------- */
.top-destinations {
    position: relative; z-index: 3;
    background: #fff; border-radius: 22px; padding: 28px 30px 30px; margin: 40px 0 0;   /* exactly 30px below the search bar */
    box-shadow: 0 24px 60px rgba(20,50,90,.10); border: 1px solid #eef1f6;
}
.top-destinations .td-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.top-destinations .td-head h2 { font-size: 24px; font-weight: 700; margin: 0; }
.top-destinations .td-viewall { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.top-destinations .td-viewall i { font-size: 12px; }

.feature-card { background: #fff; border: 1px solid #eef1f6; border-radius: 16px; overflow: hidden; height: 100%; box-shadow: 0 10px 26px rgba(20,50,90,.06); }
.feature-card .fc-media { position: relative; }
.feature-card .fc-media .img-slot { height: 200px; }
.feature-card .fc-badge { position: absolute; top: 12px; left: 12px; background: rgba(15,26,46,.6); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; backdrop-filter: blur(4px); }
.feature-card .fc-badge i { font-size: 11px; }
.feature-card .fc-body { padding: 16px 18px 20px; }
.feature-card .fc-name { font-size: 18px; font-weight: 700; color: var(--color-text-dark); }
.feature-card .fc-desc { font-size: 14px; color: var(--color-text-muted); margin: 8px 0 14px; line-height: 1.55; }
.btn-sm-w { display: inline-block; padding: 9px 24px; font-size: 14px; border-radius: 8px; }

/* ---------- Trust bar ---------- */
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 30px; padding-top: 28px; border-top: 1px solid #eef1f6; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-icon { width: 42px; height: 42px; border-radius: 50%; background: #eef4fd; color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.trust-title { font-weight: 700; font-size: 15px; color: var(--color-text-dark); }
.trust-desc { font-size: 13px; color: var(--color-text-muted); line-height: 1.45; margin-top: 2px; }

/* ---------- Breadcrumb hero (inner pages) ---------- */
.page-hero {
    background: linear-gradient(120deg, #f4f8ff, #eef3fb);
    border-radius: 22px; padding: 54px 48px; margin-top: 26px;
}
.page-hero h1 { font-size: 40px; font-weight: 700; letter-spacing: -.4px; }
.page-hero p { font-size: 17px; color: var(--color-text-muted); margin-top: 10px; max-width: 640px; }
.page-hero .crumb { font-size: 13px; color: var(--color-text-muted); margin-bottom: 12px; }

/* ---------- Section headings ---------- */
.section { padding: 70px 0; }
.section-title { text-align: center; font-size: 34px; font-weight: 700; letter-spacing: -.3px; }
.section-sub { text-align: center; font-size: 16px; color: var(--color-text-muted); margin-top: 10px; }

/* ---------- Cards ---------- */
.card-lift { transition: transform .3s ease, box-shadow .3s ease; }
.card-lift:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(20,50,90,.18); }

.dest-card {
    display: block; background: var(--color-card-bg, #fff); border-radius: var(--radius-card, 18px);
    overflow: hidden; box-shadow: 0 10px 30px rgba(20,50,90,.10); color: inherit; height: 100%;
}
.dest-card .body { padding: 18px 20px 22px; }
.dest-card .name { font-size: 19px; font-weight: 600; color: var(--color-text-dark); }
.dest-card .price { font-size: 15px; color: var(--color-primary); font-weight: 600; margin-top: 6px; }
.dest-card .region { font-size: 13px; color: var(--color-text-muted); margin-top: 2px; }

.tour-card {
    background: var(--color-card-bg, #fff); border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(20,50,90,.10); height: 100%; display: flex; flex-direction: column;
}
.tour-card .media { position: relative; height: 230px; }
.tour-card .tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--color-primary); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.tour-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tour-card .name { font-size: 20px; font-weight: 600; }
.rating { font-size: 14px; font-weight: 600; color: var(--color-secondary, #e0a500); }
.tour-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid #eef1f6; }

/* ---------- Image slots / placeholders ---------- */
.img-slot { position: relative; width: 100%; height: 100%; overflow: hidden; background: #eef3fb; }
.img-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-slot.placeholder {
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: linear-gradient(135deg, #dbe7fb, #eef3fb);
    color: #7d90ad; font-size: 13px; font-weight: 500; padding: 14px;
}
.img-slot.placeholder::before { content: "🏝"; position: absolute; font-size: 40px; opacity: .25; }

/* ---------- Stats strip ---------- */
.stats-strip { background: linear-gradient(120deg,#f4f8ff,#eef3fb); border-radius: 22px; padding: 44px 48px; }
.stat-value { font-size: 40px; font-weight: 800; color: var(--color-primary); letter-spacing: -1px; }
.stat-label { font-size: 14px; font-weight: 500; color: #5c6678; margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 24px; overflow: hidden; background: linear-gradient(120deg, var(--color-primary-hover,#164f9c), var(--color-primary,#1f6fd6)); padding: 52px 56px; }
.cta-band h2 { color: #fff; font-size: 30px; font-weight: 700; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 16px; margin-top: 10px; }
.cta-inline { display: flex; gap: 12px; background: #fff; padding: 8px; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.cta-inline input { border: none; outline: none; font-family: inherit; font-size: 15px; padding: 12px 18px; background: transparent; min-width: 220px; }

/* ---------- Category chips ---------- */
.chip { border: 1px solid var(--color-border,#dfe4ec); background: #fff; color: #5c6678; font-weight: 600; font-size: 14px; padding: 9px 20px; border-radius: 999px; transition: all .2s; }
.chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.chip.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-footer-bg, #0f1a2e); color: #c3cbd8; margin-top: 90px; }
.site-footer .foot-inner { padding: 64px 28px 30px; }
.site-footer h5 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.site-footer a.fcol-link { color: #96a1b5; font-size: 14px; transition: color .2s; display: block; margin-bottom: 12px; }
.site-footer a.fcol-link:hover { color: #fff; }
.site-footer .foot-about { font-size: 14px; line-height: 1.7; color: #96a1b5; max-width: 300px; margin-top: 18px; }
.fsocial { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: #c3cbd8; transition: all .2s; }
.fsocial:hover { background: var(--color-primary); color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-bottom span, .foot-bottom a { font-size: 13px; color: #7b869a; }

/* ---------- FAQ / accordion / prose ---------- */
.faq-item { border: 1px solid var(--color-border,#e6e9ef); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.faq-q { padding: 20px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; }
.faq-a { padding: 0 24px 20px; color: var(--color-text-muted); display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open { background: #f8fbff; }

.prose-section h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.prose-section p { color: #4c5769; line-height: 1.8; margin-bottom: 14px; }
.prose-block { margin-bottom: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 18px 28px; gap: 16px; border-bottom: 1px solid var(--color-border); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
    .site-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .nav-lang { display: none; }
    .home-hero { padding-top: 80px; }
    .home-hero h1 { font-size: 40px; }
    /* Stack the search fields on small screens */
    .hero-search { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 8px; }
    .hero-search .hs-field { border-right: none; border-bottom: 1px solid var(--color-border, #e6e9ef); flex: 1 1 auto; }
    .hero-search .hs-guests { border-bottom: none; }
    .hero-search .hs-btn { margin: 8px 0 0; width: 100%; }
    .trust-bar { grid-template-columns: repeat(2, 1fr); }
    .section-title, .page-hero h1 { font-size: 28px; }
    .cta-band { padding: 36px 26px; }
}
