/* ============================================================
   GUSTAFSON TRAVEL — Main Stylesheet
   Brand colors: Purple #33005b | Orange #f8b20f
   ============================================================ */

/* ─── Custom Properties ─────────────────────────────────────── */
:root {
  --brand-purple:  #33005b;
  --brand-orange:  #f8b20f;
  --purple-dark:   #22003d;
  --purple-light:  #f3ecf9;
  --purple-accent: #33005b;
  --white:         #ffffff;
  --off-white:     #f9f8fb;
  --text:          #1a1a2e;
  --text-muted:    #5e5a70;
  --border:        #e3dded;
  --card-shadow:   0 4px 16px rgba(51, 0, 91, 0.07);
  color-scheme: light dark;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

a { color: var(--purple-accent); }
a:hover { opacity: 0.8; }

h1, h2, h3, h4 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.25;
  margin-top: 0;
}

h2 { color: var(--purple-accent); }
h3 { color: var(--text); }
p { margin-top: 0; }

/* ─── Layout Utilities ──────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section        { padding: 80px 0; }
.section--alt   { background: var(--off-white); }
.section--dark  { background: var(--brand-purple); color: var(--white); }
.section--dark h2 { color: var(--white); }

.text-center { text-align: center; }

.eyebrow {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-accent);
  margin-bottom: 12px;
}

.section--dark .eyebrow { color: var(--brand-orange); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.075rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.15s;
  cursor: pointer;
  border: none;
  line-height: 1.3;
}

.btn:hover { opacity: 0.85; }

.btn--primary {
  background: var(--brand-orange);
  color: var(--brand-purple);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--purple-accent);
  color: var(--purple-accent);
  padding: 11px 26px;
}

.btn--outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  padding: 11px 26px;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ─── Sticky Nav ────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand-purple);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav__brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-nav__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-nav__brand span { color: var(--brand-orange); }

.site-nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav__links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.15s;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: var(--brand-orange);
  opacity: 1;
}

.site-nav__cta {
  background: var(--brand-orange);
  color: var(--brand-purple) !important;
  font-weight: 700 !important;
  padding: 8px 18px;
  border-radius: 4px;
}

.site-nav__cta:hover { opacity: 0.88; }

.site-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 6px;
  line-height: 1;
}

@media (max-width: 700px) {
  .site-nav__toggle { display: flex; }

  .site-nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--purple-dark);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    align-items: flex-start;
  }

  .site-nav__links.is-open { display: flex; }
  .site-nav__links li { width: 100%; }

  .site-nav__links a {
    display: block;
    padding: 12px 24px;
  }

  .site-nav__cta {
    margin: 8px 24px 0;
    display: inline-block;
    padding: 10px 18px;
  }
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--off-white);
  text-align: center;
  padding: 64px 24px 80px;
}

.hero__image {
  max-width: 720px;
  margin: 0 auto 44px;
}

.hero__image img { width: 100%; height: auto; }

.hero__tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--purple-accent);
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero__sub {
  font-size: 1.075rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Stats Strip ───────────────────────────────────────────── */
.stats {
  background: var(--brand-purple);
  padding: 52px 24px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.stats__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stats__label {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* ─── Value Prop Cards ──────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 6px;
  padding: 30px 28px;
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--brand-orange);
}

.card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: var(--purple-accent);
  margin-bottom: 10px;
}

.card__icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
  line-height: 1;
}

