body {
    background-color: #000; /* مشکی */
    color: #fff;
    font-family: 'Tahoma', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl; /* راست به چپ برای زبان فارسی */
    line-height: 1.6;
}

.gold { color: #D4AF37; } /* طلایی */
.dark-green { color: #004D40; } /* سبز درباری */
.dark-green-bg { background-color: #004D40; } /* پس زمینه سبز درباری */

.container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    position: relative; /* برای قرارگیری تصاویر پس‌زمینه */
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #D4AF37;
    padding: 20px 0;
    margin-bottom: 30px;
    background-color: #000; /* هدر مشکی */
}

.header-logo img {
    height: 80px; /* اندازه لوگو */
    margin-left: 20px;
}

.header-cta input[type="tel"] {
    padding: 10px;
    margin-left: 10px;
    border: 1px solid #D4AF37;
    background: #000;
    color: #fff;
}

.header-cta .btn {
    background: #004D40; /* سبز درباری */
    color: #D4AF37;
    padding: 10px 20px;
    border: 2px solid #D4AF37;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.header-cta .btn:hover {
    background: #D4AF37;
    color: #000;
}

.hero-section {
    text-align: center;
    padding: 50px 0;
    position: relative;
    background-image: url('lady-justice.jpg'); /* تصویر لیدی جاستیس */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* تصویر ثابت بماند */
    color: #fff; /* متن سفید برای خوانایی روی عکس */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* سایه برای خوانایی بهتر */
}

.hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #D4AF37; /* طلایی */
}

.hero-section h2 {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.section {
    padding: 40px 0;
    border-bottom: 1px solid #333; /* جداکننده ضعیف بین بخش‌ها */
    margin-bottom: 30px;
    background-color: rgba(0, 0, 0, 0.8); /* پس‌زمینه کمی شفاف برای خوانایی */
    border-radius: 8px;
}

.section h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.2em;
}

.section-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; /* برای نمایش بهتر در موبایل */
}

.section-text {
    flex: 1; /* متن فضای بیشتری بگیرد */
    text-align: justify;
    font-size: 1.1em;
}

.section-image {
    flex: 0 0 300px; /* عرض ثابت برای تصویر */
    text-align: center;
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 3px solid #D4AF37;
}

/* استایل برای بخش معرفی دکتر */
.intro-image {
    flex-direction: row-reverse; /* تصویر سمت راست، متن سمت چپ */
}

.intro-image .section-image {
    flex: 0 0 250px; /* تصویر دکتر کمی کوچک‌تر */
}

/* استایل برای صفحه مجله حقوقی */
.legal-mag-list {
    list-style: none;
    padding: 0;
}

.legal-mag-list li {
    margin-bottom: 15px;
    border-bottom: 1px dashed #555;
    padding-bottom: 10px;
}

.legal-mag-list a {
    color: #D4AF37;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

.legal-mag-list a:hover {
    color: #fff;
}

.footer {
    background: #004D40; /* سبز درباری */
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    border-top: 3px solid #D4AF37;
}

.footer p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

/* استایل ریسپانسیو (برای نمایش بهتر در موبایل) */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
    }
    .header-logo img {
        margin-left: 0;
        margin-bottom: 15px;
    }
    .header-cta {
        width: 100%;
        text-align: center;
    }
    .header-cta input {
        width: 70%;
        margin-bottom: 10px;
    }
    .section-content, .intro-image {
        flex-direction: column;
    }
    .section-image {
        margin-bottom: 20px;
        flex: none; /* بردار حالت flex */
        width: 80%; /* تصویر کمی بزرگتر در موبایل */
    }
    .hero-section h1 {
        font-size: 2em;
    }
    .hero-section h2 {
        font-size: 1.2em;
    }
}
