:root {
    --primary-blue: #0056b3; /* آبی سازمانی مشابه سایت تک */
    --light-bg: #f4f7f6;
    --text-main: #333333;
    --text-muted: #666666;
}

body {
    margin: 0;
    font-family: 'Vazir', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.98); /* پس‌زمینه سفید با کمی شفافیت */
    padding: 15px 5%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(5px); /* افکت تار شدن پس‌زمینه */
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-blue);
}

.nav-brand img {
    height: 75px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}
.logo-img {
    height: 75px; /* در کامپیوتر بزرگتر است */
    width: auto;
}
/* --- افکت Hover نوبار --- */
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: bold;
    font-size: 1.0rem;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
.nav-logo {
    width: auto; /* عکس بزرگ در دسکتاپ */
    height: 75px;
    vertical-align: middle;
}
/* خط زیر لینک که هنگام هاور ظاهر می‌شود */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.nav-links a:hover::after {
    width: 100%; /* باز شدن خط به اندازه کل کلمه */
}

@media (max-width: 768px) {

    .navbar {
        padding: 10px 15px; /* کم کردن فاصله داخلی نوبار در موبایل */
    }

    /* کوچک کردن عکس لوگو در موبایل */
    .nav-logo {
        width: 45px; /* عکس در موبایل بسیار کوچکتر می‌شود */
    }

    /* کوچک کردن فونت عنوان سایت در موبایل */
    .site-title {
        font-size: 18px; /* فونت در موبایل کوچکتر می‌شود */
        margin-right: 8px;
    }

    /* کوچک کردن فونت لینک‌ها و فاصله بین آن‌ها در موبایل */
    .nav-links {
        gap: 12px; /* فاصله بین لینک‌ها کمتر می‌شود */
    }

    .nav-links a {
        font-size: 14px; /* فونت لینک‌ها در موبایل کوچکتر می‌شود */
    }
}
/* --- استایل عمومی بخش‌ها --- */
section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-blue);
    margin: 15px auto 0;
    border-radius: 2px;
}

footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 30px;
}

.hero {
    background: linear-gradient(rgba(0, 119, 182, 0.7), rgba(42, 157, 143, 0.7)), center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* لایه تاریک روی عکس */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* بخش محصولات */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.product-card h3 {
    color: var(--primary-blue);
    margin: 15px 0 10px;
}
.btn-custom {
    padding: 15px 40px;
    font-size: 1.2rem;
    background-color: white;
    color: #0077b6;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-custom:hover {
    background-color: #caf0f8;
    transform: translateY(-3px);
}

/* بخش درباره ما */
.about-section {
    background-color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.distribution {
    padding: 80px 20px;
    text-align: center;
    background-color: white;
}

.distribution h2 {
    color: #0077b6;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.cities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.city-card {
    background: #caf0f8;
    padding: 20px 40px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #0077b6;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.city-card:hover {
    transform: translateY(-5px);
    background: #0077b6;
    color: white;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1; /* عرض برابر */
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-image {
    flex: 1; /* عرض برابر */
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* استایل دکمه (Button) */
.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s;
}

.btn-primary:hover {
    background-color: #004494; /* آبی تیره‌تر در حالت هاور */
    transform: translateY(-3px); /* کمی بالا رفتن دکمه */
}

/* برای موبایل که دو ستون زیر هم قرار بگیرند */
@media (max-width: 768px) {
    .nav-brand img {
        height: 30px;
    }

    .about-container {
        flex-direction: column;
    }
}
/* --- بخش چرا گوارا --- */
.features-section {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    /* ایجاد ۲ ستون با عرض مساوی که باعث می‌شود ۴ آیتم در ۲ سطر قرار بگیرند */
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; /* فاصله بین باکس‌ها */
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    background-color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* استایل عکس/آیکون بالای متن */
.feature-item img {
    width: $80px$;
    height: $80px$;
    object-fit: contain;
    margin-bottom: 20px; /* فاصله عکس از متن زیر آن */
}

.feature-item h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin: 0;
}

/* واکنش‌گرایی: در موبایل تبدیل به ۱ ستون (زیر هم) شود */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.page-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 30px;
}

.page-container p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.page-image {
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-info h3 {
    margin-top: 25px;
    color: var(--primary-blue);
}

/* استایل پروفایل محصول */
.product-profile-container {
    display: flex;
    max-width: 1000px;
    margin: 50px auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.product-image-box {
    flex: 1;
    background-color: #f8f9fa;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image-box img {
    max-width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.product-image-box img:hover {
    transform: scale(1.05);
}

.product-info-box {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.product-price {
    color: #27ae60; /* رنگ سبز برای قیمت */
    margin-bottom: 20px;
}

.product-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-secondary {
    display: inline-block;
    margin-top: 10px;
    text-align: center;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
}

/* برای موبایل */
@media (max-width: 768px) {
    .product-profile-container {
        flex-direction: column;
    }
}
