﻿body {
    background-color: #f9f9f9;
}

/* کانتینر اصلی */
.contact-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* فرم تماس */
.form-container {
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.1), -4px -4px 8px rgba(255, 255, 255, 0.8);
}

/* استایل لیبل */
.form-floating-label {
    position: relative;
    margin-bottom: 20px;
}

.form-floating-label input,
.form-floating-label textarea {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        background-color: #f9f9f9; /* رنگ پس‌زمینه ورودی‌ها */
    }

        .form-floating-label input:focus,
        .form-floating-label textarea:focus {
            border-color: #a10054;
            box-shadow: 0 0 6px rgba(161, 0, 84, 0.2);
            outline: none;
        }

    .form-floating-label label {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        font-size: 13px;
        color: #999;
        pointer-events: none;
        transition: all 0.3s ease;
        background-color: #f9f9f9; /* هماهنگ با پس‌زمینه فرم */
        padding: 0 5px;
    }

    .form-floating-label input:focus + label,
    .form-floating-label input:not(:placeholder-shown) + label,
    .form-floating-label textarea:focus + label,
    .form-floating-label textarea:not(:placeholder-shown) + label {
        top: -10px;
        font-size: 12px;
        color: #a10054;
    }

    /* ستاره قرمز */
    .form-floating-label label .required {
        color: red;
    }

/* دکمه ارسال */
.btn-submit {
    background-color: #a10054;
    color: #fff;
    border: none;
    font-size: 14px;
    padding: 12px 25px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(161, 0, 84, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

    .btn-submit::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.4s ease;
        z-index: 1;
    }

    .btn-submit:hover {
        background-color: #82003c;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(161, 0, 84, 0.4);
    }

        .btn-submit:hover::before {
            left: 0;
        }

/* بخش آدرس */
.contact-info {
    text-align: right;
    padding: 20px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 10px;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.1), -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .contact-info:hover {
        transform: scale(1.02);
        box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2);
    }

    .contact-info h5 {
        color: #a10054;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .contact-info p {
        color: #555;
        font-size: 14px;
        line-height: 1.8;
    }

/* نقشه */
.map-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* آیکون‌های شبکه اجتماعی */
.social-icons a {
    color: #a10054;
    margin-left: 10px;
    font-size: 1.5rem;
    text-decoration: none;
}

    .social-icons a:hover {
        color: #82003c;
    }

.icon-text {
    color: #a10054; /* رنگ آیکون هماهنگ با استایل */
    margin-left: 8px;
    font-size: 1.2rem; /* اندازه آیکون‌ها */
    vertical-align: middle;
}

.warning-text {
    font-size: 12px;
    font-stretch: extra-condensed;
    color: #a10054
}
