/* Import base styles */
@import url('styles.css');

/* Contact Hero - Blueprint background */
.contact-hero {
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-contact.jpg');
    background-size: cover;
    background-position: center;
}

.contact-hero .hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.contact-hero .hero-content p {
    font-size: 16px;
    max-width: 500px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 20px;
    background: #fff;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.form-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 40px;
    font-style: italic;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: #ff0000;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    align-self: flex-end;
}

.submit-button:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.submit-button:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

/* Contact Details Banner */
.contact-details-banner {
    background: #ff0000;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.contact-details-banner h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-details-banner > p {
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-item a,
.contact-item > div {
    text-decoration: none;
    color: white;
    text-align: center;
}

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

.icon-circle {
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

.contact-item span {
    display: block;
    font-size: 13px;
    opacity: 0.9;
}

/* Service Area Section */
.service-area-section {
    padding: 60px 20px;
    background: #fff;
}

.service-area-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.service-area-text {
    flex: 1;
}

.service-area-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.service-area-text > p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 25px;
}

.cities-list {
    list-style: none;
    margin-bottom: 25px;
    columns: 2;
    column-gap: 20px;
}

.cities-list li {
    font-size: 14px;
    color: #4b5563;
    padding: 4px 0;
    padding-left: 15px;
    position: relative;
}

.cities-list li:before {
    content: "-";
    position: absolute;
    left: 0;
    color: #1f2937;
    font-weight: bold;
}

.service-note {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

.outside-area-note {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-top: 20px;
    padding: 15px;
    background: #fef3f2;
    border-left: 4px solid #ff0000;
    border-radius: 0 4px 4px 0;
}

.outside-area-note strong {
    color: #1f2937;
}

.outside-area-note a {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
}

.outside-area-note a:hover {
    text-decoration: underline;
}

.service-area-map {
    flex: 1;
}

.map-wrapper {
    width: 100%;
    height: 550px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.map-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

#serviceAreaMap {
    width: 100%;
    height: 100%;
}

.map-wrapper iframe {
    width: 140%;
    height: 140%;
    margin-left: -20%;
    margin-top: -20%;
    filter: sepia(30%) saturate(80%);
}

/* Blog CTA Section */
.blog-cta {
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/sunset.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.blog-cta-content {
    max-width: 600px;
    padding: 0 20px;
}

.blog-subtitle {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 10px;
    opacity: 0.9;
}

.blog-cta h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
    font-style: italic;
}

.blog-button {
    background: #ff0000;
    color: white;
    padding: 12px 35px;
    font-size: 14px;
}

.blog-button:hover {
    background: #cc0000;
}



/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        height: 35vh;
        min-height: 250px;
    }

    .contact-hero .hero-content h1 {
        font-size: 32px;
    }

    .form-container h2 {
        font-size: 24px;
    }

    .contact-icons {
        gap: 30px;
    }

    .contact-details-banner h3 {
        font-size: 22px;
    }

    .service-area-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .service-area-text h2 {
        font-size: 26px;
    }

    .cities-list {
        columns: 2;
    }

    .map-wrapper {
        height: 300px;
        max-width: 300px;
        margin: 0 auto;
        align-items: center;
    }

    .blog-cta h2 {
        font-size: 32px;
    }

    .submit-button {
        align-self: stretch;
    }

    /* Nav fixes */
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 20px;
        margin: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        font-size: 16px;
        padding: 10px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .call-button.desktop-call {
        display: none;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-sections {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .contact-hero .hero-content h1 {
        font-size: 28px;
    }

    .form-container h2 {
        font-size: 20px;
    }

    .contact-icons {
        flex-direction: column;
        gap: 25px;
    }

    .cities-list {
        columns: 1;
    }

    .map-wrapper {
        height: 250px;
        max-width: 250px;
    }

    .blog-cta h2 {
        font-size: 26px;
    }

    .blog-subtitle {
        font-size: 16px;
    }
}