/* ─────────────────────────────────────────
   ELYSIAN TRAVEL GROUP — base.css
   Global reset, variables, utilities, nav,
   shared page hero, footer, animations.
   Import this on every page.
   (Homepage-only styles live in home.css)
───────────────────────────────────────── */

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

:root {
  --ink:        #18160f;
  --stone:      #f5f2ee;
  --warm-white: #faf8f5;
  --gold:       #b89d72;
  --gold-light: #d4b88a;
  --muted:      #4e4a44;
  --border:     rgba(184,157,114,0.2);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── UTILITY ───────────────────────────── */
.gold-rule {
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.label {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

/* ── LOGO ──────────────────────────────── */
.elysian-logo {
  display: block;
  height: 36.8px;
  width: auto;
}
.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}
.nav-logo .logo-dark  { display: none; }
.nav-logo .logo-white { display: block; }
#nav.scrolled .nav-logo .logo-white { display: none; }
#nav.scrolled .nav-logo .logo-dark  { display: block; }

/* ── NAV ───────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 64px;
  transition: background 0.5s ease, padding 0.4s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(12px);
  padding: 18px 64px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #fff;
  text-decoration: none;
  transition: color 0.4s;
  flex-shrink: 0;
}
#nav.scrolled .nav-logo { color: var(--ink); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.3s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
#nav.scrolled .nav-links a { color: var(--muted); }
#nav.scrolled .nav-links a:hover { color: var(--ink); border-color: var(--ink); }
.nav-contact-mobile { display: none; }

.nav-cta {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.28);
  padding: 10px 22px;
  transition: all 0.3s;
  flex-shrink: 0;
}
.nav-cta:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
#nav.scrolled .nav-cta {
  color: var(--ink);
  border-color: var(--border);
}
#nav.scrolled .nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Nav light variant (pages without dark hero) */
#nav.nav-light .nav-logo { color: var(--ink); }
#nav.nav-light .nav-links a { color: var(--muted); }
#nav.nav-light .nav-links a:hover { color: var(--ink); }
#nav.nav-light .nav-cta { color: var(--ink); border-color: var(--border); }
#nav.nav-light .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
#nav.nav-light .nav-toggle span { background: var(--ink); }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  z-index: 301;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: #fff;
  transition: transform 0.35s ease, opacity 0.25s ease, background 0.4s;
  transform-origin: center;
}
#nav.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── PAGE HERO (shared, reusable) ────────── */
.page-hero {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
}
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18,16,12,0.38) 0%,
    rgba(18,16,12,0.18) 45%,
    rgba(18,16,12,0.72) 100%
  );
}
.page-hero-content {
  position: absolute;
  bottom: 11vh;
  left: 64px;
  right: 64px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease 0.5s forwards;
}
.page-hero-content .label { margin-bottom: 20px; }
.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 90px);
  font-weight: 300;
  line-height: 1.04;
  color: #fff;
  max-width: 700px;
  letter-spacing: -0.01em;
}
.page-hero-title em { font-style: italic; }
.page-hero-sub {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  max-width: 480px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ── SECTION HEADER SHARED ─────────────── */
.section-header {
  padding: 0 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.18;
  margin-top: 14px;
}
.section-title em { font-style: italic; }
.section-title.light { color: #fff; }

.section-link {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,157,114,0.35);
  padding-bottom: 3px;
  transition: border-color 0.3s;
  white-space: nowrap;
  margin-bottom: 6px;
}
.section-link:hover { border-color: var(--gold); }

/* ── CTA BANNER (shared, reusable) ─────── */
.cta-banner {
  position: relative;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
}
.cta-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18,16,12,0.54);
}
.cta-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 74px);
  font-weight: 300;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 48px;
  max-width: 640px;
}
.cta-title em { font-style: italic; }
.cta-btn {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 18px 52px;
  text-decoration: none;
  transition: background 0.35s, color 0.35s;
}
.cta-btn:hover { background: #fff; color: var(--ink); }

/* ── QUOTE / PULL QUOTE (shared) ───────── */
.quote-section {
  padding: 150px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-white);
}
.quote-inner { max-width: 860px; text-align: center; }
.quote-open {
  font-family: var(--serif);
  font-size: 90px;
  line-height: 0.55;
  color: var(--gold);
  opacity: 0.3;
  display: block;
  margin-bottom: 36px;
}
.quote-text {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.42;
  color: var(--ink);
  margin-bottom: 42px;
}
.quote-rule {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
}

/* ── TESTIMONIALS (shared) ─────────────── */
.testimonials {
  padding: 140px 64px;
  max-width: 1440px;
  margin: 0 auto;
}
.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(26,24,20,0.07);
}
.testimonial-item {
  background: var(--warm-white);
  padding: 52px 44px;
  position: relative;
}
.testimonial-item::before {
  content: '"';
  font-family: var(--serif);
  font-size: 72px;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.22;
  position: absolute;
  top: 36px;
  left: 38px;
}
.testimonial-text {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.62;
  color: var(--ink);
  margin-bottom: 36px;
  padding-top: 24px;
}
.testimonial-rule {
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 16px;
}
.testimonial-name {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3a3630;
}
.testimonial-detail {
  font-size: 11px;
  font-weight: 400;
  color: #7a746c;
  margin-top: 5px;
  letter-spacing: 0.06em;
}

