/* =========================================
   STEP 1 – ROOT VARIABLES & GLOBAL RESET
   ========================================= */

:root {
  --color-primary: #145c32;      /* deep green */
  --color-primary-dark: #0c3a20;
  --color-accent: #f2a93b;       /* warm gold */
  --color-light: #f7f3eb;        /* soft background */
  --color-light-alt: #ffffff;
  --color-text: #1f1f1f;
  --color-muted: #6f757b;

  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius-card: 18px;
  --max-width: 1200px;

  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, sans-serif;
  --font-heading: "Segoe UI Semibold", system-ui, sans-serif;
}

/* Simple reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  margin-top: 0;
  color: var(--color-primary-dark);
}

/* =========================================
   STEP 2 – LAYOUT UTILITIES
   ========================================= */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.section-header p {
  color: var(--color-muted);
}

/* Responsive grid helpers */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
              box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #2b1900;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #f5b651;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Card base */
.card,
.tour-card,
.plan-trip-highlight,
.image-card {
  background: var(--color-light-alt);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
}

/* =========================================
   STEP 3 – HEADER & NAVIGATION
   ========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 34, 22, 0.85);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 52px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #f3f7f4;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a.active::after {
  width: 100%;
}

@media (max-width: 800px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.5rem;
  }
}

/* =========================================
   STEP 4 – HERO SECTION (BACKGROUND IMAGE)
   ========================================= */

.hero {
  position: relative;
  min-height: 75vh;
  color: #ffffff;
  display: flex;
  align-items: center;
}

/* Background-only image (do not use as <img>) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-river.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

/* Dark gradient overlay for readability */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(5, 18, 10, 0.8),
    rgba(10, 40, 20, 0.85)
  );
  z-index: -1;
}

.hero-content {
  max-width: 650px;
  padding: 4rem 0;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.05rem;
  color: #e1efe7;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* =========================================
   STEP 5 – KEY SECTIONS (HOME)
   ========================================= */

/* Intro / pillars section */
.section-intro {
  background: var(--color-light-alt);
}

.section-intro .card h3 {
  margin-bottom: 0.5rem;
}

.section-intro .card p {
  color: var(--color-muted);
}

/* Featured tours */
.section-featured-tours {
  background: var(--color-light);
}

.tour-card h3 {
  margin-bottom: 0.5rem;
}

.tour-card ul {
  padding-left: 1.1rem;
  margin: 0 0 1rem 0;
  color: var(--color-muted);
}

/* Wildlife highlight section using subtle background */
.section-wildlife {
  position: relative;
  background: #07190f;
  color: #ffffff;
}

.section-wildlife .section-header h2 {
  color: #ffffff;
}

.section-wildlife .section-header p {
  color: #d1e7db;
}

.section-wildlife .image-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.section-wildlife .image-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.section-wildlife .image-card figcaption {
  padding-top: 0.75rem;
  font-size: 0.95rem;
}

/* Experiences / stripe section with different background image */
.section-experiences {
  position: relative;
  color: #ffffff;
}

.section-experiences::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-sunset.jpg");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.section-experiences::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 16, 10, 0.9),
    rgba(5, 16, 10, 0.6)
  );
  z-index: -1;
}

.section-experiences .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.section-experiences h2 {
  color: #ffffff;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0 0;
}

.tag {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

/* Plan your trip section, boardwalk background */
.section-plan-trip {
  position: relative;
  color: var(--color-text);
}

.section-plan-trip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-boardwalk.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: -1;
}

.section-plan-trip .plan-trip-highlight {
  background: rgba(255, 255, 255, 0.94);
}

/* Video section */
.section-video {
  background: var(--color-light-alt);
}

.video-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  align-items: center;
}

.video-frame-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 800px) {
  .video-layout {
    grid-template-columns: 1fr;
  }
}

/* Quick enquiry card (if used) */
.enquiry-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  max-width: 520px;
  margin: -2.5rem auto 3rem auto;
}

/* =========================================
   STEP 6 – FOOTER & CONTACT/SOCIAL
   ========================================= */

.site-footer {
  background: #05130b;
  color: #d6e4da;
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr;
}

.footer-inner h3 {
  color: #ffffff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-about p {
  color: #a6b8aa;
  max-width: 420px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #d6e4da;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact p {
  margin: 0 0 0.3rem 0;
  color: #c8d6cd;
  font-size: 0.95rem;
}

/* Social icons */
.footer-social .social-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: flex;
  gap: 0.75rem;
}

.footer-social img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 999px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.5rem;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #9fb2a4;
}

.footer-bottom a {
  color: #cbe3d1;
}

/* Responsive footer layout */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1.6fr 1fr;
  }
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
