/**
 * main.css — Design System, Layout, Typography, Components
 * AI Travel Itinerary Generator
 * Extracted from index.html for modular GitHub structure
 */

/* =================== DESIGN SYSTEM =================== */
:root {
  --ink: #0d1117;
  --ink-2: #1c2333;
  --ink-3: #2d3748;
  --sand: #f5f0e8;
  --sand-2: #ede7d9;
  --sand-3: #e0d8c8;
  --gold: #c9a84c;
  --gold-2: #e8c66a;
  --gold-light: #f9f0d8;
  --teal: #2a7b7b;
  --teal-2: #3a9b9b;
  --teal-light: #e8f4f4;
  --coral: #d4634e;
  --white: #ffffff;
  --text-primary: #0d1117;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.14);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}
[data-theme="dark"] {
  --sand: #1a1f2e;
  --sand-2: #141926;
  --sand-3: #111622;
  --gold-light: #1e1a0e;
  --teal-light: #0e1a1a;
  --text-primary: #f0ece4;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --border: rgba(255,255,255,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.5);
  --white: #1c2333;
}
/* =================== RESET & BASE =================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }
select, input, textarea { font-family: var(--font-body); }
a { text-decoration: none; color: inherit; }

/* =================== TYPOGRAPHY =================== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
.display-xl { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; }
.display-md { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; }
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* =================== LAYOUT =================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* =================== TOPBAR =================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(245,240,232,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
[data-theme="dark"] .topbar { background: rgba(26,31,46,0.85); }
.topbar-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-primary);
}
.topbar-logo span { color: var(--gold); }
.topbar-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sand-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all var(--transition);
}
.theme-toggle:hover { background: var(--sand-3); transform: scale(1.05); }
.nav-link {
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-secondary, #4a5568);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--gold); }
@media (max-width: 860px) {
  .topbar-actions .nav-link:not(:last-of-type) { display: none; }
  .topbar { flex-wrap: wrap; gap: 0.5rem; }
}
@media (max-width: 600px) {
  .topbar-actions { gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
  .topbar-actions .nav-link { display: inline; font-size: 0.78rem; }
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--ink, #1a1f2e); color: rgba(255,255,255,0.92);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(110%);
  transition: transform 0.4s ease;
  font-size: 0.85rem;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { margin: 0; max-width: 560px; line-height: 1.5; color: rgba(255,255,255,0.85); }
.cookie-banner a { color: var(--gold, #c9a84c); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition);
}
.cookie-btn-accept { background: var(--gold, #c9a84c); color: #1a1f2e; }
.cookie-btn-accept:hover { opacity: 0.9; }
.cookie-btn-decline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.25); }
.cookie-btn-decline:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; text-align: center; padding: 1rem; }
}

/* =================== HERO =================== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #0d2137 30%, #0a1a2e 60%, #071020 100%);
  padding-top: 80px;
}
.hero-bg-canvas { position: absolute; inset: 0; pointer-events: none; }
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(201,168,76,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(42,123,123,0.12) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-content .section-label { color: var(--gold-2); }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.65);
  max-width: 560px; margin-bottom: 2.5rem; font-weight: 300;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 3rem; }
.hero-badge {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1rem; border-radius: 999px;
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
}
.hero-badge span { color: var(--gold-2); }
.hero-cta {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: #0d1117;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 0.5rem;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,168,76,0.4); }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: white; border-color: rgba(255,255,255,0.4); }
/* Floating particles */
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.4); font-size: 0.8rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-arrow { animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* =================== MAIN FORM SECTION =================== */
.form-section { padding: 5rem 0; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.form-header {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 2.5rem;
  position: relative; overflow: hidden;
}
.form-header::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,168,76,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.form-header h2 { color: white; margin-bottom: 0.5rem; }
.form-header p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.form-body { padding: 2.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-secondary);
}
.form-label span { color: var(--coral); }
.form-control {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form-control:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(201,168,76,0.12); }
.form-control option { background: var(--white); }
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '▾'; position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%); pointer-events: none;
  color: var(--text-muted); font-size: 0.8rem;
}
/* Budget selector */
.budget-selector { display: flex; gap: 0.75rem; }
.budget-option {
  flex: 1; padding: 0.75rem 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--text-secondary);
  text-align: center; cursor: pointer;
  transition: all var(--transition);
  font-size: 0.85rem; font-weight: 500;
}
.budget-option:hover { border-color: var(--gold); color: var(--text-primary); }
.budget-option.active { border-color: var(--gold); background: var(--gold-light); color: var(--ink); }
.budget-option .icon { font-size: 1.3rem; display: block; margin-bottom: 0.25rem; }
/* Interests multi-select */
.interests-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.interest-tag {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--sand);
  color: var(--text-secondary);
  font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.interest-tag:hover { border-color: var(--teal); color: var(--teal); }
