/* ============================================
   City Landing Pages - Modern Styling
   ============================================ */

/* City Hero Section */
.city-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 80px;
}

.city-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
}

.city-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a !important;
}

.city-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: #2d3748 !important;
    opacity: 1;
}

.city-hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #D97000 !important;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2d3748 !important;
    opacity: 1;
}

.city-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.services-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    display: flex !important;
    flex-direction: row;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 320px;
    max-height: 380px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-image {
    position: relative;
    overflow: hidden;
    width: 380px;
    min-width: 380px;
    height: auto;
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2.5rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1;
    overflow-y: auto;
    max-height: 380px;
}

.service-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #4A6E1A !important;
    font-weight: 700;
    display: block !important;
}

.service-content > p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: #555 !important;
    display: block !important;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    display: block !important;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.95rem;
    color: #666 !important;
    display: block !important;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4A6E1A;
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-text {
    display: inline-flex !important;
    align-items: center;
    color: #D97000 !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-text:hover {
    color: #4A6E1A !important;
    transform: translateX(5px);
}

/* Neighborhoods Section */
.city-neighborhoods {
    padding: 80px 0;
    background: #ffffff;
}

.neighborhoods-content {
    margin-top: 3rem;
}

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

.neighborhood-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #D97000;
    transition: all 0.3s ease;
}

.neighborhood-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left-color: #4A6E1A;
}

.neighborhood-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.neighborhood-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.neighborhoods-description {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 5px solid #4A6E1A;
}

.neighborhoods-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.neighborhoods-description p:last-child {
    margin-bottom: 0;
}

/* Why Choose Us Section */
.city-why-choose {
    padding: 80px 0;
    background: #ffffff;
    color: #333;
}

.city-why-choose .section-header h2,
.city-why-choose .section-header p {
    color: #333;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    background: #ffffff;
    transform: translateY(-5px);
    border-color: #4A6E1A;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4A6E1A;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* Testimonials Section */
.city-testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    color: #D97000;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    font-size: 1.1rem;
    color: #333;
}

.testimonial-author span {
    font-size: 0.95rem;
    color: #888;
}

/* Contact Section */
.city-contact {
    padding: 80px 0;
    background: #ffffff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
}

.contact-item strong {
    color: #4A6E1A;
    min-width: 140px;
}

.contact-item a {
    color: #D97000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #4A6E1A;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4A6E1A;
}

.btn-full {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-top: 1rem;
}

/* Section Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   Responsive Design - Mobile Optimization
   ============================================ */

@media (max-width: 1024px) {
    .service-card {
        flex-direction: column;
        max-height: none;
    }

    .service-image {
        width: 100%;
        min-width: 100%;
        height: 280px;
    }

    .service-content {
        padding: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .city-hero {
        min-height: 500px;
        padding: 80px 0 60px;
    }

    .city-hero-title {
        font-size: 2.5rem;
    }

    .city-hero-subtitle {
        font-size: 1.2rem;
    }

    .city-hero-stats {
        gap: 2rem;
    }

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

    .city-hero-cta {
        flex-direction: column;
    }

    .city-hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

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

    .section-header p {
        font-size: 1.1rem;
    }

    .service-image {
        height: 250px;
    }

    .service-content h3 {
        font-size: 1.7rem;
    }

    .neighborhoods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .city-hero {
        min-height: 450px;
        padding: 60px 0 40px;
    }

    .city-hero-title {
        font-size: 2rem;
    }

    .city-hero-subtitle {
        font-size: 1.1rem;
    }

    .city-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .service-image {
        height: 220px;
    }

    .neighborhoods-description {
        padding: 1.5rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}
