/* City Pages Specific Styles */
/* City pages inherit most styles from home.css but have some specific variations */

/* City-specific hero adjustments */
.city-hero {
    background: linear-gradient(145deg, #ffffff 0%, #f8fdfd 35%, #e8f8f5 70%, #f0fff4 100%);
    padding: 40px 0 20px 0;
    position: relative;
    overflow: hidden;
}

.city-hero .hero-text h1 {
    font-size: var(--h1-size);
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.city-hero .hero-text .city-name {
    color: var(--primary-teal);
    position: relative;
}

.city-hero .hero-text .city-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--light-teal));
    border-radius: 2px;
}

/* City-specific service areas */
.city-service-areas {
    background: rgba(45, 135, 131, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(45, 135, 131, 0.1);
}

.city-service-areas h3 {
    color: var(--primary-teal);
    font-size: var(--h3-size);
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-area-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    text-align: center;
    border: 1px solid rgba(45, 135, 131, 0.1);
    transition: var(--transition-normal);
}

.service-area-item:hover {
    background: rgba(45, 135, 131, 0.05);
    border-color: rgba(45, 135, 131, 0.2);
    transform: translateY(-2px);
}

.service-area-item p {
    margin: 0;
    color: var(--text-grey);
    font-size: 14px;
    font-weight: 500;
}

/* City-specific contact information */
.city-contact-highlight {
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    color: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    margin: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.city-contact-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.city-contact-highlight .contact-content {
    position: relative;
    z-index: 2;
}

.city-contact-highlight h3 {
    font-size: var(--h3-size);
    margin-bottom: 15px;
    font-weight: 600;
}

.city-contact-highlight p {
    font-size: var(--body-large);
    margin-bottom: 25px;
    opacity: 0.9;
}

.city-contact-highlight .contact-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.city-contact-highlight .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.city-contact-highlight .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* City-specific testimonials */
.city-testimonials .testimonial-card {
    position: relative;
}

.city-testimonials .testimonial-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    border-radius: var(--border-radius-sm);
    opacity: 0.1;
}

/* City-specific local business highlights */
.local-business-highlight {
    background: rgba(248, 255, 254, 0.8);
    border: 1px solid rgba(45, 135, 131, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.local-business-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
}

.local-business-highlight h3 {
    color: var(--primary-teal);
    font-size: var(--h3-size);
    margin-bottom: 20px;
    font-weight: 600;
}

.local-business-highlight p {
    color: var(--text-grey);
    line-height: 1.7;
    margin-bottom: 15px;
}

.local-business-highlight ul {
    list-style: none;
    margin: 20px 0;
}

.local-business-highlight li {
    color: var(--text-grey);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.local-business-highlight li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

/* City-specific service coverage map */
.service-coverage {
    background: #ffffff;
    border: 1px solid rgba(45, 135, 131, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin: 50px 0;
    text-align: center;
}

.service-coverage h3 {
    color: var(--primary-teal);
    font-size: var(--h3-size);
    margin-bottom: 25px;
    font-weight: 600;
}

.coverage-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.coverage-area {
    background: rgba(45, 135, 131, 0.05);
    padding: 20px 15px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(45, 135, 131, 0.1);
    transition: var(--transition-normal);
}

.coverage-area:hover {
    background: rgba(45, 135, 131, 0.1);
    border-color: rgba(45, 135, 131, 0.2);
    transform: translateY(-3px);
}

.coverage-area .area-icon {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.coverage-area h4 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.coverage-area p {
    color: var(--text-grey);
    font-size: 14px;
    margin: 0;
}

/* Mobile Responsive for City Pages */
@media (max-width: 1024px) {
    .city-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .city-hero .hero-text {
        padding-right: 0;
        order: 2; /* Move text below image on mobile */
    }
    
    .city-hero .hero-image {
        order: 1; /* Move image above text on mobile */
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .city-hero .hero-img {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .city-hero {
        padding: 40px 0 60px 0; /* Changed top padding to 40px */
    }
    
    .city-hero .hero-content {
        gap: 0px; /* Remove gap between photo and heading */
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 25px;
        max-width: 100%;
    }
    
    .city-hero .hero-text {
        padding-right: 0;
    }
    
    .city-hero .hero-text h1 {
        margin-top: 25px; /* Increased margin-top for better spacing */
    }
    
    .city-hero .hero-subtitle {
        max-width: 100% !important; /* Remove width constraint on mobile with higher specificity */
        padding: 0 !important; /* Remove padding from about.css */
    }
    
    .city-hero .hero-image {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .city-hero .hero-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 20px;
    }
    
    .city-service-areas,
    .city-contact-highlight,
    .local-business-highlight,
    .service-coverage {
        margin: 30px 0;
        padding: 25px 20px;
    }
    
    .service-areas-grid,
    .coverage-areas {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .city-contact-highlight .contact-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .city-contact-highlight .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .city-hero {
        padding: 40px 0 40px 0; /* Changed top padding to 40px */
    }
    
    .city-hero .hero-content {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .city-hero .hero-text h1 {
        font-size: 2rem;
        margin-top: 35px; /* Increased margin-top for max-width: 480px */
    }
    
    .city-hero .hero-subtitle {
        max-width: 100% !important; /* Remove width constraint on mobile with higher specificity */
        padding: 0 !important; /* Remove padding from about.css */
    }
    
    .city-hero .hero-image {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .city-hero .hero-img {
        width: 100%;
        max-width: 100%;
        border-radius: 15px;
    }
    
    .service-areas-grid,
    .coverage-areas {
        grid-template-columns: 1fr;
    }
    
    .service-area-item,
    .coverage-area {
        padding: 15px;
    }
}