/* =====================================================================
   KOALANKA HOLIDAYS – SHARED STYLESHEET (new logo design)
   ---------------------------------------------------------------------
   This one file styles every page of the website.

   The colours and the font come straight from the Koalanka logo:
   the deep teal background, the ivory "Koalanka", the gold "HOLIDAYS",
   the blue water-lily petals and the green ground.

   EDIT ME: To change the colours or font, change the values in the
   ":root" block directly below. Everything else uses them automatically.

   This is WEBSITE OPTION 2. The part at the very bottom, "OPTION 2 DESIGN",
   gives it its photo-led look.
   ===================================================================== */

:root {
  /* ---------- LOGO COLOURS ---------- */
  --teal: #0F3D47;        /* EDIT ME: logo background. Menu bar, hero, footer and headings. */
  --text: #0A2F37;        /* EDIT ME: body text on light backgrounds: a slightly darker teal than the headings, for easy reading */
  --teal-soft: #2E4A53;   /* softer teal for introductions, notes and captions (darkened on 16 November 2026 for easier reading) */
  --ivory: #FBF7EF;       /* EDIT ME: "Koalanka" in the logo. Page background, text on teal. */
  --gold: #F4C95D;        /* EDIT ME: "HOLIDAYS" in the logo. Buttons and highlights on teal. */
  --gold-light: #F8DA8E;  /* gold buttons when you hover over them */
  --gold-deep: #A87B12;   /* deeper gold for the review stars on light backgrounds */
  --lily: #5468B8;        /* EDIT ME: blue water-lily petals. Links and icons on light backgrounds. */
  --lily-dark: #43549A;   /* links when you hover over them */
  --lily-light: #8FA0E0;  /* lighter petal blue */
  --lily-mist: #ECEFFA;   /* very pale petal blue for alternate sections */
  --leaf: #3F8F6B;        /* EDIT ME: green ground under the koala. Tick marks. */
  --white: #FFFFFF;
  --line: #DCDFEA;        /* thin lines around cards and form fields */
  --error: #B3261E;       /* form error messages */

  /* ---------- FONT ---------- */
  /* EDIT ME: Poppins is the font for all the website's text. The logo lettering beside the koala
     ("Koalanka" / "HOLIDAYS") uses Outfit, the font in the Koalanka logo. If you change either,
     also update the Google Fonts <link> in the <head> of every page. */
  --font: "Poppins", "Century Gothic", "Segoe UI", Arial, sans-serif;
  --font-logo: "Outfit", "Century Gothic", "Segoe UI", Arial, sans-serif;

  /* ---------- SPACING AND SHAPES ---------- */
  --max-width: 1200px;
  --radius: 20px;          /* cards and photos */
  --radius-small: 12px;    /* form fields and small boxes */
  --section-space: clamp(4rem, 9vw, 7rem);
}

/* =====================================================================
   BASICS
   ===================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  /* Keeps anything you jump or tab to clear of the sticky menu bar */
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
/* Each photo sits in a <picture> with a smaller WebP copy. The <picture> wrapper itself takes up
   no space, so the photo is laid out exactly as if it were on its own. */
picture { display: contents; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.55em;
  overflow-wrap: break-word; /* a very long word wraps instead of sticking out on small phones */
}
h1, h2 { text-wrap: balance; } /* evens out line lengths so names like "Sri Lanka" stay together */
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.25; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1.1em; }

a { color: var(--lily); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--lily-dark); }

/* Clear focus outline for keyboard users: blue on light areas, gold on teal areas */
:focus-visible { outline: 3px solid var(--lily); outline-offset: 3px; border-radius: 6px; }
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible,
.section--green :focus-visible, .site-footer :focus-visible, .whatsapp-float:focus-visible { outline-color: var(--gold); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--gold); color: var(--teal); font-weight: 600;
  padding: 0.75rem 1.25rem; border-radius: var(--radius-small);
}
.skip-link:focus { top: 1rem; color: var(--teal); }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 820px; }

.section { padding: var(--section-space) 0; }
.section--tight-top { padding-top: 1.5rem; }
/* Pale petal-blue band */
.section--sand { background: var(--lily-mist); }
/* Deep teal band (same teal as the logo) */
.section--green { background: var(--teal); color: var(--ivory); }
.section--green h2, .section--green h3 { color: var(--ivory); }
.section--green a:not(.btn):not(.contact-option) { color: var(--gold); }

