/* ===== Aloha Anglers — style.css ===== */
:root {
  --navy: #0e2a3f;
  --navy-deep: #071c2c;
  --teal: #2ea3a8;
  --teal-bright: #3fc9c9;
  --orange: #f18a2b;
  --sunset: #e8542f;
  --cream: #faf3e3;
  --sand: #f4e7c8;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-weight: 800; letter-spacing: 0.5px; }
h1 em { color: var(--orange); font-style: normal; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(7, 28, 44, 0.25); }

.btn-primary { background: var(--orange); color: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--cream); border: 2px solid var(--cream); }
.btn-ghost-inverse { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-header { background: var(--orange); color: var(--navy-deep); padding: 0.55rem 1.2rem; font-size: 0.9rem; }

.contact .btn-ghost { border-color: rgba(250, 243, 227, 0.85); }
.contact .btn-ghost:hover { background: rgba(250, 243, 227, 0.12); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 5vw;
  background: var(--navy-deep);
  color: var(--cream);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--cream); }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: 1px; color: var(--sand); }
.site-header nav { display: flex; gap: 1.4rem; }
.site-header nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--teal-bright); }

/* ===== Card & boat photos ===== */
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.9rem;
}
.boat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  max-width: 64rem;
  margin: 0 auto;
}
.boat-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(7, 28, 44, 0.14);
}

/* ===== Hero ===== */
.hero {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(7,28,44,0.55) 0%, rgba(7,28,44,0.75) 100%),
    url('../images/boat-hero.jpg') center 30% / cover no-repeat;
  color: var(--cream);
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-shadow: 0 3px 14px rgba(0,0,0,0.45); }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.4rem); margin: 1rem auto 1.8rem; max-width: 46rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Sections ===== */
.section { padding: 4rem 5vw; text-align: center; }
.section-alt { background: var(--sand); background: linear-gradient(180deg, #f4e7c8, #faf3e3); }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.4rem; }
.section-sub { color: #4c6a80; margin-bottom: 2.4rem; font-size: 1.05rem; }

/* ===== Rate cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 60rem;
  margin: 0 auto;
}
.card {
  background: var(--white);
  border-radius: 1.4rem;
  padding: 2.4rem 2rem;
  box-shadow: 0 10px 30px rgba(7, 28, 44, 0.12);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border-top: 6px solid var(--teal);
}
.card-rental { border-top-color: var(--orange); }
.card h3 { font-size: 1.6rem; }
.card-tag {
  color: #157a80;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
}
.card-rental .card-tag { color: #9a4b03; }
.card-details { list-style: none; flex-grow: 1; }
.card-details li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
}
.card-details li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.price { font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.price-note { font-size: 0.95rem; font-weight: 500; color: #4c6a80; margin-left: 0.3rem; }
.price-list { flex-grow: 0; display: flex; flex-direction: column; }
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px dashed #d8cfba;
  color: var(--navy);
  font-weight: 600;
}
.price-line:last-child { border-bottom: none; }
.price-line strong { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.card-note { font-size: 0.85rem; color: #4c6a80; }
.card-note a { color: var(--teal); font-weight: 600; }
.card .btn { text-align: center; }

/* ===== What's included ===== */
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.6rem;
  max-width: 64rem;
  margin: 0 auto;
}
.included-item {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.6rem 1.2rem;
  box-shadow: 0 6px 18px rgba(7, 28, 44, 0.08);
}
.included-item span { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.included-item h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.included-item p { font-size: 0.95rem; color: #4c6a80; }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 70rem;
  margin: 0 auto;
}
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(7, 28, 44, 0.14);
}

.gallery figure { text-align: center; }
.gallery figcaption {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4c6a80;
}

/* ===== Contact ===== */
.contact {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  text-align: center;
  padding: 4rem 5vw;
}
.contact h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.contact p { margin: 0.6rem 0 1.8rem; color: #bcd5df; }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.contact .btn-primary { color: var(--navy-deep); }

/* ===== Booking form ===== */
.booking-form {
  max-width: 52rem;
  margin: 2.6rem auto 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.2rem;
  padding: 1.8rem;
  text-align: left;
}
.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--cream);
  font-size: 0.92rem;
}
.booking-form .optional { font-weight: 400; color: #9db8c4; font-size: 0.85rem; }
.booking-form input,
.booking-form select {
  padding: 0.65rem 0.8rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--white);
  color: var(--navy);
  font-size: 1rem;
  font-family: inherit;
}
.booking-form select:invalid { color: #6b7f8c; }
.booking-form input:focus,
.booking-form select:focus {
  outline: 2px solid var(--teal-bright);
  border-color: var(--teal-bright);
}
.booking-form button { margin-top: 1.4rem; width: 100%; cursor: pointer; border: none; font-size: 1.05rem; }
.booking-form button:disabled { opacity: 0.6; cursor: wait; }
.form-status { margin-top: 1rem; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--teal-bright); }
.form-status.err { color: #ffb3ab; }
.form-consent { display: block; margin-top: 0.6rem; color: #9db8c4; font-size: 0.8rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: #9db8c4;
  text-align: center;
  padding: 2.4rem 5vw 2rem;
}
.footer-logo { width: 84px; border-radius: 50%; margin: 0 auto 0.8rem; }
.site-footer p { font-weight: 600; color: var(--sand); }
.tiny { font-size: 0.8rem; font-weight: 400; margin-top: 0.5rem; color: #7d97a5; }

/* ===== Legal pages ===== */
.footer-links { margin-top: 0.6rem; font-weight: 500; }
.footer-links a { color: var(--teal-bright); text-decoration: underline; }
.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 5vw 4rem;
}
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 0.4rem; }
.legal h2 { font-size: 1.2rem; margin: 1.8rem 0 0.4rem; color: var(--navy); }
.legal-updated { color: #4c6a80; font-size: 0.9rem; margin-bottom: 1.6rem; }
.legal p, .legal li { margin-bottom: 0.6rem; }
.legal ul { padding-left: 1.3rem; margin-bottom: 0.8rem; }
.legal a { color: var(--teal); font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .site-header { flex-wrap: wrap; }
  .site-header nav { order: 3; width: 100%; justify-content: center; gap: 1rem; }
  .hero { min-height: 54vh; }
}

@media (max-width: 480px) {
  .brand-name { display: none; }
  .btn-header { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
}
