/* فونت */
@font-face {
    font-family: IRANSans;
    src: url("../fonts/IRANSansWeb.woff2");
}

/* متغیرهای تم */
:root {
    --primary: #36b61b;
    --bg: #ffffff;
    --text: #222;
    --radius: 14px;
}

/* ریست */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: IRANSans;
}

body {
    background: var(--bg);
    color: var(--text);
}

/* کانتینر */
.container {
    width: 94%;
    max-width: 1400px;
    margin: auto;
}


/* هدر */
.header {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 24px 0;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    width: 55px;
}

.brand-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary);
}

.brand-slogan {
    font-size: 13px;
    color: #666;
}

nav a {
    margin: 0 14px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
}

/* هیرو */
.hero {
    text-align: center;
    padding: 150px 0 130px;
}

.hero h1 {
    color: var(--primary);
    margin-bottom: 16px;
}

/* درباره صفحه اول */
.about-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 120px 0;
}

.about-logo {
    width: 140px;
}

/* محصولات */
.products {
    padding: 110px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.card {
    border: 1px solid #eee;
    padding: 34px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.product-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 18px;
}

.price {
    color: var(--primary);
    font-weight: bold;
    margin: 10px 0;
    font-size: 16px;
}

.call-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 10px;
}

/* تیترها و متن */
h1, h2, h3 {
    margin-bottom: 16px;
}

p {
    line-height: 2.2;
    margin-bottom: 12px;
}

/* باکس اطلاعات */
.info-box {
    border: 1px solid #eee;
    padding: 30px;
    border-radius: var(--radius);
    margin: 40px 0;
    line-height: 2.2;
}

/* صفحه درباره */
.about {
    max-width: 900px;
    margin: auto;
    line-height: 2.3;
    text-align: center;
    padding: 40px 0;
}

.about h2 {
    color: var(--primary);
    margin-top: 26px;
}

/* صفحه تماس */
.contact-box {
    max-width: 800px;
    margin: auto;
    display: grid;
    gap: 26px;
}

.contact-item {
    border: 1px solid #eee;
    padding: 28px;
    border-radius: var(--radius);
    text-align: center;
}

/* هدر صفحات داخلی */
.page-header {
    text-align: center;
    padding: 100px 0 60px;
}

.page-header h1 {
    color: var(--primary);
}

/* فوتر */
.footer {
    margin-top: 140px;
    text-align: center;
    padding: 45px 0;
    background: #f8f8f8;
    line-height: 2;
}



/* ریسپانسیو */
@media (max-width: 900px) {

    .about-home {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    nav {
        display: none;
    }

    section {
        padding: 80px 0;
    }

    .hero {
        padding: 120px 0 100px;
    }
}


/* نسخه ریسپانسیو صفحه درباره */
.responsive-about {
    max-width: 850px;
    margin: auto;
    padding: 40px 20px;
    line-height: 2.2;
    text-align: justify; /* متن راست به چپ، شیک و مینیمال */
}

.responsive-about ul {
    padding-left: 20px;
    list-style: disc;
}

.responsive-about h2 {
    color: var(--primary);
    margin-top: 28px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* info-box */
.responsive-info {
    max-width: 850px;
    margin: 50px auto;
    padding: 32px 20px;
    border-radius: var(--radius);
    border: 1px solid #eee;
    line-height: 2.2;
}

/* ریسپانسیو موبایل و تبلت */
@media (max-width: 900px) {
    .responsive-about,
    .responsive-info {
        padding: 30px 16px;
        text-align: center;
    }

    .responsive-about h2 {
        font-size: 20px;
        margin-top: 20px;
    }

    .responsive-about ul {
        padding-left: 0;
        list-style: none;
    }

    .responsive-about li {
        margin: 8px 0;
        font-weight: 500;
    }
}