.section-intro { max-width: 680px; margin-bottom: 2.75rem; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--teal-soft); }
.section--green .lead { color: #D3DEE0; }

/* Small label above a heading (only used where it adds information) */
.eyebrow { font-size: 1.05rem; font-weight: 600; color: var(--lily); margin: 0 0 0.6rem; }
.section--green .eyebrow, .page-hero .eyebrow { color: var(--gold); }

.text-centre { text-align: center; }
.nowrap { white-space: nowrap; } /* keeps words like "6-day" on one line */
.mt-2 { margin-top: 2.5rem; }
.placeholder-note { font-size: 0.95rem; color: var(--teal-soft); font-style: italic; }

/* =====================================================================
   BUTTONS
   On light backgrounds the main button is teal; on teal areas it is gold.
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px; padding: 0.8rem 1.6rem;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font); font-size: 1.05rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--small { min-height: 44px; padding: 0.55rem 1.15rem; font-size: 1rem; }

.btn--primary { background: var(--teal); color: var(--ivory); }
.btn--primary:hover { background: #164F5C; color: var(--ivory); }
.btn--outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--ivory); }

/* On teal areas */
.site-header .btn--primary, .hero .btn--primary, .page-hero .btn--primary,
.section--green .btn--primary, .btn--light { background: var(--gold); color: var(--teal); }
.site-header .btn--primary:hover, .hero .btn--primary:hover, .page-hero .btn--primary:hover,
.section--green .btn--primary:hover, .btn--light:hover { background: var(--gold-light); color: var(--teal); }
.btn--ghost-light { background: transparent; color: var(--ivory); border-color: rgba(249, 246, 238, 0.7); }
.btn--ghost-light:hover { background: rgba(249, 246, 238, 0.12); color: var(--ivory); border-color: var(--ivory); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Line icons (drawn with CSS so they take the text colour) */
.icon {
  display: inline-block; width: 1.2em; height: 1.2em; flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}
.icon-whatsapp { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E"); }
.icon-email { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E"); }
.icon-phone { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.icon-award { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='7'/%3E%3Cpolyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/%3E%3C/svg%3E"); }
.icon-calendar { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
.icon-pin { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.icon-home { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
.icon-user-check { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpolyline points='17 11 19 13 23 9'/%3E%3C/svg%3E"); }
.icon-check-circle { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E"); }
.icon-arrow { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E"); }

/* =====================================================================
   HEADER AND MENU (teal bar, same teal as the logo background)
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--teal);
  border-bottom: 1px solid rgba(249, 246, 238, 0.1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 76px;
}

/* Logo: koala mark (images/logo-mark.png) + "Koalanka / HOLIDAYS" typed in the logo's
   lettering: Outfit ExtraBold for the name, Outfit SemiBold with wide gold spacing below */
.logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ivory); }
.logo:hover { color: var(--ivory); }
.logo-mark { width: 58px; height: auto; }
.logo-text { display: flex; flex-direction: column; align-items: center; line-height: 1; font-family: var(--font-logo); }
.logo-name { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ivory); }
.logo-tag {
  margin-top: 0.3rem; padding-left: 0.5em; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-enquire { padding-left: 1.05rem; padding-right: 1.05rem; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; min-width: 44px; padding: 0 0.8rem;
  background: none; border: 1px solid rgba(249, 246, 238, 0.35); border-radius: 999px;
  color: var(--ivory); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform 0.2s ease;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 460px) {
  .logo-mark { width: 48px; }
  .logo-name { font-size: 1.4rem; }
  .logo-tag { font-size: 0.52rem; letter-spacing: 0.44em; padding-left: 0.44em; }
}
/* Poppins is wider than the old font, so the word "Menu" beside the menu icon only shows from 540px wide;
   below that the icon alone leaves room for the logo and the Plan my trip button */
@media (max-width: 539px) {
  .menu-toggle-label { display: none; }
}
/* Small phones: a slightly smaller logo, button and spacing so the logo never runs into the button */
@media (max-width: 414px) {
  .header-inner { gap: 0.5rem; }
  .logo { gap: 0.45rem; flex-shrink: 0; }
  .logo-mark { width: 42px; }
  .logo-name { font-size: 1.3rem; }
  .logo-tag { font-size: 0.5rem; letter-spacing: 0.4em; padding-left: 0.4em; }
}

/* Buttons that only make sense when JavaScript is working */
.no-js .js-only { display: none !important; }

/* Phone menu (drops down under the header) */
.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--teal);
  border-bottom: 1px solid rgba(249, 246, 238, 0.12);
  box-shadow: 0 18px 30px rgba(15, 61, 71, 0.25);
}
.site-nav ul { list-style: none; margin: 0; padding: 0.5rem 1.25rem 1.25rem; }
.site-nav a {
  display: block; padding: 0.9rem 0.25rem;
  color: var(--ivory); text-decoration: none; font-weight: 500; font-size: 1.1rem;
  border-bottom: 1px solid rgba(249, 246, 238, 0.12);
}
.site-nav a:hover { color: var(--gold); }
/* The menu item for the page you're on (or the section it belongs to, e.g. Tours on a tour page) */
.site-nav a[aria-current] { color: var(--gold); }

.no-js .site-nav { display: block; }
.no-js .menu-toggle { display: none; }

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: block; position: static; background: none; border: 0; box-shadow: none;
    margin-left: auto;
  }
  .logo { order: 1; }
  .site-nav { order: 2; }
  .header-actions { order: 3; }
  .site-nav ul { display: flex; gap: 0.25rem; padding: 0; }
  .site-nav a { border: 0; padding: 0.5rem 0.9rem; font-size: 1.05rem; white-space: nowrap; }
  /* Gold underline under the current menu item */
  .site-nav a[aria-current] { color: var(--ivory); background: linear-gradient(var(--gold), var(--gold)) bottom / 100% 2px no-repeat; }
}
/* Laptop widths: tighter menu spacing so all seven links fit on one line */
@media (min-width: 960px) and (max-width: 1199px) {
  .site-nav ul { gap: 0; }
  .site-nav a { padding: 0.5rem 0.55rem; font-size: 1rem; }
}

/* =====================================================================
   HERO (big photo at the top of the home page)
   EDIT ME: the photo is images/hero.jpg
   ===================================================================== */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--teal); /* shows only while the photo is loading */
  overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0;
  /* object-position chooses which part of the photo stays visible on narrow
     phone screens: 60% keeps Sigiriya Rock in view. 50% would be the centre. */
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
}
.hero::after {
  /* Light shading so the photo stays bright and clear. Most of the text's
     readability comes from the soft shadow on the text itself (just below).
     EDIT ME: the last number in each rgba(...) is how dark the shading is
     (0 = none, 1 = solid). Lower it for a brighter photo, raise it for darker. */
  content: ""; position: absolute; inset: 0;
  /* Phones: the text covers most of the photo, so a gentle shade all over,
     a little stronger at the bottom behind the buttons */
  background: linear-gradient(180deg, rgba(0,0,0,0.36) 0%, rgba(0,0,0,0.40) 45%, rgba(0,0,0,0.60) 100%);
}
@media (min-width: 900px) {
  .hero::after {
    /* Wider screens: a soft pool of shade just behind the text on the left.
       The rest of the photo (Sigiriya Rock, the sky) is left untouched. */
    background:
      radial-gradient(ellipse 50% 70% at 24% 55%, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.34) 55%, rgba(0,0,0,0) 100%),
      linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(0,0,0,0.30) 100%);
  }
}
.hero-content { position: relative; z-index: 1; padding-top: 7rem; padding-bottom: 3.5rem; }
/* Soft shadows around the letters keep the text readable on the bright photo */
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 1px 3px rgba(0,0,0,0.45), 0 4px 28px rgba(0,0,0,0.45); }
.hero p { font-size: 1.2rem; max-width: 38rem; color: #F4F1EA; text-shadow: 0 1px 2px rgba(0,0,0,0.7), 0 2px 16px rgba(0,0,0,0.55); }
/* The small label sits on a see-through dark pill so it stays readable on the bright sky */
.hero .eyebrow {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  color: #FCE9C8; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}
/* The friendly line just under the home page heading */
.hero .hero-subheading {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; line-height: 1.3; color: #fff;
  max-width: 32rem; margin-top: -0.6rem; text-wrap: balance; /* keeps "Sri Lanka" together */
}
.hero-note { margin-top: 1.25rem; font-size: 0.95rem !important; color: #E6E2D8 !important; }
.hero-note a { color: #fff; font-weight: 700; }
.hero-note a:hover { color: var(--gold); }

/* Smaller banner used at the top of inner pages (Tours, About):
   full-width photo with the text over it */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--teal); /* shows only while the photo is loading */
  padding: clamp(5rem, 14vw, 8rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.page-hero .hero-image { object-position: center 55%; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  /* EDIT ME: deep-teal shading over inner-page banner photos (last number = darkness, 0 to 1) */
  background: linear-gradient(180deg, rgba(8,33,39,0.62), rgba(8,33,39,0.80));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 40rem; font-size: 1.15rem; color: #F4F1EA; margin: 0; }
/* Small label above the banner heading, with a short gold line in front */
.page-hero .eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #FCE9C8; text-shadow: 0 1px 8px rgba(0,0,0,0.5); margin-bottom: 0.9rem;
}
.page-hero .eyebrow::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 28px; height: 2px; margin-right: 0.6rem; background: var(--gold);
}

/* Links and buttons inside a banner (e.g. the "By ..." line, or Enquire on a tour page) */
.page-hero a:not(.btn) { color: #fff; }
.page-hero a:not(.btn):hover { color: var(--gold); }
.page-hero .btn-row { margin-top: 1.75rem; }
/* "Home › Tours › ..." trail at the top of tour pages, styled like the small banner label */
.breadcrumbs ol {
  list-style: none; margin: 0 0 0.9rem; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #FCE9C8; text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.breadcrumbs ol::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.6rem; color: var(--gold); }
.page-hero .breadcrumbs a { color: #FCE9C8; text-decoration: none; }
.page-hero .breadcrumbs a:hover { color: var(--gold); text-decoration: underline; }

/* Plain page heading without a photo */
.page-heading { padding: clamp(3rem, 8vw, 5rem) 0 1rem; }

/* =====================================================================
   GRIDS
   ===================================================================== */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================================
   "WHY KOALANKA" (home) and "OUR STANDARDS" (About)
   ===================================================================== */
.why-split { display: grid; }
.why-split .section-intro { margin-bottom: 2.5rem; }
@media (min-width: 900px) {
  .why-split { grid-template-columns: 1fr 1fr; column-gap: 4.5rem; align-items: start; }
  .why-split .section-intro { margin-bottom: 0; }
}
.reason-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.reason { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.1rem; align-items: start; }
/* Round icon in petal blue */
.reason-icon {
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: var(--lily); color: var(--ivory);
  display: grid; place-items: center;
}
.reason-icon .icon { width: 1.45rem; height: 1.45rem; }
.reason h3 { margin: 0.2rem 0 0.35rem; }
.reason p { margin: 0; color: var(--teal-soft); }

.feature { padding-top: 0.25rem; }
.feature .reason-icon { margin-bottom: 1.1rem; }
.feature p:last-child { margin-bottom: 0; }

/* =====================================================================
   DISCOVER SRI LANKA: photo tiles (home page, and "More to discover"
   on each topic page). Each tile opens its own page.
   ===================================================================== */
.discover-intro { max-width: 780px; }
.discover-tiles {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .discover-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
  .discover-tiles { grid-template-columns: repeat(5, 1fr); }
  .discover-tiles--more { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 699px) {
  /* On phones an odd last tile spans the full width as a wide tile */
  .discover-tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .discover-tiles li:last-child:nth-child(odd) .discover-tile { aspect-ratio: 16 / 9; }
}
.discover-tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  text-decoration: none; background: #164F5C;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.discover-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
/* Soft dark fade at the bottom so the white label is easy to read */
.discover-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 33, 39, 0) 45%, rgba(8, 33, 39, 0.88) 100%);
}
.discover-tile-label {
  position: absolute; left: 1rem; right: 1rem; bottom: 0.9rem; z-index: 1;
  color: #fff; font-size: 1.35rem; font-weight: 700; line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
@media (hover: hover) {
  .discover-tile:hover, .discover-tile:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.45);
  }
  .discover-tile:hover img, .discover-tile:focus-visible img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .discover-tile:hover, .discover-tile:focus-visible { transform: none; }
  .discover-tile:hover img, .discover-tile:focus-visible img { transform: none; }
}

/* =====================================================================
   DISCOVER SRI LANKA: topic pages (the articles)
   ===================================================================== */
.article-body { max-width: 760px; overflow-wrap: break-word; } /* long web addresses wrap instead of sticking out on phones */
.article-body > p { line-height: 1.75; }
.article-body > .lead { font-size: 1.3rem; line-height: 1.6; color: var(--text); margin-bottom: 1.5em; }
.article-body h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-top: 2em; margin-bottom: 0.5em; }
/* Bullet points hang just outside the text, so the words line up with the paragraphs above and below */
.article-list { margin: 0 0 1.5rem; padding-left: 0; list-style-position: outside; }
.article-list li { margin-bottom: 0.7rem; line-height: 1.65; padding-left: 0; }
.article-list li::marker { color: var(--lily); }
.travel-tip {
  margin: 2.5rem 0 2rem; padding: 1.2rem 1.5rem;
  background: var(--lily-mist); border-left: 4px solid var(--lily);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
}
.travel-tip p { margin: 0; }
.article-next { margin-top: 2rem; }
.article-back { margin-top: 2.5rem; font-weight: 600; }
.article-next + .article-back { margin-top: 1.25rem; }
/* "By ..." line under the article heading in the banner */
.page-hero .article-byline { margin-top: 1rem; font-size: 0.95rem; font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.section--sand > .container > h2:first-child { margin-bottom: 1.5rem; }
.article-body h3 { margin-top: 1.9em; margin-bottom: 0.4em; }
.article-body h2 + h3 { margin-top: 1.2em; }

/* =====================================================================
   TOUR PAGES (one page per tour, e.g. essential-sri-lanka-tour.html)
   ===================================================================== */
/* "At a glance" box: how long, price, who it suits, best months */
.tour-glance {
  margin: 0 0 1.5rem; padding: 1.5rem 1.6rem;
  background: var(--lily-mist); border-radius: var(--radius);
  display: grid; gap: 1.25rem 2rem;
}
@media (min-width: 600px) { .tour-glance { grid-template-columns: 1fr 1fr; } }
.tour-glance dt { font-size: 1rem; font-weight: 600; color: var(--lily); margin-bottom: 0.15rem; }
.tour-glance dd { margin: 0; line-height: 1.5; }
.tour-glance dd strong { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.tour-glance .price-note { display: block; margin-top: 0.35rem; }
/* Banner: the length and "From" price under the tour's name */
.tour-hero-price { margin: 0.4rem 0 0.9rem; font-size: clamp(1.3rem, 2.8vw, 1.85rem); font-weight: 600; line-height: 1.25; color: var(--ivory); }
.tour-hero-price strong { color: var(--gold); }
.page-hero .tour-hero-price + p { margin-bottom: 0; }
.tour-hero .btn-row { margin-top: 1.5rem; }

/* Two columns on big screens: the tour, and the "Plan my trip" box that stays in view */
.section.tour-main { padding-top: 2rem; }
.tour-layout { display: grid; gap: 3rem; align-items: start; }
.tour-content { min-width: 0; }
@media (min-width: 1100px) {
  .tour-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; }
  .tour-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); margin-top: -7rem; z-index: 3; }
  .tour-hero .btn-row { display: none; }
  /* Keep the banner text clear of the "Plan my trip" box */
  .tour-hero .container > p { max-width: min(40rem, calc(100% - 340px - 4rem)); }
}

/* Links to each part of the page, which stay at the top of the screen */
.tour-tabs {
  position: sticky; top: calc(var(--header-h) + 0.5rem); z-index: 4;
  margin: 0 0 2rem; padding: 0 1.25rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-small); box-shadow: 0 12px 26px -20px rgba(15, 61, 71, 0.45);
}
.tour-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; overflow-x: auto; scrollbar-width: none; }
.tour-tabs ul::-webkit-scrollbar { display: none; }
/* Phones: the tabs that don't fit fade out at the right edge; swipe them sideways to see the rest */
@media (max-width: 699px) {
  .tour-tabs { padding-right: 0; }
  .tour-tabs ul { gap: 1.4rem; -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); }
  .tour-tabs ul::after { content: ""; flex: 0 0 2.5rem; }
}
.tour-tabs a {
  display: block; padding: 0.95rem 0 0.8rem; white-space: nowrap;
  font-weight: 600; color: var(--teal); text-decoration: none; border-bottom: 3px solid transparent;
}
.tour-tabs a:hover, .tour-tabs a.is-current { border-bottom-color: var(--gold); color: var(--teal); }
.tour-part { scroll-margin-top: calc(var(--header-h) + 5rem); }
.article-body .tour-part > h2:first-child { margin-top: 1.4em; }
#overview.tour-part > :first-child { margin-top: 0; }

