/* =====================================================
 * ROOFING SERVICES IN BERKS, LEHIGH, NORTHAMPTON & BETHLEHEM
 * Complete Unified CSS Stylesheet
 * =====================================================
 */

/* Base Styles */
.county-roofing-page {
  font-family: 'Saira', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #2c3e50;
  line-height: 1.6;
  background: #f8f9fa;
}

.county-roofing-page * {
  box-sizing: border-box;
}

.county-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.county-page-hero {
  position: relative;
  min-height: 500px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
}

.berks-county-hero {
  background: linear-gradient(135deg, #8b0000 0%, #cd5c5c 100%);
}

.lehigh-county-hero {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.northampton-county-hero {
  background: linear-gradient(135deg, #1b5e20 0%, #43a047 100%);
}

.bethlehem-hero {
  background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(52, 73, 94, 0.7)),
    url('https://storage.googleapis.com/kws-clientele/Valley%20Peak%20Roofing%20Co/c.%20service-areas.html/Area%20Specific%20Landing%20Pages/Roofing%20Bethlehem%20PA/bethlehem-hero-1920x1080.jpg')
      center/cover no-repeat;
}

.county-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.county-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
}

.county-page-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.county-highlight-name {
  color: #ffd700;
  display: inline-block;
  position: relative;
}

.county-hero-tagline {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.county-hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.county-stat-item {
  text-align: center;
}

.county-stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #ffd700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.county-stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Introduction Section */
.county-page-intro {
  padding: 60px 0;
  background: linear-gradient(90deg, #1a1a1a 0%, #b8860b 50%, #1a1a1a 100%),
    url('https://storage.googleapis.com/kws-clientele/Valley%20Peak%20Roofing%20Co/textures/hexellence.webp');
  background-blend-mode: overlay;
  background-repeat: repeat;
  background-size: auto;
  overflow: hidden;
  border-bottom: 1px solid #e0e0e0;
}

.county-intro-text {
  font-size: 1.2rem;
  color: white;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
  text-shadow: #000000;
}

/* Section Titles */
.county-section-title {
  font-size: 2.5rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.county-section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #cd5c5c;
}

/* Materials Section */
.county-materials-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.county-materials-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.county-material-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.county-material-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.county-material-card.county-featured {
  border: 2px solid #cd5c5c;
}

.county-material-header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 1.5rem;
  position: relative;
}

.county-material-header h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.county-market-share {
  font-size: 0.9rem;
  opacity: 0.9;
}

.county-material-features,
.county-material-benefits {
  padding: 1.5rem;
}

.county-material-features h4,
.county-material-benefits h4 {
  color: #cd5c5c;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.county-material-features ul,
.county-material-benefits ul {
  list-style: none;
  padding: 0;
}

.county-material-features li,
.county-material-benefits li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.county-material-features li:before,
.county-material-benefits li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #cd5c5c;
  font-weight: bold;
}

/* Weather Challenges Section */
.county-weather-challenges {
  padding: 80px 0;
  background: #f8f9fa;
}

.bethlehem-weather-section {
  padding: 80px 0;
  background: white;
}

.county-weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.county-weather-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.county-weather-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.county-weather-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #34495e;
}

.county-weather-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.county-weather-card p {
  color: #666;
  line-height: 1.6;
}

.county-weather-card strong {
  color: #cd5c5c;
  font-weight: 600;
}

/* Seasonal Challenges Tabs */
.county-seasonal-challenges {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.county-seasonal-challenges h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.county-season-tabs {
  position: relative;
  text-align: center;
}

.county-season-input {
  display: none;
}

.county-season-label {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #e0e0e0;
  color: #666;
  cursor: pointer;
  border-radius: 25px;
  margin: 0 0.25rem 1rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  white-space: nowrap;
}

.county-season-input:checked + .county-season-label {
  background: #cd5c5c;
  color: white;
}

.county-season-content {
  display: none;
  padding: 2rem;
  animation: countyFadeIn 0.5s ease;
  max-width: 600px;
  margin: 0 auto;
}

/* Season tab visibility for each page */
.county-season-input#berks-summer:checked ~ .county-summer-content,
.county-season-input#berks-winter:checked ~ .county-winter-content,
.county-season-input#berks-transition:checked ~ .county-transition-content,
.county-season-input#lehigh-summer:checked ~ .county-summer-content,
.county-season-input#lehigh-winter:checked ~ .county-winter-content,
.county-season-input#lehigh-transition:checked ~ .county-transition-content,
.county-season-input#northampton-summer:checked ~ .county-summer-content,
.county-season-input#northampton-winter:checked ~ .county-winter-content,
.county-season-input#northampton-transition:checked
  ~ .county-transition-content,
.county-season-input#bethlehem-summer:checked ~ .county-summer-content,
.county-season-input#bethlehem-winter:checked ~ .county-winter-content,
.county-season-input#bethlehem-transition:checked ~ .county-transition-content {
  display: block;
}

@keyframes countyFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.county-season-content h4 {
  color: #cd5c5c;
  margin-bottom: 1rem;
}

.county-season-content ul {
  list-style: none;
  padding-left: 0;
}

.county-season-content li {
  padding: 0.5rem 0;
  position: relative;
}

/* Geographic Impact Section */
.county-geographic-impact {
  padding: 80px 0;
  background: white;
}

.county-location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.county-location-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid #cd5c5c;
}

