/* Happy Travel - A Program of Give Basic Needs
   Static rebuild of travel.givebasicneeds.org (formerly WordPress + Elementor). */

:root {
  --purple: #3f169a;
  --purple-light: #7456f1;
  --purple-tint: rgba(116, 85, 241, 0.1);
  --yellow: #ffc042;
  --navy: #102136;
  --text: #4d5d6d;
  --text-light: #e7ebee;
  --bg-soft: #f9fafc;
  --bg-card: #f3f5f9;
  --bg-accordion: #f4f5f6;
  --border: #e4e9f0;
  --white: #ffffff;
  --container: 1290px;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p + p { margin-top: 27px; }
h1, h2, h3 { color: var(--navy); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); color: var(--purple); padding: 10px 16px; z-index: 2000;
}
.skip-link:focus { left: 10px; top: 10px; }

.spacer { height: 130px; }
.spacer-lg { height: 150px; }

/* ---------- Typography helpers ---------- */
.eyebrow { color: var(--purple); font-weight: 500; margin-bottom: 20px; }
.h-xl { font-size: 45px; font-weight: 800; line-height: 1.3; margin-bottom: 40px; }
.h-lg { font-size: 35px; font-weight: 800; line-height: 1; margin-bottom: 30px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  padding: 16px 23px;
  border-radius: 5px;
  transition: background-color .3s, color .3s, border-color .3s;
  cursor: pointer;
}
.btn-yellow { background: var(--yellow); color: var(--purple); }
.btn-yellow:hover { background: var(--purple); color: var(--white); }
.btn-outline-white { padding: 14px 21px; border: 2px solid var(--white); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--purple); }
.btn-outline-purple { padding: 14px 21px; border: 2px solid var(--purple); color: var(--purple); }
.btn-outline-purple:hover { background: var(--purple); color: var(--white); }
.btn-row { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 10px 20px rgba(43, 61, 80, 0.06);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height .3s;
}
.site-header.shrink .header-inner { height: 70px; }
.brand img { width: 97px; height: 80px; object-fit: contain; transition: height .3s, width .3s; }
.site-header.shrink .brand img { width: 73px; height: 60px; }

.main-nav { display: flex; align-items: center; height: 100%; }
.main-nav ul { list-style: none; display: flex; height: 100%; }
.main-nav li { height: 100%; }
.main-nav li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 27.5px;
  color: var(--purple);
  font-weight: 700;
  font-size: 18px;
  transition: color .3s;
}
.main-nav li a:hover { color: var(--navy); }
.header-cta {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 5px 30px;
  border-radius: 3px;
  background: var(--purple);
  color: var(--yellow);
  font-weight: 600;
  margin-left: 15px;
  transition: background-color .3s;
}
.header-cta:hover { background: var(--navy); }
.main-nav li.nav-cta { display: flex; align-items: center; }
.main-nav li.nav-info { display: none; }
.main-nav li a.header-cta { height: 50px; padding: 5px 30px; color: var(--yellow); }
.main-nav li a.header-cta:hover { color: var(--yellow); }

