:root {
  --navy: #0d2440;
  --navy-2: #132f52;
  --blue: #2f718c;
  --sky: #dceff4;
  --gold: #d4a64a;
  --gold-dark: #a66f1b;
  --rust: #b9582f;
  --cream: #f7f3ec;
  --white: #ffffff;
  --text: #243040;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 110px 0 0 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .navbar-brand {
  padding: 0;
  margin: 0;
  line-height: 1;
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 9999;
  background: #fff;
  color: #000;
  padding: .75rem 1rem;
}

.skip-link:focus { top: 0; }

.navbar {
  background: rgba(13,36,64,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  padding: .25rem 0;
}  

.nav-logo {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
    transform-origin: top center;
}

/* Hover effect (no layout shift) */
.nav-logo:hover {
    transform: scale(2.0);
}

.navbar .container {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
}

.navbar-brand span {
  font-weight: 800;
  letter-spacing: .02em;
}

.navbar .nav-link {
  color: rgba(255,255,255,.88);
  font-weight: 700;
  font-size: .95rem;
  padding-left: .8rem !important;
  padding-right: .8rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13,36,64,.88), rgba(13,36,64,.52), rgba(13,36,64,.12)),
    url("../img/homepage.jpg") center center / cover no-repeat;
  isolation: isolate;
}

.hero.small-hero {
  min-height: 46vh;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--cream));
  z-index: -1;
}

.hero-content {
  max-width: 860px;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.75rem);
  font-weight: 800;
  line-height: .95;
  text-shadow: 0 8px 28px rgba(0,0,0,.35);
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.btn-brand {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
  font-weight: 800;
  padding: .85rem 1.35rem;
  border-radius: 999px;
}

.btn-brand:hover,
.btn-brand:focus {
  background: #9b4725;
  border-color: #9b4725;
  color: #fff;
}

.btn-outline-brand {
  border: 2px solid rgba(255,255,255,.88);
  color: #fff;
  font-weight: 800;
  padding: .78rem 1.35rem;
  border-radius: 999px;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: #fff;
  color: var(--navy);
}

.section-padding {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-title {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.03em;
}

.lead-text {
  font-size: 1.12rem;
  line-height: 1.8;
}

.card-soft {
  background: var(--white);
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 18px 50px rgba(13,36,64,.10);
  height: 100%;
  overflow: hidden;
}

.card-soft .card-body { padding: 2rem; }

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--navy-2);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.image-panel {
  min-height: 430px;
  border-radius: 1.5rem;
  background: url("../img/builtfor.jpg") center center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(13,36,64,.18);
}

.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 1.5rem;
  padding: clamp(2rem, 5vw, 3.25rem);
  box-shadow: 0 24px 60px rgba(13,36,64,.22);
}

.page-content {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 18px 50px rgba(13,36,64,.08);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.fleet-img {
  height: 230px;
  width: 100%;
  object-fit: cover;
}

.event-date {
  min-width: 82px;
  text-align: center;
  border-radius: 1rem;
  background: var(--navy);
  color: #fff;
  padding: .75rem;
}

.event-date span {
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

.event-date .month { color: var(--gold); font-size: .8rem; }
.event-date .day { font-size: 1.75rem; line-height: 1; }

.form-control,
.form-select {
  border-radius: .8rem;
  padding: .8rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .25rem rgba(212,166,74,.25);
}

.footer {
  background: var(--navy);
  color: rgba(255,255,255,.78);
  padding: 3rem 0 1.5rem;
}

.footer a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}

.footer a:hover { color: var(--gold); }

@media (max-width: 991.98px) {
  .navbar-brand img {
    width: 120px;
    height: 120px;
  }

  .hero { min-height: 70vh; }
  .hero.small-hero { min-height: 38vh; }
  .hero-content { padding-top: 5.5rem; }
}

@media (max-width: 575.98px) {
  .hero {
    text-align: left;
    background-position: 58% center;
  }

  .btn-brand,
  .btn-outline-brand {
    width: 100%;
    text-align: center;
  }

  .image-panel { min-height: 300px; }
  .card-soft .card-body { padding: 1.4rem; }
}

.navbar-nav .nav-link {
  padding-top: .5rem !important;
  padding-bottom: .5rem !important;
}


@media (max-width: 575.98px) {
  body {
    padding-top: 82px;
  }

  .navbar-brand img {
    width: 100px;
    height: 100px;
  }
}
