/* ============================================================
   Zookeeper Charters — Main Stylesheet
   Colors derived from the Zookeeper Charters logo:
     Navy    #1B3464  (logo border / CHARTERS banner)
     Teal    #2EC4B6  (Zookeeper script text)
     Orange  #E8821C  (sunset accent / CTA)
     Sky     #EAF6FB  (light section backgrounds)
   ============================================================ */

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

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

body {
  font-family: 'Open Sans', sans-serif;
  color: #2c3e50;
  background: #fff;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: #2EC4B6; text-decoration: none; }
a:hover { color: #1B3464; }

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: #1B3464;
  line-height: 1.25;
}

/* --- CSS Variables --- */
:root {
  --navy:   #1B3464;
  --teal:   #2EC4B6;
  --orange: #E8821C;
  --sky:    #EAF6FB;
  --text:   #2c3e50;
  --muted:  #6c757d;
  --white:  #ffffff;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,.10);
  --max-w:  1160px;
}

/* --- Utility --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 4rem 0; }
.section--alt { background: var(--sky); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: .65rem 1.6rem;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  text-align: center;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover {
  background: #c96d10;
  color: var(--white);
}
.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--secondary:hover {
  background: var(--white);
  color: var(--navy);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--teal {
  background: var(--teal);
  color: var(--white);
}
.btn--teal:hover {
  background: #1fa89b;
  color: var(--white);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 1rem;
}

.site-logo img { height: 64px; width: auto; }
.site-logo:hover { opacity: .9; }
.site-logo img { height: 88px; width: auto; }
.footer-brand img { height: 88px; }

.site-nav { display: flex; align-items: center; gap: .1rem; }
.site-nav a {
  color: rgba(255,255,255,.88);
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem .65rem;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  white-space: nowrap;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--teal);
  background: rgba(255,255,255,.06);
}

.header-phone {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--orange);
  white-space: nowrap;
  letter-spacing: .01em;
}
.header-phone a { color: var(--orange); }
.header-phone a:hover { color: #ffaa55; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(27,52,100,.72) 0%,
    rgba(27,52,100,.42) 60%,
    rgba(0,0,0,.2) 100%);
}
.hero--short { min-height: 280px; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0;
  padding: 3rem 1.25rem;
  color: var(--white);
}
.hero-content .eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal);
  margin-bottom: .6rem;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
  max-width: 700px;
}
.hero-content p {
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 1.5rem;
  opacity: .92;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Guarantee badge */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 2rem;
  padding: .35rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  margin-top: 1rem;
}
.guarantee-badge::before { content: "✓"; color: var(--teal); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-heading .eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--teal);
  margin-bottom: .4rem;
}
.section-heading h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.section-heading p {
  color: var(--muted);
  margin-top: .6rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   TRIP CARDS
   ============================================================ */
.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.trip-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.trip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
.trip-card__img {
  height: 200px;
  overflow: hidden;
  background: var(--sky);
}
.trip-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trip-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.trip-card__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .6rem;
}
.trip-card__duration {
  font-size: .75rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--sky);
  color: var(--navy);
  padding: .2rem .6rem;
  border-radius: 2rem;
}
.trip-card__price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--orange);
  font-size: 1.05rem;
}
.trip-card h3 {
  font-size: 1rem;
  margin-bottom: .4rem;
}
.trip-card p {
  font-size: .88rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1rem;
}
.trip-card .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-grid__item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--sky);
}
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-grid__item:hover img { transform: scale(1.05); }

/* ============================================================
   SPECIES GRID
   ============================================================ */
.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.species-card {
  background: var(--white);
  border: 1px solid #ddeef4;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.species-card__icon { font-size: 2rem; margin-bottom: .5rem; }
.species-card__img {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
}
.species-card__img img {
  height: 60px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: invert(14%) sepia(45%) saturate(700%) hue-rotate(185deg) brightness(80%);
}
.species-card h3 { font-size: .95rem; margin-bottom: .25rem; }
.species-card p  { font-size: .82rem; color: var(--muted); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--teal);
}
.review-card__stars { color: #f5a623; font-size: 1.1rem; margin-bottom: .5rem; }
.review-card__text { font-size: .92rem; margin-bottom: 1rem; }
.review-card__author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  color: var(--navy);
}