/* Hamburger (same pattern as givebasicneeds-site) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--purple);
  margin: 5px 0;
  transition: all 0.2s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero / page banners ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 200px 0 100px;
  background: #222;
}
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .5s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide.zoom { animation: kenburns 20s linear forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.3); } }
.hero-overlay { background: #000; opacity: .5; }
.hero-content { position: relative; z-index: 1; }
.hero-col { max-width: 754px; }
.hero-tag { font-size: 22px; font-weight: 500; line-height: 1.65; margin-bottom: 20px; }
.hero h1 { color: var(--white); font-size: 45px; font-weight: 800; line-height: 1.3; margin-bottom: 40px; }
.hero p.hero-text { font-size: 22px; font-weight: 400; line-height: 1.65; }
.hero .btn-row { margin-top: 30px; padding-left: 10px; gap: 20px; }

.page-banner {
  position: relative;
  color: var(--white);
  padding: 80px 0 50px;
  background-size: cover;
  background-position: center;
}
.page-banner .hero-overlay { opacity: .5; }
.page-banner.tall { min-height: 850px; display: flex; align-items: center; }
.page-banner.tall .hero-content { width: 100%; }
.page-banner h1 { color: var(--white); font-size: 45px; font-weight: 800; line-height: 1.3; margin-bottom: 23px; }
.page-banner .banner-text { font-size: 22px; font-weight: 700; line-height: 1.65; margin-bottom: 33px; }
.page-banner .banner-text p + p { margin-top: 33px; }

/* ---------- Split sections (image column + content column) ---------- */
.split {
  background: var(--bg-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-media { background-size: cover; background-position: center; min-height: 400px; }
.split-content { padding: 100px 75px 50px 50px; max-width: 695px; }
.split.reverse .split-media { order: 2; }
.split.reverse .split-content { order: 1; padding: 50px 50px 50px 80px; max-width: 720px; }
.split-content p.lead-strong { font-weight: 700; }
.split-content .btn { margin-top: 20px; }

/* ---------- Why Happy Travel cards ---------- */
.section-intro { max-width: 1270px; margin: 0 auto; text-align: center; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
  margin-top: 50px;
  padding: 0 5px;
}
.why-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 45px;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.why-card .icon { height: 25px; margin-bottom: 10px; color: var(--purple); }
.why-card .icon svg { height: 25px; width: auto; fill: currentColor; }
.why-card h3 { font-size: 20px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; transition: color .3s; }
.why-card p { transition: color .3s; }
.why-card:hover {
  background: var(--purple);
  border-color: var(--purple-light);
  box-shadow: 0 30px 50px rgba(89, 64, 195, 0.3);
}
.why-card:hover h3, .why-card:hover p, .why-card:hover .icon { color: var(--white); }
.why-buttons { margin-top: 50px; }

/* ---------- Step / mission boxes ---------- */
.step-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px;
  margin: 30px 0 20px;
  transition: background-color .3s, box-shadow .3s;
}
.step-box:hover { background: var(--white); box-shadow: 0 20px 70px rgba(66, 81, 103, 0.1); }
.step-icon {
  flex: 0 0 65px;
  width: 65px; height: 65px;
  border-radius: 50%;
  background: var(--purple-tint);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 25px; height: 25px; fill: currentColor; }
.step-box h3 { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }

/* ---------- About Happy Travel (purple card) ---------- */
.purple-pattern { position: relative; background: var(--purple); }
.purple-pattern::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../images/happy-travel-pattern.svg");
  opacity: .03;
  border-radius: inherit;
  pointer-events: none;
}
.purple-pattern > * { position: relative; }
.about-card {
  border-radius: var(--radius);
  box-shadow: 0 20px 70px rgba(36, 26, 81, 0.2);
  padding: 70px;
  margin: 0 10px;
}
.about-card h2 { color: var(--text-light); font-size: 45px; font-weight: 800; line-height: 1.3; margin-bottom: 40px; text-align: center; }
.about-card > p { color: var(--text-light); text-align: center; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.about-grid .step-box { margin: 30px 0 0; }
.about-grid .step-box h3 { font-size: 20px; color: var(--purple); }
.about-grid .step-box p b { font-weight: 700; }
.about-card .btn-row { margin-top: 20px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--purple); color: var(--white); text-align: center; overflow: hidden; padding: 70px 20px; }
.testimonial-inner { max-width: 1100px; margin: 0 auto; }
.testimonial-text {
  font-size: 20px; line-height: 1.8; font-weight: 400;
  max-width: 1000px; margin: 0 auto 25px;
  transition: opacity .5s ease, transform .5s ease;
}
.testimonial-author { font-size: 18px; font-weight: 500; margin-bottom: 30px; transition: opacity .5s ease, transform .5s ease; }
.fade-out { opacity: 0; transform: translateY(10px); }
.testimonial-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 10px; }
.testimonial-controls button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--white); background: transparent; color: var(--white);
  font-size: 28px; line-height: 1; cursor: pointer; transition: all .3s ease;
}
.testimonial-controls button:hover { background: var(--white); color: #000; }
.testimonial-dots { display: flex; gap: 8px; align-items: center; }
.testimonial-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--white); opacity: .35; cursor: pointer; transition: all .3s ease; }
.testimonial-dot.active { width: 26px; border-radius: 20px; opacity: 1; }

