/*
Theme Name: Vannela Travels
Theme URI: https://vannelatravels.com/
Author: Vannela Travels
Author URI: https://vannelatravels.com/
Description: Custom premium theme for Vannela Travels Tirupati — multi-page site with Home, About, Vehicles, Packages, Rentals, Gallery and Contact. Brand-coloured navy + saffron + gold palette, animated hero, accessible navigation, WhatsApp deep-link booking. Mirrors the original hand-coded static site 1:1.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vannela
Tags: travel, business, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   Vannela Travels - Design System
   Palette: Saffron / Maroon / Gold / Cream (Tirupati feel)
   ========================================================= */

:root {
  /* === Brand palette (matches Vannela Travels logo) === */
  --saffron: #f97316;       /* logo orange — primary accent */
  --saffron-light: #fb923c;
  --saffron-dark: #ea580c;
  --maroon: #1e40af;        /* logo blue — primary brand color */
  --maroon-deep: #1e3a8a;   /* logo deep blue */
  --blue-mid: #2563eb;
  --blue-light: #60a5fa;
  --gold: #fbbf24;          /* logo road yellow */
  --gold-light: #fcd34d;
  --cream: #fff7ed;
  --cream-soft: #faf5ee;
  --sky-tint: #eff6ff;       /* very light blue background */

  --ink: #0f172a;
  --ink-soft: #1e293b;
  --ink-mute: #475569;
  --muted: #64748b;
  --line: #e5e7eb;
  --line-soft: #f1f5f9;

  --bg: #ffffff;
  --bg-alt: #fff7ed;
  --bg-soft: #faf5ee;

  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 18px 48px rgba(249, 115, 22, 0.22);
  --shadow-xl: 0 24px 60px rgba(30, 64, 175, 0.28);
  --shadow-blue: 0 12px 32px rgba(30, 64, 175, 0.22);
  --shadow-orange: 0 12px 32px rgba(249, 115, 22, 0.28);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* Smoother, more elegant easing curves */
  --t-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --t-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
*:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  animation: pageLoad 0.5s var(--t-base) both;
}
@keyframes pageLoad {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ===== Type ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', "Times New Roman", serif;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.3px; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--ink-soft); }

.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.mt { margin-top: 0.6rem; }
.mb { margin-bottom: 0.6rem; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--saffron-dark);
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 38px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 28px; height: 2px;
  background: var(--saffron);
}
.section-head .eyebrow { padding-left: 0; }
.section-head .eyebrow::before { display: none; }

.accent { color: var(--saffron-dark); }
.text-gold { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform var(--t-base),
    box-shadow var(--t-base),
    background var(--t-base),
    color var(--t-base),
    border-color var(--t-base);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}
.btn:hover::before { left: 130%; }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
  background: linear-gradient(135deg, var(--saffron-light), var(--saffron));
}

.btn-secondary {
  background: linear-gradient(135deg, var(--maroon), var(--blue-mid));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.btn-outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: #fff; color: var(--maroon); transform: translateY(-2px); }

.btn-outline-dark {
  border-color: var(--maroon);
  color: var(--maroon);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--maroon);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-wa {
  background: linear-gradient(135deg, #25d366, #1faa53);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

/* ===== Top Bar ===== */
.topbar {
  background: var(--maroon-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255, 255, 255, 0.95); transition: color var(--t-fast); }
.topbar a:hover { color: var(--gold); }
.topbar-left, .topbar-right { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-base);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; text-decoration: none; }
.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--t-base), filter var(--t-base);
}
.brand:hover .brand-logo { transform: scale(1.04); filter: drop-shadow(0 4px 12px rgba(30, 64, 175, 0.25)); }
.brand-logo-footer {
  display: block;
  height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 14px;
  border-radius: 10px;
}
@media (max-width: 580px) {
  .brand-logo { height: 44px; }
  .brand-logo-footer { height: 56px; }
}

.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--t-fast);
}
.main-nav a:not(.btn):hover,
.main-nav a:not(.btn).active,
.main-nav .current-menu-item > a:not(.btn),
.main-nav .current_page_item > a:not(.btn) { color: var(--saffron-dark); }
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--saffron);
  transition: width var(--t-base);
}
.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn).active::after,
.main-nav .current-menu-item > a:not(.btn)::after,
.main-nav .current_page_item > a:not(.btn)::after { width: 100%; }
.nav-cta { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

/* WP nav menu list reset (since we render via wp_nav_menu) */
.main-nav ul { list-style: none; display: contents; margin: 0; padding: 0; }
.main-nav li { display: inline-flex; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--t-fast);
}
.menu-toggle:hover { background: var(--cream); }
.menu-toggle span {
  width: 26px; height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--t-base);
}

