/* ============================================================
   Vasai.in — Comprehensive Travel Guide to Vasai, Maharashtra
   Modern, clean, mobile-first design with neutral palette
   ============================================================ */

/* --- CSS Variables & Reset --- */
:root {
  --primary: #1a3c3a;
  --primary-light: #2a5c54;
  --accent: #c17817;
  --accent-light: #e8952e;
  --accent-dark: #9e5f0f;
  --text: #2d2d2d;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-warm: #f8f6f1;
  --bg-card: #ffffff;
  --border: #e5e2dc;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --header-height: 72px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--primary);
  font-weight: 700;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Skip to content (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo a:hover { color: var(--primary); }
.logo-icon {
  font-size: 1.6rem;
}
.logo span { color: var(--accent); }

/* Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  background: var(--bg-warm);
  color: var(--accent);
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition);
  z-index: 999;
  padding: 6px 0;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
}
.dropdown-menu li a:hover {
  background: var(--bg-warm);
  color: var(--accent);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: var(--header-height);
  overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,60,58,0.4) 0%, rgba(26,60,58,0.7) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 40px 20px;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.92;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193,120,23,0.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 140px 0 60px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,60,58,0.55), rgba(26,60,58,0.8));
  z-index: 2;
}
.page-hero-content {
  position: relative;
  z-index: 3;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 12px;
}
.page-hero .breadcrumb {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: #fff; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-card);
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img {
  transform: scale(1.05);
}
.card-body {
  padding: 24px;
}
.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.card-body h3 a { color: var(--primary); }
.card-body h3 a:hover { color: var(--accent); }
.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}
.card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
}
.card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   ATTRACTION / CONTENT PAGES
   ============================================================ */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.content-main {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: var(--shadow);
}

.content-main h2 {
  font-size: 1.6rem;
  margin: 32px 0 16px;
  padding-top: 8px;
  border-top: 2px solid var(--bg-warm);
}
.content-main h2:first-child {
  margin-top: 0;
  border-top: none;
}
.content-main h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
  color: var(--primary-light);
}
.content-main p {
  margin-bottom: 16px;
  color: var(--text);
}
.content-main ul, .content-main ol {
  margin: 0 0 20px 20px;
}
.content-main ul { list-style: disc; }
.content-main ol { list-style: decimal; }
.content-main li {
  margin-bottom: 8px;
  color: var(--text);
}
.content-main img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 24px 0;
}
.content-main .caption {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  margin-top: -16px;
  margin-bottom: 24px;
  font-style: italic;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.info-box h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.info-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}
.info-item:last-child { margin-bottom: 0; }
.info-icon { color: var(--accent); font-size: 1.1rem; min-width: 24px; }
.info-label { font-weight: 600; color: var(--primary); display: block; }
.info-value { color: var(--text-light); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--transition);
}
.gallery-grid img:hover {
  transform: scale(1.03);
}

/* ============================================================
   TIMELINE (History page)
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-warm);
}
.timeline-year {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.timeline-title {
  font-weight: 600;
  margin-bottom: 4px;
}

/* ============================================================
   TABLE (practical info)
   ============================================================ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}
.info-table th, .info-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.info-table th {
  background: var(--bg-warm);
  font-weight: 600;
  color: var(--primary);
}
.info-table tr:hover td {
  background: #faf8f5;
}

/* ============================================================
   ITINERARY
   ============================================================ */
.itinerary-day {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
}
.itinerary-day h3 {
  color: var(--accent);
  margin-bottom: 12px;
}
.itinerary-step {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.step-time {
  min-width: 70px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}
.step-desc {
  color: var(--text);
  font-size: 0.95rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer-about p {
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.8;
}
.footer-links h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
}
.footer-bottom a {
  color: var(--accent-light);
}
.footer-bottom a:hover {
  color: #fff;
}
.cookie-notice {
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  margin-bottom: 24px;
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.blog-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-card-body .tag {
  display: inline-block;
  background: var(--bg-warm);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  align-self: flex-start;
}
.blog-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.blog-card-body h3 a { color: var(--primary); }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.blog-card-body .blog-meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.02rem;
  padding: 4px 0;
}
.faq-question:hover { color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 12px 0 4px;
}
.faq-icon { transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* ============================================================
   HIGHLIGHTS / FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.feature-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ============================================================
   BEST TIME WIDGET
   ============================================================ */
.best-time-widget {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.season-card {
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.season-card.great {
  background: #d4edda;
  color: #155724;
}
.season-card.moderate {
  background: #fff3cd;
  color: #856404;
}
.season-card.avoid {
  background: #f8d7da;
  color: #721c24;
}
.season-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-card {
    grid-template-columns: 1fr;
  }
  .blog-card-img {
    aspect-ratio: 16/9;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu.open ul { flex-direction: column; width: 100%; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-warm);
    border-radius: 0;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 16px;
    display: none;
  }
  .nav-item-dropdown.open .dropdown-menu { display: block; }

  .hero { min-height: 70vh; }

  .section { padding: 48px 0; }
  .section-title { margin-bottom: 32px; }

  .card-grid {
    grid-template-columns: 1fr;
  }
  .content-main {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .best-time-widget {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.gap-row { display: flex; gap: 16px; flex-wrap: wrap; }