/* ---------- Impact: video + counters ---------- */
.video-wrap {
  position: relative;
  z-index: 2;
  margin: 0 10px;
  aspect-ratio: 2.3333;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  background: #000;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-overlay {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  border: 0; cursor: pointer; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.video-overlay .play {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.9);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s;
}
.video-overlay:hover .play { transform: scale(1.08); }
.video-overlay .play svg { width: 30px; height: 30px; fill: var(--white); margin-left: 5px; }

.counters { margin-top: -200px; padding: 250px 0 50px; }
.counter-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 0 10px; }
.counter { text-align: center; }
.counter-number { color: var(--white); font-size: 30px; font-weight: 800; line-height: 1; }
.counter-title { color: var(--white); font-size: 17px; font-weight: 700; line-height: 30px; text-align: left; }

/* ---------- Gallery carousel ---------- */
.gallery { padding: 70px 0 60px; }
.gallery h2 { color: var(--white); font-size: 35px; font-weight: 800; line-height: 1; margin-bottom: 30px; text-align: center; }
.gallery .section-intro { color: var(--white); margin-bottom: 20px; }
.carousel { position: relative; padding: 0 45px; margin: 0 15px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; align-items: center; gap: 20px; transition: transform .5s ease; }
.carousel-slide { flex: 0 0 calc((100% - 40px) / 3); }
.carousel-slide img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 7px; background: rgba(255, 255, 255, 0.08); }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; color: var(--yellow);
  width: 30px; height: 30px; padding: 0;
}
.carousel-btn svg { width: 30px; height: 30px; fill: currentColor; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* ---------- CTA box + purple band ---------- */
.cta-box {
  position: relative;
  z-index: 2;
  margin: 0 10px;
  padding: 100px;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-box.tall { padding: 150px 100px; }
.cta-box .hero-overlay { border-radius: var(--radius); }
.cta-box > *:not(.hero-overlay) { position: relative; }
.cta-box h2 { color: var(--white); font-size: 35px; font-weight: 700; line-height: 1; margin-bottom: 20px; }
.cta-box .cta-text { font-size: 20px; font-weight: 700; line-height: 1.65; margin-bottom: 20px; }
.cta-box .cta-text p + p { margin-top: 27px; }
.purple-band { height: 250px; margin-top: -200px; background: var(--purple); }

/* ---------- Form embed ---------- */
.gbn-embed iframe { width: 100%; border: 0; display: block; height: min(900px, 92vh); min-height: 640px; }

/* ---------- FAQ accordions ---------- */
.faq-section h2 { font-size: 35px; font-weight: 700; line-height: 1; text-align: center; margin-bottom: 20px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 0 20px; }
.accordion { background: var(--bg-accordion); padding: 15px; }
.accordion-item { border: 1px solid #f5f5f5; }
.accordion-item + .accordion-item { border-top: 0; }
.accordion-title {
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 16px; font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3;
  color: var(--text);
}
.accordion-title svg { flex: 0 0 auto; width: 8px; height: 18px; fill: currentColor; transition: transform .2s; }
.accordion-item.open .accordion-title { color: var(--purple); border-bottom: 1px solid #f5f5f5; }
.accordion-item.open .accordion-title svg { transform: rotate(90deg); }
.accordion-content { display: none; padding: 5px 16px 16px; }
.accordion-item.open .accordion-content { display: block; }
.accordion-content ul { margin: 0 0 27px 20px; }
.accordion-content li p { margin: 0; }
.accordion-content strong { font-weight: 700; }
.accordion-content p + ul, .accordion-content ul + p { margin-top: 0; }
.accordion-content p { margin-bottom: 27px; }
.accordion-content p:last-child { margin-bottom: 0; }
.accordion-content p + p { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: var(--white); }
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 10px; min-height: 70px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-inner p { font-size: 15px; font-weight: 400; }
.socials { display: flex; gap: 20px; align-items: center; }
.socials a { display: inline-flex; }
.socials svg { width: 15px; height: 15px; fill: var(--white); transition: fill .3s; }
.socials a:hover svg { fill: var(--yellow); }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .header-inner { position: relative; height: 80px; padding: 0 20px; }
  .site-header.shrink .header-inner { height: 70px; }
  .main-nav { position: static; height: auto; }
  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    background-color: var(--white);
    flex-direction: column;
    padding: 0.5rem 0;
    box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.16), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border);
  }
  .main-nav ul.active { display: flex; }
  .main-nav li { width: 100%; height: auto; }
  .main-nav li a {
    width: 100%;
    height: auto;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .main-nav li.nav-cta { display: block; }
  .main-nav li.nav-info {
    display: block;
    padding: 0.75rem 1.5rem 0.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .main-nav li.nav-info p + p { margin-top: 0.75rem; }
  .main-nav li.nav-info strong { display: block; color: var(--navy); font-weight: 700; }
  .main-nav li.nav-info a {
    display: inline;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    font-size: inherit;
    font-weight: 500;
    color: var(--purple);
  }
  .main-nav ul { max-height: calc(100vh - 80px); overflow-y: auto; }
  .main-nav li a.header-cta {
    justify-content: center;
    margin: 0.5rem 1.5rem;
    width: calc(100% - 3rem);
    height: 50px;
    border-bottom: none;
  }
  .brand img { width: 73px; height: 60px; }
  .hero { padding: 150px 0 80px; }
  .hero-col { max-width: 100%; }
  .h-xl, .hero h1, .page-banner h1, .about-card h2 { font-size: 38px; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 450px; }
  .split-content, .split.reverse .split-content { max-width: none; padding: 60px 30px; justify-self: stretch; }
  .split.reverse .split-media { order: 0; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-card { padding: 50px 30px; }
  .about-grid { grid-template-columns: 1fr; }
  .counters { margin-top: -150px; padding: 200px 0 50px; }
  .counter-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .carousel-slide { flex-basis: calc((100% - 20px) / 2); }
  .cta-box, .cta-box.tall { padding: 70px 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-banner.tall { min-height: 650px; }
  .container { padding: 0 20px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .spacer, .spacer-lg { height: 70px; }
  .h-xl, .hero h1, .page-banner h1, .about-card h2 { font-size: 30px; }
  .h-lg, .gallery h2, .cta-box h2, .faq-section h2 { font-size: 28px; line-height: 1.2; }
  .hero { padding: 120px 0 70px; }
  .hero-tag, .hero p.hero-text, .page-banner .banner-text { font-size: 18px; }
  .hero .btn-row { gap: 15px; }
  .split-media { min-height: 320px; }
  .why-grid { grid-template-columns: 1fr; padding: 0; }
  .why-card { padding: 35px 30px; }
  .step-box { flex-direction: column; align-items: flex-start; }
  .about-card { padding: 40px 20px; margin: 0; }
  .testimonials { padding: 50px 16px; }
  .testimonial-text { font-size: 18px; line-height: 1.6; }
  .testimonial-author { font-size: 16px; }
  .counters { margin-top: -80px; padding: 120px 0 50px; }
  .counter-grid { grid-template-columns: 1fr 1fr; }
  .counter-title { font-size: 15px; line-height: 24px; text-align: center; }
  .carousel { padding: 0 35px; margin: 0; }
  .carousel-slide { flex-basis: 100%; }
  .cta-box, .cta-box.tall { padding: 50px 20px; margin: 0; }
  .cta-box .cta-text { font-size: 17px; }
  .video-wrap { margin: 0; }
  .page-banner.tall { min-height: 560px; }
  .accordion { padding: 0; }
  .accordion-title { padding: 12px 12px 25px; }
  .faq-grid { padding: 0; }
  .footer-inner { flex-direction: column; justify-content: center; padding: 20px; text-align: center; }
  .btn { font-size: 16px; }
}
