/* ==========================================================================
   DH Tours & Travels — site styles
   --------------------------------------------------------------------------
   Sections, in order:
     1. Design tokens
     2. Base / reset
     3. Utilities
     4. Buttons
     5. Header + navigation
     6. Hero
     7. Wave divider
     8. Sections & section headings
     9. Vehicles
    10. Why choose us
    11. Contact
    12. Footer
    13. Responsive
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */

:root {
  --navy: #0d2f5f;
  --navy-mid: #123a6b;
  --navy-soft: #1a4a80;
  --sky: #29a9e0;
  --sky-light: #5cc7f2;
  --sky-pale: #8fd0ef;
  --sky-faint: #a9cbe8;
  --maps-blue: #1f86c8;

  --text-body: #5b6b80;
  --text-muted: #8598b0;

  --border: #e3ecf5;
  --border-soft: #dde7f1;
  --border-social: #d8e4f0;
  --border-aside: #dbe4ee;

  --page-bg: #eef3f8;
  --surface: #fff;
  --surface-tint: #f4f8fc;
  --surface-aside: #f1f5f9;
  --pill-bg: #f1f7fc;
  --hero-fallback: #cfe7fa;

  --font-body: 'Archivo', Helvetica, Arial, sans-serif;
  --font-script: 'Kaushan Script', cursive;

  --shadow-page: 0 24px 60px rgba(13, 47, 95, .14);
  --shadow-header: 0 2px 14px rgba(13, 47, 95, .08);
  --shadow-card: 0 10px 30px rgba(13, 47, 95, .07);
  --shadow-badge: 0 10px 24px rgba(13, 47, 95, .28);
  --shadow-icon: 0 6px 16px rgba(8, 28, 54, .35);
}

/* 2. Base / reset -------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--sky);
}

img {
  max-width: 100%;
}

/* 3. Utilities ----------------------------------------------------------- */

.page {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--surface);
  box-shadow: var(--shadow-page);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.6px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.eyebrow--tight {
  letter-spacing: 2.4px;
}

.script {
  font-family: var(--font-script);
}

/* 4. Buttons ------------------------------------------------------------- */

.btn {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}

.btn:hover {
  color: #fff;
}

/* Rounded pill — vehicle card call to action */
.btn--pill {
  align-self: flex-start;
  margin-top: 4px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--navy);
  font-size: 13.5px;
}

.btn--pill:hover {
  background: var(--sky);
}

/* Square — "Request a quote" */
.btn--quote {
  padding: 14px 26px;
  background: var(--navy-mid);
  font-size: 14px;
}

.btn--quote:hover {
  background: var(--sky);
}

/* Square — "Open Google Maps" */
.btn--maps {
  padding: 13px 22px;
  background: var(--maps-blue);
  font-size: 14px;
  font-weight: 700;
}

.btn--maps:hover {
  background: var(--navy);
}

/* 5. Header + navigation ------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 4px 34px;
  background: var(--surface);
  box-shadow: var(--shadow-header);
}

.site-header__home {
  display: flex;
  align-items: center;
}

.site-header__logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 500;
}

.main-nav__link {
  color: var(--text-body);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.main-nav__link:hover,
.main-nav__link.is-active {
  color: var(--sky);
}

.main-nav__link.is-active {
  border-bottom-color: var(--sky);
}

/* 6. Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  background-color: var(--hero-fallback);
  background-image: url('../images/hero-background.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero__intro {
  padding: 54px 24px 39%;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: var(--navy-mid);
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--navy);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 18px;
  padding: 10px 44px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--navy-mid);
  box-shadow: var(--shadow-badge);
}

.hero__badge-arrow {
  color: var(--sky-pale);
  font-size: 15px;
  letter-spacing: 2px;
}

.hero__badge-text {
  font-family: var(--font-script);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  color: #fff;
}

.hero__lead {
  max-width: 430px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--navy-soft);
}

.hero__features {
  padding: 26px 24px 150px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 6px rgba(8, 28, 54, .55);
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.feature:last-child {
  border-right: 0;
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .7);
  background: var(--navy-mid);
  box-shadow: var(--shadow-icon);
}

.feature__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
}

.feature__note {
  margin-top: -14px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--sky-faint);
}

/* 7. Wave divider -------------------------------------------------------- */

