:root {
    --primary: #c41e3a;          /* قرمز اصلی */
    --primary-dark: #9e1830;
    --dark: #2c3e50;             /* طوسی تیره */
    --gray: #6c757d;
    --light-gray: #f4f6f8;
    --white: #ffffff;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: #333;
    background: #fff;
}

/* ========== هدر ========== */
.poolad-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 75px;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.logo-placeholder strong {
    font-size: 20px;
    color: var(--dark);
    font-weight: 800;
}
.logo-placeholder small {
    font-size: 11px;
    color: var(--gray);
}

.nav-menu {
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    color: #333;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    padding: 8px 2px;
    transition: color .2s;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
}

.has-submenu .submenu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 210px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .22s ease;
    list-style: none;
    z-index: 100;
}
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.submenu li a {
    display: block;
    padding: 10px 18px;
    color: #444;
    font-size: 13.5px;
    text-decoration: none;
}
.submenu li a:hover {
    background: #f8f9fa;
    color: var(--primary);
}

/* ========== هیرو + اسلایدر ========== */
.poolad-hero {
    position: relative;
    height: 520px;
    overflow: hidden;
}
.hero-slider {
    height: 100%;
}
.hero-slide {
    height: 520px;
    background: linear-gradient(135deg, #e9ecef 0%, #ced4da 100%);
    display: flex;
    align-items: center;
    position: relative;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}
.poolad-kicker {
    color: var(--primary);
    font-weight: 800;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}
.poolad-hero h1 {
    font-size: 34px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.35;
}
.poolad-hero p {
    font-size: 16px;
    color: #555;
    margin-bottom: 22px;
}

/* ========== کارت‌های آمار (رفع هم‌پوشانی) ========== */
.hero-stats-wrapper {
    margin-top: -70px;          /* کمی بالا می‌آید ولی فاصله کافی دارد */
    position: relative;
    z-index: 10;
    padding-bottom: 50px;
}
.stat-card {
    background: var(--dark);
    color: #fff;
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform .25s;
}
.stat-card:hover {
    transform: translateY(-4px);
}
.stat-card .stat-icon {
    font-size: 26px;
    margin-bottom: 8px;
}
.stat-card strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
}
.stat-card span {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

/* ========== بخش‌ها ========== */
.poolad-section {
    padding: 70px 0;
}
.poolad-section.bg-light {
    background: var(--light-gray);
}
.poolad-section-title {
    margin-bottom: 40px;
}
.poolad-section-title .subtitle {
    display: block;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}
.poolad-section-title h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

/* ========== کارت محصول ========== */
.poolad-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0,0,0,0.07);
    height: 100%;
    transition: transform .3s, box-shadow .3s;
}
.poolad-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.card-img-placeholder {
    height: 210px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}
.poolad-card-body {
    padding: 22px;
}
.poolad-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}
.poolad-card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* دکمه */
.poolad-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff !important;
    padding: 11px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background .2s;
    border: none;
}
.poolad-btn:hover {
    background: var(--primary-dark);
}
.poolad-btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
}
.poolad-btn-outline:hover {
    background: var(--primary);
    color: #fff !important;
}

/* ========== صفحه محصول ========== */
.product-grid .poolad-card {
    margin-bottom: 0;
}
.product-detail-img {
    background: #f1f3f5;
    border-radius: 14px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
.product-info h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}
.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray);
}
.product-desc {
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
}

/* ========== نقشه ========== */
.map-box {
    border-radius: 14px;
    overflow: hidden;
    height: 380px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

/* ========== فوتر ========== */
.poolad-footer {
    background: var(--dark);
    color: #ddd;
    padding: 55px 0 25px;
}
.poolad-footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 16px;
}
.poolad-footer a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
}
.poolad-footer a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 35px;
    padding-top: 18px;
    font-size: 13px;
    color: #999;
}

/* موبایل */
@media (max-width: 991px) {
    .main-nav { display: none !important; }
    .poolad-hero { height: 460px; }
    .hero-slide { height: 460px; }
    .hero-stats-wrapper { margin-top: -50px; }
}
