/* ============================================
   Anchorage Glacier Tour — stylesheet
   ============================================ */

:root {
  --navy: #0B2545;
  --navy-soft: #123a63;
  --ice: #2EC4E0;
  --ice-light: #EAF6FB;
  --ice-mid: #CDEFF7;
  --amber: #F2994A;
  --amber-dark: #d97e33;
  --text: #1F2937;
  --muted: #5B6B7C;
  --white: #FFFFFF;
  --border: #DCE8EE;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.10);
  --radius: 14px;
  --max-width: 1160px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a { color: var(--navy-soft); }
a:hover { color: var(--ice); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { scroll-margin-top: calc(var(--header-h) + 12px); }

h1, h2, h3 { font-family: "Segoe UI", Roboto, sans-serif; color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 8px; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 0 0 18px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }

.eyebrow {
  display: inline-block;
  color: var(--amber-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section-pad { padding: 64px 0; }
.section-alt { background: var(--ice-light); }

.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--amber); color: var(--navy); box-shadow: 0 8px 20px rgba(242,153,74,0.35); }
.btn-primary:hover { background: var(--amber-dark); color: var(--white); }

.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 37, 69, 0.96);
  backdrop-filter: blur(6px);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span { color: var(--white); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em; }

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--ice-mid);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 26px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 60%, #1c4a78 100%);
  color: var(--white);
  padding: 64px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { color: var(--white); }

.hero-slogan {
  display: inline-block;
  color: var(--amber);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero p.intro {
  color: var(--ice-mid);
  font-size: 1.08rem;
  max-width: 52ch;
  margin: 18px 0 30px;
}

/* Carousel */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #06182d;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide { min-width: 100%; aspect-ratio: 4 / 3; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11,37,69,0.55);
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover { background: var(--amber); color: var(--navy); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
}
.carousel-dot.active { background: var(--amber); }

/* ============ Quick facts ============ */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.fact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.fact-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ice-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.fact-card p { color: var(--muted); margin: 0; font-size: 0.94rem; }

/* ============ Highlights ============ */
.highlights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}
.highlights-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.highlights-list .mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

/* ============ Story ============ */
.story-wrap { max-width: 780px; margin: 0 auto; }
.story-wrap p { margin: 0 0 18px; }
.story-wrap a { text-decoration: underline; font-weight: 600; }

/* ============ Includes / not suitable ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
}
.info-card ul { list-style: none; margin: 0; padding: 0; }
.info-card li { display: flex; gap: 10px; margin-bottom: 12px; }
.info-card .yes { color: #1a9c5c; font-weight: 800; }
.info-card .no { color: #d64545; font-weight: 800; }

/* ============ Important info ============ */
.important-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.important-grid .card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.important-grid ul { padding-left: 20px; margin: 0; }
.important-grid li { margin-bottom: 8px; color: var(--muted); }

/* ============ CTA banner ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #164a7a 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h3 { color: var(--white); margin: 0 0 6px; font-size: 1.4rem; }
.cta-banner p { margin: 0; color: var(--ice-mid); }

/* ============ Pickup locations ============ */
.locations-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 38px;
  box-shadow: var(--shadow);
}
.locations-list {
  columns: 3;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.locations-list li {
  break-inside: avoid;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.94rem;
  color: var(--text);
}
.locations-note { color: var(--muted); margin-top: 20px; font-size: 0.92rem; }

/* ============ Reviews ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review-card .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 10px; font-size: 0.95rem; }
.review-card p.text { color: var(--text); margin: 0 0 14px; font-size: 0.95rem; }
.review-card .who { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.review-card .place { color: var(--muted); font-size: 0.82rem; margin-bottom: 12px; }
.review-card .reply {
  margin-top: auto;
  background: var(--ice-light);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.86rem;
  color: var(--navy-soft);
}
.review-card .reply b { display: block; margin-bottom: 4px; color: var(--navy); }

/* ============ Footer ============ */
.footer-cta {
  background: var(--ice-light);
  padding: 56px 0;
}
.footer-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.footer-cta-grid p { margin: 0; color: var(--navy-soft); font-size: 1.15rem; font-weight: 600; max-width: 60ch; }

.site-footer {
  background: var(--navy);
  color: var(--ice-mid);
  padding: 46px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-grid h4 { color: var(--white); margin: 0 0 14px; font-size: 1rem; }
.footer-grid p, .footer-grid a { color: var(--ice-mid); text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-brand span { color: var(--white); font-weight: 800; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ============ Back to top ============ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(11,37,69,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .important-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-list { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 18px; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav a { display: block; padding: 14px 4px; }
  .hamburger { display: flex; }

  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .btn { width: 100%; }

  .facts-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .locations-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-cta-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-cta-grid .btn { width: 100%; }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner .btn { width: 100%; }

  .back-to-top { right: 16px; bottom: 16px; }
}
