/* =============================================
   Spark Holidays - Main Stylesheet
   Brand colors: deep navy + warm gold
   ============================================= */

:root {
  --primary: #0d3b66;
  --primary-dark: #082642;
  --accent: #f4a261;
  --accent-dark: #d68b48;
  --bg: #ffffff;
  --bg-alt: #f7f9fb;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --error: #ef4444;
  --whatsapp: #25d366;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
  --radius: 8px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.text-center { text-align: center; }

h1, h2, h3, h4 { color: var(--primary); line-height: 1.3; margin-bottom: 0.5em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; border-color: var(--primary-dark); }
.btn-outline { background: white; }
.btn-whatsapp { background: var(--whatsapp); color: white; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #1ebe57; color: white; }
.btn-sm { padding: 6px 12px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; margin: 8px 0; }

/* ===== Header / Navigation ===== */
.site-header { box-shadow: var(--shadow-sm); position: sticky; top: 0; background: white; z-index: 100; }
.top-bar { background: var(--primary); color: white; padding: 6px 0; font-size: 0.85rem; }
.top-bar a { color: white; }
.top-bar .sep { margin: 0 12px; opacity: 0.5; }

.main-nav { padding: 12px 0; }
.nav-flex { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo strong { font-size: 1.5rem; color: var(--primary); }
.nav-list { list-style: none; display: flex; gap: 28px; align-items: center; }
.nav-list a { color: var(--text); font-weight: 500; padding: 8px 0; }
.nav-list a:hover { color: var(--accent); }

.has-submenu { position: relative; }
.submenu {
  position: absolute; top: 100%; left: 0;
  background: white; box-shadow: var(--shadow-lg);
  list-style: none; padding: 8px 0; min-width: 180px;
  opacity: 0; visibility: hidden; transition: 0.2s;
  border-radius: var(--radius);
}
.has-submenu:hover .submenu { opacity: 1; visibility: visible; }
.submenu li { display: block; }
.submenu a { display: block; padding: 8px 16px; color: var(--text); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}
.hero h1 { color: white; }
.hero-sub { font-size: 1.2rem; margin-bottom: 24px; opacity: 0.95; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero .btn-outline { background: white; }

.hero-inquiry {
  background: white;
  padding: 16px;
  border-radius: var(--radius);
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  box-shadow: var(--shadow-lg);
}
.hero-inquiry input, .hero-inquiry select {
  padding: 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.95rem;
}

/* ===== Sections ===== */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 40px; }
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 60px 0;
}
.page-hero h1 { color: white; }
.package-hero { background-size: cover; background-position: center; min-height: 320px; display: flex; align-items: center; }
.breadcrumb { font-size: 0.9rem; margin-bottom: 16px; opacity: 0.9; }
.breadcrumb a { color: inherit; text-decoration: underline; }

.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ===== Destinations grid ===== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.dest-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
  transition: transform 0.2s;
}
.dest-card:hover { transform: translateY(-4px); }
.dest-card img { height: 160px; object-fit: cover; width: 100%; }
.dest-info { padding: 16px; }
.dest-info h3 { color: var(--primary); margin-bottom: 4px; }
.dest-info p { color: var(--text-light); font-size: 0.9rem; }

/* ===== Packages grid ===== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}
.package-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  display: block;
}
.package-card:hover { transform: translateY(-4px); }
.package-card img { height: 200px; object-fit: cover; width: 100%; }
.package-body { padding: 16px; }
.package-body .duration {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 8px;
}
.package-body .destination { font-size: 0.85rem; color: var(--text-light); }
.package-body h3 { color: var(--primary); font-size: 1.1rem; margin: 8px 0; }
.package-excerpt { color: var(--text-light); font-size: 0.9rem; margin-bottom: 12px; }
.price { margin: 8px 0; }
.price strong { color: var(--accent-dark); font-size: 1.2rem; }
.price .strike { text-decoration: line-through; color: var(--text-light); margin-left: 8px; font-size: 0.9rem; }
.price small { color: var(--text-light); }

/* ===== Filters ===== */
.filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}
.filters a {
  padding: 8px 16px; border: 1px solid var(--border);
  border-radius: 20px; color: var(--text);
}
.filters a.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ===== Package detail ===== */
.package-content h2 { margin-top: 32px; }
.itinerary details {
  background: var(--bg-alt); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden;
}
.itinerary summary {
  padding: 14px 16px; cursor: pointer; font-weight: 600; color: var(--primary);
}
.itinerary div { padding: 0 16px 14px; }