/* Quick facts: length, hotels, car and guide, entrance fees */
.tour-facts {
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-small);
}
.tour-facts li { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 1.1rem 0.75rem; text-align: center; line-height: 1.3; }
.tour-facts .icon { flex: none; width: 1.6rem; height: 1.6rem; margin-bottom: 0.4rem; color: var(--lily); }
.tour-facts strong { font-size: 1.05rem; font-weight: 600; }
.tour-facts small { font-size: 0.9rem; color: var(--teal-soft); }
.tour-facts small span { white-space: nowrap; }
@media (max-width: 699px) {
  .tour-facts li:nth-child(even) { border-left: 1px solid var(--line); }
  .tour-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 700px) {
  .tour-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tour-facts li + li { border-left: 1px solid var(--line); }
}

/* "Ideal for" box with three icons */
.ideal-for { margin: 0 0 2rem; padding: 1.4rem 1.25rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.article-body .ideal-for h2 { margin: 0 0 1.1rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #4A6670; } /* a heading, so it keeps its original colour */
.ideal-for ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; text-align: center; }
.ideal-for li { font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.ideal-for .icon { display: block; margin: 0 auto 0.55rem; width: 2rem; height: 2rem; color: var(--lily); }

/* Phones: the price table stays a normal table, and each stop on the route reads "Day 1 · Negombo" */
@media (max-width: 599px) {
  .season-table.price-table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .season-table.price-table tr { display: table-row; padding: 0; }
  .season-table.price-table th, .season-table.price-table td { display: table-cell; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
  .season-table.price-table tbody th { font-size: 1rem; margin: 0; }
  .season-table.price-table td + td { margin: 0; }
  .season-table.price-table td::before { content: none; }
  .season-table.price-table tbody tr:last-child > * { border-bottom: 0; }
  .route-table tbody th, .route-table td[data-label="Where"] { display: inline; margin: 0; font-size: 1.05rem; font-weight: 600; }
  .route-table td[data-label="Where"]::before { content: "·"; display: inline; margin: 0 0.45rem; font-size: inherit; letter-spacing: 0; color: var(--teal-soft); }
  .route-table td[data-label="Highlights"] { margin-top: 0.3rem; }
  .route-table td[data-label="Highlights"]::before { content: none; }
}

/* Day by day: a coloured label for each stop, joined by a line */
.day-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.day { position: relative; padding: 0 0 2rem 1.5rem; border-left: 2px solid var(--lily-light); }
.day:last-child { padding-bottom: 0.25rem; }
.day-badge {
  display: inline-block; margin: 0 0 0.8rem -1.5rem; padding: 0.4rem 0.95rem 0.4rem 1.2rem;
  border-radius: 0 999px 999px 0; background: var(--lily); color: var(--white);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.article-body .day h3 { margin: 0 0 0.4rem; }
.day p { margin: 0 0 0.75rem; line-height: 1.7; }
.day-optional { color: var(--teal-soft); }
.day-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 2.25rem; margin: 0.25rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.day-meta dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-soft); }
.day-meta dd { margin: 0; font-weight: 500; }

/* Prices and inclusions box */
.price-card { margin: 2.75rem 0 0; padding: clamp(1.4rem, 3.5vw, 2.1rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.article-body .price-card > h2:first-child { margin-top: 0; }
.price-card-from { margin: 0 0 0.3rem; font-size: 1.15rem; }
.price-card-from strong { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.01em; }
.price-card .price-note { margin-bottom: 1.25rem; }
/* "To book: a 50% deposit ..." line under the price table */
.price-deposit { margin: 1.25rem 0 0; padding: 0.9rem 1.1rem; background: var(--lily-mist); border-radius: var(--radius-small); line-height: 1.55; }
.incl-grid { display: grid; gap: 0 2.5rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .incl-grid { grid-template-columns: 1fr 1fr; } }
.article-body .incl-grid h3 { margin-top: 0.75rem; }
.cross-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.cross-list li { position: relative; padding-left: 1.85rem; margin-bottom: 0.55rem; }
.cross-list li::before { content: "–"; position: absolute; left: 0.3rem; top: 0; font-weight: 700; color: var(--teal-soft); }

/* "Plan my trip" box */
.plan-card { padding: 1.75rem 1.5rem; background: var(--teal); color: var(--ivory); border-radius: var(--radius); box-shadow: 0 26px 50px -28px rgba(8, 33, 39, 0.7); }
.plan-card-title { margin: 0 0 1.1rem; text-align: center; font-size: 1.6rem; color: var(--ivory); }
.plan-card-tour { margin: 0 0 1.3rem; padding: 0.9rem 1rem; text-align: center; line-height: 1.45; color: #C9D6D8; border: 1px solid rgba(249, 246, 238, 0.35); border-radius: var(--radius-small); }
.plan-card-tour strong { display: block; margin-bottom: 0.2rem; font-size: 1.1rem; color: var(--ivory); }
.plan-card-tour b { color: var(--gold); }
.plan-steps { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.plan-steps li { margin-bottom: 0.5rem; line-height: 1.45; }
.plan-steps li::marker { color: var(--gold); font-weight: 700; }
.plan-card .btn { width: 100%; justify-content: center; }
.plan-card .btn + .btn { margin-top: 0.75rem; }
.plan-card-note { margin: 1rem 0 0; text-align: center; font-size: 0.95rem; color: #C9D6D8; }

/* =====================================================================
   "PLAN YOUR TRIP" GUIDES
   ===================================================================== */
/* Month-by-month table on the "best time to visit" guide */
.table-wrap { overflow-x: auto; margin: 0 0 0.75rem; border: 1px solid var(--line); border-radius: var(--radius-small); }
.season-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; background: var(--white); }
.season-table th, .season-table td { text-align: left; vertical-align: top; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); }
.season-table thead th { background: var(--teal); color: var(--ivory); font-weight: 600; }
.season-table tbody th { font-weight: 600; }
.season-table tbody tr:nth-child(even) { background: var(--lily-mist); }
.season-table tbody tr:last-child > * { border-bottom: 0; }
.table-note { font-size: 0.95rem; color: var(--teal-soft); }
/* Phones: each month becomes a small block, with a label above each part */
@media (max-width: 599px) {
  .season-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .season-table tr { display: block; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }
  .season-table tbody tr:last-child { border-bottom: 0; }
  .season-table th, .season-table td { display: block; padding: 0; border: 0; }
  .season-table tbody th { font-size: 1.1rem; margin-bottom: 0.35rem; }
  .season-table td + td { margin-top: 0.5rem; }
  .season-table td::before {
    content: attr(data-label); display: block;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lily);
  }
}

/* Guide cards on the "Plan your trip" page. "Coming soon" cards are paler and have no link. */
.guide-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem;
}
.guide-card .reason-icon { margin-bottom: 1.1rem; }
.guide-card h3 { margin-bottom: 0.5rem; }
.guide-card p { color: var(--teal-soft); font-size: 1rem; }
.guide-card .guide-card-link, .guide-card .guide-card-status { margin: auto 0 0; padding-top: 0.5rem; }
.guide-card--soon { background: transparent; border-style: dashed; border-color: #C9CEDB; }
.guide-card--soon .reason-icon { background: var(--teal-soft); }
/* With an odd number of guide cards in a 2-column grid, the last one sits centred under the others */
@media (min-width: 700px) {
  .grid--2 > .guide-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.75rem); }
}
/* The "Coming soon" label */
.guide-card .guide-card-status {
  align-self: flex-start; margin-top: auto; padding: 0.3rem 0.8rem; border-radius: 999px;
  background: var(--lily-mist); color: var(--teal-soft);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}

/* Two columns: photo + text */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split-image img { width: 100%; object-fit: cover; border-radius: var(--radius); }
/* The guide's portrait gets the same arch as the hero */
/* The guide portrait shows whole (no height limit), so the top of his head is never trimmed off */
.split-image img[src*="guide-portrait"] { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; max-height: none; object-position: center top; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split--reverse .split-image { order: 2; }
  .split-image img { max-height: 620px; }
}

.stat { display: flex; align-items: baseline; gap: 0.6rem; margin: 0.25rem 0 1.5rem; color: var(--teal-soft); }
.stat strong { font-size: 3.2rem; line-height: 1; font-weight: 700; color: var(--lily); letter-spacing: -0.02em; }

.tick-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tick-list li { position: relative; padding-left: 1.85rem; margin-bottom: 0.55rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.55em;
  width: 0.75rem; height: 0.42rem;
  border-left: 2.5px solid var(--leaf); border-bottom: 2.5px solid var(--leaf);
  transform: rotate(-45deg);
}
.section--green .tick-list li::before { border-color: var(--gold); }

/* =====================================================================
   TOUR CARDS
   ===================================================================== */
/* Cards in a row are all the same height, so the prices and buttons line up along the bottom */
.tour-grid { align-items: stretch; }
.tour-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
/* EDIT ME: when you hover over a tour card (or tab to one with the keyboard) it lifts
   slightly with a soft teal shadow underneath. Change -6px to lift it more or less.
   Not used on touch screens, where hover effects tend to "stick" after a tap. */
@media (hover: hover) {
  .tour-card:hover,
  .tour-card:focus-within {
    transform: translateY(-6px);
    border-color: #C9CEDB;
    box-shadow: 0 18px 36px -12px rgba(15, 61, 71, 0.28), 0 4px 12px rgba(15, 61, 71, 0.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tour-card:hover, .tour-card:focus-within { transform: none; }
}
.tour-card-image { position: relative; }
.tour-card-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tour-duration {
  position: absolute; left: 1rem; top: 1rem;
  background: var(--teal); color: var(--ivory);
  font-size: 0.9rem; font-weight: 600; padding: 0.35rem 0.85rem; border-radius: 999px;
}
.tour-card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.tour-card h3 { font-size: 1.55rem; font-weight: 700; margin-bottom: 0.5rem; }
.tour-suits { font-size: 1rem; color: var(--teal-soft); margin-bottom: 1rem; }
.tour-suits strong { color: var(--teal); font-weight: 600; }
.tour-card h4 { font-size: 1rem; font-weight: 600; color: var(--lily); margin: 0 0 0.5rem; }
.tour-card .tick-list { font-size: 1rem; }
.tour-card .tick-list li { margin-bottom: 0.35rem; }

.tour-days { border-top: 1px solid var(--line); margin-bottom: 1.25rem; }
.tour-days summary {
  cursor: pointer; padding: 0.9rem 0; font-weight: 600; color: var(--teal);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 44px;
}
.tour-days summary::-webkit-details-marker { display: none; }
.tour-days summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--lily); }
.tour-days[open] summary::after { content: "–"; }
.tour-days ol { margin: 0 0 0.5rem; padding-left: 1.25rem; font-size: 1rem; }
.tour-days li { margin-bottom: 0.45rem; }
.tour-days li strong { color: var(--teal); font-weight: 600; }

.tour-price {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.35rem;
  color: var(--teal-soft); font-size: 1rem; margin-bottom: 1rem;
}
.tour-price strong { font-size: 1.9rem; font-weight: 700; color: var(--teal); line-height: 1; letter-spacing: -0.01em; }
/* Every price takes the same width, so on narrow cards "AUD per person" drops to a second line on
   all the cards at once, and the prices stay lined up */
.tour-card .tour-price strong { min-width: 3.6em; }
.tour-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tour-actions .btn { flex: 1 1 auto; }

.tailor-note {
  background: var(--lily-mist); border-radius: var(--radius);
  padding: 1.35rem 1.6rem; margin-bottom: 2.5rem;
}
.tailor-note p:last-child { margin: 0; }
.price-note { font-size: 1rem; color: var(--teal-soft); }

/* =====================================================================
   TESTIMONIALS (open quotes, no boxes)
   ===================================================================== */
.testimonial-grid { gap: 2.75rem 4rem; }
.testimonial { margin: 0; display: flex; flex-direction: column; }
.testimonial-stars { color: var(--gold-deep); letter-spacing: 0.15em; font-size: 1.1rem; margin-bottom: 0.6rem; }
.testimonial blockquote { margin: 0 0 1rem; font-size: 1.4rem; font-weight: 500; line-height: 1.45; color: var(--text); }
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { margin-top: auto; font-weight: 600; color: var(--teal); }
.testimonial figcaption span { display: block; font-weight: 400; font-size: 1rem; color: var(--teal-soft); }

/* =====================================================================
   FAQ ACCORDION
   ===================================================================== */
.faq-group { margin-bottom: 3rem; }
.faq-group > h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); }
.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; min-height: 56px;
  font-weight: 600; color: var(--teal); font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0;
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lily-mist); color: var(--lily);
  font-size: 1.35rem; line-height: 1;
}
.faq[open] summary::after { content: "–"; background: var(--lily); color: var(--ivory); }
.faq-answer { padding: 0 1.25rem 1.25rem; }
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 0; }