.county-location-card h3 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.county-location-features {
  list-style: none;
  padding: 0;
}

.county-location-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
  color: #555;
}

.county-location-features li:last-child {
  border-bottom: none;
}

.county-location-features strong {
  color: #2c3e50;
}

/* Elevation Chart */
.county-elevation-impact {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
}

.county-elevation-impact h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.county-elevation-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 300px;
  padding: 2rem 1rem;
}

.county-elevation-bar {
  flex: 1;
  max-width: 150px;
  height: var(--height);
  background: linear-gradient(to top, #cd5c5c, #8b0000);
  border-radius: 8px 8px 0 0;
  position: relative;
  margin: 0 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.county-elevation-bar:hover {
  transform: scaleY(1.05);
}

.county-elevation-label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-weight: 600;
  color: #2c3e50;
  text-decoration: none;
}

.county-elevation-desc {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.85rem;
  color: #666;
  transition: opacity 0.3s ease;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  font-weight: normal;
  cursor: default;
}

/* Installation Section */
.county-installation-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.county-installation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.county-installation-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.county-installation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.county-installation-icon {
  font-size: 2.5rem;
  color: #34495e;
  margin-bottom: 1rem;
  text-align: center;
}

.county-installation-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-align: center;
}

.county-installation-card p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.county-installation-card ul {
  list-style: none;
  padding: 0;
}

.county-installation-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.county-installation-card li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #34495e;
  font-weight: bold;
}

/* Gutter Systems Section */
.county-gutter-section {
  padding: 80px 0;
  background: white;
}

.county-gutter-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.county-gutter-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.county-gutter-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.county-gutter-specs {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: white;
  border-radius: 6px;
}

.county-spec-label {
  font-weight: 600;
  color: #34495e;
  margin-right: 0.5rem;
}

.county-gutter-card ul {
  list-style: none;
  padding: 0;
}

.county-gutter-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.county-gutter-card li:before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #34495e;
  font-weight: bold;
}

/* Common Problems Section */
.county-problems-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.county-problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.county-problem-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.county-problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.county-problem-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.county-problem-header i {
  font-size: 2rem;
  color: #34495e;
}

.county-problem-header h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  margin: 0;
}

.county-problem-card > p {
  color: #666;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.county-problem-details h4 {
  color: #34495e;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.county-problem-details ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.county-problem-details li {
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: #555;
  font-size: 0.9rem;
}

.county-problem-details li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: #34495e;
}

/* Cost & Investment Section */
.county-cost-section {
  padding: 80px 0;
  background: white;
}

.county-cost-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.county-cost-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.county-cost-card h3 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.county-cost-table {
  background: white;
  border-radius: 8px;
  padding: 1rem;
}

.county-cost-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  border-bottom: 1px solid #e0e0e0;
}

.county-cost-row:last-child {
  border-bottom: none;
}

.county-cost-row span:first-child {
  color: #555;
}

