/* ============================================================
   RIVERSIDE TOURS — Shared Stylesheet
   Tropical/Tiki | Manatee River | Palmetto, FL
   ============================================================ */

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

/* ── TOKENS ── */
:root {
  --teal:       #1B4D5C;
  --teal-dark:  #122E38;
  --teal-light: #2A6A7F;
  --bamboo:     #C8A96E;
  --bamboo-lt:  #E8D5A8;
  --coral:      #E8724A;
  --canvas:     #FDF8F0;
  --canvas-dk:  #F4EDE0;
  --charcoal:   #1A1A1A;
  --mid:        #4A4A4A;
  --muted:      #7A7A7A;
  --white:      #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:   8px;
  --radius-lg: 16px;
  --shadow:   0 4px 24px rgba(27,77,92,0.12);
  --shadow-lg:0 8px 48px rgba(27,77,92,0.18);
  --max-w:    1200px;
  --section-pad: 80px 24px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NAVIGATION ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--teal-dark);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bamboo);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.nav-logo span { display: block; font-size: 0.65rem; font-weight: 400; color: var(--bamboo-lt); letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-body); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 8px 12px;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--bamboo); }
.nav-links .nav-book a {
  background: var(--coral);
  color: var(--white);
  padding: 8px 18px;
  font-weight: 600;
}
.nav-links .nav-book a:hover { background: #D4603A; }

.nav-phone {
  font-size: 0.85rem;
  color: var(--bamboo-lt);
  font-weight: 500;
}
.nav-phone a { color: var(--bamboo); font-weight: 600; }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--teal-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 50%, #2A7A5C 100%);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

/* Water ripple signature */
.hero-water {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  overflow: hidden;
}
.hero-water svg { width: 100%; height: 100%; }
.wave1 { animation: wave 8s linear infinite; }
.wave2 { animation: wave 12s linear infinite reverse; opacity: 0.5; }
@keyframes wave {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px 120px;
  max-width: 820px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bamboo);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background: var(--bamboo);
  opacity: 0.6;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero h1 em {
  font-style: italic;
  color: var(--bamboo);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  margin: 20px 0 36px;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bamboo-lt);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-badge::before {
  content: '✦';
  color: var(--bamboo);
  font-size: 0.6rem;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: #D4603A; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-light); }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* ── BAMBOO STRIP ── */
.bamboo-strip {
  background: var(--bamboo);
  padding: 14px 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── SECTIONS ── */
.section { padding: var(--section-pad); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-lead {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 640px;
  margin-bottom: 48px;
}
.section-alt { background: var(--canvas-dk); }
.section-dark { background: var(--teal-dark); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-title em { color: var(--bamboo); }
.section-dark .section-lead { color: rgba(255,255,255,0.75); }

/* ── TOUR CARDS ── */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tour-card-img {
  height: 220px;
  background: var(--teal);
  position: relative;
  overflow: hidden;
}
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; }
.tour-card-img .tour-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
}
.tour-card-img .tour-tag.family { background: var(--teal); }
.tour-card-img .tour-tag.charter { background: var(--bamboo); color: var(--teal-dark); }

.tour-card-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.tour-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.tour-card-meta span { display: flex; align-items: center; gap: 5px; }
.tour-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.tour-card p { font-size: 0.9rem; color: var(--mid); flex: 1; margin-bottom: 20px; }
.tour-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 16px;
}
.tour-price small { font-family: var(--font-body); font-size: 0.8rem; color: var(--muted); font-weight: 400; }

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.feature {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200,169,110,0.2);
}
.feature-icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bamboo);
  margin-bottom: 8px;
}
.feature p { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--teal);
  padding: 40px 24px;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--bamboo);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px; left: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--bamboo);
  opacity: 0.3;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--mid);
  font-style: italic;
  margin-bottom: 16px;
  padding-top: 16px;
}
.testimonial-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stars { color: #F5A623; font-size: 0.85rem; margin-bottom: 10px; }

/* ── LOCATION ── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 360px;
  background: var(--teal);
}
.location-map iframe { width: 100%; height: 100%; border: none; }
.location-details { }
.location-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.location-row .icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.location-row h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 4px;
}
.location-row p, .location-row a {
  font-size: 0.95rem;
  color: var(--mid);
}
.location-row a:hover { color: var(--teal); }

/* ── REVIEWS CTA ── */
.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.review-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-dark);
  transition: transform 0.15s;
}
.review-link:hover { transform: translateY(-2px); }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(200,169,110,0.08);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(232,114,74,0.1);
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section h2 em { font-style: italic; color: var(--bamboo); }
.cta-section p { color: rgba(255,255,255,0.78); margin-bottom: 36px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--bamboo);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.social-link:hover { background: var(--teal); }

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: var(--bamboo); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--bamboo); }

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 64px 24px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero h1 em { font-style: italic; color: var(--bamboo); }
.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.breadcrumb a { color: var(--bamboo); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── FAQ ── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--canvas-dk);
  margin-bottom: 4px;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--coral);
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p {
  padding-bottom: 20px;
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.75;
}

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--teal);
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.tall { grid-row: span 2; }

/* ── CONTACT FORM ── */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--canvas-dk);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--teal);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px 20px; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--teal-dark); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-phone { display: none; }

  .hero-badges { gap: 14px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .tours-grid { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  *, .fade-up, .wave1, .wave2 { animation: none !important; transition: none !important; }
}
