/* =========================
   W&L Paving Website Styles
   ========================= */

:root {
  --primary: #f6b800;
  --primary-dark: #d99e00;
  --dark: #111827;
  --dark-2: #1f2937;
  --gray: #6b7280;
  --light: #f5f6f8;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Top bar */

.top-bar {
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
}

.top-bar-content {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar a {
  color: var(--primary);
  font-weight: 700;
}

/* Header */

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-wrapper {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
}

.brand strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--gray);
  font-size: 13px;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
}

.nav-links a {
  color: var(--dark-2);
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-cta {
  background: var(--primary);
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--dark) !important;
}

/* Hero */

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.45)),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 0;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.03;
  letter-spacing: -2px;
  max-width: 920px;
  margin-bottom: 24px;
}

.hero-text {
  font-size: 21px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 12px 28px rgba(246, 184, 0, 0.35);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
}

.hero-highlights div {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(8px);
}

.hero-highlights strong {
  display: block;
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 8px;
}

.hero-highlights span {
  color: rgba(255, 255, 255, 0.86);
}

/* General sections */

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--gray);
  font-size: 18px;
}

.light-heading h2,
.light-heading p {
  color: var(--white);
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--dark);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray);
}

/* Project Gallery */

.section-dark {
  background: var(--dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-2);
  box-shadow: var(--shadow);
}

.gallery-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82));
}

.gallery-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--white);
  z-index: 2;
}

.gallery-caption span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-caption h3 {
  font-size: 24px;
  margin-top: 6px;
}

/* Equipment */

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.equipment-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.equipment-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.equipment-content {
  padding: 24px;
}

.equipment-content h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.equipment-content p {
  color: var(--gray);
}

/* Why section */

.why-section {
  background: var(--light);
}

.why-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.why-text h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.why-text p {
  color: var(--gray);
  font-size: 18px;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.why-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.why-item strong {
  display: block;
  font-size: 19px;
  margin-bottom: 8px;
}

.why-item span {
  color: var(--gray);
}

/* About */

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 55px;
  align-items: center;
}

.about-image {
  background: var(--light);
  border-radius: 28px;
  padding: 40px;
  border: 1px solid var(--border);
}

.about-image img {
  width: 100%;
  object-fit: contain;
}

.about-content h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--gray);
  font-size: 18px;
  margin-bottom: 18px;
}

.about-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.about-info div {
  background: var(--light);
  border-radius: 14px;
  padding: 18px;
}

.about-info strong {
  display: block;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 6px;
}

.about-info span {
  font-weight: 800;
}

/* CTA */

.cta-section {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.72)),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 70px 0;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  margin-bottom: 26px;
}

/* Contact */

.contact-section {
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.contact-info > p {
  color: var(--gray);
  font-size: 18px;
  margin-bottom: 28px;
}

.contact-methods {
  display: grid;
  gap: 16px;
}

.contact-methods div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.contact-methods strong {
  display: block;
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 6px;
}

.contact-methods a {
  color: var(--dark);
  font-size: 19px;
  font-weight: 800;
}

.contact-methods span {
  font-size: 17px;
  font-weight: 700;
}

.contact-form {
  background: var(--white);
  border-radius: 24px;
  padding: 34px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(246, 184, 0, 0.18);
}

.form-note {
  font-size: 13px;
  color: var(--gray);
}

/* Footer */

.footer {
  background: var(--dark);
  color: var(--white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 0;
}

.footer strong {
  font-size: 22px;
}

.footer p {
  color: rgba(255, 255, 255, 0.75);
}

.footer a {
  color: var(--primary);
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 18px;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive */

@media (max-width: 980px) {
  .nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-highlights,
  .service-grid,
  .equipment-grid,
  .why-wrapper,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-card.large,
  .gallery-card.wide {
    grid-column: span 2;
  }

  .about-info,
  .why-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .top-bar-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 20px;
  }

  .nav-links {
    font-size: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-card.large,
  .gallery-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-content {
    flex-direction: column;
  }

  .section {
    padding: 70px 0;
  }
}
.tagline {
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.brand-statement {
  font-weight: 800;
  color: var(--dark) !important;
  font-size: 20px !important;
}
