@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800&display=swap');

:root {
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #f59e0b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --card-svg-bg: #e2e8f0;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --header-bg: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] {
    --bg-main: #0f172a;
    --bg-alt: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --accent: #fbbf24;
    --border-color: #334155;
    --card-bg: #1e293b;
    --card-svg-bg: #334155;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    --header-bg: rgba(15, 23, 42, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* هدر */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.brand-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
}

/* بخش اصلی (Hero) */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}

.badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 35px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* عمومی بخش‌ها */
.section {
    padding: 90px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 45px;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    margin-top: -30px;
    margin-bottom: 45px;
}

.text-right {
    text-align: right;
}

/* شبکه بندی‌ها */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

/* درباره ما */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-image-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.svg-placeholder svg {
    width: 140px;
    height: 140px;
}

.manager-badge h4 {
    font-size: 1.3rem;
    margin-top: 15px;
}

.manager-badge p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.highlight-p {
    font-weight: 700;
    color: var(--primary);
    margin-top: 15px;
}

/* کارت‌های مزایا */
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.icon-wrapper {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* پروفیل‌ها */
.profile-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.profile-card:hover {
    border-color: var(--primary);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.profile-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 800;
}

.tag {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* سوالات متداول */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: right;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* تماس */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.info-item p, .info-item a {
    color: var(--text-muted);
    text-decoration: none;
    direction: ltr;
    text-align: right;
}

.info-item a:hover {
    color: var(--primary);
}

.map-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* فوتر */
footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 75px;
        right: -100%;
        width: 100%;
        background: var(--bg-main);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* استایل‌های بخش آلومینیوم */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.aluminum-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.aluminum-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.aluminum-header i {
    font-size: 1.8rem;
    color: var(--primary);
}

.aluminum-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

.aluminum-badge {
    align-self: flex-start;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.aluminum-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.aluminum-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px dashed var(--border-color);
    padding-top: 15px;
}

.aluminum-list li {
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.aluminum-list li i {
    color: var(--accent);
    font-size: 0.8rem;
}
