/* =========================================================
   ELE Tours — eletours.com
   Premium boutique Kerala tourism site
   ========================================================= */

:root {
  --ink: #1b2420;
  --forest: #0e3d2e;
  --forest-dark: #0a2e23;
  --palm: #2f6b4f;
  --gold: #c69a3d;
  --gold-light: #e2c374;
  --cream: #faf6ee;
  --cream-deep: #f2ead9;
  --paper: #ffffff;
  --line: #e7ddc7;
  --muted: #6b7268;
  --shadow: 0 20px 50px -25px rgba(14, 61, 46, 0.35);
  --radius: 14px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--forest-dark);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: #3a4640; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .6em;
  display: block;
}

/* ---------- Skip link / accessibility ---------- */
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--forest); color: #fff; padding: 10px 16px;
  z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--forest-dark);
  color: #d9e6dc;
  font-size: .82rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: #f1e4bf; }
.topbar .tb-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Header / nav ---------- */
header.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--forest-dark);
}
.brand .mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--palm));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 1.1rem; font-weight: 800;
  flex-shrink: 0;
}
.brand .tag {
  display: block; font-family: var(--sans); font-weight: 500;
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-top: 1px;
}

nav.main-nav { display: flex; gap: 26px; align-items: center; }
nav.main-nav ul {
  list-style: none; display: flex; gap: 22px; margin: 0; padding: 0;
  font-size: .93rem; font-weight: 600;
}
nav.main-nav a.navlink {
  padding: 8px 0; border-bottom: 2px solid transparent;
}
nav.main-nav a.navlink:hover,
nav.main-nav a.navlink.active { border-color: var(--gold); color: var(--forest); }

.dropdown { position: relative; }
.dropdown-panel {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow);
  padding: 10px; min-width: 230px; margin-top: 10px;
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel { display: block; }
.dropdown-panel a {
  display: block; padding: 9px 12px; border-radius: 6px;
  font-weight: 500; font-size: .89rem; color: var(--ink);
}
.dropdown-panel a:hover { background: var(--cream-deep); color: var(--forest); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--forest); color: #fff !important;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: .88rem; letter-spacing: .01em;
  box-shadow: 0 10px 24px -12px rgba(14,61,46,.55);
  border: none; cursor: pointer;
}
.btn:hover { background: var(--forest-dark); }
.btn.gold { background: var(--gold); color: var(--forest-dark) !important; box-shadow: 0 10px 24px -12px rgba(198,154,61,.6); }
.btn.gold:hover { background: var(--gold-light); }
.btn.ghost { background: transparent; color: var(--forest) !important; border: 1.5px solid var(--forest); box-shadow: none; }

