/*
Theme Name: Moshaver Theme
Description: قالب اختصاصی مشاور کسب‌وکار
Version: 1.0.1
Text Domain: moshaver-theme
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.9;
    background: #ffffff;
    color: #222222;
}

img {
    max-width: 100%;
    height: auto;
}

.site-container {
    width: 90%;
    max-width: 1180px;
    margin-inline: auto;
}

/* سربرگ */
.site-header {
    padding: 24px 0;
    background: #111111;
    border-bottom: 2px solid #bd9650;
    color: #ffffff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-title {
    color: #d8b56d;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-description {
    margin: 8px 0 0;
    color: #eeeeee;
}

/* منوی اصلی */
.main-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu a {
    display: inline-block;
    padding: 6px 0;
    color: #ffffff;
    text-decoration: none;
}

.main-menu a:hover,
.main-menu a:focus-visible,
.main-menu .current-menu-item > a {
    color: #d8b56d;
}

a:focus-visible {
    outline: 2px solid #bd9650;
    outline-offset: 4px;
}

/* صفحات معمولی */
main {
    width: 90%;
    max-width: 1180px;
    min-height: 50vh;
    margin-inline: auto;
    padding: 40px 0;
}

/* صفحه اصلی تمام‌عرض */
main.home-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* بخش معرفی */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #111111, #242424);
    color: #ffffff;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-content,
.hero-visual {
    min-width: 0;
}

.hero-eyebrow {
    margin: 0 0 16px;
    color: #d8b56d;
    font-size: 15px;
    font-weight: bold;
}

.hero-title {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.6;
    color: #ffffff;
}

.hero-text {
    margin: 0 0 28px;
    color: #eeeeee;
    font-size: 17px;
    line-height: 2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.moshaver-button {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #d8b56d;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.primary-button {
    background: #d8b56d;
    color: #111111;
}

.secondary-button {
    background: transparent;
    color: #d8b56d;
}

.moshaver-button:hover {
    background: #f0d28b;
    color: #111111;
}

.visual-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 24px;
    border: 2px dashed #d8b56d;
    border-radius: 20px;
    color: #d8b56d;
    text-align: center;
}

/* خدمات */
.services-section {
    padding: 70px 0;
    background: #ffffff;
}

.section-eyebrow {
    margin: 0 0 14px;
    color: #806020;
    font-weight: bold;
}

.section-title {
    margin: 0 0 32px;
    font-size: clamp(24px, 3vw, 34px);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    padding: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #111111;
    color: #d8b56d;
    font-weight: bold;
}

.service-card h3 {
    margin: 0 0 12px;
}

.service-card p {
    margin: 0;
    color: #555555;
}

/* ارتباط */
.contact-section {
    padding: 60px 0;
    background: #f7f3eb;
}

.contact-section h2 {
    margin: 0 0 16px;
}

.contact-section p:last-child {
    margin: 0;
    color: #555555;
}

/* پابرگ */
.site-footer {
    padding: 20px 0;
    background: #111111;
    color: #d8b56d;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

/* موبایل */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .main-menu {
        gap: 8px 18px;
    }

    .site-title {
        font-size: 23px;
    }

    .hero-section {
        padding: 50px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .visual-placeholder {
        min-height: 240px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .services-section,
    .contact-section {
        padding: 45px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
