/* Service Areas Page Styles */

.service-areas-page {
    font-family: 'Inter', sans-serif;
    color: #333;
}

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

.bg-light {
    background-color: #f9f9f9;
}

/* Hero Section */
.service-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/hero.jpg');
    /* Default hero image */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Commitment Section */
.commitment-section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.commitment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.commitment-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #76b900;
    transition: transform 0.3s ease;
}

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

.commitment-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.commitment-card p {
    color: #555;
    line-height: 1.6;
}

.commitment-footer p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
}

/* Towns Section */
.towns-section {
    padding: 80px 0;
}

.counties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.county-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.county-card h3 {
    font-size: 1.3rem;
    color: #76b900;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.town-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    /* Split long lists into 2 columns within the card */
    column-gap: 1rem;
}

.town-list li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
    break-inside: avoid;
    /* Prevent splitting items across columns */
}

/* CTA Section */
.service-cta-section {
    padding: 80px 0;
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.service-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #76b900;
    color: white;
}

.btn-primary:hover {
    background-color: #5a9000;
}

/* Responsive */
@media (max-width: 768px) {
    .commitment-grid {
        grid-template-columns: 1fr;
    }

    .town-list {
        columns: 1;
    }

    .service-hero h1 {
        font-size: 2rem;
    }
}