.mobile-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(198,154,61,.18), transparent 60%),
    linear-gradient(180deg, var(--forest-dark), var(--forest) 60%, #123f30);
  color: #f4ecd8;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(120deg, rgba(255,255,255,.035) 0 2px, transparent 2px 34px);
  pointer-events: none;
}
.hero .wrap { position: relative; padding: 76px 24px 64px; }
.hero.small .wrap { padding: 46px 24px 40px; }
.hero h1 { color: #fbf6e6; max-width: 820px; }
.hero .lede { color: #d9e5da; max-width: 640px; font-size: 1.08rem; }
.hero .eyebrow { color: var(--gold-light); }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

.breadcrumb {
  font-size: .82rem; color: #cfe0d3; margin-bottom: 18px;
}
.breadcrumb a { color: #f1e4bf; }
.breadcrumb span { opacity: .6; margin: 0 6px; }

.trust-strip {
  display: flex; gap: 34px; flex-wrap: wrap; margin-top: 34px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
}
.trust-strip .stat b {
  display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--gold-light);
}
.trust-strip .stat span { font-size: .78rem; color: #cddccf; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
section.alt { background: var(--cream-deep); }
section.dark {
  background: linear-gradient(180deg, var(--forest-dark), #0d3527);
  color: #eef4ef;
}
section.dark h2, section.dark h3 { color: #fbf6e6; }
section.dark p { color: #cfe0d3; }

.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 30px -22px rgba(14,61,46,.4);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.card .thumb {
  height: 168px;
  background: linear-gradient(135deg, var(--palm), var(--forest-dark));
  position: relative;
  display: flex; align-items: flex-end;
  color: rgba(255,255,255,.85);
  font-size: .72rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 12px 14px;
}
.card .thumb.alt2 { background: linear-gradient(135deg, #b98a2e, var(--forest-dark)); }
.card .thumb.alt3 { background: linear-gradient(135deg, #1f5c46, #0a2e23); }
.card .thumb.alt4 { background: linear-gradient(135deg, #3c7a5a, #17402f); }
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .price { font-family: var(--serif); font-weight: 700; color: var(--forest); font-size: 1.15rem; margin-top: auto; }
.card .price small { font-family: var(--sans); font-weight: 500; color: var(--muted); font-size: .74rem; }
.card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-chip {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--cream-deep); color: var(--forest); padding: 4px 9px; border-radius: 999px;
}
.card a.card-link { margin-top: 10px; font-weight: 700; color: var(--forest); font-size: .88rem; }

/* Icon feature grid */
.feature {
  display: flex; gap: 14px; align-items: flex-start;
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--cream-deep); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800;
}
.feature h3 { margin-bottom: .25em; font-size: 1.05rem; }
.feature p { margin: 0; font-size: .92rem; }

/* Itinerary list */
.itinerary { list-style: none; margin: 0; padding: 0; counter-reset: day; }
.itinerary li {
  counter-increment: day;
  position: relative;
  padding: 4px 0 22px 46px;
  border-left: 2px solid var(--line);
  margin-left: 17px;
}
.itinerary li:last-child { border-color: transparent; padding-bottom: 0; }
.itinerary li::before {
  content: "Day " counter(day);
  position: absolute; left: -17px; top: 0;
  width: 34px; height: 34px; transform: translateX(-50%);
  background: var(--forest); color: var(--gold-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .58rem; font-weight: 800; text-align: center; line-height: 1.05;
  padding: 2px;
}
.itinerary h4 { margin: 0 0 4px; font-size: 1rem; color: var(--forest-dark); }
.itinerary p { margin: 0; font-size: .92rem; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item h3 { font-size: 1rem; margin: 0 0 8px; color: var(--forest-dark); font-family: var(--sans); font-weight: 700; }
.faq-item p { margin: 0; font-size: .93rem; }

/* Quote / value strip */
.value-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  text-align: center;
}
.value-strip .v b { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--gold-light); }
.value-strip .v span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #cddccf; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--gold), #b98a2e);
  border-radius: 20px;
  padding: 44px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  color: var(--forest-dark);
}
.cta-banner h2 { color: var(--forest-dark); margin-bottom: .2em; }
.cta-banner p { color: #4a3b17; margin: 0; }

/* Photo placeholder block (swap for real photography) */
.photo-slot {
  border-radius: var(--radius);
  min-height: 260px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 10px, transparent 10px 20px),
    linear-gradient(135deg, var(--palm), var(--forest-dark));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75); font-size: .8rem; text-align: center; padding: 20px;
  border: 1px dashed rgba(255,255,255,.35);
}

/* Table (pricing) */
table.pricing { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
table.pricing th, table.pricing td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
table.pricing th { background: var(--forest); color: #fff; font-weight: 700; }
table.pricing tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--forest-dark);
  color: #cfe0d3;
  padding: 56px 0 22px;
  font-size: .9rem;
}
footer.site-footer h4 { color: #f4ecd8; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
footer.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .8rem; color: #93a698;
}
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: .82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .value-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  nav.main-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 24px 20px;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 4px; }
  nav.main-nav li { width: 100%; }
  .dropdown-panel {
    display: block !important;
    position: static; box-shadow: none; border: none;
    margin: 4px 0 4px 14px; padding: 0;
    min-width: 0;
  }
  .cta-desktop { display: none; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip { gap: 20px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
