/* North Country Heli Flight — site styles */

:root {
  --green: #3A8356;
  --green-dark: #1F3D24;
  --blue: #1F4E79;
  --brown: #371C00;
  --cream: #F5F1E8;
  --cream-dark: #E8DFC9;
  --orange: #D2691E;
  --gray: #6B6B6B;
  --gray-light: #EAEAEA;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --radius: 8px;
  --radius-lg: 14px;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --display: 'Outfit', var(--sans);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: #222;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color .15s; }
a:hover { color: var(--green-dark); }
button { font: inherit; cursor: pointer; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; color: var(--brown); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: .8rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: .5rem; }
p { margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: var(--gray); }

/* Container */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0;
  background: #FFFFFF;                /* solid — no transparency, avoids stacking-context trap on mobile */
  border-bottom: 1px solid var(--gray-light);
  /* No backdrop-filter and no z-index here: those create a stacking context
     that would trap the mobile slide-out panel inside the header. */
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 56px; width: auto; }
.brand-text { font-family: var(--display); font-weight: 800; color: var(--green-dark); font-size: 1.05rem; line-height: 1; }
.brand-text small { display: block; font-weight: 500; color: var(--gray); font-size: .75rem; margin-top: 2px; letter-spacing: .04em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a { color: var(--brown); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); }

/* Backdrop scrim — body-level, only visible when .open */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,.42);
  z-index: 9990;
  opacity: 0;
  transition: opacity .22s ease;
}
.nav-backdrop.open { display: block; opacity: 1; }

.btn {
  display: inline-block; padding: .75rem 1.4rem; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; border: 2px solid transparent;
  transition: all .15s; text-align: center; line-height: 1;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--green-dark); }
.btn-dark { background: var(--brown); color: var(--white); }
.btn-dark:hover { background: #1F0F00; color: var(--white); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--brown); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 10001;                    /* above the menu drawer so it stays tappable */
  }
  /* Mobile drawer: solid white slide-in panel from the right */
  .nav-links {
    display: flex !important;          /* override desktop hidden cases */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86vw;
    max-width: 360px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #FFFFFF;
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform .26s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -10px 0 28px rgba(0,0,0,.22);
    z-index: 10000;                    /* on top of EVERYTHING */
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; list-style: none; }
  .nav-links a {
    display: block;
    padding: 1.1rem .25rem;
    border-bottom: 1px solid #E8DFC9;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--green-dark);
    background: #FFFFFF;
  }
  .nav-links a:hover,
  .nav-links a:active { background: var(--cream); color: var(--green-dark); }
  .nav-links li:last-child a { border-bottom: 0; padding-top: 1.4rem; }
  /* Book Now button: full-width green pill at the bottom of the drawer */
  .nav-links .btn-primary {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    background: var(--green);
    color: #fff;
    border: 0;
    border-bottom: 0;
    border-radius: var(--radius);
    text-align: center;
  }
  .nav-links .btn-primary:hover { background: var(--green-dark); color: #fff; }

}

/* Hero */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(rgba(31,61,36,.35), rgba(31,28,0,.7)), url('../images/hero_foliage.jpg') center/cover no-repeat;
  color: var(--white); text-align: center; padding: 4rem 1.5rem;
}
.hero-page { min-height: 42vh; }
.hero h1 { color: var(--white); margin-bottom: 1rem; font-size: clamp(2.2rem, 5.5vw, 4rem); text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero p { color: rgba(255,255,255,.92); font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 720px; margin: 0 auto 2rem; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 5rem 0; }
section.tight { padding: 3rem 0; }
section.cream { background: var(--cream); }
section.dark { background: var(--green-dark); color: var(--white); }
section.dark h2, section.dark h3 { color: var(--white); }
section.dark p { color: rgba(255,255,255,.85); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow { display: inline-block; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin-bottom: .8rem; }

/* Card grids */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 4/3; background: var(--cream-dark); object-fit: cover; width: 100%; }
.card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { color: var(--green-dark); margin-bottom: .4rem; }
.card-body p { color: var(--gray); flex: 1; font-size: .95rem; margin-bottom: 1rem; }
.card-meta { display: flex; gap: 1rem; font-size: .85rem; color: var(--gray); margin-bottom: .8rem; }
.card-meta strong { color: var(--brown); }
.card .btn { align-self: flex-start; }
.card.dark { background: var(--green-dark); color: var(--white); }
.card.dark h3 { color: var(--white); }
.card.dark p { color: rgba(255,255,255,.85); }

/* Featured strip */
.featured-strip { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: var(--brown); border-radius: var(--radius-lg); overflow: hidden; color: var(--white); align-items: stretch; }
.featured-strip img { width: 100%; height: 100%; object-fit: cover; }
.featured-strip .text { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.featured-strip h3 { color: var(--white); font-size: 2rem; }
.featured-strip p { color: rgba(255,255,255,.85); }
@media (max-width: 740px) { .featured-strip { grid-template-columns: 1fr; } .featured-strip .text { padding: 2rem 1.5rem; } }

/* Tour table */
.tour-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tour-table th, .tour-table td { padding: 1rem .8rem; text-align: left; border-bottom: 1px solid var(--gray-light); }
.tour-table th { background: var(--green-dark); color: var(--white); font-family: var(--display); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.tour-table tbody tr:hover { background: var(--cream); }
.tour-table .tour-name { font-weight: 700; color: var(--brown); }
.tour-table .price { font-weight: 700; color: var(--green-dark); }

/* Stats */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat .num { font-family: var(--display); font-weight: 800; font-size: 2.5rem; color: var(--green); line-height: 1; }
.stat .label { font-size: .9rem; color: var(--gray); margin-top: .4rem; }

/* Quote */
.quote { padding: 2rem; background: var(--cream); border-left: 4px solid var(--green); border-radius: var(--radius); }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brown); margin-bottom: .8rem; }
.quote cite { color: var(--gray); font-size: .9rem; font-style: normal; }
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

/* FAQ accordion */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-item summary { padding: 1.4rem 0; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--brown); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; color: var(--green); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--green-dark); }
.faq-item .answer { padding: 0 0 1.4rem 0; color: var(--gray); }

