/* ============================================================
   VOYAGER — Travel Agency — style.css
   Canvas wave background + glassmorphism + bento grid
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #c87a3c;
  --accent2: #6442c8;
  --text: #f2ede8;
  --text-dim: rgba(242,237,232,0.55);
  --glass-bg: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.14);
  --radius: 18px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: #0A0618;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === CANVAS BACKGROUND === */
#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* === GLASS UTILITY === */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s, border-color 0.4s;
}
.nav.scrolled {
  background: rgba(10,6,24,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* === GLASS BUTTONS === */
.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s, border-color 0.25s, transform 0.18s;
}
.glass-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}
.btn-primary {
  background: rgba(200,122,60,0.55);
  border-color: rgba(200,122,60,0.7);
}
.btn-primary:hover { background: rgba(200,122,60,0.75); }
.btn-sm { padding: 7px 16px; font-size: 0.78rem; }
.btn-lg { padding: 13px 28px; font-size: 0.88rem; }

/* === LAYOUT UTILITIES === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.section {
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  display: block;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 120px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--accent);
}
.sub {
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-aside { display: flex; flex-direction: column; gap: 16px; }

.stat-card {
  padding: 28px;
  display: flex;
  gap: 0;
  align-items: center;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 8px;
}
.stat span {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
}
.stat p { font-size: 0.75rem; color: var(--text-dim); margin-top: 2px; }
.stat-div { width: 1px; background: var(--glass-border); align-self: stretch; }

.featured-tag { padding: 22px; }
.featured-tag .tag-label { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.featured-tag h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.featured-tag p { font-size: 0.82rem; color: var(--text-dim); }

/* === MARQUEE === */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 0;
  position: relative;
  z-index: 1;
}
.marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  padding-right: 60px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === HEADINGS === */
h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 0.95;
  margin-bottom: 48px;
}
h2 em { font-style: italic; color: var(--accent); }
h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }

/* === BENTO GRID === */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 16px;
}
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.bento-card:hover { transform: scale(1.02); }

/* Destination cards with background images */
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,6,24,0.88) 0%, rgba(10,6,24,0.2) 60%, transparent 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.bento-overlay h3, .bento-overlay h4 { margin: 0; }
.bento-overlay p { font-size: 0.82rem; color: var(--text-dim); margin: 0; }

.dest-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  margin-bottom: 4px;
}

.info-bento {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  gap: 8px;
}
.info-bento h4 { margin: 0; font-size: 1rem; }
.info-bento p { font-size: 0.82rem; color: var(--text-dim); }

/* === GRID-3 === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feat-icon {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-dim); font-size: 0.93rem; }

/* === CTA SECTION === */
.cta-section { padding: 80px 0 100px; position: relative; z-index: 1; }
.cta-card { padding: 70px; text-align: center; }
.cta-card h2 { margin-bottom: 16px; }
.cta-card p { color: var(--text-dim); max-width: 480px; margin: 0 auto; }

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 28px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.1em;
}
.footer a { color: var(--accent); text-decoration: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-wide { grid-column: span 2; }
  .grid-3 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