/* ── FOOTER ────────────────────────────── */
footer {
  background: var(--ink);
  padding: 90px 64px 44px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  margin-bottom: 40px;
}
.footer-logo-text {
  font-family: var(--serif);
  font-size: 21px;
  color: #fff;
  margin-bottom: 6px;
  display: block;
  letter-spacing: 0.04em;
}
.footer-tagline {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.42);
  line-height: 1.88;
  max-width: 270px;
  margin-top: 18px;
}
.footer-recognition {
  margin-top: 28px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(184,157,114,0.65);
  text-transform: uppercase;
}
.footer-col-title {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
  opacity: 0.75;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.02em;
}
.footer-links a:hover { color: rgba(255,255,255,0.88); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.28);
}
.footer-legal { display: flex; gap: 32px; list-style: none; }
.footer-legal a {
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.58); }

/* ── FOOTER MOBILE ─────────────────────── */
@media (max-width: 768px) {
  footer {
    padding: 60px 32px 36px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }
  .footer-tagline {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-links {
    align-items: center;
  }
  .footer-newsletter-form {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
/* ── DESTINATIONS STRIP (shared: home + destinations page) ── */
.dest-strip {
  display: flex;
  gap: 2px;
  padding: 0 64px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dest-strip::-webkit-scrollbar { display: none; }

.dest-card {
  flex: 0 0 340px;
  height: 500px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.dest-card:hover img { transform: scale(1.07); }

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,14,0.82) 0%, rgba(20,18,14,0.0) 52%);
  transition: background 0.4s;
}
.dest-card:hover .dest-overlay {
  background: linear-gradient(to top, rgba(20,18,14,0.9) 0%, rgba(20,18,14,0.12) 52%);
}
.dest-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 34px;
}
.dest-region {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.dest-name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
}
.dest-desc {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  line-height: 1.72;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  opacity: 0;
}
.dest-card:hover .dest-desc { max-height: 80px; opacity: 1; }

.dest-any {
  flex: 0 0 280px;
  height: 500px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 34px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.dest-any::before {
  content: '+';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 400;
  color: rgba(184,157,114,0.12);
  line-height: 1;
  transition: color 0.4s, transform 0.5s;
}
.dest-any:hover::before {
  color: rgba(184,157,114,0.22);
  transform: translate(-50%, -60%) scale(1.06);
}
.dest-any-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
  position: relative;
}
.dest-any-sub {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
  position: relative;
}

/* ── ANIMATIONS ────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.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; }

/* ═══════════════════════════════════════════
   RESPONSIVE — base
═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  #nav { padding: 24px 40px; }
  #nav.scrolled { padding: 16px 40px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 9.5px; }
  footer { padding: 70px 40px 36px; }
  .footer-top { gap: 40px; }
  .testimonials { padding: 100px 40px; }
  .section-header { padding: 0 40px; }
  .quote-section { padding: 110px 40px; }
  .article-related { padding: 72px 40px; }
  .dest-strip { padding: 0 40px; }
}

@media (max-width: 768px) {
  #nav {
    padding: 14px 24px;
    background: rgba(250,248,245,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  #nav.scrolled { padding: 14px 24px; }
  .nav-logo { color: var(--ink); }
  .nav-logo .logo-white { display: none; }
  .nav-logo .logo-dark  { display: block; }
  .nav-toggle span { background: var(--ink); }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--warm-white);
    padding: 80px 24px 52px;
    flex-direction: column;
    gap: 0;
    list-style: none;
    border-bottom: 1px solid var(--border);
    z-index: 190;
    box-shadow: 0 8px 40px rgba(24,22,15,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
    color: var(--muted);
    display: block;
    padding: 18px 0;
    font-size: 11px;
    letter-spacing: 0.18em;
    border-bottom: none;
  }
  .nav-links a:hover { color: var(--ink); border-color: transparent; }
  .nav-contact-mobile { display: block; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .page-hero { height: 68vh; min-height: 420px; }
  .page-hero-content { left: 24px; right: 24px; bottom: 8vh; }
  .page-hero-title { font-size: clamp(36px, 7vw, 68px); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; gap: 14px; align-items: flex-start; padding: 0 24px; }
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3 { transition-delay: 0s; }
  .quote-section { padding: 80px 24px; }
  .dest-strip { padding: 0 24px; }
  footer { padding: 52px 24px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { justify-content: center; }
  .testimonial-item { padding: 40px 28px; }
  .page-hero-title { font-size: clamp(32px, 8vw, 54px); }
}

/* ── FOOTER NEWSLETTER ─────────────────── */
.footer-newsletter {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-newsletter-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 14px;
}
.footer-newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.3s;
}
.footer-newsletter-form:focus-within {
  border-color: rgba(184, 157, 114, 0.45);
}
.footer-newsletter-form input[type="email"] {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  padding: 12px 16px;
  min-width: 0;
}
.footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.footer-newsletter-form button {
  background: none;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 12px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.footer-newsletter-form button:hover {
  background: rgba(184, 157, 114, 0.1);
}
.footer-newsletter-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.footer-newsletter-feedback {
  font-size: 11px;
  font-weight: 400;
  margin-top: 10px;
  min-height: 16px;
  letter-spacing: 0.04em;
}
.footer-newsletter-feedback--success { color: rgba(184, 157, 114, 0.8); }
.footer-newsletter-feedback--error   { color: rgba(255, 120, 100, 0.7); }