/*
Theme Name: Darshan Holidays
Theme URI: https://www.digitalseva.center
Author: Digital Seva Center
Author URI: https://www.digitalseva.center
Description: Clean, standalone, high-speed WordPress theme for Darshan Holidays Kerala Taxi & Tour Services. Zero external scripts or compromised dependencies.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: darshan-holidays
*/

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

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #16261f;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #145338;
}

/* Header & Navigation */
#masthead {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  z-index: 999;
}

.dh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  min-height: 72px;
  gap: 16px;
}

.dh-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.dh-brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.dh-brand-title {
  color: #16261f;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1.2;
}

.dh-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.dh-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dh-menu > li {
  position: relative;
}

.dh-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #16261f;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}

.dh-menu > li > a:hover,
.dh-menu > li.current-menu-item > a,
.dh-menu > li.current-menu-ancestor > a {
  color: #145338;
  background: rgba(20, 83, 56, 0.06);
}

.dh-menu > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.dh-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 8px 0;
  margin: 0;
  min-width: 220px;
  z-index: 1000;
}

.dh-menu > li:hover > .sub-menu,
.dh-menu > li:focus-within > .sub-menu {
  display: block;
}

.dh-menu .sub-menu li a {
  display: block;
  color: #1f2937;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  text-decoration: none;
  white-space: nowrap;
}

.dh-menu .sub-menu li a:hover,
.dh-menu .sub-menu li.current-menu-item a {
  background: #f3f7f5;
  color: #145338;
}

.dh-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(22, 38, 31, 0.18);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: #16261f;
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .dh-mobile-toggle {
    display: inline-flex;
  }
  .dh-nav-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    padding: 12px 20px 20px;
    z-index: 998;
  }
  .dh-nav-wrap.is-open {
    display: block;
  }
  .dh-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .dh-menu > li > a {
    justify-content: space-between;
    padding: 11px 12px;
  }
  .dh-menu .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding: 0 0 6px 16px;
    background: transparent;
  }
}

/* Main container */
.site-main {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Inner pages uniformity & form polish */
.vehicle-card .img-wrap,
.package-card .img-wrap,
.gallery-item {
  overflow: hidden !important;
}
.vehicle-card .img-wrap img,
.package-card .img-wrap img,
.fleet-card .img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.booking-box input,
.booking-box select,
.booking-box textarea,
.dh-form input,
.dh-form select,
.dh-form textarea,
.qform input,
.qform select,
.qform textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Inner hero top bar cleanup */
.hero .top,
header.site,
header.topbar {
  display: none !important;
}
.hero .hero-in {
  padding-top: 64px !important;
  padding-bottom: 72px !important;
}
.hero:not(:has(.hero-bg)),
section.hero:not(:has(.hero-bg)) {
  background: linear-gradient(135deg, #0d2b1e 0%, #154531 100%) !important;
  color: #ffffff !important;
  position: relative !important;
}
.hero .eyebrow,
section.hero .eyebrow {
  color: #f3c44b !important;
}
.hero h1,
section.hero h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35) !important;
}
.hero p,
section.hero p {
  color: rgba(255, 255, 255, 0.92) !important;
}
.hero .hero-bg {
  z-index: 0 !important;
}
.hero .wrap,
.hero .hero-inner,
.hero .hero-in {
  position: relative !important;
  z-index: 2 !important;
}

/* Universal WhatsApp & Call button styling */
a[href*="wa.me"]:not(.wa-float):not(.route-chip):not(.dh-footer-wa-btn) {
  background: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}
a[href*="wa.me"]:not(.wa-float):not(.route-chip):not(.dh-footer-wa-btn):hover {
  background: #1ebe5b !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}
.hero a[href^="tel:"],
.cta a[href^="tel:"],
.btn-row a[href^="tel:"],
.cta-actions a[href^="tel:"] {
  background: #d4a63a !important;
  color: #0d2b1e !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  transition: filter 0.2s ease, transform 0.2s ease !important;
}
.hero a[href^="tel:"]:hover,
.cta a[href^="tel:"]:hover,
.btn-row a[href^="tel:"]:hover,
.cta-actions a[href^="tel:"]:hover {
  filter: brightness(0.94) !important;
  transform: translateY(-1px) !important;
}
.fleet-card .fleet-btn,
.package-card .package-btn {
  padding: 9px 15px !important;
  font-size: 13.5px !important;
}

form select,
.booking-box select,
.dh-form select,
.qform select,
.cab-box select {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 36px 0 14px !important;
  line-height: 46px !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}

.cta-band h2,
.cta-band h3 {
  color: #ffffff !important;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.88) !important;
}
.cta-band .btn,
.cta-band a.btn-gold {
  text-decoration: none !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  padding: 13px 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
}

#qgrid > *,
#qgrid a,
#qgrid .qcard {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}
#qgrid > *:hover,
#qgrid a:hover,
#qgrid .qcard:hover {
  background: #ffffff !important;
  color: #16261f !important;
  border-color: #145338 !important;
  box-shadow: 0 10px 26px rgba(20, 83, 56, 0.12) !important;
  transform: translateY(-2px) !important;
}
#qgrid > *:hover *,
#qgrid a:hover *,
#qgrid .qcard:hover * {
  color: inherit !important;
}

button.wa-submit-btn,
form button[type="submit"] {
  background: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 13px 26px !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}
button.wa-submit-btn:hover,
form button[type="submit"]:hover {
  background: #1ebe5b !important;
  transform: translateY(-1px) !important;
}

/* Unified Site-Wide Footer */
.dh-footer {
  background: #0d2b1e;
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 24px 28px;
  font-size: 14.5px;
  line-height: 1.65;
}
.dh-footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
}
@media (max-width: 900px) {
  .dh-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 560px) {
  .dh-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.dh-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.dh-footer-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(243, 196, 75, 0.45);
}
.dh-footer-name {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}
.dh-footer-tag {
  color: #f3c44b;
  font-size: 12.5px;
  font-weight: 500;
}
.dh-footer-desc {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
}
.dh-footer h4 {
  color: #f3c44b;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}
.dh-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dh-footer ul li {
  margin-bottom: 8px;
}
.dh-footer ul li a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.18s ease;
}
.dh-footer ul li a:hover {
  color: #f3c44b;
}
.dh-footer-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(243, 196, 75, 0.5);
  color: #f3c44b;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.dh-footer-map-btn:hover {
  background: #f3c44b;
  color: #0d2b1e;
}
.dh-footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.dh-footer-wa-btn:hover {
  background: #1ebe5b;
  color: #ffffff;
  transform: translateY(-1px);
}
.dh-footer-bottom {
  max-width: 1220px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}
.dh-footer-credit {
  color: #f3c44b;
  font-weight: 600;
  text-decoration: none;
}
.dh-footer-credit:hover {
  text-decoration: underline;
}
