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

:root {
  --ink:           #0B1620;
  --ink-80:        #2D3E4F;
  --muted:         #6B7A8D;
  --muted-light:   #A8B4C0;
  --surface:       #F5F7FA;
  --white:         #FFFFFF;

  --emerald:       #0D7A55;
  --emerald-deep:  #064534;
  --emerald-vivid: #10A372;
  --emerald-pale:  #D4F0E4;
  --emerald-glow:  rgba(13,122,85,0.12);

  --amber:         #E8A020;
  --amber-deep:    #B07818;
  --amber-pale:    #FEF4DC;

  --coral:         #E85E3C;
  --sky:           #0EA5C8;

  --wa-green:      #25D366;
  --color-success: #16A34A;
  --color-danger:  #DC2626;
  --color-warning: #D97706;

  --radius-xs:     4px;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-full:   999px;

  --shadow-xs:     0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:     0 6px 28px rgba(0,0,0,0.12);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.18);
  --shadow-glow:   0 8px 32px rgba(13,122,85,0.25);

  --transition:    0.22s cubic-bezier(0.4,0,0.2,1);
  --container:     1120px;

  /* ── Legacy aliases (keeps admin.css working) ── */
  --green-deep:    var(--emerald-deep);
  --green-mid:     var(--emerald);
  --green-light:   var(--emerald-vivid);
  --green-pale:    var(--emerald-pale);
  --gold:          var(--amber);
  --gold-light:    var(--amber-pale);
  --sand:          var(--surface);
  --text:          var(--ink);
  --text-muted:    var(--muted);
  --white:         #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }

a { color: var(--emerald); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--emerald-vivid); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; }
.section-sm { padding: 44px 0; }
.text-center { text-align: center; }

/* ─── Section header ───────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-pale);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--muted); max-width: 500px; margin: 0 auto; font-size: 1.02rem; }
.section-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 600; color: var(--emerald);
  margin-top: 8px;
}
.section-link:hover { gap: 10px; }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.94rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-full { width: 100%; justify-content: center; }
.btn-primary {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(13,122,85,0.3);
}
.btn-primary:hover {
  background: var(--emerald-deep);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--white);
  color: var(--emerald);
  border: 2px solid var(--emerald);
}
.btn-secondary:hover {
  background: var(--emerald);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-amber {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232,160,32,0.3);
}
.btn-amber:hover { background: var(--amber-deep); color: var(--white); transform: translateY(-1px); }
.btn-wa {
  background: var(--wa-green);
  color: var(--white); font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-wa:hover {
  background: #1db954;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: var(--white); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: var(--white); color: var(--emerald); }

/* ─── Badges & tags ────────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 4px 13px;
  background: var(--amber); color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-emerald { background: var(--emerald); }
.tag {
  display: inline-block; padding: 4px 11px;
  background: var(--emerald-pale); color: var(--emerald-deep);
  border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 500;
}

/* ─── Cards ────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* card image placeholder */
.card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald) 60%, var(--sky) 100%);
  position: relative; overflow: hidden;
}
.card-img::after {
  content: '✈';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; opacity: 0.12;
}

/* ─── Card image area ──────────────────────────────────────────────────── */
.card-img-area {
  height: 160px;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 16px;
  gap: 8px;
}
.card-img-area::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 60%);
}
.card-img-dest {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  color: #fff; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.3);
}
.card-img-dur {
  position: relative; z-index: 1;
  background: var(--amber);
  color: #fff; font-size: 0.75rem; font-weight: 600;
  padding: 4px 10px; border-radius: var(--radius-full);
}

