/* ==========================================================================
   Louisville Trailer Wash - Shared Stylesheet
   ========================================================================== */

:root {
  --navy: #10233f;
  --navy-dark: #0a1830;
  --red: #b3202f;
  --red-dark: #8f1925;
  --white: #ffffff;
  --off-white: #f6f7f9;
  --gray-100: #eef0f3;
  --gray-300: #cfd5dd;
  --gray-600: #5b6472;
  --gray-800: #2b3340;
  --max-width: 1120px;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(16, 35, 63, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Archivo Black', Arial, Helvetica, sans-serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

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

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

section {
  padding: 64px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 680px;
  margin: 0 auto 40px;
}

.bg-alt {
  background: var(--off-white);
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* ---------------- Header / Nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.brand-logo {
  height: 104px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #f2b134;
  text-decoration: none;
}

.nav-links .nav-phone {
  background: var(--red);
  padding: 10px 18px;
  border-radius: 999px;
}

.nav-links .nav-phone:hover {
  background: var(--red-dark);
  color: var(--white);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  background: linear-gradient(to bottom, rgba(10, 24, 48, 0.72), rgba(10, 24, 48, 0.72)),
    url('../images/hero.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 110px 0 90px;
  text-align: center;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.85rem;
  color: #f2b134;
  margin-bottom: 14px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 850px;
  margin: 0 auto 20px;
}

.hero p.lead {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
  color: var(--gray-100);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- About ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-text p {
  color: var(--gray-800);
}

.values-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.values-list li {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* ---------------- Services / Cards ---------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
  border-top: 4px solid var(--navy);
  transition: transform 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card .icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--gray-600);
  font-size: 0.92rem;
  margin: 0;
}

.services-note {
  text-align: center;
  margin-top: 32px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ---------------- Pricing ---------------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.price-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.price-card-head h3 {
  font-size: 1.05rem;
  margin: 0;
}

.price-amount {
  font-family: 'Archivo Black', Arial, Helvetica, sans-serif;
  color: var(--red);
  font-size: 1.5rem;
  white-space: nowrap;
}

.price-card p {
  color: var(--gray-600);
  margin: 0;
  font-size: 0.95rem;
}

.price-note {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 18px 24px;
  color: var(--gray-800);
  font-size: 0.95rem;
}

/* ---------------- Contact ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.contact-card p {
  margin: 0 0 8px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--navy);
}

.hours-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-style: italic;
}

/* ---------------- CTA banner ---------------- */

.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
}

.cta-banner p {
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto 28px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--navy-dark);
  color: var(--gray-300);
  padding: 32px 0;
  text-align: center;
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--white);
}

/* ---------------- Responsive ---------------- */

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .brand-logo {
    height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open {
    max-height: 320px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links .nav-phone {
    border-radius: 0;
    background: var(--red);
  }

  .hero {
    padding: 80px 0 60px;
  }
}
