/* Root variables and Theme */
:root {
  --bg: #fffbf2; /* Warm pale yellow off-white */
  --card: #ffffff;
  --muted: #6B7280; /* Slate grey */
  --text: #111827; /* Dark Charcoal */
  --accent: #4F46E5; /* Electric Indigo */
  --accent-light: #6D5DF6; /* Vibrant Violet */
  --cta: #FACC15; /* Bold Yellow */
  --cta-hover: #EAB308;
  --success: #10B981; /* Emerald Green */
  --warning: #F97316; /* Warm Orange */
  --error: #EF4444; /* Coral Red */
  --teal: #14B8A6;
  --border: #E5E7EB; /* Soft Gray */
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 16px;
  --radius-full: 9999px;
  --max: 1200px;
  --sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

/* Base Styles */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html { width: 100%; }
a { color: inherit; text-decoration: none; transition: all 0.2s; }

/* Layout Containers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px 80px;
  overflow-x: clip; /* clip allows sticky to work, unlike hidden */
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
}
.logo-new {
  height: 160px; /* Reduced container height */
  width: auto;
  min-width: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden; /* Crop the transparent areas */
}
.logo-new img {
  height: 320px !important; /* Keep image large */
  width: auto !important;
  max-height: 320px !important;
  object-fit: contain;
  margin-top: -10px; /* Adjust centering if needed */
}

.links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.links a {
  padding: 10px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  border-radius: var(--radius-full);
}
.links a:hover { background: var(--border); }
.links a.active {
  background: var(--accent) !important;
  color: white !important;
}

@media (max-width: 768px) {
  .nav { flex-direction: column; gap: 15px; text-align: center; align-items: center; }
  .logo-new {
    min-width: unset;
    height: 100px;
    justify-content: center;
  }
  .logo-new img {
    height: 200px !important;
    max-height: 200px !important;
  }
  .links {
    justify-content: center;
    gap: 2px;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .links::-webkit-scrollbar { display: none; }
  .links a {
    padding: 6px 10px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Hero and Panels */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  margin-top: 10px;
}
@media (max-width: 920px) { .hero { grid-template-columns: 1fr; } }

.panel {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 40px;
  border: 1px solid var(--border);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(79, 70, 229, 0.15);
}
.dot {
  width: 8px; height: 8px;
  background: var(--cta);
  border-radius: 50%;
}

h2 {
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -2px;
  margin: 0 0 20px;
  color: var(--text);
}
@media (max-width: 600px) { h2 { font-size: 40px; } }

.sub {
  color: var(--muted);
  font-weight: 500;
  max-width: 45ch;
  margin-bottom: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-weight: 800;
  font-size: 16px;
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn:hover { transform: scale(1.05); color: var(--accent) !important; border-color: var(--accent); }
.btn:active { transform: scale(0.98); }

.btnPrimary {
  background: var(--cta) !important;
  color: var(--text) !important;
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
  border: none;
}
.btnPrimary:hover {
  background: var(--cta-hover) !important;
  box-shadow: 0 12px 25px rgba(250, 204, 21, 0.4);
  color: var(--text) !important;
}

.btn:hover { transform: scale(1.05); }

/* Deal Cards */
.deal-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  border: 2px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: none;
}
.deal-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.deal-card h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}

.deal-card .price {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
}

.deal-card .button {
  display: inline-block;
  background: var(--text);
  color: #ffffff !important;
  padding: 16px;
  border-radius: 16px;
  font-weight: 800;
  text-align: center;
  transition: all 0.2s;
  width: 100%;
}
.deal-card .button:hover {
  background: var(--accent);
  color: #ffffff !important;
}

/* Badges */
.badge {
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 6px;
  text-transform: uppercase;
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
}
.badge-weekend { background: var(--success); color: white; }
.badge-regular { background: var(--teal); color: white; }
.badge-sameday { background: var(--warning); color: white; }
.badge-long { background: var(--accent); color: white; }
.badge-new { 
  background: var(--cta); 
  color: var(--text) !important;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
}

/* Sidebar/Steps */
.sideTitle {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--text);
}
.steps {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.step {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  align-items: center;
}
.step-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.step b { display: block; font-size: 15px; margin-bottom: 2px; color: var(--text); font-weight: 700; }
.step span { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }

/* Header Gradient */
.deals-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px;
  max-height: 350px;
  overflow: hidden;
  justify-content: space-evenly;
  padding: 25px;
  box-sizing: border-box;
  width: 100%;
}

.deals-header h1 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.deals-header img,
.deals-header h1 img {
  max-height: 80px !important;
  width: auto !important;
}

/* Sidebar boxes */
.scout-box {
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: white;
  border: none;
  border-radius: 24px;
}
.scout-box h4 { color: white !important; font-size: 24px !important; font-weight: 800; }
.scout-box p { color: rgba(255,255,255,0.8) !important; }

.tips-box { border-radius: 24px; }
.tips-box h4 { font-weight: 800; font-size: 20px; }

/* Footer */
.main-footer {
  margin-top: 40px;
  padding: 80px 0 40px;
  border-top: 2px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  font-weight: 800;
  color: var(--text);
  font-size: 18px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.footer-col a:hover { color: var(--accent); }

.footer-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.footer-img-link {
  display: flex;
  align-items: flex-end;
  padding: 12px;
  height: 120px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.footer-img-link::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
}
.footer-img-link span {
  position: relative;
  z-index: 2;
  color: white !important;
  font-weight: 800;
  font-size: 14px;
}
.footer-img-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-info { max-width: 700px; text-align: center; color: var(--muted); font-size: 15px; }
.footer-copy { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; font-weight: 600; color: var(--muted); font-size: 13px; }

/* Mobile adjustments */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-image-grid { max-width: 400px; margin: 0 auto; }
}

/* Hero Banner */
.hero-banner {
  border-radius: 32px;
  height: 400px;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  padding: 60px;
}
.hero-banner-content { z-index: 10; max-width: 700px; color: white; }
.hero-banner h1 { font-size: 64px; font-weight: 900; letter-spacing: -3px; margin: 0 0 20px; line-height: 1; }
.hero-tag {
  display: inline-block;
  background: var(--cta);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 20px;
}

/* Carousel */
.deal-card-mini {
  width: 280px;
  background: white;
  border-radius: 24px;
  border: 2px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.deal-mini-top .city { font-weight: 800; font-size: 20px; }
.price-pill { background: var(--cta); color: var(--text); padding: 4px 12px; border-radius: 8px; font-weight: 800; }
.deal-mini-btn {
  background: var(--accent);
  color: white !important;
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
  text-align: center;
}