:root {
  --nav-height: 60px;
}

header nav {
  height: var(--nav-height);
}

.hero {
  margin-top: calc(var(--nav-height) * -1);
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

/* ===== LINKS ===== */
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: #00796b; /* Accent hover color */
}

/* ===== HEADINGS ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #111;
}

/* ===== CONTAINER (Pro Layout) ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;  /* centers content */
}

/* ===== SECTIONS ===== */
section {
  padding: 60px 0;   /* space top/bottom for luxury feel */
}

/* ================= TOP BAR ================= */
.top-bar {
  display: flex;
  background: #00796b;
  color: #fff;
  font-size: 14px;
  padding: 10px 20px;
}

.top-bar .top-bar-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 790px;
  margin: auto auto;
}

.top-bar p {
  margin: 0;
  flex: 1;
  text-align: center;
  padding: 0 20px;
  font-family: 'Figtree', sans-serif;
}

/* Close button */
.top-bar-close {
  font-size: 48px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s ease;
  line-height: 1; 
  position: relative;
  top: -6px;
  left: -20px;
}

.top-bar-close:hover {
  color: #ffcc00;
}

.top-bar {
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  overflow: hidden;
  max-height: 120px;    /* just enough for your content */
  opacity: 1;
  padding: 10px 20px;   /* original padding */
}

/* Hidden state */
.top-bar.hidden {
  max-height: 0;
  opacity: 0;
  padding: 0 20px;      /* collapse vertical padding */
}

/* ================= NAVIGATION ================= */
header nav {
  display: flex;
  position: relative;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  padding: 0 40px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.2)
  );
  z-index: 3;
}

/* Logo (text or image) */
header .logo a {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* Menu links */
header nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Figtree', sans-serif;
}

header nav ul li {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  transition: background 0.3s ease;
}

header nav ul li:hover {
  background: #000;
}

header nav ul li a {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

header nav ul li a:hover {
  color: #fff;
}

/* ================= SEARCH BAR ================= */

/* Search container */
.search {
  position: relative;
  display: flex;
  align-items: center;
}

/* === Search Icon === */
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: opacity 0.3s ease; /* smooth fade */
}
.search-btn img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}
.search-btn:hover img {
  filter: invert(1) drop-shadow(0 0 6px #fff); /* glowing magnifier */
}
.search-btn.hidden {
  opacity: 0;
  pointer-events: none; /* avoid double clicks */
}

/* === Search Box === */
.search-box {
  width: 0;
  height: 35px;
  border: none;              /* no border */
  outline: none;             /* remove blue outline on focus */
  border-radius: 4px;
  padding: 0;
  background: transparent;   /* hidden when collapsed */
  color: #000;
  font-size: 15px;
  font-family: 'Figtree', sans-serif;
  transition: width 0.4s ease, padding 0.3s ease, background 0.3s ease, opacity 0.3s ease;
  position: relative;
  opacity: 0;
  pointer-events: none;
  flex-shrink: 0;
}
.search-box.active {
  width: 500px;
  padding: 8px 36px 4px 10px;
  background: #fff;          /* clean white box */
  opacity: 1;
  pointer-events: auto;
}
.search-box::placeholder {
  color: #666;
  opacity: 0.8;
  font-size: 20px;
}

/* === Close Button === */
.search-close {
  display: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  border: none;
  background: none;
  cursor: pointer;
  color: #666;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.search-close.visible {
  display: block;
  opacity: 1;
}

/* smooth stage-1: menu fade/slide + logo move */
#navMenu {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.logo {
  transition: margin-right 0.4s ease, transform 0.4s ease;
}

/* Hide nav menu */
nav.search-active #navMenu {
  opacity: 0;
  transform: translateX(-40px);
  pointer-events: none;
}

/* Push logo right next to search */
nav.search-active .logo {
  margin-right: -850px; /* adjust spacing so it sits neatly before search */
  transform: translateX(0); /* keep stable */
}

/* ================= HERO section ================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  z-index: 0;
}

/* Background video + image */
.hero-video,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* Hero text content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  margin-left: 10%;
  text-align: left;
  color: #fff;
}           

/* Title explicitly white */
.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  font-family: 'Cal Sans', sans-serif;
}
.hero-title span {
  font-family: 'Ephesis', cursive;
  font-size: 85px;          /* bigger for handwriting feel */
  font-weight: 400;
  line-height: 1.2;
  color: #ffcc00;           /* keep your gold accent */
  margin-top: 10px;
}
/* Subtitle */
.hero-subtitle {
  font-family: 'Figtree', sans-serif;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  max-width: 500px;
  color: #fff;
}

/* ================= SECONDARY NAV ================= */
.secondary-nav {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.secondary-menu {
  font-family: 'Figtree', sans-serif;
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 60px;
}

.secondary-menu li {
  display: flex;
  align-items: center;
  padding: 0 22px;
  position: relative;
  transition: color 0.3s ease;
}

.secondary-menu a {
  font-size: 14px;
  font-weight: 600;
  color: #356e4c;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

/* Hover effect */
.secondary-menu li:hover a {
  color: #024320;
}

/* Underline hover effect */
.secondary-menu li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #008a27; /* gold accent */
  transition: width 0.3s ease;
}

.secondary-menu li:hover::after {
  width: 100%;
}

/* Active tab */
.secondary-menu li.active a {
  color: #000;
}
.secondary-menu li.active::after {
  width: 100%;
}

/* ================= HIGHLIGHTS SECTION ================= */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  padding: 60px 20%;
  text-align: center;
  background: #fff;
  font-family: 'Figtree', sans-serif;
}

