/* ============================================
   ZAC PRESTON BOAT TOURS — MAIN STYLESHEET
   Palette: Deep Navy, Warm Gold, Natural Green
   ============================================ */

:root {
  --navy: #0f1e36;
  --navy-mid: #1a2f4e;
  --gold: #b8922a;
  --gold-light: #d4a94a;
  --green: #4a5e3a;
  --cream: #f5f0e8;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #666;
  --radius: 4px;
  --shadow: 0 8px 40px rgba(15,30,54,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,30,54,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184,146,42,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold-light); }

.btn-nav {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}

.btn-nav:hover { background: var(--gold-light) !important; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  list-style: none;
  flex-direction: column;
  background: var(--navy);
  padding: 1rem 2rem;
  gap: 1rem;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 40%, var(--green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(184,146,42,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(74,94,58,0.2) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10 V20 H0Z" fill="rgba(255,255,255,0.02)"/></svg>') repeat-x bottom;
  background-size: 200px 40px;
  animation: waves 8s linear infinite;
}

@keyframes waves {
  from { background-position-x: 0; }
  to { background-position-x: 200px; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  animation: fadeUp 1s ease both;
}

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

.hero-logo {
  width: 180px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.btn-secondary:hover { border-color: var(--gold-light); background: rgba(184,146,42,0.15); }

.hero-scroll-hint {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* SECTIONS */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
}

/* TOURS */
.tours-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.tour-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 60px rgba(15,30,54,0.2);
}

.tour-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy-mid), var(--green));
}

.tour-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy-mid), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.tour-card-body {
  padding: 1.5rem;
}

.tour-card-body h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.tour-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.tour-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}

.tour-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  min-height: 300px;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ABOUT */
.about-section {
  background: var(--cream);
  padding: 6rem 2rem;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  max-width: 360px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  right: 20px; bottom: 20px;
  border: 3px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: var(--navy);
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* GALLERY */
.gallery-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.gallery-item {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  background: var(--navy-mid);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-style: italic;
}

/* CONTACT */
.contact-section {
  background: var(--navy);
  padding: 6rem 2rem;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-text .section-label { color: var(--gold-light); }

.contact-text h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-text > p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.contact-item:hover { color: var(--gold-light); }

.contact-icon {
  font-size: 1.2rem;
  width: 2rem;
  text-align: center;
}

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  width: 100%;
  transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-form select option {
  background: var(--navy);
  color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-success {
  text-align: center;
  color: #7dd3a8;
  font-weight: 600;
  padding: 0.75rem;
  background: rgba(125,211,168,0.1);
  border-radius: var(--radius);
}

/* FOOTER */
.footer {
  background: #070f1d;
  text-align: center;
  padding: 3rem 2rem;
  color: rgba(255,255,255,0.5);
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.footer-small {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image::before { display: none; }
  .about-image img { max-width: 100%; }

  .hero-logo { width: 140px; }
}
