/* Service Areas List Page Styles */

/* Hero Section */
.areas-hero-section {
    height: 60vh;
    min-height: 450px;
}

/* Breadcrumbs */
.areas-breadcrumb-nav {
    margin-top: 2rem;
}

/* Filter Section */
.filter-section-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5f1 50%, #f8f9fa 100%);
    padding: 5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 3rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.filter-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2D6A4F 50%, transparent);
    opacity: 0.3;
}

.filter-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.filter-section-header .section-label {
    display: inline-block;
    padding: 0.6rem 2rem;
    background: linear-gradient(135deg, #2D6A4F 0%, #1e4d38 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
    position: relative;
}

.filter-section-header .section-label::after {
    content: '📍';
    margin-left: 0.5rem;
    font-size: 1rem;
}

.filter-section-header h2 {
    font-size: 2.5rem;
    color: #2D6A4F;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.filter-section-header .section-description {
    font-size: 1.15rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

/* Search Box */
.area-search-box-wrapper {
    max-width: 700px;
    margin: 0 auto 3rem;
    display: block;
    position: relative;
    z-index: 10;
}

.area-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(45, 106, 79, 0.15);
    border: 2px solid #e8f5f1;
    transition: all 0.3s ease;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.area-search-box:focus-within {
    border-color: #2D6A4F;
    box-shadow: 0 6px 30px rgba(45, 106, 79, 0.25);
    transform: translateY(-2px);
}

.search-icon {
    color: #2D6A4F;
    margin-right: 1rem;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.75rem 0;
    color: #333;
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

.clear-search-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.clear-search-btn:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.clear-search-btn svg {
    color: #666;
}

.search-results-count {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #2D6A4F;
    font-weight: 600;
}

/* Popular Areas */
.popular-areas-section {
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: block !important;
    visibility: visible !important;
}

.popular-areas-title {
    text-align: center;
    color: #2D6A4F;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block !important;
}

.popular-areas-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.popular-area-btn {
    padding: 0.65rem 1.5rem;
    border: 2px solid #e8f5f1;
    background: white;
    color: #2D6A4F;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(45, 106, 79, 0.08);
}

.popular-area-btn:hover {
    background: #e8f5f1;
    border-color: #2D6A4F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.15);
}

/* Postcode Filter Section */
.postcode-filter-section {
    margin-top: 3rem;
}

.filter-subtitle {
    text-align: center;
    color: #2D6A4F;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filter Buttons */
.filter-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    padding: 0.85rem 2rem;
    border: 2px solid #2D6A4F;
    background: white;
    color: #2D6A4F;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(45, 106, 79, 0.1);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(45, 106, 79, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.filter-btn:hover {
    background: #2D6A4F;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.3);
}

.filter-btn.filter-btn-all {
    padding: 0.9rem 2.25rem;
    background: linear-gradient(135deg, #2D6A4F 0%, #1e4d38 100%);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.05rem;
    border: 2px solid #2D6A4F;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.25);
}

.filter-btn.filter-btn-all:hover {
    background: linear-gradient(135deg, #1e4d38 0%, #0f2d21 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(45, 106, 79, 0.4);
}

.filter-btn.active {
    background: linear-gradient(135deg, #2D6A4F 0%, #1e4d38 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.35);
    border-color: #1e4d38;
}

.filter-btn.active::after {
    content: '✓';
    margin-left: 0.5rem;
    font-weight: bold;
}

/* Area Cards Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.area-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.1);
    transition: all 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    border-top: 4px solid #2D6A4F;
    opacity: 1;
    transform: translateY(0);
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(45, 106, 79, 0.2) !important;
}

.area-card-content {
    padding: 2rem;
}

.area-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.area-card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #2D6A4F 0%, #1e4d38 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
    margin-right: 1rem;
}

.area-card-title {
    margin: 0;
    font-size: 1.4rem;
    color: #2D6A4F;
    font-weight: 800;
}

.area-card-postcode {
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.area-card-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.area-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #2D6A4F 0%, #1e4d38 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

/* No Areas Section */
.no-areas-section {
    text-align: center;
    padding: 4rem 2rem;
}

.no-areas-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-areas-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto;
}

.no-areas-button {
    margin-top: 2rem;
}

/* Services Overview Section */
.services-overview-section {
    background: white;
    padding: 5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.services-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #2D6A4F;
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.services-section-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 800;
}

.services-section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2D6A4F 0%, #1e4d38 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.3);
}

.service-card-title {
    font-size: 1.5rem;
    color: #2D6A4F;
    margin-bottom: 1rem;
    font-weight: 800;
}

.service-card-description {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-choose-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

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

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.1);
    transition: all 0.3s ease;
}

.benefit-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2D6A4F 0%, #40916C 100%);
    border-radius: 16px;
    color: white;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-card-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.3);
}

.benefit-card-title {
    font-size: 1.4rem;
    color: #2D6A4F;
    margin-bottom: 1rem;
    font-weight: 800;
}

.benefit-card-description {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Final CTA Section */
.final-cta-section {
    padding: 5rem 0;
    text-align: center;
    background: transparent;
}

.final-cta-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2D6A4F 0%, #1e4d38 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(45, 106, 79, 0.25);
    color: white;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: white;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: white;
    color: #2D6A4F;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-section-wrapper {
        padding: 3rem 0;
    }

    .filter-section-header h2 {
        font-size: 1.75rem;
    }

    .filter-section-header .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .search-box-wrapper {
        padding: 0 1rem;
    }

    .search-box {
        padding: 0.4rem 1rem;
    }

    .search-input {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }

    .popular-areas-section {
        padding: 0 1rem;
    }

    .popular-areas-title {
        font-size: 1rem;
    }

    .popular-area-btn {
        padding: 0.55rem 1.2rem;
        font-size: 0.85rem;
    }

    .filter-subtitle {
        font-size: 0.9rem;
    }

    .filter-buttons-wrapper {
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .filter-btn.filter-btn-all {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }

    /* CTA responsive */
    .cta-content-wrapper {
        padding: 2.5rem 1.5rem;
        margin: 0 1rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-buttons-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .filter-section-header .section-label {
        font-size: 0.7rem;
        padding: 0.5rem 1.25rem;
        letter-spacing: 1.5px;
    }

    .filter-section-header h2 {
        font-size: 1.5rem;
    }

    .search-box {
        padding: 0.3rem 0.75rem;
    }

    .search-input {
        font-size: 0.85rem;
    }

    .search-input::placeholder {
        font-size: 0.8rem;
    }

    .popular-areas-title {
        font-size: 0.9rem;
    }

    .popular-area-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .filter-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}