/* ========================================
   GET PAVEMENT QUOTE - Main Stylesheet
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a5f2a;
  --primary-dark: #134a20;
  --primary-light: #e8f5e9;
  --accent: #f57c00;
  --accent-dark: #e65100;
  --dark: #1a1a2e;
  --gray-900: #212121;
  --gray-700: #616161;
  --gray-500: #9e9e9e;
  --gray-300: #e0e0e0;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.15rem;
}

/* --- Header --- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.logo:hover { color: var(--primary); }
.logo-icon { font-size: 1.5rem; }

.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
}
.nav a:hover { color: var(--primary); }

.header-cta { white-space: nowrap; }

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .highlight {
  color: var(--accent);
}

.hero p {
  font-size: 1.2rem;
  color: #b0bec5;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #cfd8dc;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--primary-light);
  padding: 20px 0;
  border-bottom: 1px solid #c8e6c9;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

/* --- Services Section --- */
.services-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-700);
  font-size: 1.1rem;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.2s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

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

.service-card p {
  color: var(--gray-700);
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.service-card ul li {
  padding: 6px 0;
  color: var(--gray-700);
}

.service-card ul li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: 700;
}

/* --- Property Types --- */
.property-section {
  padding: 80px 0;
  background: var(--gray-100);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--gray-300);
  transition: all 0.2s ease;
}
.property-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.property-icon { font-size: 2.2rem; margin-bottom: 12px; }
.property-card h4 { font-size: 0.95rem; font-weight: 600; }

/* --- Areas Section --- */
.areas-section {
  padding: 80px 0;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.area-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.area-card ul {
  list-style: none;
  columns: 2;
  gap: 8px;
}

.area-card ul li {
  padding: 4px 0;
}

.area-card ul li a {
  color: var(--gray-700);
  font-size: 0.9rem;
}
.area-card ul li a:hover { color: var(--primary); }

/* --- How It Works --- */
.how-section {
  padding: 80px 0;
  background: var(--gray-100);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  padding: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

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

.step-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* --- Quote Form Section --- */
.quote-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
}

.quote-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

.quote-form-wrapper h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.quote-subtitle {
  text-align: center;
  color: var(--gray-700);
  margin-bottom: 32px;
}

.quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--gray-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,95,42,0.1);
}

.quote-form .btn-lg {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 16px;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 60px 0;
  text-align: center;
  background: var(--primary);
  color: var(--white);
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.cta-banner .btn-primary {
  background: var(--accent);
  font-size: 1.1rem;
  padding: 16px 40px;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: #b0bec5;
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer ul { list-style: none; }
.footer ul li { padding: 4px 0; }
.footer ul li a { color: #b0bec5; font-size: 0.9rem; }
.footer ul li a:hover { color: var(--white); }
.footer p { font-size: 0.9rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* --- County / City Page --- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: var(--white);
  padding: 60px 0 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: #b0bec5;
  max-width: 600px;
  margin: 0 auto 24px;
}

.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.content-section p {
  color: var(--gray-700);
  margin-bottom: 16px;
  max-width: 800px;
}

.city-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.city-link {
  display: block;
  padding: 16px;
  background: var(--gray-100);
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.2s;
}
.city-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .header-inner { flex-wrap: wrap; }
  .nav { display: none; }
  .quote-form .form-row { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-form-wrapper { padding: 32px 20px; }
  .trust-bar-inner { gap: 16px; }
  .hero { padding: 48px 0 40px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; align-items: center; }
}
