/* ============================================================
   Madurai Sun Travels — Shared Stylesheet
   Design language: "boarding ticket" — dashed rules, punch-hole
   cutouts and a warm sun-gold / deep-night-navy palette.
   ============================================================ */

:root{
  --navy:        #0E2A3F;
  --navy-dark:   #081826;
  --navy-mid:    #163B57;
  --gold:        #F2A93B;
  --gold-dark:   #D9861A;
  --teal:        #0F7A6D;
  --ivory:       #FBF7EF;
  --paper:       #FFFFFF;
  --ink:         #17222C;
  --muted:       #5B6774;
  --line:        #E4DCC9;
  --whatsapp:    #25D366;
  --whatsapp-dark:#1DA851;
  --radius-lg:   18px;
  --radius-md:   12px;
  --radius-sm:   8px;
  --shadow:      0 12px 30px -12px rgba(14,42,63,0.28);
  --shadow-sm:   0 4px 14px -6px rgba(14,42,63,0.22);
  --maxw:        1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter',-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ink);
  background:var(--ivory);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Poppins',Inter,sans-serif;
  font-weight:700;
  line-height:1.18;
  margin:0 0 .5em;
  color:var(--navy);
}
p{ margin:0 0 1em; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
.mono{ font-family:'IBM Plex Mono',monospace; }

.container{ max-width:var(--maxw); margin:0 auto; padding:0 20px; }
.section{ padding:64px 0; }
.section-tight{ padding:40px 0; }
.bg-navy{ background:var(--navy); color:#EAF1F6; }
.bg-navy h2,.bg-navy h3{ color:#fff; }
.bg-paper{ background:var(--paper); }
.bg-ivory{ background:var(--ivory); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'IBM Plex Mono',monospace;
  font-size:12.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold-dark); font-weight:600; margin-bottom:10px;
}
.eyebrow::before{
  content:''; width:22px; height:2px; background:var(--gold); display:inline-block;
}
.section-head{ max-width:680px; margin:0 0 36px; }
.section-head p{ color:var(--muted); font-size:1.02rem; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 24px; border-radius:999px; font-weight:600; font-size:.98rem;
  border:2px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-gold{ background:var(--gold); color:var(--navy-dark); box-shadow:var(--shadow-sm); }
.btn-gold:hover{ background:var(--gold-dark); }
.btn-whatsapp{ background:var(--whatsapp); color:#fff; box-shadow:0 8px 20px -8px rgba(37,211,102,.6); }
.btn-whatsapp:hover{ background:var(--whatsapp-dark); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.5); color:#fff; }
.btn-outline:hover{ border-color:#fff; background:rgba(255,255,255,.08); }
.btn-outline-navy{ background:transparent; border-color:var(--navy); color:var(--navy); }
.btn-outline-navy:hover{ background:var(--navy); color:#fff; }
.btn-block{ width:100%; }
.btn svg{ width:18px; height:18px; flex:none; }

/* ===================== Topbar ===================== */
.topbar{
  background:var(--navy-dark); color:#C9D6DF; font-size:13px;
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:8px; padding-bottom:8px; }
.topbar-contacts{ display:flex; gap:20px; flex-wrap:wrap; }
.topbar-contacts a{ color:#DCE6EC; display:inline-flex; align-items:center; gap:6px; }
.topbar-contacts a:hover{ color:var(--gold); }
.topbar-social{ display:flex; gap:14px; }
.topbar-social a{ color:#9FB2BF; }
.topbar-social a:hover{ color:var(--gold); }
.topbar svg{ width:14px; height:14px; }

/* ===================== Header / Nav ===================== */
.site-header{
  position:sticky; top:0; z-index:100; background:var(--paper);
  box-shadow:0 2px 14px rgba(14,42,63,.08);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding:12px 0; gap:16px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:'Poppins',sans-serif; font-weight:700; color:var(--navy); font-size:1.15rem; }
.brand-mark{
  width:42px; height:42px; border-radius:50%; background:linear-gradient(145deg,var(--gold),var(--gold-dark));
  display:flex; align-items:center; justify-content:center; color:var(--navy-dark); flex:none;
}
.brand-mark svg{ width:24px; height:24px; }
.brand-logo{ height:46px; width:auto; flex:none; }
.brand small{ display:block; font-family:'Inter',sans-serif; font-weight:500; font-size:.68rem; color:var(--muted); letter-spacing:.04em; }

.nav-links{ display:flex; align-items:center; gap:26px; }
.nav-links a{
  font-weight:600; font-size:.95rem; color:var(--navy); position:relative; padding:6px 0;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--gold); transition:width .18s ease;
}
.nav-links a:hover::after,.nav-links a.active::after{ width:100%; }
.nav-links a.active{ color:var(--gold-dark); }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px;
}
.nav-toggle span{ width:24px; height:2.5px; background:var(--navy); border-radius:2px; }

/* Landing-page dropdown */
.has-dropdown{ position:relative; }
.dropdown-panel{
  position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%);
  background:#fff; border-radius:var(--radius-md); box-shadow:var(--shadow); padding:14px;
  width:560px; display:none; grid-template-columns:1fr 1fr; gap:2px 18px; border:1px solid var(--line);
}
.has-dropdown:hover .dropdown-panel{ display:grid; }
.dropdown-panel a{ font-weight:500; font-size:.86rem; padding:7px 8px; border-radius:6px; color:var(--navy); }
.dropdown-panel a:hover{ background:var(--ivory); color:var(--gold-dark); }
.dropdown-panel a::after{ display:none; }

/* ===================== Banner Slider ===================== */
.banner-slider{ position:relative; overflow:hidden; height:520px; background:var(--navy-dark); }
.banner-slide{
  position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity .9s ease;
}
.banner-slide.active{ opacity:1; visibility:visible; z-index:1; }
.banner-slide img{ width:100%; height:100%; object-fit:cover; object-position:center; }
.banner-slide::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(8,24,38,.82) 0%, rgba(8,24,38,.45) 45%, rgba(8,24,38,.15) 100%);
}
.banner-caption{
  position:absolute; left:0; bottom:0; z-index:2; padding:0 20px 54px; width:100%;
}
.banner-caption-inner{ max-width:var(--maxw); margin:0 auto; }
.banner-caption h2{ color:#fff; font-size:clamp(1.5rem,3.6vw,2.5rem); max-width:640px; }
.banner-caption p{ color:#D9E2E9; max-width:520px; font-size:1.02rem; }
.banner-dots{ position:absolute; right:26px; bottom:26px; z-index:3; display:flex; gap:9px; }
.banner-dot{
  width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.45); border:none; cursor:pointer; padding:0;
}
.banner-dot.active{ background:var(--gold); width:26px; border-radius:6px; }
.banner-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.35); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.banner-arrow:hover{ background:rgba(255,255,255,.28); }
.banner-arrow.prev{ left:20px; } .banner-arrow.next{ right:20px; }
.banner-arrow svg{ width:20px; height:20px; }
@media (max-width:767px){
  .banner-slider{ height:340px; }
  .banner-caption{ padding:0 16px 30px; }
  .banner-caption p{ display:none; }
  .banner-arrow{ width:36px; height:36px; }
  .banner-dots{ right:16px; bottom:14px; }
}

/* ===================== Hero + Ticket Booking Form ===================== */
.hero{
  background:radial-gradient(ellipse at top right, var(--navy-mid) 0%, var(--navy) 55%, var(--navy-dark) 100%);
  color:#EAF1F6; padding:52px 0 70px; position:relative; overflow:hidden;
}
.hero::before{
  content:''; position:absolute; inset:0;
  background-image:radial-gradient(rgba(242,169,59,.14) 1.5px, transparent 1.5px);
  background-size:26px 26px; opacity:.5; pointer-events:none;
}
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center; position:relative; }
.hero-copy .eyebrow{ color:var(--gold); }
.hero-copy .eyebrow::before{ background:var(--gold); }
.hero h1{ color:#fff; font-size:clamp(1.7rem,3.4vw,2.6rem); }
.hero h1 span{ color:var(--gold); }
.hero-copy p.lead{ color:#C5D3DC; font-size:1.05rem; max-width:520px; }
.hero-stats{ display:flex; gap:26px; margin:26px 0; flex-wrap:wrap; }
.hero-stats div{ font-family:'IBM Plex Mono',monospace; }
.hero-stats b{ display:block; font-size:1.4rem; color:var(--gold); }
.hero-stats span{ font-size:.78rem; color:#9FB2BF; letter-spacing:.03em; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-illustration{ display:flex; justify-content:center; }
.hero-illustration svg{ width:100%; max-width:420px; height:auto; }

/* Ticket card */
.ticket{
  background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow);
  position:relative; overflow:visible; color:var(--ink);
}
.ticket-head{
  background:linear-gradient(120deg,var(--gold),var(--gold-dark)); color:var(--navy-dark);
  padding:16px 22px; border-radius:var(--radius-lg) var(--radius-lg) 0 0;
  display:flex; align-items:center; justify-content:space-between;
}
.ticket-head strong{ font-family:'Poppins',sans-serif; font-size:1rem; }
.ticket-head span{ font-family:'IBM Plex Mono',monospace; font-size:.72rem; letter-spacing:.06em; }
.ticket-perf{ position:relative; height:0; }
.ticket-perf::before{
  content:''; position:absolute; top:-11px; left:-11px; width:22px; height:22px; border-radius:50%; background:var(--navy);
}
.ticket-perf::after{
  content:''; position:absolute; top:-11px; right:-11px; width:22px; height:22px; border-radius:50%; background:var(--navy);
}
.ticket-dash{ border-top:2px dashed #D9861A55; margin:0 22px; }
.ticket-body{ padding:22px; }
.ticket-body .field{ margin-bottom:14px; }
.ticket-body label{ display:block; font-size:.78rem; font-weight:600; color:var(--muted); margin-bottom:6px; text-transform:uppercase; letter-spacing:.04em; }
.ticket-body input,.ticket-body select,.ticket-body textarea{
  width:100%; padding:11px 13px; border-radius:var(--radius-sm); border:1.5px solid var(--line);
  font-family:inherit; font-size:.94rem; background:#FBFAF6; color:var(--ink);
}
.ticket-body input:focus,.ticket-body select:focus,.ticket-body textarea:focus{ outline:none; border-color:var(--gold); background:#fff; }
.ticket-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ticket-note{ font-size:.76rem; color:var(--muted); margin-top:10px; text-align:center; }

/* ===================== Vehicle spec strip ===================== */
.spec-strip{ display:flex; flex-wrap:wrap; gap:14px; margin:28px 0; }
.spec-chip{
  background:#fff; border:1.5px dashed var(--line); border-radius:999px; padding:9px 18px;
  font-size:.86rem; font-weight:600; color:var(--navy); display:flex; align-items:center; gap:8px;
}
.spec-chip svg{ width:16px; height:16px; color:var(--gold-dark); }

/* ===================== Feature grid ===================== */
.grid{ display:grid; gap:22px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.card{
  background:#fff; border-radius:var(--radius-md); padding:24px; border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}
.card .icon{
  width:46px; height:46px; border-radius:12px; background:var(--ivory); color:var(--gold-dark);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
}
.card .icon svg{ width:24px; height:24px; }
.card h3{ font-size:1.05rem; }
.card p{ color:var(--muted); font-size:.92rem; margin:0; }

/* ===================== Use cases / routes chips ===================== */
.chip-cloud{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  background:var(--navy); color:#fff; padding:9px 16px; border-radius:999px; font-size:.85rem; font-weight:600;
}
.chip.alt{ background:#fff; color:var(--navy); border:1.5px solid var(--line); }

/* ===================== About / Two column ===================== */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:46px; align-items:center; }
.check-list li{ display:flex; gap:10px; margin-bottom:12px; font-size:.95rem; }
.check-list svg{ width:20px; height:20px; color:var(--teal); flex:none; margin-top:2px; }

/* ===================== FAQ ===================== */
.faq details{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:16px 20px; margin-bottom:12px;
}
.faq summary{
  cursor:pointer; font-weight:600; color:var(--navy); font-size:.98rem; list-style:none; display:flex; justify-content:space-between; gap:12px; align-items:center;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:'+'; font-size:1.4rem; color:var(--gold-dark); flex:none; }
.faq details[open] summary::after{ content:'–'; }
.faq p{ margin:12px 0 0; color:var(--muted); font-size:.92rem; }

/* ===================== Testimonials ===================== */
.testi{
  background:#fff; border-radius:var(--radius-md); padding:22px; border:1px solid var(--line); height:100%;
}
.testi p{ font-size:.92rem; color:var(--ink); }
.testi footer{ font-family:'IBM Plex Mono',monospace; font-size:.78rem; color:var(--muted); margin-top:10px; }

/* ===================== CTA banner ===================== */
.cta-banner{
  background:linear-gradient(120deg,var(--gold) 0%,var(--gold-dark) 100%); color:var(--navy-dark);
  border-radius:var(--radius-lg); padding:38px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cta-banner h3{ color:var(--navy-dark); margin-bottom:4px; }
.cta-banner p{ margin:0; color:#3B2A0E; }
.cta-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.cta-actions .btn-gold{ background:var(--navy-dark); color:#fff; }
.cta-actions .btn-gold:hover{ background:var(--navy); }

/* ===================== Footer ===================== */
.site-footer{ background:var(--navy-dark); color:#B9C7D1; padding-top:56px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1.4fr 1.1fr; gap:36px; padding-bottom:36px; }
.footer-col h4{ color:#fff; font-size:.95rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; }
.footer-col p{ font-size:.88rem; color:#9FB0BC; }
.footer-links li{ margin-bottom:9px; font-size:.87rem; }
.footer-links a{ color:#B9C7D1; }
.footer-links a:hover{ color:var(--gold); }
.footer-landing-list{ column-count:2; column-gap:18px; }
.footer-landing-list li{ margin-bottom:8px; font-size:.83rem; break-inside:avoid; }
.footer-landing-list a{ color:#AEBFCB; }
.footer-landing-list a:hover{ color:var(--gold); }
.footer-contact li{ display:flex; gap:10px; margin-bottom:14px; font-size:.87rem; align-items:flex-start; }
.footer-contact svg{ width:18px; height:18px; color:var(--gold); flex:none; margin-top:2px; }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center;
}
.footer-social a:hover{ background:var(--gold); color:var(--navy-dark); }
.footer-social svg{ width:16px; height:16px; }
.footer-map{ border-radius:var(--radius-md); overflow:hidden; border:1px solid rgba(255,255,255,.12); }
.footer-map iframe{ width:100%; height:220px; border:0; display:block; filter:grayscale(.15) contrast(1.05); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1); padding:18px 0; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:10px; font-size:.8rem; color:#8195A2;
}
.footer-bottom a{ color:#B9C7D1; }

/* ===================== Floating buttons ===================== */
.float-actions{ position:fixed; right:18px; bottom:18px; display:flex; flex-direction:column; gap:12px; z-index:200; }
.float-btn{
  width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px -6px rgba(0,0,0,.35); color:#fff;
}
.float-btn svg{ width:26px; height:26px; }
.float-btn.wa{ background:var(--whatsapp); animation:pulse 2.4s infinite; }
.float-btn.call{ background:var(--navy); }
@keyframes pulse{ 0%{box-shadow:0 0 0 0 rgba(37,211,102,.55);} 70%{box-shadow:0 0 0 14px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* ===================== Breadcrumb ===================== */
.breadcrumb{ background:var(--ivory); border-bottom:1px solid var(--line); font-size:.82rem; padding:10px 0; color:var(--muted); }
.breadcrumb a{ color:var(--navy); font-weight:600; }
.breadcrumb span{ margin:0 6px; }

/* ===================== Responsive ===================== */
@media (max-width:991px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-illustration{ order:-1; max-width:280px; margin:0 auto; }
  .two-col{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .topbar-social{ display:none; }
}
@media (max-width:767px){
  .topbar-contacts span.only-desktop{ display:none; }
  .nav-links{
    position:fixed; top:0; right:-100%; height:100vh; width:78%; max-width:320px;
    background:#fff; flex-direction:column; align-items:flex-start; gap:2px; padding:90px 26px 26px;
    transition:right .25s ease; box-shadow:-8px 0 30px rgba(0,0,0,.15); overflow-y:auto;
  }
  .nav-links.open{ right:0; }
  .nav-links a{ width:100%; padding:12px 0; border-bottom:1px solid var(--line); }
  .has-dropdown .dropdown-panel{ position:static; display:none; box-shadow:none; width:100%; transform:none; grid-template-columns:1fr; border:none; padding:0 0 0 10px; }
  .has-dropdown.open .dropdown-panel{ display:grid; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn-outline-navy{ display:none; }
  .hero{ padding:32px 0 44px; }
  .section{ padding:44px 0; }
  .grid-3,.grid-4{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:30px; }
  .footer-landing-list{ column-count:1; }
  .cta-banner{ flex-direction:column; text-align:center; }
  .ticket-row{ grid-template-columns:1fr; }
  .hero-stats{ gap:18px; }
}
.nav-overlay{ display:none; position:fixed; inset:0; background:rgba(8,24,38,.5); z-index:99; }
.nav-overlay.open{ display:block; }
