/* ==========================================================
   Globetrot styles
   Colors and fonts are temporary until the logo is added.
   To change a color everywhere, edit it once here in :root.
   ========================================================== */

:root {
  --color-ink: #1c1c1a;       /* near-black text */
  --color-cream: #f6f2ea;     /* warm cream background */
  --color-white: #ffffff;
  --color-accent: #a8865a;    /* muted bronze */
  --color-muted: #6e6a63;
  --color-line: #ddd6c9;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 820px; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.1; }
h2 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }

/* Small uppercase label shown above headings */
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s;
}
.btn-small { padding: 10px 22px; }
.btn-dark { background: var(--color-ink); color: #fff; }
.btn-dark:hover { background: var(--color-accent); }
.btn-light { background: #fff; color: var(--color-ink); }
.btn-light:hover { background: var(--color-cream); }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--color-ink); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.logo { display: block; }
/* mix-blend-mode hides the white box behind the logo */
.logo-img { height: 76px; width: auto; mix-blend-mode: multiply; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a:not(.btn) {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.main-nav a:not(.btn):hover { color: var(--color-accent); }
.main-nav a.active { color: var(--color-accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: flex-end;
  padding-bottom: 90px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05) 65%);
}
.hero-content { position: relative; }
.hero .kicker { color: #fff; opacity: 0.85; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); max-width: 850px; margin-bottom: 20px; }
.hero-intro { font-size: 1.1rem; max-width: 520px; margin-bottom: 36px; opacity: 0.92; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-flush { padding-top: 0; }
.section-alt { background: var(--color-cream); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }

/* ---------- Intro line ---------- */
.intro { text-align: center; }
.intro-text {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.4;
}

/* ---------- Feature rows (Vacations / Corporate) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 110px;
}
.feature:last-child { margin-bottom: 0; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-reverse img { order: 2; }
.feature-text h2 { margin-bottom: 20px; }
.feature-text p:not(.kicker) { color: var(--color-muted); margin-bottom: 32px; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-large { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery figure { position: relative; overflow: hidden; }
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 14px;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 50px; }
.testimonial { text-align: center; padding-top: 30px; border-top: 1px solid var(--color-line); }
.testimonial p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 20px;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ---------- Call to action ---------- */
.cta {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 150px 0;
}
.cta .hero-overlay { background: rgba(0, 0, 0, 0.45); }
.cta-content { position: relative; }
.cta .kicker { color: #fff; opacity: 0.85; }
.cta h2 { margin-bottom: 16px; }
.cta p:not(.kicker) { margin-bottom: 36px; opacity: 0.92; }

/* ---------- Page banner (top of inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 70px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-hero-content { position: relative; }
.page-hero .kicker { color: #fff; opacity: 0.85; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin-bottom: 16px; }
.page-hero .hero-intro { margin-bottom: 0; }

/* ---------- Cards (past trips) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { background: #fff; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 28px; }
.card-body h3 { font-size: 1.8rem; margin-bottom: 10px; }
.card-body p:not(.kicker) { color: var(--color-muted); }
.card-meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step { border-top: 1px solid var(--color-line); padding-top: 24px; }
.step-number { font-family: var(--font-heading); font-size: 2.6rem; color: var(--color-accent); }
.step h3 { font-size: 1.6rem; margin: 8px 0 12px; }
.step p { color: var(--color-muted); }

/* ---------- What we handle / What makes us different ---------- */
.handle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; }
.handle-item { border-left: 1px solid var(--color-accent); padding-left: 24px; }
.handle-item h3 { font-size: 1.6rem; margin-bottom: 10px; }
.handle-item p { color: var(--color-muted); }

/* ---------- Case studies (corporate events) ---------- */
.case {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}
.case:last-child { margin-bottom: 0; }
.case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case-reverse img { order: 2; }
.case-body h3 { font-size: 2.4rem; margin-bottom: 24px; }
.case-body > p { color: var(--color-muted); margin-bottom: 24px; }
.case-body strong { color: var(--color-ink); font-weight: 500; }
.case-facts { display: grid; gap: 10px; margin-bottom: 24px; padding: 20px 0; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.case-facts div { display: flex; gap: 16px; }
.case-facts dt {
  min-width: 110px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-top: 3px;
}
.case-quote { font-family: var(--font-heading); font-style: italic; font-size: 1.35rem; line-height: 1.4; }

/* ---------- About: founder & team ---------- */
.founder { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; align-items: center; }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.founder-text h2 { margin-bottom: 24px; }
.founder-text p:not(.kicker) { color: var(--color-muted); margin-bottom: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.team-member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 20px; }
.team-member h3 { font-size: 1.6rem; }
.team-member .card-meta { color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem; }

/* ---------- Contact ---------- */
.contact-section { background: var(--color-cream); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 20px; }
.contact-info > p { color: var(--color-muted); margin-bottom: 36px; }
.contact-details { display: grid; gap: 14px; }
.contact-details div { display: flex; gap: 16px; }
.contact-details dt {
  min-width: 90px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-top: 3px;
}
.contact-form { background: #fff; padding: 44px; display: flex; flex-direction: column; }
.contact-form label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  background: #fff;
  margin-bottom: 22px;
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--color-accent); }
.phone-row { display: flex; gap: 10px; }
.phone-row select { width: auto; flex-shrink: 0; }
.contact-form button { cursor: pointer; align-self: flex-start; font-family: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: #bdb8ae; padding: 60px 0; font-size: 0.85rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
/* Turns the dark logo light so it shows on the dark footer */
.footer-logo { height: 90px; width: auto; filter: invert(1); mix-blend-mode: screen; margin-bottom: 10px; }
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer nav a { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }
.site-footer a:hover { color: #fff; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }

/* ---------- Tablets ---------- */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 32px; margin-bottom: 80px; }
  .feature-reverse img { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; gap: 40px; }
  .card-grid, .handle-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .case, .founder, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .case-reverse img { order: 0; }
}

/* ---------- Phones ---------- */
@media (max-width: 700px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px 24px; width: 100%; text-align: center; }

  .section { padding: 70px 0; }
  .section-flush { padding-top: 0; }
  .hero { padding-bottom: 60px; }
  .cta { padding: 100px 0; }
  .page-hero { min-height: 45vh; padding-bottom: 50px; }
  .card-grid, .handle-grid, .team-grid, .steps { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
}
