/* ============================================
   PRARA CEYLON — LUXURY DARK THEME
   ============================================ */
:root {
  --cream: #FBF8F1;
  --navy: #1A2B3C;
  --midnight: #0A1526;
  --navy-soft: #3A4A5A;
  --teal: #2C6E6B;
  --teal-dark: #22534F;
  --gold: #C6A15B;
  --gold-light: #E2C98F;
  --white: #FFFFFF;
  --font-body: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max: 1240px;
  --shadow: 0 8px 32px rgba(26, 43, 60, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: 1.3rem; font-family: var(--font-body); font-weight: 500; }
p { margin: 0 0 1.15em; max-width: 66ch; }
a { color: var(--teal-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 16px 34px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ============ HEADER & DETACHED LOGO ============ */
.site-header { 
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; 
  height: 110px; 
  background: transparent; 
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, height 0.4s ease, border 0.4s ease;
  overflow: visible; /* Allows the logo to float outside the header */
}
.site-header.scrolled, .site-header.solid-dark {
  background: var(--midnight); 
  height: 90px; 
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

/* The container: logo + nav + actions sit together as one centred group */
.header-inner { 
  position: relative;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 36px;
  height: 100%; 
}

/* ============ THE DETACHED FLOATING LOGO ============ */
/* Menu + buttons stay truly centred; the logo is positioned to the left of them,
   in front of everything, hanging below the bar, constant size. */
.brand { 
  position: absolute; 
  top: 12px; 
  right: calc(50% + 410px);   /* sits just left of the centred menu */
  width: max-content;         /* stops the logo being squeezed by the right offset */
  z-index: 99999; 
  display: block; 
  text-decoration: none; 
}
@media (min-width: 1500px) { .brand { right: calc(50% + 600px); } }  /* nudged further left, clear of page content */
@media (min-width: 981px) and (max-width: 1199px) {
  .brand { right: auto; left: 16px; }
  .header-inner { justify-content: flex-end; padding-left: 230px; gap: 0; }
}

.brand img {
  height: 170px; 
  width: auto;
  max-width: none;
  display: block;
  filter: drop-shadow(0px 6px 14px rgba(0,0,0,0.6));
}

/* Navigation Links */
.nav { display: flex; gap: 30px; flex-wrap: wrap; }
.nav a { color: var(--white); text-decoration: none; font-size: 0.95rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; transition: all 0.3s ease; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* Header Actions (Phone & Button) */
.header-actions { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  margin-left: 40px; /* Space between nav and buttons */
}
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.4s ease; }
.header-phone:hover { color: var(--gold); }
.header-actions .btn { min-height: 48px; padding: 12px 26px; font-size: 0.85rem; }
.header-actions .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.header-actions .btn-outline:hover { background: var(--white); color: var(--midnight); border-color: var(--white); }

/* ============ HERO VIDEO ============ */
.hero { 
  position: relative; height: 100vh; height: 100svh; width: 100%; overflow: hidden; background: var(--midnight); 
  margin: 0; padding: 0;
}
.hero-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.hero::after { 
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(10,22,34,0.85) 0%, rgba(10,22,34,0.3) 50%, rgba(10,22,34,0.4) 100%); 
}
.hero-content { 
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; 
  justify-content: center; align-items: center; text-align: center;
  padding: 0 24px; max-width: var(--max); margin: 0 auto; width: 100%; 
}
.hero-content .eyebrow { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); font-weight: 400; margin-bottom: 16px; }
.hero-content h1 { color: var(--white); max-width: 16ch; text-shadow: 0 4px 24px rgba(0,0,0,0.4); margin-bottom: 0.4em; }
.hero-content p { color: rgba(255,255,255,0.95); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 52ch; margin-bottom: 32px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 5;
  color: rgba(255,255,255,0.8); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; animation: bounce 2s infinite;
}
.scroll-indicator svg { width: 24px; height: 24px; }
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* ============ VIDEO 2 SECTION ============ */
.video-section {
  width: 100%; height: 100vh; height: 100svh; position: relative; overflow: hidden; background: var(--midnight);
  margin: 0; padding: 0; border: none;
}
.video-section video {
  width: 100%; height: 100%; object-fit: cover;
}
.video-section .video-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-align: center; padding: 24px;
}
.video-section .video-overlay h2 { font-size: clamp(2rem, 5vw, 3rem); text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* ============ TRUST BAR ============ */
.trust { 
  background: var(--white); 
  margin-top: -50px; 
  position: relative; 
  z-index: 10; 
  border-radius: 16px; 
  box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
  max-width: var(--max); 
  margin-left: auto; 
  margin-right: auto; 
  padding: 24px; 
  width: calc(100% - 48px);
}
.trust-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 0.9rem; font-weight: 400; text-align: center; color: var(--navy-soft); padding: 6px; }
.trust-item svg { flex-shrink: 0; color: var(--gold); }

/* ============ WIDESCREEN CAROUSEL ============ */
.image-carousel-section {
  padding: clamp(72px, 10vw, 120px) 0; 
  background: var(--midnight); 
  text-align: center;
}
.image-carousel-section .eyebrow { color: var(--gold); }
.image-carousel-section h2 { color: var(--white); }
.carousel-container {
  position: relative; width: 95vw; max-width: 1800px; left: 50%; transform: translateX(-50%); 
  height: 80vh; min-height: 600px; margin-top: 50px; border-radius: 20px; 
  overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.6); background: var(--navy);
}
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ============ PAGE HEROES ============ */
.page-hero {
  position: relative; height: 60vh; min-height: 500px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center; margin-top: 0;
  overflow: hidden; background-color: var(--midnight);
}
.page-hero video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.page-hero::after { 
  content: ""; position: absolute; inset: 0; background: rgba(10, 22, 34, 0.5); 
  z-index: 2;
}
.page-hero-content { position: relative; z-index: 3; max-width: 800px; padding: 0 24px; }
.page-hero-content h1 { color: var(--white); text-shadow: 0 4px 20px rgba(0,0,0,0.5); margin-bottom: 10px; }
.page-hero-content p { color: var(--gold-light); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.1em; }