/* ===== Hero (Home) ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, #0a1633 0%, #11214a 35%, #1e3a8a 75%, #1e40af 100%);
  background-size: 200% 200%;
  overflow: hidden;
  isolation: isolate;
  animation:
    heroFade 1.1s var(--t-slow) both,
    heroShift 22s ease-in-out infinite alternate;
}
@keyframes heroFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Soft ambient orbs for depth */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  top: -18%;
  right: -12%;
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.32) 0%, transparent 65%);
  animation: heroOrbA 16s ease-in-out infinite alternate;
}
.hero::after {
  bottom: -22%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.20) 0%, transparent 65%);
  animation: heroOrbB 18s ease-in-out infinite alternate;
}
@keyframes heroOrbA {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.85; }
  100% { transform: translate(-50px, 40px) scale(1.12); opacity: 1; }
}
@keyframes heroOrbB {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.8; }
  100% { transform: translate(60px, -45px) scale(1.18); opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.hero-content { max-width: 720px; }

/* Hero side image */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  animation: heroVisualIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}
@keyframes heroVisualIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-image {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: heroImageFloat 7s ease-in-out infinite alternate;
}
/* Warm radiant glow behind the temple */
.hero-image::before {
  content: '';
  position: absolute;
  top: 48%;
  left: 50%;
  width: 115%;
  height: 95%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(251, 191, 36, 0.65) 0%,
    rgba(249, 115, 22, 0.40) 22%,
    rgba(249, 115, 22, 0.18) 45%,
    transparent 70%);
  filter: blur(55px);
  z-index: 0;
  pointer-events: none;
  animation: heroGlowPulse 5s ease-in-out infinite alternate;
}
@keyframes heroGlowPulse {
  0%   { transform: translate(-50%, -50%) scale(0.93); opacity: 0.82; }
  100% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}
.hero-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  mix-blend-mode: screen;
  transition: transform 1.2s var(--t-slow);
}
.hero-image:hover img { transform: scale(1.04); }
.hero-image figcaption {
  position: relative;
  z-index: 1;
  margin-top: 1.2rem;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@keyframes heroImageFloat {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}
.hero-content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroRise 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.20s; }
.hero-content > *:nth-child(2) { animation-delay: 0.35s; }
.hero-content > *:nth-child(3) { animation-delay: 0.50s; }
.hero-content > *:nth-child(4) { animation-delay: 0.65s; }
.hero-content > *:nth-child(5) { animation-delay: 0.80s; }
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 { color: #fff; margin-bottom: 1.3rem; }
.hero .accent {
  background: linear-gradient(120deg, var(--gold) 0%, var(--saffron-light) 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  animation: accentSheen 6s linear infinite;
}
@keyframes accentSheen {
  to { background-position: 200% center; }
}
.hero .lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 2rem;
  max-width: 620px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-points {
  display: flex; gap: 2.2rem; flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-points li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  padding-left: 1.8rem;
  font-weight: 500;
  transition: transform var(--t-base), color var(--t-base);
}
.hero-points li:hover { transform: translateY(-2px); color: #fff; }
.hero-points li:hover::before {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.25);
}
.hero-points li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  background: var(--gold);
  color: var(--maroon);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

/* ===== Page Banner (inner pages) ===== */
.page-banner {
  position: relative;
  padding: 5rem 0 4rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(30, 58, 138, 0.92), rgba(30, 64, 175, 0.82)),
    url('assets/temples/tirumala.png') center/cover no-repeat,
    var(--maroon);
  text-align: center;
  overflow: hidden;
  animation: heroFade 0.8s var(--t-slow) both;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(249, 115, 22, 0.32), transparent 70%);
  pointer-events: none;
  animation: bannerGlow 8s ease-in-out infinite alternate;
}
@keyframes bannerGlow {
  0%   { background: radial-gradient(ellipse at top left, rgba(249, 115, 22, 0.32), transparent 70%); }
  100% { background: radial-gradient(ellipse at top right, rgba(251, 191, 36, 0.28), transparent 70%); }
}
.page-banner-inner { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; margin-bottom: 0.8rem; }
.page-banner p { color: rgba(255, 255, 255, 0.9); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--gold); transition: color var(--t-fast); }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs .sep { opacity: 0.6; }

