/* ============================================
   Zaybora — Hotel booking for Bangladesh
   Plain CSS, no build step. Edit tokens below.
   ============================================ */

:root {
  --navy: #14294B;
  --navy-dark: #0C1B33;
  --ink: #2C2C2B;
  --muted: #7D7A75;
  --bg: #FFFFFF;
  --soft: #F9F8F7;
  --soft-2: #F0EFED;
  --border: #E6E5E3;
  --blue: #2783DE;
  --blue-soft: #E5F2FC;
  --green: #46A171;
  --gold: #EAC26B;
  --gold-dark: #DFAF4A;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05), 0 4px 12px rgba(0, 0, 0, .04);
  --shadow-md: 0 8px 28px rgba(12, 27, 51, .12);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.icon { width: 20px; height: 20px; flex: none; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff;
  padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid rgba(39, 131, 222, .55); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border: 0; border-radius: 8px;
  font: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn .icon { width: 17px; height: 17px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .65); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--soft); border-bottom: 1px solid var(--border); font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 12px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; }
.topbar-item .icon { width: 15px; height: 15px; color: var(--blue); }
.topbar-item:hover { color: var(--blue); }
.topbar-note { color: var(--muted); font-weight: 400; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand img { height: 48px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 12px;
  color: var(--ink); font-weight: 600; font-size: 15px;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px;
  height: 3px; border-radius: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; color: var(--navy); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { display: none; flex-direction: column; padding: 8px 24px 18px; border-top: 1px solid var(--border); background: #fff; }
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { border-bottom: 1px solid var(--soft-2); }
.mobile-menu .nav-link:last-child { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(100deg, rgba(12, 27, 51, .82) 0%, rgba(12, 27, 51, .48) 52%, rgba(12, 27, 51, .14) 100%),
    url("assets/hero.jpg") center / cover no-repeat;
  color: #fff;
  display: flex; align-items: center;
  min-height: 600px;
  padding: 84px 0 150px;
}
.hero-inner { max-width: 660px; }
.eyebrow {
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  color: #F6DDA8; margin-bottom: 10px;
}
.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  line-height: 1.08; letter-spacing: -.02em; font-weight: 800;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, .88);
  max-width: 34rem; margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.hero-chips .icon { width: 15px; height: 15px; color: var(--gold); }

/* ---------- Booking widget ---------- */
.booking { position: relative; z-index: 5; margin-top: -76px; }
.booking-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 14px;
  display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr auto; gap: 6px;
}
.field {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 8px 14px; border-radius: 9px;
  border-left: 1px solid var(--border);
}
.field:first-child { border-left: 0; }
.field:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.field-icon {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  background: var(--blue-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.field-icon .icon { width: 19px; height: 19px; }
.field-body { flex: 1; min-width: 0; }
.field-body label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 1px; }
.field-body input {
  width: 100%; border: 0; background: transparent; padding: 0;
  font: inherit; font-size: 14.5px; color: var(--ink);
}
.field-body input:focus { outline: none; }
.field-body input::placeholder { color: var(--muted); }
.travelers-btn {
  display: flex; align-items: center; gap: 6px; width: 100%;
  border: 0; background: transparent; padding: 0;
  font: inherit; font-size: 14.5px; color: var(--ink); cursor: pointer; text-align: left;
}
.travelers-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.travelers-btn .icon { width: 16px; height: 16px; color: var(--muted); margin-left: auto; }
.booking-submit { align-self: stretch; min-height: 54px; }
.booking-note { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 14px; }

.travelers-panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 40;
  min-width: 290px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 14px 16px;
}
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--soft-2); }
.stepper:last-of-type { border-bottom: 0; }
.stepper strong { display: block; font-size: 14.5px; }
.stepper small { color: var(--muted); font-size: 12px; }
.stepper-controls { display: flex; align-items: center; gap: 12px; }
.stepper-controls button {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--navy); background: #fff; color: var(--navy);
  font-size: 17px; font-weight: 700; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.stepper-controls button:hover { background: var(--navy); color: #fff; }
.stepper-count { min-width: 20px; text-align: center; font-weight: 700; }
.travelers-panel .btn-block { margin-top: 10px; }

/* ---------- Trust bar ---------- */
.trust { padding: 44px 0 8px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-left: 1px solid var(--border); }
.trust-item:first-child { border-left: 0; }
.trust-icon {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.trust-icon .icon { width: 24px; height: 24px; }
.trust-item h2 { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.trust-item p { font-size: 13px; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { background: var(--navy); margin-top: 44px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 34px; padding-bottom: 34px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; color: #fff; letter-spacing: -.01em; }
.stat-label { font-size: 13.5px; color: rgba(255, 255, 255, .68); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 42px; text-align: center; }
.section-head .kicker {
  color: var(--blue); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -.02em; color: var(--navy); margin-bottom: 10px; }
.section-head p { color: var(--muted); }

/* ---------- Destinations ---------- */
.destinations { background: var(--soft); }
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dest-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dest-img { height: 180px; overflow: hidden; }
.dest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.dest-card:hover .dest-img img { transform: scale(1.05); }
.dest-body { padding: 16px 18px 18px; }
.dest-body h3 { font-size: 17.5px; color: var(--navy); }
.dest-body > p { font-size: 13.5px; color: var(--muted); margin: 3px 0 12px; }
.dest-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.dest-meta span:first-child { color: var(--muted); }
.dest-price { font-weight: 700; color: var(--blue); }

/* ---------- Hotels ---------- */
.hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hotel-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hotel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hotel-img { position: relative; height: 210px; overflow: hidden; }
.hotel-img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px; border-radius: 7px;
  font-size: 12px; font-weight: 700; color: #fff;
}
.badge-navy { background: var(--navy); }
.badge-blue { background: var(--blue); }
.badge-green { background: var(--green); }
.hotel-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.hotel-body h3 { font-size: 18px; color: var(--navy); }
.hotel-loc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin: 5px 0 10px; }
.hotel-loc .icon { width: 15px; height: 15px; color: var(--blue); }
.rating { font-size: 14px; margin-bottom: 12px; }
.stars { color: #E9B93B; letter-spacing: 2px; font-size: 13px; }
.muted { color: var(--muted); }
.amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.amenities li {
  background: var(--soft-2); color: var(--ink);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
}
.hotel-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.price { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.price-from { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.price-per { font-size: 13px; font-weight: 500; color: var(--muted); }
.price-old { display: inline-block; margin-left: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); }

/* ---------- Why Zaybora ---------- */
.why { background: var(--soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; }
.why-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.why-icon .icon { width: 22px; height: 22px; }
.why-card h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  position: relative; background: var(--soft);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px 22px;
}
.testi-quote {
  position: absolute; top: 2px; left: 18px;
  font-family: Georgia, serif; font-size: 64px; line-height: 1;
  color: var(--navy); opacity: .14; pointer-events: none;
}
.testi-card blockquote { position: relative; font-size: 15px; line-height: 1.65; color: var(--ink); }
.testi-card figcaption { margin-top: 18px; }
.testi-card figcaption strong { display: block; font-size: 14.5px; color: var(--navy); }
.testi-card figcaption span { font-size: 13px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 12px 0 78px; }
.cta-panel {
  background: linear-gradient(120deg, var(--navy) 0%, #1E3A66 100%);
  border-radius: 20px;
  padding: 58px 32px;
  text-align: center; color: #fff;
}
.cta-panel h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.02em; margin-bottom: 12px; }
.cta-panel p { color: rgba(255, 255, 255, .78); max-width: 34rem; margin: 0 auto 28px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .72); }
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px;
  padding-top: 58px; padding-bottom: 46px;
}
.footer-brand img {
  height: 62px; width: auto; box-sizing: border-box;
  background: #fff; padding: 9px 13px; border-radius: 10px;
  margin-bottom: 18px;
}
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 22rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .18s ease;
}
.socials a:hover { background: rgba(255, 255, 255, .12); }
.socials .icon { width: 18px; height: 18px; }
.footer-col h3 {
  color: #fff; font-size: 13.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: 14.5px; line-height: 1.75; }
.pay-title { margin: 20px 0 10px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.pay-chips li {
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px;
  padding: 4px 11px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .85);
}
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding-top: 20px; padding-bottom: 20px;
  font-size: 13px; color: rgba(255, 255, 255, .55);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120;
  transform: translate(-50%, 16px);
  background: var(--navy); color: #fff;
  padding: 13px 22px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  max-width: min(92vw, 480px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .booking-card { grid-template-columns: 1fr 1fr; }
  .field { border-left: 0; border-top: 1px solid var(--border); }
  .field:nth-child(-n + 2) { border-top: 0; }
  .booking-submit { grid-column: 1 / -1; min-height: 50px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 8px 0; }
  .trust-item:nth-child(odd) { border-left: 0; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .hotel-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .topbar-note { display: none; }
}

@media (max-width: 640px) {
  .hero { min-height: 0; padding: 64px 0 130px; }
  .booking-card { grid-template-columns: 1fr; }
  .field { border-top: 1px solid var(--border); }
  .field:first-child { border-top: 0; }
  .trust-grid, .dest-grid, .hotel-grid, .why-grid, .testi-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; border-top: 1px solid var(--border); padding: 16px 4px; }
  .trust-item:first-child { border-top: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-inner { flex-direction: column; }
  .topbar-inner { justify-content: center; }
  .topbar-item:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