.interest-tag.active { border-color: var(--teal); background: var(--teal-light); color: var(--teal); }
/* Generate button */
.generate-btn {
  width: 100%; padding: 1.2rem;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: white; border-radius: var(--radius-sm);
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  margin-top: 1rem;
  position: relative; overflow: hidden;
}
.generate-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--teal) 100%);
  opacity: 0; transition: opacity var(--transition);
}
.generate-btn:hover::before { opacity: 1; }
.generate-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(13,17,23,0.3); }
.generate-btn span { position: relative; z-index: 1; }

/* =================== LOADING SCREEN =================== */
.loading-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(16px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
}
.loading-overlay.active { display: flex; }
.loading-globe { font-size: 4rem; animation: spin 3s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.loading-title { color: white; font-family: var(--font-display); font-size: 2rem; font-weight: 300; }
.loading-steps { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.loading-step {
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(255,255,255,0.5); font-size: 0.9rem;
  transition: all 0.5s;
}
.loading-step.done { color: var(--gold-2); }
.loading-step .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); transition: all 0.5s;
}
.loading-step.done .dot { background: var(--gold-2); }
.loading-step.active { color: white; }
.loading-step.active .dot { background: white; animation: pulse-dot 1s infinite; }
@keyframes pulse-dot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.5); } }
.loading-bar-wrap {
  width: 300px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden;
}
.loading-bar {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--teal-2));
  transition: width 0.5s ease;
}

/* =================== RESULTS SECTION =================== */
#results { display: none; }
#results.active { display: block; }
.results-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 4rem 0 3rem;
  position: relative; overflow: hidden;
}
.results-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.15), transparent 60%);
}
.results-dest {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300; color: white; margin-bottom: 0.5rem;
  position: relative;
}
.results-dest em { color: var(--gold-2); font-style: italic; }
.results-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.results-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75); font-size: 0.82rem;
  padding: 0.4rem 0.9rem; border-radius: 999px;
}
.results-chip span { color: var(--gold-2); font-weight: 600; }
.results-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; position: relative; }
.action-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px; font-size: 0.82rem; font-weight: 500;
  transition: all var(--transition); display: flex; align-items: center; gap: 0.4rem;
}
.action-btn-light { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); color: white; }
.action-btn-light:hover { background: rgba(255,255,255,0.18); }
.action-btn-gold { background: var(--gold); color: var(--ink); border: none; }
.action-btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }

/* =================== BUDGET SUMMARY =================== */
.budget-section { padding: 3rem 0; }
.budget-total-card {
  background: linear-gradient(135deg, var(--gold) 0%, #b8914a 100%);
  border-radius: var(--radius);
  padding: 2rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  box-shadow: 0 12px 40px rgba(201,168,76,0.35);
}
.budget-total-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.budget-total-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 400; line-height: 1; }
.budget-total-sub { font-size: 0.85rem; opacity: 0.75; margin-top: 0.25rem; }
.budget-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.budget-mini-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  transition: all var(--transition);
}
.budget-mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.budget-mini-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.budget-mini-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.budget-mini-val { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--text-primary); }
.budget-mini-sub { font-size: 0.75rem; color: var(--text-muted); }
/* Budget bar chart */
.budget-chart { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.chart-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.chart-label { min-width: 110px; font-size: 0.82rem; color: var(--text-secondary); font-weight: 500; }
.chart-bar-wrap { flex: 1; background: var(--sand-2); border-radius: 999px; height: 10px; overflow: hidden; }
.chart-bar { height: 100%; border-radius: 999px; transition: width 1s cubic-bezier(0.4,0,0.2,1); }
.chart-val { min-width: 70px; font-size: 0.82rem; font-weight: 600; color: var(--text-primary); text-align: right; }

/* =================== ITINERARY =================== */
.itinerary-section { padding: 3rem 0; }
.day-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 1.25rem;
  overflow: hidden; transition: all var(--transition);
}
.day-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.day-header:hover { background: var(--sand); }
.day-header.open { border-bottom-color: var(--border); }
.day-num {
  background: var(--ink); color: white;
  font-family: var(--font-display); font-size: 1.1rem;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.day-info { margin-left: 1rem; flex: 1; }
.day-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.day-subtitle { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.1rem; }
.day-cost { font-family: var(--font-display); font-size: 1.1rem; color: var(--teal); font-weight: 400; }
.day-toggle { color: var(--text-muted); font-size: 1.2rem; transition: transform var(--transition); }
.day-toggle.open { transform: rotate(180deg); }
.day-body { display: none; padding: 1.5rem; }
.day-body.open { display: block; }
/* Time block */
.time-block { margin-bottom: 1.5rem; }
.time-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: var(--sand-2); margin-bottom: 0.75rem;
}
.activity-item {
  display: flex; gap: 1rem; padding: 1rem;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  margin-bottom: 0.6rem; transition: all var(--transition);
}
.activity-item:hover { border-color: var(--gold); background: var(--gold-light); }
.activity-icon { font-size: 1.3rem; flex-shrink: 0; }
.activity-info { flex: 1; }
.activity-name { font-weight: 500; font-size: 0.95rem; color: var(--text-primary); }
.activity-desc { font-size: 0.82rem; color: var(--text-secondary); margin-top: 0.2rem; }
.activity-cost { font-size: 0.8rem; font-weight: 600; color: var(--teal); margin-top: 0.25rem; }