.highlight-icon img {
  width: 80px;
  height: 80px;
  margin: 0 auto 5px;

  /* Disable dragging */
  -webkit-user-drag: none;  /* Safari / old WebKit */
  user-select: none;        /* prevents text selection */
  pointer-events: none;     /* optional: blocks right-click/drag entirely */
}

.highlight-title {
  font-size: 16px;
  font-weight: 700;
  margin: 2px 0;
  color: #2d2d2d;
}

.highlight-text {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  margin-top: 2px;
}

/* ====== EXPERIENCE (Titles) ====== */
.experience-section {
  background: #fff;
  text-align: center;
  padding: 60px 5% 40px;
}

.experience-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Figtree', sans-serif;
}

.experience-subtitle {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 30px;
  color: #555;
  font-family: 'Figtree', sans-serif;
}

/* Grid: 4 per row, but don’t let them stretch too big */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 280px)); /* keep cards smaller */
  gap: 24px;
  justify-content: center;
  margin-bottom: 30px;
}

/* Show only 8 cards for now */
.experience-grid > .place-box:nth-child(n+9) { 
  display: none; 
}

/* Card squares */
.place-box {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.place-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.place-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0) 70%);
  z-index: 1;
}

.place-name {
  position: absolute;
  bottom: 10px;
  left: 12px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  z-index: 2; /* ensures text stays above the overlay */
}

/* Footer nicely separated */
.experience-footer {
  margin-top: 20px;
}

.experience-footer-text {
  font-size: 30px;
  font-weight: 700;
  padding-top: 30px;
  padding-bottom: 60px;
  color: #00796b;
  font-family: 'Figtree', sans-serif;
}

/* ===== WHY BOOK WITH US ===== */
.why-us {
  background: #0b3d2e;
  text-align: center;
  padding: 80px 5%;
}

.why-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 50px;
  padding: 0 0 50px;
  position: relative;
  font-family: 'Figtree', sans-serif;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.feature-box {
  background: #fff;
  border-radius: 8px;
  padding: 0 0 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 260px;
  max-width: 300px;
  height: 620px;
  position: relative;
  box-sizing: border-box;
}

/* Circle icon at top */
.feature-round {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.feature-round img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* Title just under circle */
.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 15px;
  color: #111;
  font-family: 'Figtree', sans-serif;
}

/* Image square in middle */
.feature-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: #ddd;
  margin-bottom: 15px;
}

/* Text block bottom */
.feature-text {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0 12px;
  word-wrap: break-word;
  font-family: 'Figtree', sans-serif;
}

/* ===== EXPLORE TRADING JOURNEYS ===== */
.explore-journeys {
  background: linear-gradient(135deg, #006a3d 0%, #00994c 50%, #00c165 100%);
  color: #fff;
  padding: 80px 5%;
  display: grid;
  grid-template-columns: 38% 1fr;
  column-gap: 48px;
  align-items: start;
}

/* Left column */
.explore-left { align-self: start; }
.explore-variation {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: 'Figtree', sans-serif;
}
.explore-title {
  font-size: clamp(44px, 6vw, 80px);
  color: #ffd500;
  line-height: 0.95;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 18px;
  font-family: 'Cal Sans', sans-serif;
}
.explore-subtitle {
  display: block;
  font-size: 18px;
  line-height: 1.4;
  opacity: 0.9;
  font-family: 'Figtree', sans-serif;
}

/* ===== Right column: infinite sliding row ===== */
.explore-right {
  --gap: 40px;
  --card-w: 280px;
  --card-h: clamp(420px, 70vh, 560px);

  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Inner track that holds all cards in one row */
.explore-right::before,
.explore-right::after {
  content: "";
  flex: 0 0 var(--gap);
}

.explore-right-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: continuousSlide 40s linear infinite;
}

@keyframes continuousSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--shift))); }
}


/* Card */
.journey-card {
  flex: 0 0 var(--card-w);
  height: var(--card-h);
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Gradient overlay */
.journey-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

/* Nights (top-right) */
.card-top {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
}
.trip-nights {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
}

/* Text + button (bottom) */
.card-bottom {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: calc(100% - 44px);
  max-height: 45%;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  font-family: 'Figtree', sans-serif;
}
.trip-desc {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.trip-btn {
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ===== PLAN YOUR TRIP SECTION ===== */
.plan {
  background: #00431f;
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* extra white margins around */
  margin-top: 200px; 
  margin-bottom: 200px;
}

/* Force body background to white so margins show */
body {
  background: #fff;
}

.plan-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: 'Figtree', sans-serif;
}

.plan-title span {
  display: block;
  font-family: 'Ephesis', cursive;
  font-size: 100px;          /* bigger for handwriting feel */
  font-weight: 400;
  line-height: 1.2;
  color: #ffcc00;           /* keep your gold accent */
  margin-top: 10px;
}

.plan-text {
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  max-width: 640px;
  margin: 0 auto 40px;
  font-family: 'Figtree', sans-serif;
}

.plan-btn {
  display: inline-block;
  background: #3f754c;
  font-family: 'Figtree', sans-serif;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  transition: color 0.3s ease;
}


.plan-btn:hover {
  color: #000000;   /* text changes to black on hover */
}
