/* assets/css/base.css */

/* فونت وزیر – مسیرها رو مطابق اسم فایل‌هات تنظیم کن */
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Regular.woff2') format('woff2'),
         url('../fonts/Vazir-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Bold.woff2') format('woff2'),
         url('../fonts/Vazir-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* پایه */

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: 'Vazir', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    background-color: rgb(247, 248, 250); /* پس‌زمینه‌ی کلی سایت */
    color: #222222;
}

/* لینک‌ها */

a {
    color: #0073aa;
    text-decoration: none;
}

a:hover {
    color: #005f8c;
}

/* تیترها */

h1, h2, h3, h4, h5 {
    margin-top: 0;
    color: #222222;
    font-weight: 700;
}

p {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

/* دکمه‌ها – پس‌زمینه مشکی، گوشه گرد */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.btn-primary {
    background-color: #000000;  /* مشکی */
    color: #ffffff;
    border-color: #000000;
}

.btn-primary:hover {
    background-color: #111111;
    border-color: #111111;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: #000000;
    border-color: #000000;
}

.btn-outline:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* فرم‌ها */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.55rem 0.8rem;
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    color: #222222;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}
