/* ============================================
   Emm Travels — Shared Styles
   Aesthetic: editorial, emerald & cream, serif-led
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --emerald: #0f5c4a;
  --emerald-deep: #083829;
  --emerald-soft: #14785f;
  --cream: #f6f1e6;
  --cream-dark: #ebe2cf;
  --sand: #d8c9a7;
  --ink: #1a1612;
  --ink-soft: #3a342c;
  --rust: #b4461a;
  --rust-soft: #cf6436;
  --mute: #766e62;
  --line: #d9cdb3;
  --shadow-sm: 0 2px 10px rgba(15, 92, 74, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 92, 74, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 92, 74, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; font-weight: 600; }

h1 em, h2 em { font-style: italic; color: var(--rust); font-weight: 500; }

p { margin-bottom: 1rem; color: var(--ink-soft); }

a { color: var(--emerald); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--rust); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ====== TOP BAR ====== */
.topbar {
  background: var(--emerald-deep);
  color: var(--cream);
  padding: 0.55rem 0;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar em { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--sand); font-size: 0.95rem; }
.topbar .phone {
  font-weight: 600;
  color: var(--sand);
  letter-spacing: 0.02em;
}
.topbar .phone::before { content: "☏ "; }

/* ====== HEADER ====== */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--rust);
  border-radius: 50%;
  transform: translateY(-4px);
}
.logo em { font-style: italic; color: var(--emerald); font-weight: 400; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-menu a {
  color: var(--ink);
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.01em;
}
.nav-menu a:hover { color: var(--rust); }
.nav-menu a.active { color: var(--emerald); }
.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 1px;
  background: var(--emerald);
}

.dropdown { position: relative; }
.dropdown-trigger::after { content: " ⌄"; font-size: 0.9em; color: var(--mute); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -0.75rem;
  background: var(--cream);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.25s;
  padding: 0.5rem 0;
  list-style: none;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
}
.dropdown-menu li a:hover { background: var(--cream-dark); color: var(--rust); }

.btn-call {
  background: var(--emerald) !important;
  color: var(--cream) !important;
  padding: 0.6rem 1.3rem !important;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.82rem !important;
}
.btn-call:hover { background: var(--rust) !important; color: var(--cream) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

/* ====== HERO ====== */
.hero {
  background:
    radial-gradient(ellipse at top right, rgba(180, 70, 26, 0.15) 0%, transparent 50%),
    linear-gradient(165deg, var(--emerald-deep) 0%, var(--emerald) 70%);
  color: var(--cream);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "✦";
  position: absolute;
  top: 15%; right: 8%;
  font-size: 2rem;
  color: var(--sand);
  opacity: 0.4;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand), transparent);
  opacity: 0.3;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { color: var(--cream); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--sand); }
.hero p.lead {
  font-size: 1.1rem;
  color: rgba(246, 241, 230, 0.85);
  margin-bottom: 2rem;
  max-width: 520px;
  font-weight: 300;
}
.hero-eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--sand);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-left: 2.5rem;
  position: relative;
}
.hero-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 2rem;
  height: 1px;
  background: var(--sand);
}

/* ====== FLIGHT FORM ====== */
.flight-form {
  background: var(--cream);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  position: relative;
  border-top: 3px solid var(--rust);
}
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  color: var(--ink);
}
.form-subtitle {
  font-size: 0.82rem;
  color: var(--mute);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.trip-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.trip-tab {
  padding: 0.6rem 1.2rem 0.8rem 0;
  margin-right: 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mute);
  position: relative;
  letter-spacing: 0.03em;
}
.trip-tab.active { color: var(--emerald); }
.trip-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 1.5rem;
  height: 2px;
  background: var(--emerald);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-field.full { grid-column: span 2; }