/* ─── Itinerary card ───────────────────────────────────────────────────── */
.itin-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.itin-card .card-body { padding: 20px; flex: 1; }
.itin-card .card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem; font-weight: 700;
  margin: 10px 0 8px; color: var(--ink);
  line-height: 1.3;
}
.itin-card .card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.itin-card .card-highlights { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.itin-card .card-footer {
  padding: 12px 20px;
  background: linear-gradient(to right, var(--surface), var(--emerald-pale));
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex; align-items: center; justify-content: space-between;
}
.itin-card .btn-view {
  font-size: 0.88rem; color: var(--emerald); font-weight: 700;
  display: flex; align-items: center; gap: 4px;
}
.itin-card .btn-view:hover { color: var(--emerald-deep); gap: 8px; }

/* ─── Stars ────────────────────────────────────────────────────────────── */
.star { color: #ddd; font-size: 1.1rem; }
.star.filled { color: var(--amber); }

/* ─── Spinner ──────────────────────────────────────────────────────────── */
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--emerald-pale);
  border-top-color: var(--emerald);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Alert ────────────────────────────────────────────────────────────── */
.alert { padding: 13px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 12px; }
.alert-success { background: #DCFCE7; color: #14532D; }
.alert-error { background: #FEE2E2; color: #991B1B; }

/* ─── Breadcrumb ───────────────────────────────────────────────────────── */
.breadcrumb {
  font-size: 0.84rem; color: var(--muted);
  padding: 12px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--emerald); }
.bc-sep { color: var(--muted-light); }

/* ─── Navigation ───────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  height: 68px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex; align-items: center;
  height: 68px; gap: 36px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 700;
  text-decoration: none; flex-shrink: 0;
}
.logo-vihar { color: var(--emerald-deep); }
.logo-tours { color: var(--amber); }
.nav-links {
  display: flex; align-items: center;
  gap: 6px; margin-left: auto;
}
.nav-links li a {
  color: var(--ink-80);
  font-size: 0.9rem; font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--emerald);
  background: var(--emerald-glow);
}
.nav-links li a.nav-admin { color: var(--muted); font-size: 0.82rem; }
.nav-wa-btn { flex-shrink: 0; padding: 9px 20px; font-size: 0.88rem; }
.nav-hamburger {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none;
  cursor: pointer; padding: 4px; margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; padding: 20px 28px 28px;
    gap: 4px; border-bottom: 1px solid rgba(0,0,0,0.08);
    z-index: 199; box-shadow: var(--shadow-md);
  }
  .nav-links li a { padding: 10px 14px; border-radius: var(--radius-sm); }
  .nav-links.open { display: flex; }
  .nav-wa-btn { display: none; }
  .nav-links .nav-wa-btn { display: flex; width: 100%; justify-content: center; margin-top: 8px; }
}

/* ─── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--emerald-deep);
  color: rgba(255,255,255,0.82);
  padding: 64px 0 0;
  margin-top: 96px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem; font-weight: 700; color: var(--white);
  margin-bottom: 10px;
}
.footer-logo span { color: var(--amber); }
.footer-tagline { font-size: 0.9rem; opacity: 0.65; margin-bottom: 14px; line-height: 1.6; }
.footer-address { font-size: 0.82rem; opacity: 0.5; line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--amber); margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65); font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact p { font-size: 0.9rem; opacity: 0.65; margin-bottom: 10px; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.4;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ─── Modal ────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(11,22,32,0.65);
  z-index: 500; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg); padding: 36px;
  max-width: 580px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: var(--shadow-lg);
}
.modal h2 { margin-bottom: 4px; }
.modal > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.modal-close {
  position: absolute; top: 18px; right: 22px;
  background: var(--surface); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--emerald-pale); color: var(--emerald); }

/* ─── Form elements ────────────────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label { font-size: 0.84rem; font-weight: 600; color: var(--ink-80); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 15px;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--ink);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-glow);
}
.form-group textarea { resize: vertical; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ─── Success icon ─────────────────────────────────────────────────────── */
.success-icon {
  width: 60px; height: 60px; background: var(--color-success); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 16px;
}
#enquiry-success { text-align: center; padding: 24px 0; }
#enquiry-success h3 { margin-bottom: 8px; }

/* ─── Grid layouts ─────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ─── Sticky WhatsApp ──────────────────────────────────────────────────── */
.sticky-wa { position: fixed; bottom: 28px; right: 28px; z-index: 200; }
.sticky-wa-btn {
  display: flex; align-items: center; gap: 10px;
  background: var(--wa-green); color: var(--white);
  border: none; border-radius: var(--radius-full);
  padding: 15px 26px; font-size: 1rem; font-weight: 700;
  cursor: pointer; box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  transition: all var(--transition); font-family: 'DM Sans', sans-serif;
}
.sticky-wa-btn:hover { transform: translateY(-3px); background: #1db954; box-shadow: 0 10px 36px rgba(37,211,102,0.5); }
.wa-icon { font-size: 1.3rem; }

@media (max-width: 768px) {
  .sticky-wa { bottom: 0; right: 0; left: 0; }
  .sticky-wa-btn { border-radius: 0; width: 100%; justify-content: center; padding: 16px; }
}

/* ─── Skeleton loaders ─────────────────────────────────────────────────── */
.card-skeleton { height: 300px; animation: shimmer 1.5s ease infinite; }
@keyframes shimmer {
  0%, 100% { background: #F1F5F9; }
  50% { background: #E2E8F0; }
}