/* =====================================================================
   ENQUIRY OPTIONS (WhatsApp / Email / Call)
   ===================================================================== */
.contact-options { display: grid; gap: 1rem; }
@media (min-width: 760px) { .contact-options { grid-template-columns: repeat(3, 1fr); } }
.contact-option {
  display: flex; flex-direction: column; gap: 0.25rem;
  background: var(--white); color: var(--teal);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; text-decoration: none;
  transition: border-color 0.2s ease;
}
.contact-option:hover { border-color: var(--lily); color: var(--teal); }
.contact-option .icon { width: 1.8rem; height: 1.8rem; color: var(--lily); margin-bottom: 0.5rem; }
.contact-option strong { font-size: 1.45rem; font-weight: 700; color: var(--teal); }
.contact-option span { color: var(--teal-soft); font-size: 1rem; word-break: break-word; }

.cta-panel { text-align: center; }
.cta-panel .section-intro, .cta-panel .lead { margin-left: auto; margin-right: auto; }
.cta-panel .btn-row { justify-content: center; margin-top: 1.5rem; }
/* A button row on its own (under the contact cards) lines up with the left-aligned heading */
.cta-panel:not(:has(h2)) { text-align: left; }
.cta-panel:not(:has(h2)) .btn-row { justify-content: flex-start; }