.glance-bar {
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow); display: flex; justify-content: space-around; flex-wrap: wrap;
  padding: 24px; margin: -50px auto 60px; position: relative; z-index: 10; max-width: 1000px; width: calc(100% - 48px); text-align: center;
}
.glance-item { padding: 10px 20px; }
.glance-item span { display: block; font-size: 0.85rem; text-transform: uppercase; color: var(--navy-soft); letter-spacing: 0.1em; margin-bottom: 4px; }
.glance-item strong { font-size: 1.2rem; color: var(--teal-dark); font-family: var(--font-display); }

.section-dark { background: var(--midnight); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .lead { color: rgba(255,255,255,0.8); }

.inclusions-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.inc-box { background: var(--white); padding: 40px; border-radius: 16px; box-shadow: var(--shadow); color: var(--navy); }
.inc-box h3 { border-bottom: 2px solid var(--gold); padding-bottom: 15px; margin-bottom: 20px; color: var(--navy); }
.inc-list { list-style: none; padding: 0; margin: 0; }
.inc-list li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 1.05rem; }
.inc-list.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: bold; font-size: 1.2rem; }
.inc-list.no li::before { content: "✕"; position: absolute; left: 0; color: #C0392B; font-weight: bold; font-size: 1.2rem; }

.itinerary-list { margin-top: 40px; }
.itinerary-item {
  background: var(--white); border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  margin-bottom: 16px; overflow: hidden; border-left: 4px solid var(--teal); color: var(--navy);
}
.itinerary-item summary {
  padding: 24px; cursor: pointer; font-weight: 500; font-size: 1.15rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between; transition: background 0.2s;
}
.itinerary-item summary::-webkit-details-marker { display: none; }
.itinerary-item summary:hover { background: #fdfcf9; }
.itinerary-item summary .day-num { color: var(--gold); font-family: var(--font-display); font-size: 1.4rem; margin-right: 20px; min-width: 80px; }
.itinerary-item summary .plus-icon { color: var(--teal); font-size: 1.5rem; font-weight: 300; transition: transform 0.3s; }
.itinerary-item[open] summary .plus-icon { transform: rotate(45deg); }
.itinerary-content { padding: 0 24px 24px 124px; color: var(--navy-soft); border-top: 1px solid rgba(0,0,0,0.05); margin-top: 10px; padding-top: 20px; }

.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-teal { background: var(--teal); color: var(--white); }
.section-teal h2, .section-teal p { color: var(--white); }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 14px; }
.section-teal .eyebrow { color: var(--gold-light); }
.lead { font-size: 1.15rem; color: var(--navy-soft); line-height: 1.8; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.photo-frame { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: #DCD3C0; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 56px; }
.feature { background: var(--white); border-radius: 16px; padding: 36px 28px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.feature .icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(44,110,107,0.1); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 500; }
.feature p { font-size: 0.98rem; color: var(--navy-soft); margin: 0; }

.tour-card { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); margin-top: 48px; }
.tour-card-photo { position: relative; overflow: hidden; min-height: 340px; }
.tour-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.tour-card-body { padding: clamp(32px, 5vw, 52px); }
.tour-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pill { display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(198,161,91,0.15); color: #7A5E28; font-size: 0.82rem; font-weight: 500; }
.tour-price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--teal-dark); margin: 16px 0 8px; }
.tour-price small { display: block; font-family: var(--font-body); font-size: 0.95rem; font-weight: 300; color: var(--navy-soft); }
.inclusions { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 0.92rem; color: var(--navy-soft); }
.inclusions li::before { content: "✓"; color: var(--teal); font-weight: 600; margin-right: 8px; }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.price-card { background: var(--white); border-radius: 16px; padding: 36px 28px; box-shadow: var(--shadow); text-align: center; border-bottom: 3px solid var(--gold); }
.price-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; font-weight: 500; }
.price-card .season { font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-dark); font-weight: 500; margin-bottom: 16px; }
.price-card .price { font-family: var(--font-display); font-size: 2rem; color: var(--navy); font-weight: 500; }
.price-card .note { font-size: 0.9rem; color: var(--navy-soft); margin-top: 12px; }