.wave {
  position: relative;
}

/* Pulls the wave up over the hero's bottom padding. */
.wave--overlap {
  margin-top: -11%;
}

.wave__svg {
  display: block;
  width: 100%;
  height: 7vw;
  max-height: 96px;
  min-height: 40px;
}

/* Solid navy strip that closes the gap under the wave. */
.wave__ledge {
  position: relative;
  height: 26px;
  margin-top: -2px;
  background: var(--navy);
}

/* 8. Sections & section headings ----------------------------------------- */

.section {
  scroll-margin-top: 80px;
}

.section--vehicles {
  background: var(--surface);
  padding: 64px 34px 72px;
}

.section--why {
  background: var(--surface-tint);
  padding: 66px 34px 74px;
}

.section--contact {
  background: var(--surface);
  padding: 64px 34px 76px;
}

.section-head {
  max-width: 920px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head__eyebrow {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2.6px;
  color: var(--sky);
  text-transform: uppercase;
}

.section-head__title {
  margin: 0 0 14px;
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--navy);
}

.section-head__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-body);
}

/* 9. Vehicles ------------------------------------------------------------ */

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.vehicle-card__image {
  display: block;
  width: 100%;
  /* height:auto is load-bearing — the img width/height attributes are CSS
     presentation hints, and a definite height would make aspect-ratio inert. */
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.vehicle-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 26px;
}

.vehicle-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.vehicle-card__name {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
}

.vehicle-card__tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sky);
  white-space: nowrap;
}

.vehicle-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

.vehicle-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pill-bg);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-mid);
}

/* 10. Why choose us ------------------------------------------------------ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 56px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.why__title {
  margin: 0 0 22px;
  font-size: clamp(30px, 4.2vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--navy);
}

.why__text {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-body);
}

.why__text--last {
  margin-bottom: 28px;
}

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-soft);
}

.why-list__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}

.why-list__num {
  flex: none;
  padding-top: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
}

.why-list__title {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
}

.why-list__desc {
  display: block;
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-body);
}

/* 11. Contact ------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.contact__title {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.4vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--navy);
}

.contact__lead {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-body);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-item__phone {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.contact-item__email {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  word-break: break-all;
}

.contact-item__web {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.contact-item__phone:hover,
.contact-item__email:hover,
.contact-item__web:hover {
  color: var(--sky);
}

.contact-item__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
}

.contact-item__map-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--sky);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.social-link {
  padding: 10px 18px;
  border: 1px solid var(--border-social);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy-mid);
  transition: border-color .2s ease, color .2s ease;
}

.social-link:hover {
  border-color: var(--sky);
  color: var(--sky);
}

/* "Find us" aside */
.find-us {
  background: var(--surface-aside);
  padding: 30px 32px 36px;
}

.find-us__title {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.find-us__text {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-body);
}

.find-us__divider {
  margin: 28px 0 20px;
  border: 0;
  border-top: 1px solid var(--border-aside);
}

.find-us__note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-body);
}

.find-us__note a {
  color: var(--navy);
  font-weight: 600;
}

.find-us__note a:hover {
  color: var(--sky);
}

.find-us__note .is-email {
  word-break: break-all;
}

/* 12. Footer ------------------------------------------------------------- */

.site-footer {
  position: relative;
}

.footer-bar {
  margin-top: -2px;
  padding: 0 24px 26px;
  background: var(--navy);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto;
  color: #fff;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff;
}

.footer-cta {
  display: block;
  text-align: left;
}

.footer-cta__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #9fc4e8;
}

.footer-cta__phone {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1.15;
  color: #fff;
}

.footer-divider {
  display: block;
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, .45);
}

.footer-web {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  color: #fff;
}

.footer-cta__phone:hover,
.footer-web:hover {
  color: var(--sky-light);
}

.footer-script {
  font-family: var(--font-script);
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.25;
  color: #fff;
  text-align: center;
}

/* 13. Responsive --------------------------------------------------------- */

@media (max-width: 560px) {
  .site-header {
    padding: 4px 18px;
  }

  .section--vehicles,
  .section--why,
  .section--contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .why-grid,
  .contact-grid {
    gap: 36px;
  }

  .find-us {
    padding: 26px 22px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: .01ms !important;
  }
}