/* =====================================================================
   CUSTOM ITINERARY FORM
   ===================================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.form-progress { margin-bottom: 1.75rem; }
.form-progress-text { font-weight: 600; color: var(--lily); font-size: 1rem; margin-bottom: 0.5rem; }
.form-progress-bar { height: 6px; background: var(--lily-mist); border-radius: 999px; overflow: hidden; }
.form-progress-bar span { display: block; height: 100%; width: 50%; background: var(--lily); border-radius: 999px; transition: width 0.3s ease; }
.form-progress[data-step="2"] .form-progress-bar span { width: 100%; }

.form-step h3 { margin-bottom: 0.25rem; }
.form-step h3:focus { outline: none; }
.form-step-intro { color: var(--teal-soft); margin-bottom: 1.5rem; }

.tour-chosen { background: var(--lily-mist); border-radius: var(--radius-small); padding: 0.8rem 1rem; margin-bottom: 1.5rem; font-size: 1rem; }

.field { margin-bottom: 1.35rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label, .field legend { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--teal); }
.field legend { padding: 0; } /* browsers indent a legend slightly; this lines it up with the other labels */
.field .optional { font-weight: 400; color: var(--teal-soft); }
.field-hint { display: block; font-size: 0.95rem; color: var(--teal-soft); margin: -0.2rem 0 0.5rem; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%; min-height: 52px;
  padding: 0.7rem 0.95rem;
  font: inherit; font-size: 1.05rem;
  color: var(--text);
  background: var(--ivory);
  border: 1.5px solid #C9CEDB;
  border-radius: var(--radius-small);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F3D47' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center; background-size: 1.1rem;
  padding-right: 2.6rem;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lily); outline: 3px solid rgba(84, 104, 184, 0.35); outline-offset: 0;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--error); background-color: #FFF5F4; }
.field fieldset[aria-invalid="true"] .choice { border-color: var(--error); }

.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1.5px solid #C9CEDB; border-radius: 999px;
  padding: 0.6rem 1.15rem; min-height: 48px; cursor: pointer; background: var(--ivory);
  font-weight: 500;
}
.choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--lily); margin: 0; }
.choice input:focus-visible { outline: none; }
.choice:has(input:checked) { border-color: var(--lily); background: var(--lily-mist); }
.choice:has(input:focus-visible) { outline: 3px solid var(--lily); outline-offset: 2px; }

.field-error { display: block; color: var(--error); font-size: 0.97rem; font-weight: 500; margin-top: 0.4rem; }
.field-error:empty { display: none; }
.form-error-summary {
  border-left: 4px solid var(--error); background: #FFF5F4;
  padding: 0.8rem 1rem; margin-bottom: 1.25rem; color: var(--error); font-weight: 500;
}
.form-error-summary:empty { display: none; }

.form-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; margin-top: 0.5rem; }
.form-buttons .btn { flex: 1 1 180px; }
@media (min-width: 560px) { .form-buttons .btn { flex: 0 0 auto; } }
.form-buttons--end { justify-content: flex-end; }
.form-privacy { font-size: 0.95rem; color: var(--teal-soft); margin: 1.25rem 0 0; }

.hidden-field { display: none; }
.js .form-step[hidden] { display: none; }

/* =====================================================================
   FOOTER (teal, with the full logo)
   ===================================================================== */