.form-field label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.form-field input,
.form-field select {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--emerald);
}
.btn-primary {
  background: var(--emerald);
  color: var(--cream);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.25s, letter-spacing 0.25s;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.btn-primary:hover {
  background: var(--rust);
  letter-spacing: 0.15em;
}
.form-footnote {
  font-size: 0.85rem;
  color: var(--mute);
  margin-top: 1rem;
  text-align: center;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}
.form-footnote a { color: var(--rust); font-weight: 600; font-style: normal; font-family: 'DM Sans', sans-serif; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* ====== SECTIONS ====== */
section { padding: 5rem 0; }
.section-head {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--mute);
  font-weight: 300;
  margin-top: 0.75rem;
}
.divider-ornament {
  text-align: center;
  color: var(--sand);
  margin: 1rem 0;
  font-size: 1rem;
  letter-spacing: 0.5em;
}

/* ====== DEALS — EDITORIAL STYLE ====== */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.deal-card {
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.deal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.deal-image {
  height: 190px;
  position: relative;
  overflow: hidden;
}
.deal-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 3rem;
  opacity: 0.3;
}
.deal-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--rust);
  color: var(--cream);
  padding: 0.25rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.deal-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.deal-route {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--ink);
}
.deal-route .arrow {
  color: var(--rust);
  margin: 0 0.5rem;
  font-style: italic;
  font-weight: 400;
}
.deal-meta {
  font-size: 0.82rem;
  color: var(--mute);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}
.deal-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.deal-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--emerald);
  line-height: 1;
}
.deal-price small {
  display: block;
  font-size: 0.65rem;
  color: var(--mute);
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
}
.deal-cta {
  background: transparent;
  color: var(--ink);
  padding: 0.55rem 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  transition: color 0.2s, border-color 0.2s;
}
.deal-cta:hover { color: var(--rust); border-color: var(--rust); }

/* ====== EXCLUSIVE BANNER ====== */
.exclusive-banner {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.exclusive-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(180, 70, 26, 0.2) 0%, transparent 40%),
                    radial-gradient(circle at 80% 50%, rgba(15, 92, 74, 0.3) 0%, transparent 40%);
}
.exclusive-banner > .container { position: relative; z-index: 2; }
.exclusive-banner h2 { color: var(--cream); margin-bottom: 0.75rem; }
.exclusive-banner h2 em { color: var(--sand); }
.exclusive-banner p {
  color: rgba(246,241,230,0.75);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

/* ====== FEATURES ====== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.feature {
  text-align: center;
  padding: 0 0.5rem;
}
.feature-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 3rem;
  color: var(--rust);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* ====== CONTENT PAGES ====== */
.page-header {
  background: var(--cream-dark);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-header::after {
  content: "✦";
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: var(--sand);
  opacity: 0.5;
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { color: var(--mute); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.25rem; }
.breadcrumb {
  font-size: 0.82rem;
  color: var(--mute);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--mute); }
.breadcrumb span { color: var(--rust); }

.content {
  padding: 4rem 0;
  max-width: 780px;
  margin: 0 auto;
}
.content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}
.content h2::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5rem;
  width: 4px;
  height: 1.5rem;
  background: var(--rust);
}
.content h3 { margin-top: 2rem; color: var(--emerald); }
.content p, .content li { color: var(--ink-soft); }
.content ul, .content ol { margin: 0 0 1.25rem 1.5rem; }
.content li { margin-bottom: 0.5rem; }

.callout {
  background: var(--cream-dark);
  border-left: 3px solid var(--rust);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
}
.callout strong { color: var(--emerald); font-style: normal; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.callout a { font-style: normal; font-family: 'DM Sans', sans-serif; }

/* ====== CTA BLOCK ====== */
.cta-block {
  background: var(--emerald);
  color: var(--cream);
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
  position: relative;
}
.cta-block h3 {
  color: var(--cream);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}
.cta-block h3 em { color: var(--sand); }
.cta-block p {
  color: rgba(246,241,230,0.8);
  margin-bottom: 1.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
}
.cta-phone {
  display: inline-block;
  background: var(--cream);
  color: var(--emerald-deep);
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  transition: background 0.25s;
}
.cta-phone:hover { background: var(--sand); color: var(--emerald-deep); }

/* ====== FOOTER ====== */
.site-footer {
  background: var(--emerald-deep);
  color: rgba(246,241,230,0.8);
  padding: 4rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: var(--sand);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(246,241,230,0.7); font-size: 0.92rem; }
.footer-col a:hover { color: var(--sand); }
.footer-col .logo { color: var(--cream); margin-bottom: 1rem; font-size: 1.8rem; }
.footer-col .logo em { color: var(--sand); }

.footer-disclaimer {
  background: rgba(0,0,0,0.2);
  border-left: 3px solid var(--sand);
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(246,241,230,0.82);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
}
.footer-disclaimer strong {
  color: var(--sand);
  font-style: normal;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer-bottom {
  border-top: 1px solid rgba(246,241,230,0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(246,241,230,0.5);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 860px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background: var(--cream-dark);
  }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: span 1; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
}