/* ===== Quick Features ===== */
.features { padding: 4rem 0; background: var(--cream); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  border-top: 3px solid transparent;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--saffron);
}
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cream), #fff);
  border: 2px solid var(--saffron-light);
  border-radius: 50%;
  font-size: 1.8rem;
}
.feature h3 { margin-bottom: 0.5rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; }
.section-sm { padding: 4rem 0; }
.section-alt { background: var(--bg-soft); }
.section-dark {
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon));
  color: rgba(255, 255, 255, 0.92);
}
.section-dark h2 { color: #fff; }
.section-dark .muted { color: rgba(255, 255, 255, 0.7); }
.section-dark .eyebrow { color: var(--gold); }

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3.5rem;
}
.section-head h2 { margin-bottom: 0.9rem; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ===== Vehicles ===== */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.8rem;
}
.vehicle-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.vehicle-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.vehicle-img {
  aspect-ratio: 16 / 11;
  width: 100%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at center 65%, #ffffff 0%, var(--cream) 70%, var(--sky-tint) 100%);
  padding: 14px 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vehicle-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--t-slow);
  mix-blend-mode: multiply;
  position: relative;
  z-index: 1;
}
.vehicle-card:hover .vehicle-img img { transform: scale(1.04) translateY(-3px); }
.vehicle-img::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 22%;
  right: 22%;
  height: 8px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.22), transparent 75%);
  filter: blur(4px);
  pointer-events: none;
  transition: opacity var(--t-base);
  opacity: 0.85;
  z-index: 0;
}
.vehicle-card:hover .vehicle-img::after { opacity: 0.5; }

.vehicle-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.vehicle-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; gap: 0.5rem;
}
.badge {
  background: var(--cream);
  color: var(--saffron-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--saffron-light);
}
.vehicle-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding: 0.9rem 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.vehicle-meta li:first-child { display: flex; flex-direction: column; }
.vehicle-meta li strong {
  color: var(--ink);
  font-size: 1.15rem;
  font-family: 'Playfair Display', serif;
}
.vehicle-meta li strong + span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.vehicle-body p { color: var(--muted); margin-bottom: 1rem; font-size: 0.95rem; flex: 1; }
.link-arrow {
  color: var(--saffron-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--t-fast);
  display: inline-flex;
  gap: 0.3rem;
  align-self: flex-start;
}
.link-arrow:hover { gap: 0.6rem; }

/* ===== Tabs ===== */
.tabs { max-width: 1100px; margin: 0 auto; }
.tab-buttons {
  display: flex;
  gap: 0.5rem;
  background: #fff;
  padding: 0.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.8rem;
  overflow-x: auto;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  border: 1px solid var(--line);
}
.tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all var(--t-base);
}
.tab-btn:hover { color: var(--saffron-dark); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.tab-panel { display: none; animation: fadeUp 0.4s var(--t-base); }
.tab-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.panel-title { text-align: center; margin-bottom: 0.6rem; }

/* ===== Price Cards ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.2rem;
}
@media (max-width: 880px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .price-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.4rem 1.6rem;
  text-align: center;
  border: 2px solid var(--line);
  transition: var(--t-base);
  position: relative;
}
.price-card:hover {
  border-color: var(--saffron);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.price-card h4 { margin-bottom: 0.6rem; color: var(--ink-soft); }
.price-card .price {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--saffron-dark);
  margin: 0.5rem 0;
  line-height: 1;
}
.price-card .price small { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.price-card p { color: var(--muted); font-size: 0.85rem; margin-bottom: 1rem; }
.price-card .btn { width: 100%; padding: 0.55rem 1rem; font-size: 0.85rem; }
.price-card.highlight {
  border-color: var(--saffron);
  background: linear-gradient(180deg, #fff, var(--cream));
  box-shadow: var(--shadow-md);
}
.ribbon {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--maroon);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===== Rentals Table ===== */
.rental-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.rental-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 720px;
}
.rental-table thead {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
}
.rental-table th, .rental-table td {
  padding: 1.1rem 1.3rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.rental-table th {
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.rental-table tbody tr:hover { background: var(--cream); }
.rental-table tbody tr:last-child td { border-bottom: none; }

/* ===== Tour Package Cards (Packages page) ===== */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.8rem;
}
.tour-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
  display: flex;
  flex-direction: column;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tour-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: #eee;
}
.tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}
.tour-card:hover .tour-img img { transform: scale(1.06); }
.tour-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
  z-index: 0;
}
.tour-img .tour-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--maroon);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
}
.tour-img .tour-name {
  position: absolute;
  bottom: 14px; left: 16px;
  color: #fff;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.tour-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.tour-body p { color: var(--muted); font-size: 0.93rem; margin-bottom: 1rem; flex: 1; }
.tour-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding: 0.7rem 0;
  border-top: 1px dashed var(--line);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.tour-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }

