/*
Theme Name: Utility Fleet Services
Theme URI: https://example.com/
Author: Utility Fleet Services
Description: Multi-page WordPress theme for Utility Fleet Services - diesel, bucket trucks & hydraulics.
Version: 1.0
Text Domain: utility-fleet-services
*/

:root {
  --primary: #0f4f8f;
  --primary-dark: #09355f;
  --accent: #f5a623;
  --bg-dark: #000000;
  --light-bg: #f5f7fb;
  --text: #111827;
  --muted: #6b7280;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #000000;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header / Nav */
header {
  background: #000000;
  color: var(--white);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

nav.primary-nav a {
  color: rgba(255, 255, 255, 0.9);
}

nav.primary-nav a:hover {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.nav-phone {
  display: none;
  color: #e5e7eb;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #111827;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #ffbb4d;
  border-color: #ffbb4d;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #e5e7eb;
}

.btn-outline-light:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Layout */
main {
  background: #ffffff;
}

section {
  padding: 3rem 1rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--muted);
}

/* HERO (home) */
.hero {
  background: radial-gradient(circle at top, #1f2933 0%, #000000 55%, #000000 100%);
  color: var(--white);
  padding: 3.5rem 1rem 3rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.9rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1rem;
  color: #cbd5f5;
  margin-bottom: 0.9rem;
}

.hero-lines {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.hero-lines strong {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

.hero-image-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.9);
  background: #020617;
}

.hero-image-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* WHY / ABOUT STYLE BLOCKS */
.why-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.why-card,
.about-side,
.contact-info-card {
  background: #f9fafb;
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  font-size: 0.92rem;
  color: #4b5563;
}

.why-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

/* Services list */
.services-inner {
  max-width: 900px;
  margin: 0 auto;
}

.services-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.services-list {
  list-style: none;
  font-size: 0.95rem;
  color: #374151;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.4rem 1.5rem;
}

.services-list li {
  position: relative;
  padding-left: 1.6rem;
}

.services-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.9rem;
  color: #16a34a;
}

/* Gallery */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.image-card {
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.image-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.image-caption {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Forms */
form {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.field {
  margin-bottom: 0.9rem;
  width: 100%;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #4b5563;
}

input,
textarea {
  width: 100%;
  border-radius: 0.55rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

/* Contact info card tweaks */
.contact-info-card {
  background: var(--bg-dark);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.contact-label {
  font-weight: 600;
}

.contact-value {
  color: #cbd5f5;
}

/* Footer */
footer {
  background: #000000;
  color: #9ca3af;
  font-size: 0.8rem;
  padding: 1.25rem 1rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .why-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  nav.primary-nav ul {
    display: none;
  }

  .nav-phone {
    display: inline;
  }
}

@media (max-width: 600px) {
  .nav-container {
    padding-inline: 0.75rem;
  }

  .hero {
    padding-top: 3rem;
  }
}
