/* تنظیمات پایه برای کل صفحه */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    direction: rtl;
    font-family: Tahoma, 'Segoe UI', sans-serif;
    background-color: #111;
    color: #fff;
}

/* ----------------------------------
   استایل هدر در حالت دسکتاپ (کامپیوتر)
   ---------------------------------- */
header {
    width: 100%;
    background: #3B2F2F;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    color: #F5F1E8;
    font-size: 24px;
    margin: 0;
}

.logo span {
    color: #C96A1B;
    font-size: 13px;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #F5F1E8;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

nav a:hover {
    color: #C96A1B;
}

.phone {
    color: #F5F1E8;
    border: 1px solid #C96A1B;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
}

/* ----------------------------------
   استایل هدر اختصاصی برای موبایل
   ---------------------------------- */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column !important; /* زیر هم چیده شدن عناصر */
        align-items: center !important;
        text-align: center;
        padding: 15px 10px !important;
        gap: 12px;
    }

    .logo h1 {
        font-size: 20px !important;
    }

    .logo span {
        font-size: 11px !important;
    }

    nav {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 15px !important;
        width: 100%;
    }

    nav a {
        font-size: 14px !important;
    }

    .phone {
        font-size: 13px !important;
        padding: 6px 12px !important;
    }
}

/* ----------------------------------
   سایر بخش‌های صفحه تماس با ما
   ---------------------------------- */
.contact-section {
    padding: 40px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 32px;
    color: #d4a017;
    margin-bottom: 15px;
}

.contact-text {
    color: #cfcfcf;
    margin-bottom: 30px;
    font-size: 16px;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-box {
    width: 100%;
    max-width: 320px;
    background: #1b1b1b;
    padding: 25px 15px;
    border-radius: 18px;
    border: 2px solid #d4a017;
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

.contact-box i {
    font-size: 36px;
    color: #d4a017;
    margin-bottom: 10px;
}

.contact-box h3 {
    margin-bottom: 10px;
}

.contact-box a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.contact-box p {
    line-height: 1.8;
    color: #ddd;
}

.map {
    margin: 30px auto;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #d4a017;
    max-width: 600px;
}

.map iframe {
    height: 250px;
}

.social {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social h3 {
    color: #d4a017;
    width: 100%;
    margin-bottom: 15px;
}

.social a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #d4a017;
    border-radius: 50%;
    text-decoration: none;
    background: #1b1b1b;
}

.social i, .social img {
    width: 25px;
    height: 25px;
    font-size: 25px;
    color: #fff;
    object-fit: contain;
}