.county-cost-row span:last-child {
  color: #34495e;
  font-weight: 600;
}

.county-cost-card ul {
  list-style: none;
  padding: 0;
}

.county-cost-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
  color: #555;
}

.county-cost-card li:last-child {
  border-bottom: none;
}

.county-cost-card strong {
  color: #2c3e50;
}

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

.county-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.county-service-category {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.county-service-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.county-service-category h3 {
  color: #cd5c5c;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.county-service-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.county-service-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
  color: #555;
  transition: all 0.2s ease;
}

.county-service-list li:last-child {
  border-bottom: none;
}

.county-service-list li:hover {
  color: #cd5c5c;
  padding-left: 10px;
}

/* Warranty Section */
.county-warranty-section {
  padding: 80px 0;
  background: white;
}

.county-warranty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.county-warranty-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.county-warranty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.county-warranty-icon {
  font-size: 3rem;
  color: #34495e;
  margin-bottom: 1rem;
}

.county-warranty-card h3 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.county-warranty-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.county-warranty-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
  color: #555;
}

.county-warranty-card li:last-child {
  border-bottom: none;
}

.county-warranty-card strong {
  color: #2c3e50;
}

/* Architecture Section (for Berks/Lehigh/Northampton) */
.county-architecture-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.county-architecture-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
}

.county-arch-category {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.county-arch-category h3 {
  color: #cd5c5c;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  text-align: center;
}

.county-arch-type {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.county-arch-type h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.county-arch-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.county-feature-item {
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #555;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
}

.county-feature-item:hover {
  background: #cd5c5c;
  color: white;
  border-color: #cd5c5c;
}

/* Building Codes Section (for Berks/Lehigh/Northampton) */
.county-building-codes {
  padding: 80px 0;
  background: white;
}

.county-codes-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.county-requirement-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.county-requirement-card h4 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.county-requirement-card ul {
  list-style: none;
  padding: 0;
}

.county-requirement-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
  color: #555;
}

.county-requirement-card li:last-child {
  border-bottom: none;
}

.county-highlight {
  color: #cd5c5c;
  font-weight: 600;
}

.county-wind-standards {
  display: grid;
  gap: 1rem;
}

.county-wind-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.county-wind-location {
  color: #666;
}

.county-wind-speed {
  font-size: 1.2rem;
  font-weight: 600;
  color: #cd5c5c;
}

.county-municipality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.county-municipality {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
}

.county-municipality h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.county-municipality ul {
  list-style: none;
  padding: 0;
}

.county-municipality li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: #666;
}

/* Why Choose Us Section (for Berks/Lehigh/Northampton) */
.county-why-choose-us {
  padding: 80px 0;
  background: #f8f9fa;
}

.county-credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.county-credential-box {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.county-credential-box h3 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  text-align: center;
}

.county-credential-box ul,
.county-credential-box ol {
  list-style: none;
  padding: 0;
}

.county-credential-box li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
  color: #555;
}

.county-credential-box li:last-child {
  border-bottom: none;
}

.county-credential-box li strong {
  color: #2c3e50;
}

/* CTA Section */
.county-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  text-align: center;
}

