/* Jay Balumama Tours and Travels */

:root {
  --wood: #14100e;
  --wood-mid: #2a1c16;
  --gold: #e8b84a;
  --coral: #d4552a;
  --cyan: #2bb8c8;
  --paper: #f6f4f1;
  --mist: #ebe7e2;
  --ink: #1a120e;
  --ink-soft: #5c4a3f;
  --white: #ffffff;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

/* Nav */
.site-nav {
  padding-block: 1rem;
  background: transparent;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-nav .container {
  max-width: 1140px;
}

.site-nav.is-scrolled {
  background: rgba(20, 16, 14, 0.96);
  backdrop-filter: blur(12px);
  padding-block: 0.65rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--white) !important;
}

.site-nav .nav-link {
  font-weight: 500;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78) !important;
  padding: 0.4rem 0 !important;
}

.site-nav .nav-link:hover {
  color: var(--white) !important;
}

.site-nav .nav-link.nav-cta {
  margin-left: 0.5rem !important;
  padding: 0.55rem 1.25rem !important;
  background: var(--coral);
  color: var(--white) !important;
  font-weight: 700 !important;
  border: 1px solid var(--coral);
  box-shadow: 0 6px 16px rgba(212, 85, 42, 0.35);
}

.site-nav .nav-link.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--wood) !important;
  box-shadow: 0 8px 18px rgba(232, 184, 74, 0.35);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.55rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: rgba(20, 16, 14, 0.98);
    margin-top: 0.75rem;
    padding: 1.1rem 1.15rem;
  }

  .site-nav .nav-link {
    padding: 0.65rem 0 !important;
  }

  .site-nav .nav-link.nav-cta {
    display: inline-block;
    margin: 0.85rem 0 0.25rem !important;
    text-align: center;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 5rem;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.05);
  animation: heroDrift 28s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.1) translate(-1%, -0.6%); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 16, 14, 0.92) 0%, rgba(20, 16, 14, 0.72) 38%, rgba(20, 16, 14, 0.35) 68%, rgba(20, 16, 14, 0.55) 100%),
    linear-gradient(180deg, rgba(20, 16, 14, 0.55) 0%, transparent 28%, rgba(20, 16, 14, 0.75) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.hero-content {
  max-width: 36rem;
}

.hero-flyer {
  justify-self: end;
  width: min(100%, 420px);
}

.hero-flyer img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 184, 74, 0.95);
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5.25rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin: 0 0 1.35rem;
  color: var(--white);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0 0 0.7rem;
  max-width: 16ch;
  color: rgba(255, 255, 255, 0.96);
}

.hero-lead {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32ch;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1.35rem;
  height: 2.15rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
  opacity: 0.75;
}

.hero-scroll span {
  width: 2px;
  height: 7px;
  background: var(--white);
  animation: scrollPulse 1.8s var(--ease) infinite;
}

@keyframes scrollPulse {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 3px;
  padding: 0.85rem 1.45rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-lg {
  font-size: 1rem;
}

.btn-primary {
  --bs-btn-bg: var(--coral);
  --bs-btn-border-color: var(--coral);
  --bs-btn-hover-bg: #b84620;
  --bs-btn-hover-border-color: #b84620;
  --bs-btn-active-bg: #b84620;
  --bs-btn-active-border-color: #b84620;
  --bs-btn-color: var(--white);
  box-shadow: 0 10px 28px rgba(212, 85, 42, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(212, 85, 42, 0.35);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--wood);
}

.btn-whatsapp {
  background: #1faa59;
  border-color: #1faa59;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #188f4a;
  border-color: #188f4a;
  color: var(--white);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 5.25rem 0;
}

.section-head {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 1.05rem;
}

/* Services */
.services {
  background:
    radial-gradient(ellipse 70% 40% at 80% 0%, rgba(227, 90, 40, 0.08), transparent),
    var(--paper);
}

.service-block {
  height: 100%;
  padding-top: 0.25rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  color: var(--coral);
  font-size: 1.45rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.35rem;
}

.service-block h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}

.service-block p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 0.98rem;
}

/* Fleet */
.fleet {
  background: var(--mist);
}

.fleet-hero-shot {
  margin: 0;
  background: var(--mist);
  overflow: hidden;
}

.fleet-hero-shot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.fleet-copy {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.fleet-copy h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.fleet-copy > p {
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

.fleet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.fleet-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.25rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}

.fleet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--cyan);
  transform: translateY(-50%);
}

/* About */
.about {
  position: relative;
  background: var(--wood);
  color: var(--white);
  overflow: hidden;
}

.about-texture {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 48px
    ),
    linear-gradient(160deg, var(--wood) 0%, var(--wood-mid) 55%, #2a160f 100%);
  pointer-events: none;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.about h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--white);
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}

.about-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-weight: 600;
  color: var(--cyan);
  font-size: 1.05rem;
}

.about-loc i {
  color: #e8453c;
}

/* Contact */
.contact {
  background: var(--paper);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--mist);
}

.contact-line i {
  font-size: 1.25rem;
  color: var(--coral);
  margin-top: 0.15rem;
}

.contact-line .bi-whatsapp {
  color: #1faa59;
}

.contact-line .bi-geo-alt-fill {
  color: #e8453c;
}

.contact-line strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.contact-line em {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-line:not(.static):hover strong {
  color: var(--coral);
}

.map-wrap {
  margin-top: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--mist);
  aspect-ratio: 16 / 11;
  background: var(--mist);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.inquiry-form {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 1.75rem 1.5rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  border-radius: 2px;
  border-color: #d9d3cc;
  padding: 0.7rem 0.85rem;
  background: #faf9f7;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 0.2rem rgba(227, 90, 40, 0.15);
  background: var(--white);
}

.alert {
  border-radius: 2px;
  border: none;
  margin-bottom: 1.25rem;
}

.alert-success {
  background: rgba(31, 170, 89, 0.12);
  color: #146c3a;
}

/* Footer */
.site-footer {
  background: var(--wood);
  color: rgba(255, 255, 255, 0.55);
  padding: 2.25rem 0;
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer .brand-mark {
  display: inline-block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.footer-meta {
  font-size: 0.88rem;
}

.float-wa {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1040;
  width: 3.35rem;
  height: 3.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1faa59;
  color: var(--white);
  font-size: 1.65rem;
  box-shadow: 0 8px 24px rgba(31, 18, 12, 0.25);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.float-wa:hover {
  background: #188f4a;
  color: var(--white);
  transform: scale(1.06);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

.hero .reveal.is-visible.reveal-delay-1 { transition-delay: 0.15s; }
.hero .reveal.is-visible.reveal-delay-2 { transition-delay: 0.3s; }
.hero .reveal.is-visible.reveal-delay-3 { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img,
  .hero-scroll span,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-flyer {
    justify-self: center;
    width: min(100%, 360px);
    order: 2;
  }

  .hero-content {
    order: 1;
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .section { padding: 4rem 0; }
  .hero {
    align-items: flex-end;
    padding: 6.5rem 0 4.25rem;
  }
  .hero-brand {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }
  .hero-actions .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .hero-flyer {
    width: min(100%, 300px);
  }
  .inquiry-form { padding: 1.35rem 1.1rem; }
}