.check-list, .x-list { list-style: none; }
.check-list li, .x-list li { padding: 4px 0; }
.check-list li { color: var(--success); }
.x-list li { color: var(--error); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.gallery img { border-radius: 6px; height: 140px; object-fit: cover; width: 100%; }

.package-sidebar { position: sticky; top: 100px; }
.price-box {
  background: var(--primary); color: white; padding: 20px; border-radius: var(--radius); text-align: center;
  margin-bottom: 16px;
}
.price-box .strike-price { text-decoration: line-through; opacity: 0.7; }
.price-box .actual-price { font-size: 1.8rem; font-weight: 700; color: var(--accent); }

.sidebar-form {
  background: white; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.sidebar-form h3 { color: var(--primary); margin-bottom: 12px; }
.sidebar-form input, .sidebar-form select, .sidebar-form textarea {
  width: 100%; padding: 10px; margin-bottom: 8px; border: 1px solid var(--border); border-radius: 6px;
}

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s; display: block;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card img { height: 180px; object-fit: cover; width: 100%; }
.blog-body { padding: 16px; }
.blog-body small { color: var(--text-light); font-size: 0.85rem; display: block; margin-bottom: 8px; }
.blog-body h3 { color: var(--primary); margin-bottom: 8px; }
.blog-body p { color: var(--text); font-size: 0.95rem; }
.article-container { max-width: 800px; margin: 0 auto; }
.article-content { font-size: 1.1rem; line-height: 1.8; }
.article-content p { margin-bottom: 1.2em; }
.article-content h2 { margin-top: 1.5em; }
.article-content img { border-radius: var(--radius); margin: 1em 0; }

/* ===== Forms ===== */
.lead { font-size: 1.1rem; color: var(--text-light); }
input, select, textarea {
  font-family: inherit; font-size: 1rem;
}

/* ===== Pagination ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.pagination a {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 6px; color: var(--text);
}
.pagination a.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ===== FAQ ===== */
details {
  background: var(--bg-alt); padding: 0; border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
details summary { padding: 16px; cursor: pointer; font-weight: 600; color: var(--primary); }
details > p { padding: 0 16px 16px; }

/* ===== Features ===== */
.features { list-style: none; padding: 0; }
.features li {
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.features li:last-child { border-bottom: none; }

/* ===== Footer ===== */
.site-footer { background: var(--primary-dark); color: white; padding: 40px 0 20px; margin-top: 60px; }
.site-footer h4 { color: var(--accent); margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-bottom {
  text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem; opacity: 0.7;
}

/* ===== Sticky WhatsApp ===== */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px;
  width: 56px; height: 56px;
  background: var(--whatsapp); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: var(--shadow-lg); z-index: 99;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-list { gap: 12px; font-size: 0.9rem; flex-direction: column; align-items: flex-start; width: 100%; }
  .hero { padding: 40px 0; }
  .hero-inquiry { grid-template-columns: 1fr; }
  .package-sidebar { position: static; }
}

/* ===== Premium Homepage Upgrade ===== */
.travel-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(244,162,97,.22), transparent 28%), linear-gradient(135deg, #052a4f 0%, #0d3b66 52%, #03192f 100%);
  color: #fff;
  padding: 82px 0 70px;
}
.travel-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.32fr;
  gap: 34px;
  align-items: center;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.15rem, 4.6vw, 4.6rem);
  letter-spacing: -1.4px;
  margin: 14px 0 18px;
  line-height: 1.05;
}
.hero-badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(244,162,97,.14);
  color: #f4a261;
  font-weight: 800;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.travel-hero .hero-sub {
  max-width: 620px;
  font-size: 1.12rem;
  line-height: 1.75;
  opacity: .94;
}
.hero-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.hero-points span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  padding: 10px 13px;
  border-radius: 14px;
  font-weight: 700;
  font-size: .94rem;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(20px); opacity: .5; }