.berks-county-cta {
  background: linear-gradient(135deg, #8b0000 0%, #cd5c5c 100%);
}

.lehigh-county-cta {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.northampton-county-cta {
  background: linear-gradient(135deg, #1b5e20 0%, #43a047 100%);
}

.bethlehem-cta {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.county-cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.county-cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.county-inspection-features {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.county-inspection-features h3 {
  margin-bottom: 1.5rem;
  color: #ffd700;
}

.county-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  text-align: left;
}

.county-cta-feature {
  padding: 0.5rem;
}

.county-cta-feature i {
  color: #ffd700;
  margin-right: 0.5rem;
}

.county-contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.county-contact-method {
  text-align: center;
  padding: 1rem;
}

.county-contact-method h4 {
  margin-bottom: 0.5rem;
  color: #ffd700;
}

.county-contact-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  word-break: break-word;
}

.county-contact-link:hover {
  color: #ffd700;
  transform: translateY(-2px);
}

.county-office-location {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.county-office-location h4 {
  margin-bottom: 1rem;
  color: #ffd700;
}

.county-office-location address {
  font-style: normal;
  line-height: 1.6;
}

/* Service Areas Section */
.county-service-areas {
  padding: 40px 0;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
}

.county-service-area-text {
  text-align: center;
  color: #666;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===========================
   COLOR OVERRIDES BY LOCATION
   =========================== */

/* Berks County - Red Theme */
#berks-county-roofing .county-section-title:after,
#berks-county-roofing .county-weather-card strong,
#berks-county-roofing .county-highlight,
#berks-county-roofing .county-wind-speed,
#berks-county-roofing .county-season-content h4,
#berks-county-roofing .county-arch-category h3,
#berks-county-roofing .county-material-features h4,
#berks-county-roofing .county-material-benefits h4,
#berks-county-roofing .county-material-features li:before,
#berks-county-roofing .county-material-benefits li:before,
#berks-county-roofing .county-service-category h3,
#berks-county-roofing .county-service-list li:hover {
  color: #cd5c5c;
}

#berks-county-roofing .county-section-title:after,
#berks-county-roofing .county-season-input:checked + .county-season-label,
#berks-county-roofing .county-feature-item:hover {
  background: #cd5c5c;
}

#berks-county-roofing .county-location-card,
#berks-county-roofing .county-material-card.county-featured {
  border-left-color: #cd5c5c;
}

#berks-county-roofing .county-elevation-bar {
  background: linear-gradient(to top, #cd5c5c, #8b0000);
}

/* Lehigh County - Blue Theme */
#lehigh-county-roofing .county-section-title:after,
#lehigh-county-roofing .county-weather-card strong,
#lehigh-county-roofing .county-highlight,
#lehigh-county-roofing .county-wind-speed,
#lehigh-county-roofing .county-season-content h4,
#lehigh-county-roofing .county-arch-category h3,
#lehigh-county-roofing .county-material-features h4,
#lehigh-county-roofing .county-material-benefits h4,
#lehigh-county-roofing .county-material-features li:before,
#lehigh-county-roofing .county-material-benefits li:before,
#lehigh-county-roofing .county-service-category h3,
#lehigh-county-roofing .county-service-list li:hover {
  color: #2a5298;
}

#lehigh-county-roofing .county-section-title:after,
#lehigh-county-roofing .county-season-input:checked + .county-season-label,
#lehigh-county-roofing .county-feature-item:hover {
  background: #2a5298;
}

#lehigh-county-roofing .county-location-card,
#lehigh-county-roofing .county-material-card.county-featured {
  border-left-color: #2a5298;
}

#lehigh-county-roofing .county-elevation-bar {
  background: linear-gradient(to top, #2a5298, #1e3c72);
}

/* Northampton County - Green Theme */
#northampton-county-roofing .county-section-title:after,
#northampton-county-roofing .county-weather-card strong,
#northampton-county-roofing .county-highlight,
#northampton-county-roofing .county-wind-speed,
#northampton-county-roofing .county-season-content h4,
#northampton-county-roofing .county-arch-category h3,
#northampton-county-roofing .county-material-features h4,
#northampton-county-roofing .county-material-benefits h4,
#northampton-county-roofing .county-material-features li:before,
#northampton-county-roofing .county-material-benefits li:before,
#northampton-county-roofing .county-service-category h3,
#northampton-county-roofing .county-service-list li:hover {
  color: #43a047;
}

#northampton-county-roofing .county-section-title:after,
#northampton-county-roofing .county-season-input:checked + .county-season-label,
#northampton-county-roofing .county-feature-item:hover {
  background: #43a047;
}

#northampton-county-roofing .county-location-card,
#northampton-county-roofing .county-material-card.county-featured {
  border-left-color: #43a047;
}

#northampton-county-roofing .county-elevation-bar {
  background: linear-gradient(to top, #43a047, #1b5e20);
}

