/* City Hub Pages Enhanced Styles */

/* Hero Section with Local Focus */
.city-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
}

.city-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 60, 110, 0.03) 0%, transparent 70%);
    transform: rotate(45deg);
}

.city-hero .container {
    position: relative;
    z-index: 1;
}

.city-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.city-hero .lead {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 3rem;
    max-width: 800px;
}

/* Quick Contact Bar */
.quick-contact {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #2d3748;
}

.contact-item strong {
    font-weight: 600;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Services Grid - More Visual Impact */
.services-overview {
    padding: 80px 0;
    background: white;
}

.services-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.services-intro {
    text-align: center;
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

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

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8ecef;
    position: relative;
}

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

.service-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    border: 2px solid var(--accent-color);
}

.service-card-header {
    padding: 2.5rem 2rem 0;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card.featured .service-icon {
    background: var(--accent-color);
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card-content {
    padding: 0 2rem 2rem;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-card li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.service-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: #f0f7ff;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.service-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

/* Local Courts Section */
.local-courts {
    padding: 80px 0;
    background: #f8fafb;
}

.local-courts h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 600;
    text-align: center;
}

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

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

.court-category h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.court-category h3::before {
    content: '⚖️';
    font-size: 1.75rem;
}

.court-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.court-category li {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f4f7;
    color: #4a5568;
    font-size: 1.0625rem;
}

.court-category li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: white;
}

.why-choose h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.benefit-item h3 {
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* CTA Section */
.city-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a3c6e 0%, #2a4c7e 100%);
    position: relative;
    overflow: hidden;
}

.city-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    transform: rotate(-45deg);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cta-content > p {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

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

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-card.featured {
        grid-column: span 1;
    }
    
    .courts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .city-hero {
        padding: 80px 0 60px;
    }
    
    .quick-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Additional Typography Improvements */
.services-overview,
.local-courts,
.why-choose {
    font-size: 1.0625rem;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .services-intro {
        font-size: 1.375rem;
    }
}