@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600;1,700;1,800&family=Nunito:wght@300;400;500;600;700;800&display=swap');

/* ─── TOKENS ──────────────────────────────────────── */
:root {
  --ocean:       #0D2535;
  --ocean-deep:  #071520;
  --teal:        #0BBCB8;
  --teal-light:  #2FD4D0;
  --coral:       #E8673C;
  --coral-dark:  #C8501F;
  --mangrove:    #2D5A3D;
  --mangrove-lt: #3D7A54;
  --sand:        #FDF5E6;
  --sand-mid:    #F5E8CC;
  --sand-dark:   #E8D5A3;
  --gold:        #C8952A;
  --gold-light:  #E8B84B;
  --driftwood:   #8B7355;
  --gray:        #5A7080;
  --gray-light:  #8FA3B0;
  --white:       #ffffff;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-sm:   0 2px 12px rgba(13,37,53,.07);
  --shadow-md:   0 6px 28px rgba(13,37,53,.1);
  --shadow-lg:   0 16px 50px rgba(13,37,53,.14);

  --transition:  all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET & BASE ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--sand);
  color: var(--ocean);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── TYPOGRAPHY ──────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ─── ACCENT BAR ──────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--teal), var(--mangrove));
  z-index: 1000;
}

/* ─── NAVBAR ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 3px; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 2rem;
  background: rgba(7, 21, 32, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11,188,184,.1);
  transition: var(--transition);
}

.nav-logo img { height: 160px; width: auto; }

@media (max-width: 767px) {
  .nav-logo img { height: 100px; width: auto; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 30px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 4px 16px rgba(232,103,60,.35);
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--coral-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(232,103,60,.45) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232,103,60,.3);
}
.btn-coral:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,103,60,.4);
  color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--ocean);
  box-shadow: 0 4px 16px rgba(11,188,184,.25);
}
.btn-teal:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,188,184,.35);
  color: var(--ocean);
}

.btn-mangrove {
  background: var(--mangrove);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(45,90,61,.25);
}
.btn-mangrove:hover {
  background: var(--mangrove-lt);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
}
.btn-ghost-light:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
  color: var(--white);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--ocean);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 0.9rem; }
.btn-sm { padding: 0.55rem 1.4rem; font-size: 0.75rem; }

/* ─── SECTION UTILITIES ───────────────────────────── */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--coral);
  flex-shrink: 0;
}

.section-label-teal { color: var(--teal); }
.section-label-teal::before { background: var(--teal); }
.section-label-gold { color: var(--gold); }
.section-label-gold::before { background: var(--gold); }
.section-label-white { color: rgba(255,255,255,.7); }
.section-label-white::before { background: rgba(255,255,255,.5); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray);
  max-width: 560px;
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ocean-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/home-hero-background.jpg') center/cover no-repeat;
  opacity: 0.3;
  animation: heroZoom 24s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(7,21,32,.92) 0%, rgba(7,21,32,.55) 55%, rgba(7,21,32,.15) 100%),
    linear-gradient(to bottom, transparent 40%, rgba(7,21,32,.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 12rem 0 5rem;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold-light);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-style: normal;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero-title-sub {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--teal);
  margin-bottom: 1.8rem;
  font-style: italic;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,.68);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: var(--teal);
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 0.2rem;
}

/* ─── WAVE DIVIDERS ───────────────────────────────── */
.wave { overflow: hidden; line-height: 0; display: block; }
.wave svg { display: block; }

/* ─── PRODUCT CARDS ───────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13,37,53,.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--ocean);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
  padding: 0.5rem;
}

.product-card:hover .product-card-img img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.8rem;
  border-radius: 30px;
  color: var(--white);
  background: var(--coral);
}

.product-badge-mangrove { background: var(--mangrove); }
.product-badge-gold { background: var(--gold); color: var(--ocean); }

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.product-price small {
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gray);
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--ocean);
}

.product-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex: 1;
}

/* ─── ECO TOUR FEATURED ───────────────────────────── */
.eco-tour-card {
  background: linear-gradient(135deg, var(--mangrove) 0%, var(--ocean) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.eco-tour-img {
  position: relative;
  overflow: hidden;
}

.eco-tour-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  mix-blend-mode: luminosity;
}

.eco-tour-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.eco-tour-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45,90,61,.15);
  pointer-events: none;
}

.eco-schedule {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.eco-pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 30px;
  padding: 0.4rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--white);
}

.eco-pricing {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

.eco-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}

.eco-price-row:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.1); }

.eco-price-label { color: rgba(255,255,255,.7); }

.eco-price-val {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-light);
}

/* ─── FEATURES STRIP ──────────────────────────────── */
.features-strip {
  background: var(--ocean);
  padding: 4.5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.feature-item { text-align: center; }

.feature-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(11,188,184,.1);
  border: 1px solid rgba(11,188,184,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.7rem;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: rgba(11,188,184,.2);
  transform: scale(1.08);
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.feature-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

/* ─── LOCATION / MAP ──────────────────────────────── */
.map-section { background: var(--sand-mid); }

.map-embed {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

/* ─── REVIEWS ─────────────────────────────────────── */
.reviews-section { background: var(--white); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(13,37,53,.06);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 0.8rem; letter-spacing: 2px; }

.review-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 1rem;
  font-style: italic;
}

.review-author {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--ocean);
}

.review-date {
  font-size: 0.75rem;
  color: var(--gray-light);
  margin-top: 0.2rem;
}

/* ─── PAGE HERO ───────────────────────────────────── */
.page-hero {
  padding: 14rem 0 5rem;
  background: var(--ocean-deep);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

.page-hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(7,21,32,.9) 40%, transparent 100%);
}

.page-hero > .container { position: relative; z-index: 2; }

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: var(--white);
}

/* ─── CTA BANNER ──────────────────────────────────── */
.cta-banner {
  background: var(--ocean);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(200,149,42,.12) 0%, transparent 65%);
  pointer-events: none;
}

/* ─── WAIVER PAGE ─────────────────────────────────── */
.waiver-frame {
  width: 100%;
  min-height: 80vh;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

/* ─── CONTACT CARDS ───────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13,37,53,.06);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(11,188,184,.08);
  border: 1px solid rgba(11,188,184,.18);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
  transition: var(--transition);
}

.contact-card:hover .contact-icon {
  background: rgba(11,188,184,.15);
  transform: scale(1.05);
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--ocean);
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.contact-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--teal);
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-block;
}

.contact-link:hover { color: var(--ocean); }

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--ocean-deep);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(11,188,184,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-logo img { height: 50px; margin-bottom: 1rem; }

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.42);
  max-width: 240px;
}

.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--teal); }
.footer-col p {
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,.25);
}

/* ─── ANIMATIONS ──────────────────────────────────── */
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.a1 { animation: fadeUp 0.7s 0.05s both; }
.a2 { animation: fadeUp 0.7s 0.2s both; }
.a3 { animation: fadeUp 0.7s 0.35s both; }
.a4 { animation: fadeUp 0.7s 0.5s both; }
.a5 { animation: fadeUp 0.7s 0.65s both; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── MOBILE ──────────────────────────────────────── */
@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    bottom: 0;
    width: 280px;
    background: var(--ocean-deep);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 0.5rem;
    transition: right 0.35s ease;
    border-left: 1px solid rgba(11,188,184,.12);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 0.95rem; padding: 0.75rem 1rem; }
  .nav-hamburger { display: flex; }
  .eco-tour-card { grid-template-columns: 1fr; }
  .eco-tour-img { height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hero-title { font-size: clamp(3rem, 14vw, 5rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