.tour-img .tour-tag,
.tour-img .tour-name { z-index: 1; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-grid h2 { margin-bottom: 1rem; }
.about-grid p { color: var(--ink-soft); margin-bottom: 1rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2.2rem;
}
@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr; }
}
.stat {
  background: #fff;
  padding: 1.4rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  border-top: 3px solid var(--saffron);
  box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--saffron-dark);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat span { font-size: 0.85rem; color: var(--muted); }

.about-card {
  background: linear-gradient(135deg, var(--maroon-deep), var(--blue-mid));
  color: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.about-card:hover { transform: translateY(-3px); box-shadow: 0 28px 70px rgba(30, 64, 175, 0.35); }
.about-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(244,180,0,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.about-card h3 {
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  position: relative;
}
.check-list { position: relative; }
.check-list li {
  padding: 0.7rem 0 0.7rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  background: var(--gold);
  color: var(--maroon);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ===== Services list ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--t-base);
  position: relative;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron-light);
}
.service-card .num {
  position: absolute;
  top: 1rem; right: 1.2rem;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
.service-card h3 { margin-bottom: 0.8rem; padding-right: 2rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; }
.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-sm);
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.testimonial {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 0.5rem; left: 1.2rem;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--cream);
  line-height: 1;
  font-weight: 700;
}
.testimonial-stars {
  color: var(--gold);
  margin-bottom: 0.8rem;
  position: relative;
  letter-spacing: 2px;
}
.testimonial p {
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 1.2rem;
  position: relative;
  font-size: 0.96rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; position: relative; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--ink); }
.testimonial-author span { font-size: 0.83rem; color: var(--muted); }

/* ===== CTA Strip ===== */
.cta-strip {
  background:
    linear-gradient(135deg, rgba(30, 58, 138, 0.92), rgba(249, 115, 22, 0.72)),
    url('assets/temples/tirupati.png') center/cover fixed no-repeat;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.15), transparent);
  animation: ctaSheen 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaSheen {
  0%, 100% { transform: translateX(-100%); }
  50%      { transform: translateX(100%); }
}
.cta-strip > .container { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; margin-bottom: 0.8rem; }
.cta-strip p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
  max-width: 580px; margin-left: auto; margin-right: auto;
}
.cta-strip .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: #fff;
  padding: 2.2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: var(--t-base);
  display: block;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
}
.contact-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0.2rem 0; }

/* Form */
.enquiry-box {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 2.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--saffron);
}
.enquiry-box h3 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}
.enquiry-box .form-sub { text-align: center; color: var(--muted); margin-bottom: 1.8rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
#enquiryForm input,
#enquiryForm select,
#enquiryForm textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
#enquiryForm input:focus,
#enquiryForm select:focus,
#enquiryForm textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.15);
}
#enquiryForm textarea {
  margin-bottom: 1rem;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}
#enquiryForm button { width: 100%; }
.form-status {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--saffron-dark);
  min-height: 1.2rem;
}
.form-status.error { color: #c0392b; }

/* Map embed */
.map-wrap {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  height: 360px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base);
  box-shadow: var(--shadow-sm);
  margin: 0;
  background: #eee;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}
.gallery-item--vehicle {
  background: radial-gradient(ellipse at center, #ffffff 0%, var(--cream) 75%, var(--sky-tint) 100%);
}
.gallery-item--vehicle img {
  object-fit: contain;
  padding: 14px;
  mix-blend-mode: multiply;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55));
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item figcaption {
  position: absolute;
  bottom: 12px; left: 14px;
  color: #fff;
  font-weight: 600;
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--t-base);
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* Section helper alignments */
.text-center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }
.mt-md { margin-top: 2rem; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: border-color var(--t-base);
}
.faq-item.open { border-color: var(--saffron); }
.faq-q {
  width: 100%;
  padding: 1.2rem 1.4rem;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--saffron-dark); }
