/* ============================================
   TRAVEL — Luxury Travel Agency
   Premium Design System
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --gold: #c9a96e;
  --gold-light: #dcc38e;
  --gold-dark: #a8884f;
  --teal: #1a3a3a;
  --teal-deep: #0f2626;
  --cream: #f5f0e8;
  --cream-warm: #ede6d8;
  --charcoal: #1a1a1a;
  --charcoal-light: #2a2a2a;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.9);
  --black: #000000;
  --overlay: rgba(0, 0, 0, 0.45);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-bg-solid: rgba(15, 38, 38, 0.85);
  --glass-border-solid: rgba(201, 169, 110, 0.2);
  --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.2);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--cream);
  background: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
}

::selection {
  background: var(--gold);
  color: var(--charcoal);
}

/* ---------- Video Background ---------- */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.bg-poster-fallback {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Mobile: hide video, show poster */
@media (max-width: 767px) {
  .bg-video { display: none; }
  .bg-poster-fallback { display: block; }
}

/* Reduced motion: pause video, show poster */
@media (prefers-reduced-motion: reduce) {
  .bg-video {
    display: none;
  }
  .bg-poster-fallback { display: block; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ---------- Section Utilities ---------- */
.section {
  position: relative;
  padding: 120px 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- Glassmorphism Mixin (via classes) ---------- */
.glass-section {
  background: var(--glass-bg-solid);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--glass-border-solid);
  border-bottom: 1px solid var(--glass-border-solid);
}

/* All sections after hero get solid/frosted backgrounds */
.destinations,
.experiences,
.about,
.testimonials,
.contact {
  background: var(--glass-bg-solid);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(15, 38, 38, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.8);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
}

.hero-content {
  max-width: 800px;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--white);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   DESTINATIONS
   ============================================ */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dest-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  transition: all var(--transition);
}

.dest-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.dest-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.dest-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.dest-card:hover .dest-card-img img {
  transform: scale(1.06);
}

.dest-card-body {
  padding: 28px;
}

.dest-card-body h3 {
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.dest-card-body p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.65);
  margin-bottom: 18px;
  line-height: 1.7;
}

.dest-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition);
}

.dest-link:hover {
  color: var(--gold-light);
}

/* ============================================
   EXPERIENCES
   ============================================ */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.exp-card {
  text-align: center;
  padding: 48px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  transition: all var(--transition);
}

.exp-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 169, 110, 0.2);
}

.exp-icon {
  color: var(--gold);
  margin-bottom: 24px;
}

.exp-card h3 {
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 12px;
}

.exp-card p {
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-eyebrow { text-align: left; }
.about-text .section-title { text-align: left; margin-bottom: 28px; }

.about-text p {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 20px;
  line-height: 1.85;
}

.about-text .btn {
  margin-top: 12px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.stat {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-number {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testi-card {
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  transition: all var(--transition);
}

.testi-card:hover {
  border-color: rgba(201, 169, 110, 0.25);
}

.testi-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testi-card blockquote {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(245, 240, 232, 0.85);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testi-author strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.testi-author span {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.45);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-eyebrow { text-align: left; }
.contact-info .section-title { text-align: left; margin-bottom: 20px; }

.contact-info > p {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.8);
}

.contact-detail a:hover {
  color: var(--gold);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 240, 232, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--charcoal);
  color: var(--cream);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--teal-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.5);
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.55);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-social h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245, 240, 232, 0.6);
  transition: all var(--transition);
}

.social-icons a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  padding: 28px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.35);
}

/* ============================================
   FADE-IN ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-line { animation: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .exp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .section { padding: 80px 0; }
  .section-inner { padding: 0 24px; }
  .section-header { margin-bottom: 48px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(15, 38, 38, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right var(--transition);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 0.9rem; letter-spacing: 0.12em; }
  .nav-cta { display: none; }

  /* Hero */
  .hero { padding: 100px 24px 60px; }
  .hero-headline { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }

  /* Grids */
  .dest-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dest-card-img { height: 180px; }

  .exp-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .exp-card { padding: 36px 24px; }

  .testi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .testi-card { padding: 28px 24px; }

  .about-stats { gap: 16px; }
  .stat { padding: 24px 12px; }
  .stat-number { font-size: 1.8rem; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-inner { padding: 0 24px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
}