/* ─── Steps (How It Works) ──────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  counter-reset: step;
}

.step { position: relative; padding-left: 64px; }

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  background: var(--brand-orange);
  color: var(--brand-purple);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: var(--purple-accent);
  margin-bottom: 8px;
}

/* ─── Trust / Cert Badges ───────────────────────────────────── */
.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.cert-badge {
  background: var(--purple-light);
  color: var(--purple-accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* ─── Partner Strip ─────────────────────────────────────────── */
.partners {
  text-align: center;
  padding: 52px 24px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.partners__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.partners__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.partners__list li {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 18px;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: default;
}

.partners__list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(51, 0, 91, 0.12);
  border-color: var(--purple-accent);
  color: var(--purple-accent);
}

/* ─── CTA Section ───────────────────────────────────────────── */
.cta-band {
  background: var(--brand-purple);
  text-align: center;
  padding: 88px 24px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255,255,255,0.78);
  font-size: 1.075rem;
  max-width: 540px;
  margin: 0 auto 36px;
}

.cta-band__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Page Header ───────────────────────────────────────────── */
.page-header {
  background: var(--brand-purple);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.075rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ─── Bio / About Grid ──────────────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.bio-photo {
  border-radius: 8px;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/4;
}

@media (max-width: 700px) {
  .bio-grid {
    grid-template-columns: 1fr;
  }
  .bio-photo {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* ─── Mission / Why I Travel Grid ──────────────────────────── */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.mission-photo {
  border-radius: 8px;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/4;
}

@media (max-width: 700px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .mission-photo {
    max-width: 360px;
    margin: 0 auto;
    order: -1;
  }
}

/* ─── Services Detail ───────────────────────────────────────── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
  margin-bottom: 72px;
  border-bottom: 1px solid var(--border);
}

.service-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.service-block--flip { direction: rtl; }
.service-block--flip > * { direction: ltr; }

.service-visual {
  border-radius: 8px;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

@media (max-width: 680px) {
  .service-block        { grid-template-columns: 1fr; }
  .service-block--flip  { direction: ltr; }
}

/* ─── FAQ Accordion ─────────────────────────────────────────── */
.faq-list { list-style: none; margin: 0; padding: 0; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--purple-accent);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  gap: 12px;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--brand-orange);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s ease, opacity 0.25s ease;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.975rem;
}

.faq-answer > * {
  overflow: hidden;
}

.faq-answer.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 18px;
}

/* ─── Contact Layout ────────────────────────────────────────── */
.contact-grid {
  max-width: 760px;
  margin: 0 auto;
}

.contact-info-block { margin-bottom: 24px; }
.contact-info-block__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-info-block__value { font-size: 1rem; color: var(--text); }
.contact-info-block__value a { color: var(--purple-accent); text-decoration: none; font-weight: 500; }

/* ─── Site Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.72);
  padding: 56px 24px 24px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto 40px;
}

@media (max-width: 700px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

.site-footer__brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.site-footer__brand span { color: var(--brand-orange); }

.site-footer__tagline {
  font-size: 0.88rem;
  margin-bottom: 20px;
  max-width: 300px;
}

.site-footer__social {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__social a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  text-decoration: none;
}

.site-footer__social a:hover {
  color: var(--brand-orange);
  opacity: 1;
}

.site-footer__col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 16px;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li { margin-bottom: 9px; }

.site-footer__links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
}

.site-footer__links a:hover {
  color: var(--brand-orange);
  opacity: 1;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.78rem;
}

.site-footer__licenses {
  color: rgba(255,255,255,0.45);
  font-size: 0.76rem;
  line-height: 1.7;
}

/* ─── Dark Mode ─────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --purple-accent: #c9a4f0;
    --purple-light:  #2a1845;
    --purple-dark:   #0e0a18;
    --white:         #141020;
    --off-white:     #1a1230;
    --text:          #e8e2f0;
    --text-muted:    #9b8fb5;
    --border:        #2e2348;
    --card-shadow:   0 4px 16px rgba(0, 0, 0, 0.4);
  }

  /* Cards need subtle elevation on dark bg */
  .card {
    border-top-color: var(--brand-orange);
  }

  /* Outline button on dark content backgrounds */
  .btn--outline:hover { opacity: 0.9; }

  /* Partner pill hover shadow for dark mode */
  .partners__list li:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  }

  /* Service block dividers */
  .service-block { border-bottom-color: var(--border); }

  /* Images: slight brightness reduction for comfort */
  .service-visual,
  .bio-photo,
  .mission-photo {
    filter: brightness(0.9);
  }

  /* Hero logo image — preserve original brightness */
  .hero__image img { filter: none; }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .hero { padding: 40px 16px 64px; }
  .cta-band { padding: 64px 16px; }
}
