/* ===========================================================
   SOBA TOURS — Design System
   Palette grounded in Ceylon tea country + spice trade heritage.
   Fraunces (serif, warm & organic) for display type,
   Albert Sans (clean geometric sans) for UI & body copy.
   =========================================================== */

:root{
  --forest:        #1F4D3A;   /* primary — tea-leaf green   */
  --forest-dark:   #142A20;   /* deep shade, headers/footer */
  --forest-light:  #2E6A50;
  --spice:         #D98E2B;   /* accent — Ceylon turmeric   */
  --spice-dark:    #B8721C;
  --teal:          #1D6E77;   /* secondary — coastal water  */
  --sage:          #F3F6EE;   /* section background         */
  --cream:         #FBFAF6;   /* page background            */
  --ink:           #1A2420;   /* body text                  */
  --ink-soft:      #4B5A52;   /* muted text                 */
  --white:         #FFFFFF;
  --border-soft:   #E1E8DE;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Albert Sans', 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --shadow-card: 0 10px 30px -12px rgba(20, 42, 32, 0.25);
}

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 1rem;
  line-height: 1.65;
}

::selection{ background: var(--spice); color: var(--white); }

h1, h2, h3, h4, .display-font{
  font-family: var(--font-display);
  color: var(--forest-dark);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1{ font-weight: 500; }

p{ max-width: 62ch; }
p.wide{ max-width: none; }

a{ color: var(--forest); text-decoration: none; }
a:hover{ color: var(--spice-dark); }

.text-spice{ color: var(--spice); }
.text-teal{ color: var(--teal); }
.bg-forest{ background: var(--forest); }
.bg-forest-dark{ background: var(--forest-dark); }
.bg-sage{ background: var(--sage); }

/* Focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--spice);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Buttons ---------- */
.btn{
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.6rem;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active{ transform: translateY(1px); }

.btn-spice{
  background: var(--spice);
  color: var(--forest-dark);
}
.btn-spice:hover{ background: var(--spice-dark); color: var(--white); }

.btn-outline-cream{
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-cream:hover{ background: var(--white); color: var(--forest-dark); }

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

/* ---------- Navbar ---------- */
.site-header{
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.navbar-brand{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest-dark) !important;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.navbar-brand svg{ width: 34px; height: 34px; flex-shrink: 0; }

.nav-link{
  font-weight: 500;
  color: var(--ink) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}
.nav-link::after{
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: .3rem;
  height: 2px;
  background: var(--spice);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link.active::after{ transform: scaleX(1); }
.nav-link.active{ color: var(--forest) !important; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: visible;
}
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,42,32,0.35) 0%, rgba(20,42,32,0.15) 40%, rgba(20,42,32,0.75) 100%);
}
.hero-content{
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-bottom: 6rem;
}
.hero h1{
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 14ch;
}
.hero p.lede{
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 44ch;
}

@keyframes riseIn{
  from{ opacity: 0; transform: translateY(18px); }
  to{ opacity: 1; transform: translateY(0); }
}
.hero-content > *{ animation: riseIn .7s ease both; }
.hero-content > *:nth-child(2){ animation-delay: .12s; }
.hero-content > *:nth-child(3){ animation-delay: .24s; }

/* Quote card floats out of the hero image, into the section below */
.quote-card{
  position: relative;
  z-index: 3;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  margin-top: -6.5rem;
  margin-bottom: 3rem;
}
.quote-card label{
  font-size: .78rem;
  font-weight: 600;
  text-transform: none;
  color: var(--ink-soft);
  margin-bottom: .25rem;
}
.quote-card .form-control, .quote-card .form-select{
  border-radius: var(--radius-sm);
  border-color: var(--border-soft);
  padding: .6rem .8rem;
}
.quote-card .form-control:focus, .quote-card .form-select:focus{
  border-color: var(--forest);
  box-shadow: 0 0 0 .2rem rgba(31,77,58,0.12);
}

/* ---------- Feature strip ---------- */
.feature-strip{
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.feature-item{
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.feature-item .bi{
  font-size: 1.6rem;
  color: var(--forest);
  flex-shrink: 0;
  margin-top: .1rem;
}
.feature-item h3{
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: .15rem;
  color: var(--ink);
}
.feature-item p{ font-size: .92rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Section headings ---------- */
.section-heading{ max-width: 46ch; }
.section-heading h2{ font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section-heading p{ color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Service cards (asymmetric, not identical-card grid) ---------- */
.service-row{
  border-top: 1px solid var(--border-soft);
  padding: 1.6rem 0;
  transition: background-color .2s ease;
}
.service-row:last-child{ border-bottom: 1px solid var(--border-soft); }
.service-row:hover{ background: var(--sage); }
.service-num{
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--spice-dark);
  font-weight: 600;
}
.service-row h3{ font-size: 1.35rem; margin-bottom: .35rem; }
.service-row p{ color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Tour package cards ---------- */
.tour-card{
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 20px -10px rgba(20,42,32,0.18);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tour-card:hover{ transform: translateY(-6px); box-shadow: 0 16px 32px -12px rgba(20,42,32,0.28); }
.tour-card .tour-img{
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.tour-card .tour-duration{
  position: absolute;
  top: .9rem; left: .9rem;
  background: rgba(20,42,32,0.85);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 999px;
}
.tour-card .tour-body{ padding: 1.4rem; }
.tour-card h3{ font-size: 1.25rem; margin-bottom: .5rem; }
.tour-card p{ color: var(--ink-soft); font-size: .95rem; }
.tour-card .tour-meta{
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-soft);
}
.tour-card .tour-from{ font-size: .82rem; color: var(--ink-soft); }
.tour-card .tour-price{ font-family: var(--font-display); font-weight: 600; color: var(--forest); font-size: 1.15rem; }

/* ---------- Why us — zig-zag rows ---------- */
.why-row{ align-items: center; }
.why-row img{
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.why-row .why-index{
  font-family: var(--font-display);
  font-style: italic;
  color: var(--spice);
  font-size: 1.1rem;
}

/* ---------- Fleet ---------- */
.fleet-card{
  background: var(--forest-dark);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: left;
}
.fleet-card .bi{ font-size: 2.4rem; color: var(--spice); }
.fleet-card h3{ color: var(--white); font-size: 1.3rem; margin: 1rem 0 .5rem; }
.fleet-card p{ color: rgba(255,255,255,0.75); font-size: .92rem; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card{
  background: var(--sage);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-card .quote-mark{
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--spice);
  line-height: 1;
  display: block;
  margin-bottom: .5rem;
}
.testimonial-card p.quote-text{
  font-size: 1.15rem;
  color: var(--ink);
  max-width: none;
}
.testimonial-card .quote-author{ font-weight: 700; margin-top: 1rem; }
.testimonial-card .quote-origin{ color: var(--ink-soft); font-size: .88rem; }
.carousel-indicators [data-bs-target]{ background-color: var(--forest); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.cta-banner h2{ color: var(--white); }
.cta-banner p{ color: rgba(255,255,255,0.85); }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--forest-dark);
  color: rgba(255,255,255,0.8);
}
.site-footer h3{
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.site-footer a{ color: rgba(255,255,255,0.72); }
.site-footer a:hover{ color: var(--spice); }
.footer-brand{
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.4rem;
  display: flex; align-items: center; gap: .5rem;
}
.footer-brand svg{ width: 30px; height: 30px; }
.social-icons a{
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  margin-right: .5rem;
}
.social-icons a:hover{ border-color: var(--spice); background: rgba(217,142,43,0.12); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: .85rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Utility ---------- */
.section{ padding: 5.5rem 0; }
@media (max-width: 767.98px){
  .section{ padding: 3.5rem 0; }
  .quote-card{ margin-top: -3.5rem; }
  .hero{ min-height: 100vh; }
}
