/* تنظیمات کلی سایت */
/* تنظیم رنگ پس‌زمینه اصلی سایت */
body {
    font-family: 'Tahoma', sans-serif;
    background-color: #2c2c2c !important; /* نوک مدادی */
    color: #ffffff;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
}

/* تنظیم پس‌زمینه برای کانتینرهای داخلی */
.container {
    background-color: transparent !important;
    padding: 20px;
    border-radius: 10px;
/* تنظیمات کانتینر اصلی */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* تنظیم رنگ منو برای جلوگیری از نامشخص شدن متن هنگام هاور */
.navbar {
    background-color: #343a40 !important; /* پس‌زمینه خاکستری تیره */
}

.navbar .nav-link {
    color: white !important; /* رنگ سفید */
    transition: color 0.3s ease-in-out;
}

.navbar .nav-link:hover {
    color: #ffd600 !important; /* رنگ زرد هنگام هاور */
    background-color: transparent !important; /* پس‌زمینه تغییر نکند */
}

/* تنظیمات بخش قهرمان (Hero Section) */
.hero {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: url('../images/clinic-bg.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 10px;
}

.hero .overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    max-width: 70%;
}

/* استایل فرم تماس */
.contact-form {
    background: #2c2c2c; /* نوک مدادی */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* استایل اینپوت‌ها */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background: #ffffff; /* پس‌زمینه سفید */
    color: #000000; /* متن مشکی */
    border: 1px solid #cccccc;
    border-radius: 5px;
    text-align: right;
}

/* هنگام فوکوس روی فیلدها */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ffd600;
    outline: none;
}

/* دکمه ارسال */
.contact-form button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #ffd600;
    border: none;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

.contact-form button:hover {
    background: #fbc02d;
}

/* فوتر */
footer {
    background-color: #1a237e; /* پس‌زمینه سورمه‌ای تیره */
    color: white !important; /* متن سفید */
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}

footer a {
    color: #ffd600 !important; /* لینک‌ها زرد شوند */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


/* تنظیمات نمایش در موبایل */
@media (max-width: 768px) {
    .hero {
        height: 250px;
    }
    .hero h1 {
        font-size: 20px;
    }
    .hero p {
        font-size: 14px;
    }
    .contact-form {
        width: 90%;
    }
}

/* تنظیمات اسلایدر */
.carousel img {
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

/* تنظیمات گالری تصاویر */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.gallery-item {
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

/* استایل QR کد */
.qr-code {
    border: 3px solid #007bff;
    padding: 5px;
    border-radius: 10px;
}

/* تنظیمات فرم اطلاعات تماس */
.contact-info p {
    font-size: 18px;
    font-weight: bold;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr; /* اعداد از چپ به راست نمایش داده شوند */
    unicode-bidi: embed;
}
/* تنظیم رنگ پیش‌فرض متن‌ها برای خوانایی روی پس‌زمینه تیره */
body, p, h1, h2, h3, h4, h5, h6, label, a {
    color: #ffffff !important; /* متن سفید */
}

/* تنظیمات خاص برای لینک‌ها */
a {
    color: #ffd600 !important; /* زرد */
    text-decoration: none;
}

a:hover {
    color: #fbc02d !important; /* زرد کمی تیره‌تر */
    text-decoration: underline;
}

/* رنگ ورودی‌های فرم‌ها */
input, textarea {
    background: #333 !important; /* خاکستری تیره */
    color: #ffffff !important; /* متن سفید */
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

/* هنگام فوکوس روی فیلدها */
input:focus, textarea:focus {
    border-color: #ffd600 !important; /* زرد */
    outline: none;
}

/* استایل صفحه ورود پرسنل */
.login-card {
    background-color: #454545 !important; /* رنگ پس‌زمینه نوک مدادی */
    color: #ffffff !important; /* رنگ متن سفید */
    border-radius: 12px;
}

.login-label {
    color: #ffffff !important; /* رنگ لیبل‌ها سفید */
    font-weight: bold;
}

.login-input {
    background-color: #495057 !important; /* پس زمینه تیره‌تر */
    color: #ffffff !important; /* متن سفید */
    border: 1px solid #6c757d;
}

.login-input:focus {
    border-color: #ffd600 !important; /* زرد برای فوکوس */
}

.login-btn {
    background-color: #ffd600 !important; /* رنگ دکمه ورود زرد */
    color: #343a40 !important; /* رنگ نوشته دکمه ورود تیره */
    font-weight: bold;
}

.login-btn:hover {
    background-color: #fbc02d !important; /* رنگ دکمه ورود تیره‌تر هنگام هاور */
}
