/*
==============================
General Styles & Body
==============================
*/
body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    background-color: #333; /* Fallback color */
}

/*
==============================
Full-Screen Background
==============================
*/
.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2; /* مطمئن شدن از قرارگیری در پس‌زمینه */
}
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* لایه شفاف روی تصویر */
}

/*
==============================
Header
==============================
*/
.site-header {
    background-color: #3f684a; /* رنگ سبز تیره برای هدر */
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #fff;
    position: relative;
    z-index: 1;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}
.logo img {
    height: 60px;
}
.coin-info span, .btn-gateway, .lang-switcher {
    color: #fff;
}
/* حذف "با عاشق‌آباد زندگی کنید" و منوی اصلی از هدر */
.main-nav {
    display: none;
}
.site-header a, .site-header .coin-info {
    text-decoration: none;
    color: #fff;
}

/*
==============================
Main Navigation Boxes
==============================
*/
.main-navigation {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* قرارگیری در بالا */
    flex-wrap: wrap;
    position: relative;
    padding-top: 50px; /* فاصله از بالای صفحه */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}
.nav-box {
    flex: 1; /* هر کادر به صورت مساوی فضای موجود را اشغال می‌کند */
    min-width: 150px; /* حداقل عرض برای جلوگیری از فشردگی بیش از حد */
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 10px;
    border-radius: 10px;
    border: 2px solid #DAA520; /* حاشیه طلایی */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    backdrop-filter: blur(5px);
}
.nav-box:hover {
    background-color: rgba(255, 255, 255, 0.4);
/*
==============================
Bazargah Page Styles
==============================
*/
.bazargah-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f7f5e8;
    border: 3px solid #DAA520;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: right;
}
.bazargah-container .page-title {
    text-align: center;
    font-size: 2.5em;
    color: #3f684a;
    margin-bottom: 10px;
}
.bazargah-container .page-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 40px;
}
.bazargah-categories h2, .featured-products h2 {
    color: #3f684a;
    border-bottom: 2px solid #DAA520;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-items: center;
}
.category-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.category-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.category-box img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}
.category-box span {
    color: #333;
    font-weight: bold;
}
.featured-products {
    margin-top: 40px;
    text-align: center;
}
}