/* Bethlehem - Dark Slate Theme */
#bethlehem-roofing .county-section-title:after,
#bethlehem-roofing .county-weather-card strong,
#bethlehem-roofing .county-highlight,
#bethlehem-roofing .county-wind-speed,
#bethlehem-roofing .county-season-content h4,
#bethlehem-roofing .county-material-features h4,
#bethlehem-roofing .county-material-benefits h4,
#bethlehem-roofing .county-material-features li:before,
#bethlehem-roofing .county-material-benefits li:before,
#bethlehem-roofing .county-service-category h3,
#bethlehem-roofing .county-service-list li:hover {
  color: #34495e;
}

#bethlehem-roofing .county-section-title:after,
#bethlehem-roofing .county-season-input:checked + .county-season-label,
#bethlehem-roofing .county-feature-item:hover {
  background: #34495e;
}

#bethlehem-roofing .county-location-card,
#bethlehem-roofing .county-material-card.county-featured {
  border-left-color: #34495e;
}

#bethlehem-roofing .county-elevation-bar {
  background: linear-gradient(to top, #34495e, #2c3e50);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
  .county-page-title {
    font-size: 2rem;
  }

  .county-hero-tagline {
    font-size: 1.1rem;
  }

  .county-hero-stats {
    gap: 1.5rem;
  }

  .county-stat-number {
    font-size: 2rem;
  }

  .county-stat-label {
    font-size: 0.75rem;
  }

  .county-intro-text {
    font-size: 1rem;
  }

  .county-section-title {
    font-size: 1.8rem;
  }

  .county-materials-showcase,
  .county-weather-grid,
  .county-location-grid,
  .county-installation-grid,
  .county-gutter-comparison,
  .county-problems-grid,
  .county-cost-breakdown,
  .county-services-grid,
  .county-warranty-grid,
  .county-credentials-grid {
    grid-template-columns: 1fr;
  }

  .county-codes-container {
    grid-template-columns: 1fr;
  }

  .county-architecture-showcase {
    grid-template-columns: 1fr;
  }

  .county-elevation-chart {
    height: 250px;
    padding: 1rem 0.5rem 5rem; /* Extra padding bottom for descriptions */
  }

  .county-elevation-bar {
    margin: 0 5px;
  }

  .county-elevation-label {
    font-size: 0.75rem;
    bottom: -30px;
  }

  /* Show descriptions as text below labels on mobile */
  .county-elevation-desc {
    position: absolute;
    top: auto !important;
    bottom: -50px !important; /* BELOW the label which is at -30px */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    opacity: 1 !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #999;
    text-align: center;
    pointer-events: none;
    z-index: 1;
  }

  .county-material-features li,
  .county-material-benefits li {
    padding: 0.6rem 0 0.6rem 1.8rem;
  }

  .county-material-features li:before,
  .county-material-benefits li:before {
    left: 0.25rem;
  }

  .county-cta-section h2 {
    font-size: 1.8rem;
  }

  .county-contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .county-page-title {
    font-size: 1.75rem;
  }

  .county-hero-tagline {
    font-size: 1rem;
  }

  .county-stat-number {
    font-size: 1.75rem;
  }

  .county-stat-label {
    font-size: 0.7rem;
  }

  .county-section-title {
    font-size: 1.5rem;
  }

  .county-page-hero {
    padding-top: 100px;
    min-height: 400px;
  }

  .county-content-wrapper {
    padding: 0 15px;
  }

  .county-season-label {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }

  .county-elevation-chart {
    height: 200px;
    padding: 3rem 0.25rem 2rem;
  }

  .county-elevation-bar {
    max-width: 80px;
    margin: 0 3px;
  }

  .county-elevation-label {
    font-size: 0.65rem;
    bottom: -25px;
  }

  .county-elevation-desc {
    font-size: 0.65rem;
    padding: 2px 4px;
    top: -45px;
  }

  .county-material-features li,
  .county-material-benefits li {
    font-size: 0.8rem;
    padding: 0.8rem 0 0.8rem 2rem;
  }

  .county-material-features li:before,
  .county-material-benefits li:before {
    font-size: 0.9rem;
    left: 0.5rem;
  }

  .county-cta-section h2 {
    font-size: 1.5rem;
  }

  .county-cta-subtitle {
    font-size: 0.95rem;
  }

  .county-contact-link {
    font-size: 0.85rem;
  }

  .county-office-location address {
    font-size: 0.85rem;
  }
}