.hero-glow-one { width: 260px; height: 260px; background: #f4a261; right: 5%; top: 12%; }
.hero-glow-two { width: 190px; height: 190px; background: #25d366; left: 6%; bottom: 8%; opacity: .18; }
.booking-card {
  background: rgba(255,255,255,.98);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.35);
}
.booking-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  background: #eef5fb;
  border-radius: 18px;
  padding: 8px;
  margin-bottom: 16px;
}
.booking-tab {
  border: 0;
  border-radius: 14px;
  padding: 12px 8px;
  background: transparent;
  color: #0d3b66;
  font-weight: 800;
  cursor: pointer;
}
.booking-tab.active {
  background: #0d3b66;
  color: #fff;
  box-shadow: 0 8px 20px rgba(13,59,102,.24);
}
.booking-panel { display: none; }
.booking-panel.active { display: block; }
.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.booking-panel label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #0d3b66;
  font-weight: 800;
  font-size: .86rem;
}
.booking-panel input, .booking-panel select, .booking-panel textarea, .side-lead-form input, .side-lead-form textarea {
  width: 100%;
  border: 1px solid #dce8f2;
  background: #f8fbfd;
  border-radius: 13px;
  padding: 13px 14px;
  font-size: .95rem;
  outline: none;
  transition: .18s;
}
.booking-panel input:focus, .booking-panel textarea:focus, .side-lead-form input:focus, .side-lead-form textarea:focus {
  border-color: #0d3b66;
  box-shadow: 0 0 0 4px rgba(13,59,102,.08);
  background: #fff;
}
.booking-panel textarea {
  min-height: 70px;
  margin-top: 12px;
  resize: vertical;
}
.booking-submit {
  width: 100%;
  margin-top: 14px;
  border-radius: 14px;
  padding: 15px 22px;
  font-size: 1.05rem;
}
.trust-strip {
  background: #fff;
  margin-top: -34px;
  position: relative;
  z-index: 3;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 18px 45px rgba(13,59,102,.12);
}
.trust-grid div {
  border-right: 1px solid #e6eef5;
  text-align: center;
}
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { display: block; color: #0d3b66; font-size: 2rem; line-height: 1; }
.trust-grid span { color: #64748b; font-weight: 700; font-size: .92rem; }
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-heading-row h2 { margin: 10px 0 0; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.services-grid-pro {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.service-pro-card {
  background: #fff;
  border: 1px solid #e4edf5;
  border-radius: 22px;
  padding: 24px 18px;
  min-height: 190px;
  box-shadow: 0 10px 30px rgba(13,59,102,.07);
  color: #1e293b;
  transition: .22s ease;
}
.service-pro-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(13,59,102,.13); color: #1e293b; }
.service-pro-card span { font-size: 2rem; display: inline-block; margin-bottom: 14px; }
.service-pro-card h3 { margin-bottom: 8px; }
.service-pro-card p { color: #64748b; font-size: .94rem; }
.destination-showcase { background: linear-gradient(180deg, #f7f9fb 0%, #eef6fb 100%); }
.premium-destinations { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.premium-dest-card { border-radius: 22px; box-shadow: 0 12px 32px rgba(13,59,102,.09); border: 1px solid #e6eef5; }
.dest-placeholder {
  height: 150px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0d3b66, #f4a261);
  color: #fff;
}
.dest-placeholder span { font-size: 3rem; font-weight: 900; }
.premium-dest-card .dest-info { padding: 18px; }
.premium-packages .empty-package-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fff, #f7fbff);
  border: 1px dashed #9db7ce;
  border-radius: 24px;
  padding: 32px;
  text-align: center;
}
.premium-package-card { border-radius: 22px; box-shadow: 0 14px 36px rgba(13,59,102,.1); }
.package-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.package-meta span { background: #eef6fb; color: #0d3b66; border-radius: 999px; padding: 5px 10px; font-weight: 800; font-size: .78rem; }
.why-premium-section { background: #fff; }
.premium-two-col { grid-template-columns: 1.25fr .75fr; align-items: stretch; }
.why-cards-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.why-cards-mini div {
  background: #f8fbfd;
  border: 1px solid #e2edf6;
  border-radius: 18px;
  padding: 16px;
}
.why-cards-mini strong { display: block; color: #0d3b66; margin-bottom: 6px; }
.why-cards-mini span { color: #64748b; font-size: .9rem; }
.quote-panel {
  background: linear-gradient(160deg, #0d3b66, #06233f);
  border-radius: 26px;
  padding: 28px;
  color: #fff;
  box-shadow: 0 22px 54px rgba(13,59,102,.22);
}
.quote-panel h3 { color: #fff; font-size: 1.65rem; }
.quote-panel p { opacity: .88; margin-bottom: 18px; }
.side-lead-form { display: grid; gap: 12px; }
.side-lead-form textarea { min-height: 92px; resize: vertical; }
.faq-premium details { border-radius: 16px; border: 1px solid #e6eef5; background: #fff; box-shadow: 0 8px 22px rgba(13,59,102,.05); }
@media (max-width: 1024px) {
  .travel-hero-inner { grid-template-columns: 1fr; }
  .services-grid-pro { grid-template-columns: repeat(3, 1fr); }
  .premium-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .travel-hero { padding: 54px 0 52px; }
  .hero-copy h1 { font-size: 2.35rem; }
  .booking-tabs { grid-template-columns: repeat(2, 1fr); }
  .booking-grid { grid-template-columns: 1fr; }
  .trust-strip { margin-top: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); border-radius: 0; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid #e6eef5; padding: 8px 0; }
  .services-grid-pro { grid-template-columns: 1fr; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .centered-mobile { text-align: left; }
  .why-cards-mini { grid-template-columns: 1fr; }
}