.google-embed-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}
.google-embed-wrap iframe { display: block; width: 100%; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 2rem 0;
}
.stats-bar__inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.stat {
  text-align: center;
  color: var(--white);
}
.stat__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  display: block;
}
.stat__label {
  font-size: .82rem;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #ddeef4;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .97rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--teal);
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 1.1rem;
  color: var(--muted);
  font-size: .93rem;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 {
  margin-bottom: .75rem;
  font-size: 1.15rem;
}
.contact-info .phone-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin: .5rem 0 1.5rem;
}
.contact-info .phone-link:hover { color: #c96d10; }
.contact-info p { color: var(--muted); font-size: .92rem; margin-bottom: .4rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 1.25rem; font-size: 1.15rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy);
  margin-bottom: .35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .6rem .85rem;
  border: 1.5px solid #cde2ea;
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: .93rem;
  color: var(--text);
  background: #f9fdfe;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 1rem;
}
.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
  font-weight: 600;
}

/* ============================================================
   CAPTAIN BIO
   ============================================================ */
.captain-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}
.captain-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.captain-bio h2 { margin-bottom: 1rem; }
.captain-bio p { margin-bottom: 1rem; color: var(--muted); }

/* ============================================================
   CALL TO ACTION BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #0e2040 100%);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .75rem; }
.cta-band p  { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-bottom: 1rem;
}
.cta-band .phone a { color: inherit; }
.cta-band .phone a:hover { opacity: .85; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0f2035;
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand img { height: 72px; margin-bottom: .75rem; }
.footer-brand p { font-size: .88rem; max-width: 280px; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: .75rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .35rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--teal); }
.footer-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: .5rem;
}
.footer-phone a { color: inherit; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
}

/* ============================================================
   TRIP DETAIL PAGE
   ============================================================ */
.trip-detail { max-width: 800px; margin: 0 auto; }
.trip-detail__meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--sky);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
}
.trip-detail__meta-item { text-align: center; }
.trip-detail__meta-item .label {
  font-size: .72rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  display: block;
}
.trip-detail__meta-item .value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
.trip-detail__meta-item .value--price { color: var(--orange); }
.trip-detail h2 { margin: 2rem 0 .75rem; }
.trip-detail p { color: var(--muted); margin-bottom: .75rem; }
.trip-detail ul { margin: .5rem 0 .75rem 1.25rem; color: var(--muted); }
.trip-detail ul li { margin-bottom: .3rem; }

.book-cta-box {
  background: var(--sky);
  border: 1px solid #cde2ea;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
}
.book-cta-box h3 { margin-bottom: .5rem; }
.book-cta-box p { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }

/* ============================================================
   BLOG / ARTICLE
   ============================================================ */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { margin: 2rem 0 .75rem; }
.article h3 { margin: 1.5rem 0 .5rem; }
.article p  { margin-bottom: 1rem; color: var(--muted); }
.article ul { margin: .5rem 0 1rem 1.25rem; color: var(--muted); }
.article ul li { margin-bottom: .3rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .contact-grid  { grid-template-columns: 1fr; }
  .captain-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .captain-photo { max-width: 340px; }
}

@media (max-width: 720px) {
  .site-nav { display: none; flex-direction: column; gap: 0; }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    padding: .5rem 0 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
  }
  .site-nav a { padding: .6rem 1.25rem; width: 100%; border-radius: 0; }

  .site-header { position: relative; }
  .header-inner { flex-wrap: wrap; }
  .header-phone { order: -1; flex: 1; }
  .nav-toggle { display: flex; }

  .hero { min-height: 380px; }
  .hero--short { min-height: 200px; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar__inner { gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .trips-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .species-grid { grid-template-columns: repeat(2, 1fr); }
}