/* Forms */
.form { display: grid; gap: 1.2rem; max-width: 600px; }
.form-row { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .9rem; color: var(--brown); margin-bottom: .4rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--gray-light); border-radius: var(--radius);
  font: inherit; background: var(--white); transition: border-color .15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); }
.form textarea { min-height: 120px; resize: vertical; }
.form-help { font-size: .85rem; color: var(--gray); margin-top: .25rem; }

/* Two-column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* Image side */
.image-side { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.image-side img { aspect-ratio: 4/3; object-fit: cover; }

/* Icon row */
.icon-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.icon-item { text-align: center; padding: 1rem; }
.icon-item .icon { font-size: 2.5rem; margin-bottom: .8rem; line-height: 1; }
.icon-item h4 { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--brown); margin-bottom: .4rem; }
.icon-item p { color: var(--gray); font-size: .95rem; margin: 0; }

/* CTA banner */
.cta-banner { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: var(--white); padding: 3.5rem 2rem; text-align: center; border-radius: var(--radius-lg); }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 580px; margin: 0 auto 1.6rem; }

/* Footer */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; margin-top: 3rem; font-size: .92rem; }
.site-footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 740px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,.55); font-size: .85rem; }
.footer-brand img { height: 50px; margin-bottom: .8rem; filter: brightness(0) invert(1) brightness(.95); }

/* Video featured block */
.video-block { max-width: 960px; margin: 0 auto; }
.video-block .ratio { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.45); background: #000; }
.video-block .ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-block .caption { text-align: center; margin-top: 1.4rem; color: rgba(255,255,255,.85); font-size: .95rem; font-style: italic; }
section.dark .video-block .caption { color: rgba(255,255,255,.75); }

/* Booking placeholder */
.booking-placeholder { padding: 4rem 2rem; background: var(--cream); border: 2px dashed var(--green); border-radius: var(--radius-lg); text-align: center; }
.booking-placeholder h3 { color: var(--green-dark); }
.booking-placeholder code { font-family: 'Menlo', 'Monaco', monospace; font-size: .85rem; background: var(--white); padding: .2rem .5rem; border-radius: 4px; }

/* Map */
.map-embed { aspect-ratio: 4/3; width: 100%; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.notice { padding: 1rem 1.2rem; background: #FFF8E1; border-left: 4px solid var(--orange); border-radius: var(--radius); font-size: .92rem; color: var(--brown); }

/* Trust strip — under hero on home */
.trust-strip {
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  padding: 1.4rem 0;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
}
.trust-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
}
.trust-icon svg { width: 100%; height: 100%; }
.trust-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: .82rem;
  color: var(--green-dark);
  line-height: 1.2;
  letter-spacing: .02em;
}
.trust-sub {
  font-size: .72rem;
  color: var(--gray);
  line-height: 1.3;
  font-weight: 500;
}
@media (max-width: 880px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .trust-item:last-child { grid-column: span 2; }
}

/* Route map (on tour cards and elsewhere) */
.route-map {
  width: 100%;
  display: block;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  border-top: 1px solid var(--cream-dark);
  aspect-ratio: 600 / 300;
}
.route-map-wrap {
  position: relative;
}
.route-map-wrap .route-label {
  position: absolute;
  top: .5rem; right: .5rem;
  background: rgba(255,255,255,.92);
  color: var(--green-dark);
  font-family: var(--display);
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .25rem .5rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

/* What's-included icon row inside tour cards */
.includes-row {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin: .4rem 0 .9rem 0;
  padding: .6rem 0;
  border-top: 1px dashed var(--gray-light);
  border-bottom: 1px dashed var(--gray-light);
}
.includes-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  color: var(--green-dark);
  font-weight: 600;
  background: var(--cream);
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--cream-dark);
  white-space: nowrap;
}
.includes-pill svg {
  width: 12px; height: 12px;
  flex-shrink: 0;
}

/* FAQ category headings + subtle dividers */
.faq-category {
  margin-top: 2.2rem;
  margin-bottom: .6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--green-dark);
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--green);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.faq-category:first-of-type { margin-top: 0; }
.faq-category .faq-icon {
  width: 22px; height: 22px;
  color: var(--green);
}
.faq-toc {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin-bottom: 2rem;
  font-size: .9rem;
}
.faq-toc h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .6rem;
  font-size: 1rem;
}
.faq-toc ul { list-style: none; padding: 0; margin: 0; columns: 2; gap: 1rem; }
.faq-toc li { margin-bottom: .25rem; break-inside: avoid; }
.faq-toc a { color: var(--green-dark); font-weight: 600; }
.faq-toc a:hover { color: var(--green); text-decoration: underline; }
@media (max-width: 600px) { .faq-toc ul { columns: 1; } }

/* Seasonal grid (home page year-round section) */
.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.season {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.season:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.season img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  display: block;
}
.season figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .8rem .9rem;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: #fff;
  font-size: .85rem;
  line-height: 1.4;
}
.season figcaption strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  margin-bottom: .15rem;
  color: #fff;
}
@media (max-width: 880px) {
  .seasonal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .seasonal-grid { grid-template-columns: 1fr; }
}
