/* =============================================
   CLOUD 9 — Australian Adventure Rentals
   Global Stylesheet — v8

   Palette: Outback Dusk
     Dark:    #1E2732
     Amber:   #B45309
     Gold:    #D4A039
     Olive:   #6B7B3D
     Light:   #F5F0E8
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:       #1E2732;
  --navy-light: #2D3A48;
  --navy-deep:  #141B24;
  --amber:      #B45309;
  --amber-light:#CC6A1E;
  --amber-dark: #8F4207;
  --olive:      #6B7B3D;
  --olive-light:#7F9148;
  --olive-dark: #576532;
  --gold:       #D4A039;
  --gold-light: #E2B656;
  --gold-dark:  #B8882E;
  --tan:        #D4B896;
  --tan-light:  #E2CEAF;
  --sand:       #F5F0E8;
  --sand-light: #FAF8F4;
  --charcoal:   #141B24;

  /* Neutrals */
  --white:      #FFFFFF;
  --off-white:  #F5F2EC;
  --light-gray: #DDD5C8;
  --gray:       #887E72;
  --dark:       #141B24;
  --gray-100:   #F5F2EC;
  --gray-200:   #DDD5C8;
  --gray-300:   #B8AFA2;
  --gray-400:   #887E72;
  --gray-500:   #635B50;
  --gray-600:   #46403A;

  /* Functional */
  --text-primary:   #1E2220;
  --text-secondary: #4A463F;
  --text-muted:     #7A756D;
  --border-light:   rgba(30, 39, 50, .1);
  --border-medium:  rgba(30, 39, 50, .18);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--sand-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
p  { font-size: 1rem; color: var(--text-secondary); }

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--navy);
  position: relative;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* gold bar underline accent */
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--gold);
  margin: .8rem auto 0;
  border-radius: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .9rem 2.2rem;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all .3s ease;
  border: 2px solid transparent;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 4px;
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,160,57,.3);
}
.btn-outline {
  border-color: rgba(255,255,255,.6);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,39,50,.3);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(20, 27, 36, .97);
  backdrop-filter: blur(12px);
  padding: .5rem 0;
  transition: all .3s ease;
  border-bottom: 2px solid var(--amber);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: color .3s;
  position: relative;
  padding: .25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none; border: none;
}
.hamburger span {
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 1px;
  transition: all .3s;
}

/* mobile nav */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--charcoal);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right .35s ease;
    border-left: 2px solid var(--amber);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 999;
  }
  .nav-overlay.show { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-light) 100%);
  overflow: hidden;
  padding: 7rem 1rem 4rem;
}
/* gold stripe accent */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 20%, var(--gold) 50%, var(--amber) 80%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-logo {
  width: min(520px, 85vw);
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,.35)) drop-shadow(0 0 8px rgba(255,255,255,.08));
  animation: heroIn .9s ease-out;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(25px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  animation: heroIn .9s ease-out .15s both;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: rgba(255,255,255,.65);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  animation: heroIn .9s ease-out .3s both;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroIn .9s ease-out .45s both;
}

/* floating shapes in hero */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .04;
  animation: drift 25s ease-in-out infinite;
}
.hero-shape:nth-child(1) { width: 500px; height: 500px; background: var(--gold); top: -15%; left: -8%; }
.hero-shape:nth-child(2) { width: 350px; height: 350px; background: var(--tan); bottom: -10%; right: -5%; animation-delay: -8s; }
.hero-shape:nth-child(3) { width: 200px; height: 200px; background: var(--amber); top: 25%; right: 8%; animation-delay: -16s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(25px, -20px) rotate(2deg); }
  66%      { transform: translate(-15px, 12px) rotate(-1deg); }
}

/* ---------- Section Spacing ---------- */
section { padding: 5.5rem 0; }

/* alternating backgrounds — sand / white */
.section-sand { background: var(--sand); }
.section-white { background: var(--white); }

/* ---------- Divider accent ---------- */
.gold-divider {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(30,39,50,.1);
  border-color: var(--gold);
}
.card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--sand) 0%, var(--tan-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .9rem;
}
.card-body { padding: 1.5rem; }
.card-body h3 { color: var(--navy); margin-bottom: .5rem; }
.card-body p { font-size: .95rem; margin-bottom: 1rem; }

/* ---------- Vehicle Grid ---------- */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.vehicle-card .card-img {
  height: 220px;
  position: relative;
}
.vehicle-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 800;
  font-size: .7rem;
  padding: .35rem .9rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}
.spec-tag {
  background: var(--sand);
  border: 1px solid var(--border-light);
  padding: .35rem .75rem;
  border-radius: 4px;
  font-size: .8rem;
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Route Cards ---------- */
.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.route-card .card-img {
  height: 200px;
  position: relative;
}
.route-card .route-duration {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(30,39,50,.9);
  color: var(--gold);
  padding: .35rem .9rem;
  border-radius: 2px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.route-highlights {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin: .75rem 0 1rem;
}
.route-highlights li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-secondary);
}
.route-highlights li::before {
  content: '—';
  color: var(--gold);
  font-weight: 800;
}

/* ---------- How-to Videos ---------- */
.howto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, var(--navy) 0%, var(--charcoal) 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  gap: .6rem;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  border: 1px solid rgba(180,83,9,.2);
}
.play-icon {
  width: 56px; height: 56px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}
.video-placeholder:hover .play-icon {
  background: rgba(212,160,57,.15);
}
.play-icon::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-left: 18px solid var(--gold);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

/* ---------- About / Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}
.team-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: transform .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-card .team-quote {
  margin-top: auto;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.team-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  border: 3px solid var(--gold);
  letter-spacing: .05em;
}
.team-card h3 { color: var(--navy); margin-bottom: .25rem; }
.team-role {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: .8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  min-height: 2.4em;
}
.team-quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
  border-left: 3px solid var(--amber);
  padding-left: 1rem;
  text-align: left;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform .3s, border-color .3s;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.contact-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.contact-icon.whatsapp { background: #25D366; color: white; }
.contact-icon.email    { background: var(--navy); color: var(--gold); }
.contact-icon.insta    { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); color: white; }
.contact-card h3 { color: var(--navy); margin-bottom: .5rem; }
.contact-card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.2rem; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border-light);
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: .8rem; left: 1.2rem;
  font-size: 3.5rem;
  color: var(--gold);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: .25;
}
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: .75rem; letter-spacing: 3px; }
.review-text { font-size: .95rem; color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.65; font-style: italic; }
.review-author { font-weight: 700; color: var(--navy); font-size: .9rem; }
.review-trip { font-size: .8rem; color: var(--text-muted); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4.5rem 1rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--gold));
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--amber));
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cta-banner p { color: rgba(255,255,255,.6); margin-bottom: 2rem; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.5);
  padding: 3rem 0 1.5rem;
  border-top: 3px solid var(--amber);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer h4 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,.5);
  padding: .3rem 0;
  font-size: .9rem;
  transition: color .3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .8rem;
  letter-spacing: .03em;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Utilities ---------- */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.bg-navy   { background: var(--navy); }
.bg-sand   { background: var(--sand); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Selection colour ---------- */
::selection {
  background: var(--gold);
  color: var(--charcoal);
}