.site-footer { background: var(--teal); color: #C9D6D8; padding: 4rem 0 7rem; font-size: 1rem; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; }
/* Top of the footer: logo and tagline, the "Proudly Australian" badge, and quick contact links */
.footer-top {
  display: grid; gap: 1.75rem; align-items: center;
  padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(249, 246, 238, 0.15);
}
.footer-brand .footer-logo { margin-bottom: 1rem; }
.footer-logo { font-family: var(--font-logo); }
.footer-brand .footer-tagline { margin: 0; max-width: 26rem; }
.footer-quick { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-quick a { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.2rem; font-weight: 600; }
.footer-quick .icon { width: 1.3rem; height: 1.3rem; color: var(--gold); }
@media (min-width: 600px) and (max-width: 959px) {
  .footer-top { grid-template-columns: 1fr auto; column-gap: 2.5rem; }
  .footer-brand { grid-row: span 2; }
}
@media (min-width: 960px) {
  .footer-top { grid-template-columns: 1.4fr 1fr auto; gap: 3rem; }
}
/* Four columns of links: two side by side on tablets and big phones, four on bigger screens */
@media (min-width: 520px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.1fr 1fr 0.9fr 1.2fr; gap: 2.5rem 3rem; } }
.footer-hours { color: #AFC2C5; font-size: 0.95rem; line-height: 1.5; }
/* Footer logo: koala mark beside "Koalanka", with spaced-out gold "HOLIDAYS" underneath */
.footer-logo {
  display: inline-grid; grid-template-columns: auto auto; column-gap: 0.7rem; align-items: center; justify-items: center;
  margin-bottom: 1.25rem; text-decoration: none; line-height: 1;
}
.footer-logo img { grid-row: 1 / 3; width: 72px; height: auto; }
.footer-logo-name { grid-column: 2; align-self: end; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ivory); }
.footer-logo-tag {
  grid-column: 2; align-self: start; margin-top: 0.35rem; padding-left: 0.5em; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold);
}
.site-footer a.footer-logo:hover { text-decoration: none; }
/* "Proudly Australian Owned & Trusted" badge, with the flag (images/flag-australia.svg) */
.footer-badge { display: flex; align-items: center; gap: 0.85rem; margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.3; color: var(--ivory); }
.footer-badge img { flex: none; width: 3.25rem; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
.footer-heading { font-size: 1.05rem; font-weight: 600; color: var(--gold); margin: 0 0 1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
/* Long email addresses can wrap rather than poke out of a narrow footer column */
.footer-list a { overflow-wrap: anywhere; }
.footer-list li { margin-bottom: 0.55rem; }
.footer-list .icon { width: 1rem; height: 1rem; margin-right: 0.45rem; vertical-align: -0.15em; color: var(--gold); }
.privacy-updated { margin-top: 2.5rem; font-size: 0.95rem; color: var(--teal-soft); }
/* Cookie policy page: the line that confirms visitor statistics are turned off */
.notrack-status { padding: 0.8rem 1.1rem; background: var(--lily-mist); border-radius: var(--radius-small); font-weight: 600; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(249, 246, 238, 0.15);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.95rem; color: #AFC2C5;
}
@media (min-width: 960px) { .site-footer { padding-bottom: 2rem; } }

/* =====================================================================
   FLOATING WHATSAPP BUTTON (phones and tablets only)
   ===================================================================== */
.whatsapp-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--teal); color: var(--ivory);
  padding: 0.85rem 1.15rem; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(15, 61, 71, 0.35);
  text-decoration: none; font-weight: 600; font-size: 1rem;
  border: 2px solid var(--gold);
}
.whatsapp-float:hover { color: var(--ivory); background: #164F5C; }
.whatsapp-float .icon { width: 1.35rem; height: 1.35rem; color: var(--gold); }
@media (min-width: 960px) { .whatsapp-float { display: none; } }
.page-contact .whatsapp-float { display: none; }

/* =====================================================================
   THANK-YOU AND 404 PAGES
   ===================================================================== */
.thanks-box { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.thanks-box .lead { margin-left: auto; margin-right: auto; max-width: 40rem; }
.thanks-box .btn-row { justify-content: center; margin-top: 2rem; }

/* =====================================================================
   OPTION 2 DESIGN: THE PHOTO-LED LOOK
   ---------------------------------------------------------------------
   Everything above is the shared Koalanka design. This last part gives
   option 2 its own feel: full-screen photos, a see-through menu bar,
   spaced capital labels, frosted cards and sliding carousels.
   Rules in this part win over the same rules further up.
   The colours and font still come from the ":root" block at the top.
   ===================================================================== */

:root {
  --header-h: 76px;                       /* height of the menu bar */
  --glass: rgba(255, 255, 255, 0.88);     /* frosted white cards */
  --shadow: 0 18px 40px -20px rgba(15, 61, 71, 0.45);
}

/* More icons for this design */
.icon-landmark { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V10M9.5 21V10M14.5 21V10M19 21V10'/%3E%3Cpath d='M2 10l10-6 10 6z'/%3E%3C/svg%3E"); }
.icon-paw { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.5' cy='10' r='1.8'/%3E%3Ccircle cx='9.5' cy='5.5' r='1.8'/%3E%3Ccircle cx='14.5' cy='5.5' r='1.8'/%3E%3Ccircle cx='18.5' cy='10' r='1.8'/%3E%3Cpath d='M12 11c-3 0-5.5 3.2-5.5 6 0 1.7 1.3 3 3 3 1 0 1.6-.5 2.5-.5s1.5.5 2.5.5c1.7 0 3-1.3 3-3 0-2.8-2.5-6-5.5-6z'/%3E%3C/svg%3E"); }
.icon-waves { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2'/%3E%3Cpath d='M2 12c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2'/%3E%3Cpath d='M2 17c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2'/%3E%3C/svg%3E"); }
.icon-hourglass { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12M6 22h12'/%3E%3Cpath d='M7 2v3a5 5 0 0 0 10 0V2'/%3E%3Cpath d='M7 22v-3a5 5 0 0 1 10 0v3'/%3E%3C/svg%3E"); }
.icon-leaf { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20a7 7 0 0 1-7-7c0-5 4-9 16-9 0 12-4 16-9 16z'/%3E%3Cpath d='M4 20c4-4 7-7 11-10'/%3E%3C/svg%3E"); }
.icon-users { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.icon-chevron-left { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E"); }
.icon-chevron-right { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E"); }
.icon-pause { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='5' width='4' height='14' rx='1'/%3E%3Crect x='14' y='5' width='4' height='14' rx='1'/%3E%3C/svg%3E"); }
.icon-play { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='7 4 20 12 7 20 7 4'/%3E%3C/svg%3E"); }

/* A very faint photo behind the whole site: tea country on most pages.
   EDIT ME: "opacity" is how strong it is (0 = none). */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("../images/moment-misty-tea-hills.jpg") center / cover no-repeat;
  background-image: image-set(url("../images/moment-misty-tea-hills.webp") type("image/webp"), url("../images/moment-misty-tea-hills.jpg") type("image/jpeg"));
  opacity: 0.06; filter: saturate(0.5);
}
/* The Discover pages and tour pages show their own photo instead, the same one as the page's banner.
   The class on the page's <body> line picks it, e.g. <body class="wash-wildlife">.
   EDIT ME: to give another page its own faint photo, add a line like these and put the
   class on that page's <body>. */
.wash-discover::before { background-image: url("../images/discover-banner.jpg"); background-image: image-set(url("../images/discover-banner.webp") type("image/webp"), url("../images/discover-banner.jpg") type("image/jpeg")); }
.wash-history::before { background-image: url("../images/discover-history.jpg"); background-image: image-set(url("../images/discover-history.webp") type("image/webp"), url("../images/discover-history.jpg") type("image/jpeg")); }
.wash-beaches::before { background-image: url("../images/discover-beaches.jpg"); background-image: image-set(url("../images/discover-beaches.webp") type("image/webp"), url("../images/discover-beaches.jpg") type("image/jpeg")); }
.wash-wildlife::before { background-image: url("../images/discover-wildlife.jpg"); background-image: image-set(url("../images/discover-wildlife.webp") type("image/webp"), url("../images/discover-wildlife.jpg") type("image/jpeg")); }
.wash-tea::before { background-image: url("../images/discover-tea.jpg"); background-image: image-set(url("../images/discover-tea.webp") type("image/webp"), url("../images/discover-tea.jpg") type("image/jpeg")); }
.wash-shopping::before { background-image: url("../images/discover-shopping.jpg"); background-image: image-set(url("../images/discover-shopping.webp") type("image/webp"), url("../images/discover-shopping.jpg") type("image/jpeg")); }
/* Each tour page shows its own tour photo */
.wash-essential::before { background-image: url("../images/tour-essential-sri-lanka.jpg"); background-image: image-set(url("../images/tour-essential-sri-lanka.webp") type("image/webp"), url("../images/tour-essential-sri-lanka.jpg") type("image/jpeg")); }
.wash-hill-country::before { background-image: url("../images/tour-hill-country.jpg"); background-image: image-set(url("../images/tour-hill-country.webp") type("image/webp"), url("../images/tour-hill-country.jpg") type("image/jpeg")); }
.wash-wildlife-tour::before { background-image: url("../images/tour-wildlife.jpg"); background-image: image-set(url("../images/tour-wildlife.webp") type("image/webp"), url("../images/tour-wildlife.jpg") type("image/jpeg")); }
.wash-archaeology::before { background-image: url("../images/tour-archaeology-cultural.jpg"); background-image: image-set(url("../images/tour-archaeology-cultural.webp") type("image/webp"), url("../images/tour-archaeology-cultural.jpg") type("image/jpeg")); }
.wash-luxury::before { background-image: url("../images/tour-luxury.jpg"); background-image: image-set(url("../images/tour-luxury.webp") type("image/webp"), url("../images/tour-luxury.jpg") type("image/jpeg")); }
.wash-family-beach::before { background-image: url("../images/tour-family-beach.jpg"); background-image: image-set(url("../images/tour-family-beach.webp") type("image/webp"), url("../images/tour-family-beach.jpg") type("image/jpeg")); }
.section--sand { background: rgba(236, 239, 250, 0.82); }

/* ---------- Small spaced-out labels and centred section titles ---------- */
.kicker {
  display: block; margin: 0 0 0.9rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep);
}
.section--green .kicker, .hero .kicker, .page-hero .kicker, .section--photo .kicker { color: var(--gold); }
.section-title { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.section-title .kicker::after { content: ""; display: block; width: 44px; height: 2px; margin: 0.8rem auto 0; background: var(--gold); }
.section-title .lead { margin-left: auto; margin-right: auto; }
.section-title > :last-child { margin-bottom: 0; }
/* A word in a heading picked out in gold, e.g. Why <span class="accent">Koalanka</span>? */
.accent { color: var(--gold-deep); }
.section--green .accent, .section--photo .accent, .hero .accent, .page-hero .accent { color: var(--gold); }
.section-more { text-align: center; margin-top: 2.5rem; }
.btn-row--centre { justify-content: center; }
.hero-controls .container { display: flex; align-items: center; gap: 0.25rem; }

/* The small label above some headings uses the same spaced capitals */
.eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
.section--green .eyebrow, .section--photo .eyebrow { color: var(--gold); }

/* ---------- Menu bar ---------- */
.header-enquire { white-space: nowrap; }
.header-enquire .icon { width: 1rem; height: 1rem; }
@media (max-width: 460px) {
  .header-enquire { padding: 0.55rem 0.85rem; font-size: 0.92rem; }
}
@media (max-width: 414px) {
  .header-enquire { padding: 0.5rem 0.7rem; font-size: 0.82rem; }
  .header-enquire .icon { display: none; }
}
/* Very small phones: the menu and the floating WhatsApp button are enough */
@media (max-width: 359px) { .header-enquire { display: none; } }
@media (min-width: 960px) {
  .site-nav a { font-size: 0.84rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .site-nav a { font-size: 0.76rem; letter-spacing: 0.04em; padding: 0.5rem 0.45rem; }
}
/* Pages that start with a big photo: the menu bar floats see-through over the photo,
   then turns teal as soon as you scroll (js/main.js adds "has-photo-top" and "is-scrolled") */
.has-photo-top .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(8, 33, 39, 0.62) 0%, rgba(8, 33, 39, 0) 100%);
  border-bottom: 0; /* no line under the see-through bar */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.has-photo-top .site-header.is-scrolled,
.has-photo-top .site-header:has(.site-nav.is-open) {
  background: rgba(15, 61, 71, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ---------- Home page: full-screen photo slideshow ---------- */
.hero { min-height: 100vh; min-height: 100svh; align-items: center; }
.hero-content { padding-top: calc(var(--header-h) + 3.5rem); padding-bottom: 6.5rem; }
.hero-slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.is-active { opacity: 1; }
/* Photos that aren't showing yet wait, so the page loads quickly */
.hero-slide:not(.is-active):not(.is-next) { display: none; }
.hero-slide img { transform: scale(1.07); transition: transform 9s ease-out; }
.hero-slide.is-active img { transform: scale(1); }
/* The first photo zooms out too. It waits, slightly zoomed in, until it has fully loaded, then zooms out
   the same way as the others (js/main.js removes "hero--starting"), so the zoom is smooth from the start */
@media (prefers-reduced-motion: no-preference) {
  .hero--starting .hero-slide.is-active img { transform: scale(1.07); transition: none; }
}
.hero::after {
  background:
    linear-gradient(90deg, rgba(8, 33, 39, 0.72) 0%, rgba(8, 33, 39, 0.35) 55%, rgba(8, 33, 39, 0.15) 100%),
    linear-gradient(180deg, rgba(8, 33, 39, 0) 60%, rgba(8, 33, 39, 0.55) 100%);
}
.hero .kicker { color: #FCE9C8; letter-spacing: 0.3em; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
@media (max-width: 599px) { .hero .kicker { font-size: 0.72rem; letter-spacing: 0.16em; } }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1; letter-spacing: -0.025em; max-width: none; }
.hero h1 .accent { display: block; }
.hero .hero-subheading {
  max-width: none; margin: 0 0 1.6rem;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}
/* "In season now" line under the heading */
.hero .hero-season {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0 0 1.1rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
}
.hero-season-label { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--gold); }
.hero-season-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-season-text { padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, 0.45); }
.hero-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 2rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.4rem 1.15rem;
  border: 1.5px solid rgba(255, 255, 255, 0.75); border-radius: 999px;
  color: #fff; text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(8, 33, 39, 0.25);
}
.pill:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.pill--link { border-color: transparent; background: none; color: var(--gold); }
.pill--link:hover { background: none; color: var(--gold-light); }
.pill .icon { width: 1rem; height: 1rem; }
/* Slideshow buttons: one dot per photo, and pause/play */
.hero-controls {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.25rem;
}
.hero-dot { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); transition: width 0.3s ease, background-color 0.3s ease; }
.hero-dot[aria-current="true"]::before { width: 28px; background: var(--gold); }
.hero-pause {
  margin-left: 0.5rem; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.6); background: rgba(8, 33, 39, 0.3); color: #fff;
  display: grid; place-items: center;
}
.hero-pause .icon { width: 0.95rem; height: 0.95rem; }
.no-js .hero-controls { display: none; }

/* ---------- Short statement under the slideshow ---------- */
.intro-strip { padding: clamp(3rem, 7vw, 4.5rem) 0 0; text-align: center; }
.intro-strip p { max-width: 50rem; margin: 0 auto; font-size: 1.25rem; line-height: 1.65; }

/* ---------- "Why Sri Lanka?" numbers ---------- */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem 0; }
.stats li { text-align: center; padding: 0 0.6rem; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-number { font-size: clamp(2.6rem, 4.4vw, 3.6rem); }
  .stats li + li { border-left: 1px solid var(--line); }
}
.stat-number { display: block; font-size: clamp(1.9rem, 8vw, 3.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--gold-deep); }
.stat-number::after { content: ""; display: block; width: 28px; height: 2px; margin: 0.85rem auto; background: var(--gold); }
.stat-label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; line-height: 1.5; text-transform: uppercase; color: var(--teal); }
.stats .icon { display: block; width: 2.3rem; height: 2.3rem; margin: 1.1rem auto 0; color: var(--teal); }

/* ---------- "Why Koalanka?" round photos ---------- */
.why-title { position: relative; }
/* Big outlined words drifting behind the heading (decoration only) */
.ghost-words {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: -1;
  overflow: hidden; white-space: nowrap; pointer-events: none;
  font-size: clamp(4rem, 11vw, 9rem); font-weight: 700; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px rgba(15, 61, 71, 0.12);
}
.ghost-words span { display: inline-block; padding-right: 3rem; animation: ghost-drift 40s linear infinite; }
@keyframes ghost-drift { to { transform: translateX(-50%); } }
.why-circles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.25rem; }
@media (min-width: 700px) { .why-circles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .why-circles { grid-template-columns: repeat(6, 1fr); } }
.why-circles li { text-align: center; }
.why-photo {
  position: relative; display: block; width: min(150px, 100%); aspect-ratio: 1; margin: 0 auto 1.1rem;
  border-radius: 50%; overflow: hidden; border: 4px solid var(--white); box-shadow: var(--shadow);
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo::after { content: ""; position: absolute; inset: 0; background: rgba(8, 33, 39, 0.45); }
.why-photo .icon { position: absolute; inset: 0; z-index: 1; margin: auto; width: 2.1rem; height: 2.1rem; color: #fff; }
.why-number { display: block; font-size: clamp(1.45rem, 4.6vw, 1.9rem); font-weight: 700; line-height: 1.1; color: var(--gold-deep); white-space: nowrap; }
/* The narrowest phones: a little smaller, so "Tailor-made" fits its column */
@media (max-width: 359px) { .why-number { font-size: 1.25rem; } }
.why-circles .stat-label { margin-top: 0.35rem; }

/* ---------- Carousels (destinations and tours) ---------- */
.carousel { position: relative; }
.carousel-track {
  position: relative; /* keeps everything inside the sliding row, so the page never scrolls sideways */
  list-style: none; margin: 0; padding: 0.5rem 0 1.5rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > li { scroll-snap-align: start; display: flex; }
.carousel-track > li > * { flex: 1; }
@media (min-width: 600px) { .carousel-track { grid-auto-columns: calc((100% - 1.25rem) / 2); } }
@media (min-width: 900px) {
  .carousel--dest .carousel-track { grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); }
  .carousel--tours .carousel-track { grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); }
}
.carousel-btn {
  position: absolute; top: 42%; z-index: 2; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--teal); color: var(--ivory); display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(8, 33, 39, 0.3); transition: opacity 0.2s ease;
}
.carousel-btn .icon { width: 1.3rem; height: 1.3rem; }
.carousel-btn--prev { left: -0.9rem; }
.carousel-btn--next { right: -0.9rem; }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 599px) { .carousel-btn { display: none; } }  /* on phones you swipe */
.no-js .carousel-btn { display: none; }
.swipe-hint { text-align: center; font-size: 0.9rem; color: var(--teal-soft); margin: 0; }
@media (min-width: 600px) { .swipe-hint { display: none; } }

/* Destination cards: tall photo with the place name over it */
.dest-card {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius); background: #164F5C; color: #fff; text-decoration: none;
  box-shadow: var(--shadow);
}
.dest-card:hover { color: #fff; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 33, 39, 0) 40%, rgba(8, 33, 39, 0.9) 100%); }
@media (hover: hover) { .dest-card:hover img, .dest-card:focus-visible img { transform: scale(1.05); } }
.dest-text { position: absolute; left: 1.15rem; right: 1.15rem; bottom: 1.1rem; z-index: 1; }
.dest-region { display: block; margin-bottom: 0.3rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.dest-name { display: block; font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.dest-line { display: block; margin-top: 0.3rem; font-size: 0.98rem; line-height: 1.4; color: #E3ECEE; }

/* ---------- Tour cards: frosted, with a small label above the name ---------- */
.tour-card { background: var(--glass); border-color: rgba(220, 223, 234, 0.85); box-shadow: 0 14px 34px -22px rgba(15, 61, 71, 0.5); }
.tour-kicker { margin: 0 0 0.45rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.tour-duration { background: rgba(8, 33, 39, 0.8); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Trip planner ---------- */
.planner-split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .planner-split { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } }
.planner-card { background: var(--glass); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.planner-q { border: 0; margin: 0 0 1.4rem; padding: 0; min-width: 0; }
.planner-q legend { padding: 0; margin-bottom: 0.6rem; font-weight: 600; }
.planner-q legend span { color: var(--teal-soft); font-weight: 400; }
.planner-error { color: var(--error); font-weight: 500; margin: 0 0 1rem; }
.planner-error:empty { display: none; }
.planner-result { margin-top: 1.75rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--lily-mist); }
.planner-result h3 { margin-bottom: 0.4rem; }
.planner-result .tour-price { border-top: 0; padding-top: 0; margin: 0.5rem 0 1rem; }
.planner-result .btn-row { margin-top: 0.5rem; }
.planner-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow); }
@media (max-width: 959px) { .planner-photo { display: none; } }

/* ---------- Photo gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.gallery figure { position: relative; margin: 0; height: 100%; overflow: hidden; border-radius: var(--radius-small); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.5s ease; }
@media (hover: hover) { .gallery figure:hover img { transform: scale(1.04); } }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 0.8rem 0.6rem;
  font-size: 0.85rem; font-weight: 500; line-height: 1.3; color: #fff;
  background: linear-gradient(180deg, rgba(8, 33, 39, 0) 0%, rgba(8, 33, 39, 0.8) 100%);
}

/* ---------- Questions: simple lines with a gold arrow, instead of boxes ---------- */
.faq { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; }
.faq summary { padding: 1.15rem 0; }
.faq summary::after {
  content: ""; width: 0.6rem; height: 0.6rem; margin-right: 0.35rem; border-radius: 0; background: none;
  border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s ease;
}
.faq[open] summary::after { content: ""; background: none; transform: rotate(-135deg) translate(-2px, -2px); }
.faq-answer { padding: 0 0 1.25rem; }
.faq-group > h2 + .faq, .section-title + .faq { border-top: 1px solid var(--line); }

/* ---------- Banners at the top of inner pages: taller, photo-led ---------- */
.page-hero {
  min-height: 62vh; min-height: 62svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 4rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 20ch; }
.page-hero::after { background: linear-gradient(180deg, rgba(8, 33, 39, 0.4) 0%, rgba(8, 33, 39, 0.45) 45%, rgba(8, 33, 39, 0.86) 100%); }
.page-hero .eyebrow { letter-spacing: 0.24em; }
/* A shorter banner (Contact and FAQs), so the content starts sooner */
.page-hero--short { min-height: 46vh; min-height: 46svh; }

/* ---------- Teal band with a photo behind it ---------- */
.section--photo {
  position: relative; color: var(--ivory);
  background-color: var(--teal);
  background-image: linear-gradient(rgba(10, 42, 49, 0.82), rgba(10, 42, 49, 0.9)), url("../images/cta-band.jpg");
  background-image: linear-gradient(rgba(10, 42, 49, 0.82), rgba(10, 42, 49, 0.9)), image-set(url("../images/cta-band.webp") type("image/webp"), url("../images/cta-band.jpg") type("image/jpeg"));
  background-size: cover; background-position: center;
}
.section--photo h2, .section--photo h3 { color: var(--ivory); }
.section--photo .lead { color: #D3DEE0; }
.section--photo :focus-visible { outline-color: var(--gold); }
.section--photo .btn--primary { background: var(--gold); color: var(--teal); }
.section--photo .btn--primary:hover { background: var(--gold-light); color: var(--teal); }
.section--photo .contact-options { margin-top: 2.5rem; }
.section--photo .contact-option { background: rgba(255, 255, 255, 0.94); }

/* ---------- Footer: tagline in gold ---------- */
.footer-tagline { color: var(--gold); font-weight: 500; }