.faq-q .icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--saffron-dark);
  display: grid; place-items: center;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform var(--t-base);
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--saffron); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ===== Footer ===== */
.site-footer {
  background: #141414;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
}
.footer-grid h4 {
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  letter-spacing: 0.5px;
  font-family: 'Playfair Display', serif;
}
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  transition: color var(--t-fast), padding var(--t-fast);
  display: inline-block;
}
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  align-items: flex-start;
}
.footer-contact li span:first-child {
  color: var(--saffron-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.social-row { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--t-base);
}
.social-row a:hover { background: var(--saffron); color: #fff; transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.4rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== Floating WhatsApp ===== */
.float-wa {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition: transform var(--t-bounce), box-shadow var(--t-base);
  animation: wa-pulse 2s infinite;
}
.float-wa:hover { transform: scale(1.12) rotate(-3deg); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.7), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--t-base), transform 0.8s var(--t-base);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger children slightly for grids */
.vehicle-grid .reveal:nth-child(2),
.tour-grid .reveal:nth-child(2),
.testimonial-grid .reveal:nth-child(2),
.features-grid .feature.reveal:nth-child(2),
.services-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.vehicle-grid .reveal:nth-child(3),
.tour-grid .reveal:nth-child(3),
.testimonial-grid .reveal:nth-child(3),
.features-grid .feature.reveal:nth-child(3),
.services-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.vehicle-grid .reveal:nth-child(4),
.tour-grid .reveal:nth-child(4),
.features-grid .feature.reveal:nth-child(4),
.services-grid .reveal:nth-child(4) { transition-delay: 240ms; }

/* Smooth global hover/lift transitions */
.feature, .vehicle-card, .tour-card, .price-card,
.service-card, .testimonial, .contact-card {
  transition:
    transform var(--t-base),
    box-shadow var(--t-base),
    border-color var(--t-base),
    background var(--t-base);
}

/* Nav link sliding underline already exists; add color transition */
.main-nav a:not(.btn) { transition: color var(--t-fast); }

/* Footer link nudge already exists; smoother */
.footer-links a, .footer-contact li, .topbar a { transition: color var(--t-fast), padding-left var(--t-fast), transform var(--t-fast); }

/* ===== 404 ===== */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
  background: var(--cream);
}
.notfound .big {
  font-family: 'Playfair Display', serif;
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.notfound h2 { margin: 0.6rem 0; }
.notfound p { color: var(--muted); margin-bottom: 1.5rem; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--t-slow);
    pointer-events: none;
    align-items: stretch;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { width: 100%; padding: 0.6rem 0; text-align: center; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 1rem; display: flex; }
  .main-nav li { width: 100%; display: block; }
  .nav-cta { text-align: center; justify-content: center; }
  .topbar { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0;
  }
  .hero-visual { order: 2; }
  .hero-content { order: 1; max-width: none; }
  .hero-image { max-width: 420px; }
  .hero-image img { max-height: 60vh; }
  .hero-points { gap: 1rem; }
  .section { padding: 4rem 0; }
  .section-head { margin-bottom: 2.5rem; }
  .page-banner { padding: 4rem 0 3rem; }
}

@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .tab-btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
  .enquiry-box { padding: 1.8rem 1.4rem; }
  .float-wa { width: 52px; height: 52px; bottom: 18px; right: 18px; }

  /* stack rentals table on mobile */
  .rental-table-wrap { overflow-x: visible; box-shadow: none; background: transparent; border: none; }
  .rental-table { min-width: 0; box-shadow: none; }
  .rental-table thead { display: none; }
  .rental-table, .rental-table tbody, .rental-table tr, .rental-table td { display: block; width: 100%; }
  .rental-table tr {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
    border: 1px solid var(--line);
  }
  .rental-table td {
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    text-align: right;
  }
  .rental-table td:last-child { border-bottom: none; }
  .rental-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: left;
    margin-right: 1rem;
  }
}

/* ===== Print ===== */
@media print {
  .site-header, .topbar, .float-wa, .site-footer { display: none; }
  .hero, .page-banner { background: #fff !important; color: var(--ink); min-height: auto; padding: 1rem 0; }
  .hero h1, .page-banner h1 { color: var(--ink); }
}

/* ===== WordPress core / admin bar compatibility ===== */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