/* =================== HOTELS =================== */
.hotels-section { padding: 3rem 0; }
.hotel-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
}
.hotel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hotel-img {
  height: 180px; background: linear-gradient(135deg, var(--sand-2), var(--sand-3));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.hotel-img::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3));
}
.hotel-badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: var(--gold); color: var(--ink);
  font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.hotel-body { padding: 1.25rem; }
.hotel-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin-bottom: 0.25rem; }
.hotel-type { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hotel-stars { color: var(--gold); font-size: 0.85rem; margin: 0.5rem 0; }
.hotel-perks { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0; }
.hotel-perk { font-size: 0.72rem; color: var(--text-secondary); background: var(--sand); padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px solid var(--border); }
.hotel-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.hotel-price { font-family: var(--font-display); font-size: 1.4rem; }
.hotel-price small { font-size: 0.7rem; color: var(--text-muted); }
.book-btn {
  background: var(--teal); color: white;
  padding: 0.55rem 1.2rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
  transition: all var(--transition);
  border: none; cursor: pointer;
  font-family: var(--font-body, inherit);
}
.book-btn:hover { background: var(--teal-2); transform: translateY(-1px); }

/* =================== INFO CARDS =================== */
.info-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; padding: 3rem 0; }
@media (max-width:900px) { .info-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:600px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.info-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.info-card-icon { font-size: 1.5rem; }
.info-card-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.info-list li { font-size: 0.88rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 0.5rem; }
.info-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; margin-top: 0.05rem; }
/* Currency card */
.currency-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.currency-row:last-child { border-bottom: none; }
.currency-from { color: var(--text-muted); }
.currency-to { font-weight: 600; color: var(--teal); }
/* Weather */
.weather-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.weather-item { text-align: center; padding: 0.75rem; background: var(--sand); border-radius: var(--radius-sm); }
.weather-temp { font-family: var(--font-display); font-size: 1.6rem; }
.weather-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* =================== FLIGHT SECTION =================== */
.flight-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem;
  transition: all var(--transition);
}
.flight-card:hover { border-color: var(--teal); }
.flight-route { font-family: var(--font-display); font-size: 1.1rem; }
.flight-route span { color: var(--teal); font-style: italic; }
.flight-meta { font-size: 0.8rem; color: var(--text-muted); }
.flight-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--teal); }
.flight-price small { font-size: 0.75rem; color: var(--text-muted); display: block; }

/* =================== TIPS SECTION =================== */
.tips-section { padding: 3rem 0 5rem; }
.tip-category { margin-bottom: 2rem; }
.tip-category-title { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 1rem; }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 0.75rem; }
.tip-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
  transition: all var(--transition);
}
.tip-card:hover { border-color: var(--teal); transform: translateX(3px); }
.tip-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.tip-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; }

/* =================== PACKING =================== */
.packing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.6rem; }
.packing-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.9rem; background: var(--sand);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-secondary);
}

/* =================== SECTION HEADERS =================== */
.section-header { margin-bottom: 2rem; }
.section-title-lg { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; }
.section-divider { width: 48px; height: 2px; background: var(--gold); border-radius: 999px; margin-top: 0.75rem; }

/* =================== FOOTER =================== */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.5);
  padding: 2rem 0; font-size: 0.82rem; text-align: center;
}
.site-footer a { color: var(--gold-2); }

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  .topbar { padding: 1rem; }
  .form-header, .form-body { padding: 1.5rem; }
  .budget-total-card { text-align: center; justify-content: center; }
  .hotel-card { max-width: 100%; }
  .day-header { padding: 1rem; }
  .day-body { padding: 1rem; }
}

/* =================== UTILITIES =================== */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
.text-gold { color: var(--gold); } .text-teal { color: var(--teal); }
.text-muted { color: var(--text-muted); } .text-small { font-size: 0.82rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.animate-in { animation: fadeUp 0.6s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-delay-1 { animation-delay: 0.1s; } .animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; } .animate-delay-4 { animation-delay: 0.4s; }

/* =================== DARK MODE OVERRIDES =================== */
[data-theme="dark"] .form-control { background: var(--sand-2); border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .form-control:focus { background: var(--sand-3); }
[data-theme="dark"] .budget-option { background: var(--sand-2); }
[data-theme="dark"] .interest-tag { background: var(--sand-2); }
[data-theme="dark"] .hero-badge { background: rgba(255,255,255,0.04); }
[data-theme="dark"] .packing-item { background: var(--sand-2); }
[data-theme="dark"] .weather-item { background: var(--sand-2); }
