/* TallBoy Sport Fisher — Stylesheet */

:root {
  --navy: #0b2545;
  --deep: #13315c;
  --ocean: #1d6aa8;
  --sky: #8ecae6;
  --sun: #f4a261;
  --sand: #f6f1e7;
  --ink: #0d1b2a;
  --muted: #6b7a8f;
  --line: #e3e8ef;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(13, 27, 42, 0.12);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ocean); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 37, 69, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.logo:hover { text-decoration: none; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--sun); color: var(--navy);
  font-weight: 900; letter-spacing: 0.5px;
}
.logo-text { font-size: 1.1rem; }
.primary-nav a {
  color: #d8e6f3; margin: 0 12px; font-weight: 500;
}
.primary-nav a:hover, .primary-nav a.active { color: #fff; text-decoration: none; }
.nav-cta { margin-left: 12px; }

/* Buttons */
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.15s ease;
  text-decoration: none;
}
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-primary { background: var(--sun); color: var(--navy); }
.btn-primary:hover { background: #ffb072; text-decoration: none; }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; text-decoration: none; }
.btn-ghost {
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); text-decoration: none; }

/* Hero */
.hero {
  position: relative; min-height: 78vh; color: #fff;
  /*background-image: url('https://images.unsplash.com/photo-1502920917128-1aa500764cbd?auto=format&fit=crop&w=2000&q=80');*/
  background-image: url('../img/boat-running.jpg');
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,37,69,0.55) 0%, rgba(11,37,69,0.85) 100%);
}
.hero-content { position: relative; padding: 80px 24px; max-width: 820px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 3px; color: var(--sun);
  font-weight: 700; font-size: 0.85rem; margin: 0 0 14px 0;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1; margin: 0 0 18px 0;
}
.lede { font-size: 1.15rem; max-width: 640px; opacity: 0.95; }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Features */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px; padding: 80px 24px;
}
.feature-card {
  background: var(--sand); border-radius: var(--radius);
  padding: 26px; text-align: center;
}
.feature-icon { font-size: 2.2rem; margin-bottom: 10px; }
.feature-card h3 { margin: 6px 0 8px 0; }
.feature-card p { color: var(--muted); margin: 0; }

/* Split section */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: stretch; min-height: 480px;
}
.split-image { background-size: cover; background-position: center; }
.split-text {
  padding: 70px 60px; background: var(--navy); color: #fff;
}
.split-text h2 { margin-top: 0; font-size: 2.2rem; }
.checklist { list-style: none; padding: 0; margin: 16px 0 0 0; }
.checklist li {
  padding: 8px 0 8px 32px; position: relative;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--sun); font-weight: 900;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split-image { min-height: 320px; }
  .split-text { padding: 40px 24px; }
}

/* Trips */
.section-title {
  text-align: center; font-size: 2rem; margin: 0 0 32px 0;
}
.trips { padding: 80px 24px; }
.trip-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.trip-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  text-align: center; position: relative;
  box-shadow: var(--shadow);
}
.trip-card.featured { border-color: var(--sun); transform: translateY(-6px); }
.trip-card .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--sun); color: var(--navy);
  padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
}
.trip-card h3 { margin: 0 0 8px 0; }
.trip-price { font-size: 1.7rem; font-weight: 800; color: var(--navy); margin: 6px 0 12px 0; }

/* Gallery preview */
.gallery-preview { padding: 40px 24px 80px; }
.preview-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px; margin-bottom: 28px;
}
.preview-tile {
  display: block; aspect-ratio: 1 / 1;
  background-size: cover; background-position: center;
  border-radius: var(--radius);
  transition: transform 0.2s ease;
}
.preview-tile:hover { transform: scale(1.02); }

/* Contact */
.contact {
  background: var(--navy); color: #fff;
  padding: 60px 0; text-align: center;
}
.contact .section-title { color: #fff; }
.contact a { color: var(--sun); }
.contact-line { font-size: 1.1rem; margin: 8px 0; }

/* Footer */
.site-footer { background: var(--ink); color: #aab7c4; padding: 22px 0; font-size: 0.92rem; }
.footer-wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.site-footer a { color: #d8e6f3; }

/* Page subhero */
.page-hero {
  background: var(--navy); color: #fff; padding: 70px 0 50px;
  text-align: center;
}
.page-hero h1 { margin: 0 0 8px 0; font-size: 2.4rem; }
.page-hero p { margin: 0; opacity: 0.85; }

/* Booking page */
.booking-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 60px 24px;
}
@media (max-width: 900px) {
  .booking-wrap { grid-template-columns: 1fr; }
}
.calendar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.cal-header button {
  background: var(--sand); border: none; padding: 8px 12px; border-radius: 8px;
  cursor: pointer; font-weight: 600;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.cal-grid .dow {
  text-align: center; font-size: 0.78rem; font-weight: 700;
  color: var(--muted); padding: 6px 0;
}
.cal-day {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; cursor: pointer; font-weight: 600;
  background: var(--sand);
}
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.past { color: #c8d0d8; cursor: not-allowed; background: #f5f7fa; }
.cal-day.booked { background: #ffd6cf; color: #b1322a; cursor: not-allowed; position: relative; }
.cal-day.booked::after {
  content: "•"; position: absolute; bottom: 2px; font-size: 0.6rem;
}
.cal-day.selected { background: var(--sun); color: var(--navy); }
.cal-day:not(.past):not(.booked):not(.empty):hover { background: var(--sky); color: var(--navy); }

.booking-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.booking-form h2 { margin-top: 0; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 1rem; font-family: inherit;
}
.field textarea { min-height: 90px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-block { width: 100%; }
.success-msg, .error-msg {
  padding: 12px 14px; border-radius: 10px; margin-bottom: 14px;
}
.success-msg { background: #d8f5dc; color: #1d643a; }
.error-msg { background: #ffe1de; color: #99231d; }
.calendar-links {
  margin-top: 16px; padding: 14px; background: var(--sand);
  border-radius: 10px; font-size: 0.92rem;
}
.calendar-links a { display: inline-block; margin-right: 12px; }

/* Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px; padding: 50px 24px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  background: var(--sand);
}
.gallery-item img {
  width: 100%; height: 280px; object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .caption {
  padding: 12px 14px; font-size: 0.92rem; color: var(--muted);
}

/* Admin */
.admin-shell { padding: 40px 24px 80px; }
.admin-section {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow);
}
.admin-section h2 { margin-top: 0; }
.admin-table {
  width: 100%; border-collapse: collapse; margin-top: 12px;
}
.admin-table th, .admin-table td {
  text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.admin-table th { background: var(--sand); }
.btn-sm { padding: 6px 12px; font-size: 0.86rem; }
.btn-danger { background: #dc3545; color: #fff; }
.btn-danger:hover { background: #c82333; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.tag-new { background: #d8f5dc; color: #1d643a; }
.tag-confirmed { background: #d6e4ff; color: #1d3a7a; }

.login-card {
  max-width: 380px; margin: 80px auto; padding: 32px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
