﻿.contact-hero {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.9), rgba(76, 175, 80, 0.8)), url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
}

    .contact-hero h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .contact-hero p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto;
    }

.breadcrumb {
    background: var(--light-color);
    padding: 15px 0;
    margin-bottom: 40px;
}

    .breadcrumb ul {
        display: flex;
        list-style: none;
        gap: 10px;
    }

    .breadcrumb li {
        color: var(--gray-color);
    }

        .breadcrumb li:not(:last-child):after {
            content: "/";
            margin-right: 10px;
        }

    .breadcrumb a {
        color: var(--primary-color);
        text-decoration: none;
    }

.contact-section {
    margin: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;

}

    .contact-info h3 {
        font-size: 1.8rem;
        color: var(--primary-color);
        margin-bottom: 30px;
        text-align: center;
    }

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-details p {
    color: var(--gray-color);
    margin-bottom: 5px;
}

.contact-details a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

    .contact-details a:hover {
        color: var(--primary-color);
    }

.social-contact {
    display: flex;
    gap: 15px;
    margin-top: auto;
    justify-content: center;
}

    .social-contact a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: var(--light-color);
        border-radius: 50%;
        color: var(--primary-color);
        font-size: 1.2rem;
        transition: var(--transition);
    }

        .social-contact a:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-5px);
        }

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

    .contact-form h3 {
        font-size: 1.8rem;
        color: var(--primary-color);
        margin-bottom: 30px;
        text-align: center;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--dark-color);
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
    }

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
}

    .btn:hover {
        background: #3d8b40;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

/* سوالات متداول */
.faq-section {
    margin: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

    .faq-question i {
        transition: var(--transition);
    }

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--gray-color);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* نقشه و اطلاعات */
.map-info-section {
    margin: 60px 0;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

    .map-placeholder i {
        font-size: 4rem;
        margin-bottom: 20px;
    }

    .map-placeholder h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

.location-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .location-info h3 {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

    .location-detail i {
        color: var(--accent-color);
        font-size: 1.2rem;
        margin-top: 3px;
    }

/* دکمه‌های ثابت */
.fixed-buttons {
    position: fixed;
    left: 20px;
    bottom: 90px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.scroll-to-top, .chat-bot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.scroll-to-top {
    background: var(--primary-color);
}

.chat-bot {
    background: var(--secondary-color);
}

    .scroll-to-top:hover, .chat-bot:hover {
        transform: scale(1.1);
    }

@media (max-width: 1200px) {
    .map-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 992px) {

    .search-box {
        width: 50%;
    }

    .fixed-buttons {
        left: 15px;
        bottom: 80px;
    }

    .scroll-to-top, .chat-bot {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .fixed-buttons {
        left: 10px;
        bottom: 70px;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .contact-info, .contact-form {
        padding: 25px;
    }

    .fixed-buttons {
        left: 10px;
        bottom: 70px;
    }

    .scroll-to-top, .chat-bot {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