.cta-final { text-align: center; }
.cta-final p { margin-left: auto; margin-right: auto; }
.contact-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 36px; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 16px 32px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.5); color: var(--white); text-decoration: none; font-weight: 500; font-size: 1rem; transition: all 0.25s; }
.contact-link:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 64px 0 36px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.site-footer h4 { color: var(--white); font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 16px; }
.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info-box { background: var(--white); padding: 40px; border-radius: 16px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.contact-info-box h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 20px; color: var(--navy); }
.contact-detail { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.contact-detail svg { color: var(--teal); flex-shrink: 0; margin-top: 4px; }
.contact-detail strong { display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy-soft); margin-bottom: 4px; }
.contact-detail a, .contact-detail span { font-size: 1.2rem; color: var(--navy); text-decoration: none; font-weight: 500; }
.contact-detail a:hover { color: var(--teal-dark); text-decoration: underline; }
.contact-form { background: var(--white); padding: 40px; border-radius: 16px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--navy); font-size: 1rem; }
.form-control { width: 100%; padding: 16px; font-family: var(--font-body); font-size: 1rem; color: var(--navy); background: var(--cream); border: 2px solid transparent; border-radius: 8px; transition: border-color 0.2s, background 0.2s; }
.form-control:focus { outline: none; border-color: var(--teal); background: var(--white); }
textarea.form-control { min-height: 150px; resize: vertical; }
.radio-group { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.radio-label { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--cream); border-radius: 8px; cursor: pointer; transition: background 0.2s, border-color 0.2s; border: 2px solid transparent; }
.radio-label:hover { background: #f0ebe1; }
.radio-label input[type="radio"] { width: 24px; height: 24px; accent-color: var(--teal); cursor: pointer; }
.radio-label span { font-size: 1.05rem; color: var(--navy); font-weight: 500; }

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav { display: none; } 
  .header-actions { width: 100%; justify-content: space-between; padding-bottom: 12px; margin-left: 0; }
  .split, .tour-card, .pricing-grid, .footer-grid, .inclusions-wrapper, .contact-grid { grid-template-columns: 1fr; }
  .video-section { height: 100vh; height: 100svh; } 
  .trust { margin-top: -30px; }
  .carousel-container { width: 100vw; height: 60vh; min-height: 450px; border-radius: 12px; }
  .itinerary-content { padding-left: 24px; }
  .itinerary-item summary { font-size: 1rem; flex-wrap: wrap; }
  
  /* Mobile Header & Logo */
  .site-header { height: 100px; }
  .site-header.scrolled, .site-header.solid-dark { height: 75px; }
  .header-inner { padding-left: 140px; justify-content: flex-end; }
  
  .brand { position: absolute; left: 16px; right: auto; top: 8px; margin-top: 0; }
  .brand img { height: 100px; }
}

/* ============ MOBILE MENU ============ */
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
@media (max-width: 980px) {
  .site-header, .site-header.scrolled, .site-header.solid-dark { height: 80px; }
  .header-inner { padding-left: 130px; padding-right: 8px; justify-content: flex-end; gap: 6px; }
  .brand { top: 6px; left: 12px; }
  .brand img { height: 100px; }

  /* phone shows as a round icon only; Enquire lives in the menu (Contact) */
  .header-actions { width: auto; margin-left: 0; padding-bottom: 0; order: 2; }
  .header-actions .btn { display: none; }
  .header-phone { font-size: 0; gap: 0; width: 48px; height: 48px; justify-content: center; border: 1px solid rgba(255,255,255,0.45); border-radius: 50%; }
  .header-phone svg { width: 22px; height: 22px; }

  .nav-toggle { display: inline-flex; order: 3; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.45); border-radius: 50%; cursor: pointer; }
  .site-header.nav-open .nav-toggle .i-open { display: none; }
  .site-header.nav-open .nav-toggle .i-close { display: block; }

  .nav { display: none; }
  .site-header.nav-open { background: var(--midnight); }
  .site-header.nav-open .nav {
    display: flex; flex-direction: column; gap: 0; flex-wrap: nowrap;
    position: fixed; top: 80px; left: 0; right: 0;
    max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto;
    background: var(--midnight); padding: 30px 24px 24px;
    border-top: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 30px rgba(0,0,0,0.4);
  }
  .site-header.nav-open .nav a { font-size: 1.15rem; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .site-header.nav-open .nav a[aria-current="page"] { color: var(--gold); border-bottom-color: rgba(255,255,255,0.1); }
}
