﻿/* ===== RESET & BASE ===== */
:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #332b3a;
    --gold: #f7d06e;
    --orange: #eb8e32;
    --purple: #5b5164;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

/* ===== CUSTOM SLIDER STYLES ===== */
.hero-section-full {
    position: relative;
    width: 100%;
    height: 600px; /* ارتفاع ثابت */
    overflow: hidden;
}

.main-slider-full {
    position: relative;
    width: 100%;
    height: 100%;
    
}

.slide-item-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

    .slide-item-full.active {
        opacity: 1;
        z-index: 2;
    }

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}
/* ===== SLIDE CONTENT (GLASS + SHINE) ===== */
.slide-content-full {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    z-index: 4;
    max-width: 650px;
    padding: 45px 50px;
    border-radius: 24px;
    background: linear-gradient( 135deg, rgba(247, 208, 110, 0.22), rgba(51, 43, 58, 0.65) );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.18);
    color: white;
    animation: fadeInUp 1.4s ease both;
}

    /* Shine effect */
    .slide-content-full::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient( 120deg, transparent, rgba(255, 215, 120, 0.45), transparent );
        opacity: 0.6;
        pointer-events: none;
    }

.slide-item-full.active .slide-content-full::before {
    animation: shineMove 4s ease-in-out infinite;
}

@keyframes shineMove {
    0% {
        transform: translateX(-120%);
    }

    50% {
        transform: translateX(120%);
    }

    100% {
        transform: translateX(120%);
    }
}

/* ===== TYPOGRAPHY ===== */
.slide-content-full h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 22px;
    line-height: 1.4;
    background: linear-gradient(180deg, #ffffff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}

.slide-content-full p {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 3px 8px rgba(0,0,0,0.65);
}

/* ===== BUTTON ===== */
.slide-content-full .btn {
    padding: 15px 38px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 35px;
    border: none;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--dark);
    box-shadow: 0 10px 25px rgba(247,208,110,0.45);
    transition: all 0.35s ease;
}

    .slide-content-full .btn:hover {
        transform: translateY(-4px) scale(1.04);
        box-shadow: 0 18px 40px rgba(247,208,110,0.65);
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .slide-content-full {
        right: 5%;
        padding: 40px;
    }

        .slide-content-full h1 {
            font-size: 2.7rem;
        }
}

@media (max-width: 992px) {
    .slide-content-full {
        right: 50%;
        transform: translate(50%, -50%);
        text-align: center;
        max-width: 85%;
    }
}

@media (max-width: 768px) {
    .slide-content-full {
        padding: 30px;
        border-radius: 18px;
    }

        .slide-content-full h1 {
            font-size: 2rem;
        }

        .slide-content-full p {
            font-size: 1rem;
        }

        .slide-content-full .btn {
            padding: 12px 30px;
            font-size: 1rem;
        }
}


/* Navigation buttons */
.custom-slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
}

.custom-slider-prev,
.custom-slider-next {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(51, 43, 58, 0.8);
    border-radius: 50%;
    color: #f7d06e;
    font-size: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom-slider-prev:hover,
    .custom-slider-next:hover {
        background: #332b3a;
        transform: scale(1.1);
    }

.custom-slider-prev {
    right: 30px;
}

.custom-slider-next {
    left: 30px;
}

/* Dots navigation */
.custom-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.custom-slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .custom-slider-dot.active {
        background: #f7d06e;
        transform: scale(1.3);
    }

/* Quick Stats Overlay */
.quick-stats-overlay {
    position: absolute;
    bottom: 90px;
    z-index: 4;
    left:0px;
}

.stats-container-overlay {
    display: flex;
    justify-content: space-between;
    background: rgba(51, 43, 58, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

    .stats-container-overlay .stat-item {
        display: flex;
        align-items: center;
        color: white;
        padding: 0 15px;
        flex: 1;
    }

        .stats-container-overlay .stat-item i {
            font-size: 2.5rem;
            color: var(--gold);
            margin-left: 15px;
        }

        .stats-container-overlay .stat-item h4 {
            margin-bottom: 5px;
            font-size: 1.1rem;
            color: white;
            font-weight: 600;
        }

        .stats-container-overlay .stat-item p {
            margin: 0;
            font-size: 0.9rem;
            color: rgba(255,255,255,0.9);
        }

/* Quick Search Fixed */
.quick-search-fixed {
    position: absolute;
    top:100px;
    left: 0;
    width: 100%;
    z-index: 5; /* افزایش z-index */
}

    .quick-search-fixed .form-control {
        background: rgba(255,255,255,0.95);
        border: 2px solid rgba(51, 43, 58, 0.3);
        height: 60px;
        border-radius: 30px;
        padding: 0 25px;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

        .quick-search-fixed .form-control:focus {
            background: white;
            border-color: var(--dark);
            box-shadow: 0 0 0 3px rgba(51, 43, 58, 0.2);
        }

    .quick-search-fixed .input-group-append button {
        background: var(--dark);
        border: none;
        width: 60px;
        height: 60px;
        border-radius: 30px;
        margin-right: 10px;
        transition: all 0.3s ease;
        color: white;
    }

        .quick-search-fixed .input-group-append button:hover {
            background: var(--purple);
            transform: scale(1.05);
        }

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: bounce 2s infinite;
}

.scroll-down-link {
    display: block;
    width: 50px;
    height: 50px;
    background: rgba(51, 43, 58, 0.8);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    color: var(--gold);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

    .scroll-down-link:hover {
        background: var(--dark);
        color: white;
        transform: translateY(5px);
    }

/* Owl Carousel Customization for Full Screen */
.main-slider-full .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 4;
}

.main-slider-full .owl-prev,
.main-slider-full .owl-next {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(51, 43, 58, 0.8) !important;
    border-radius: 50% !important;
    color: var(--gold) !important;
    font-size: 30px !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

    .main-slider-full .owl-prev:hover,
    .main-slider-full .owl-next:hover {
        background: var(--dark) !important;
        transform: scale(1.1);
    }

.main-slider-full .owl-prev {
    right: 30px;
}

.main-slider-full .owl-next {
    left: 30px;
}

.main-slider-full .owl-dots {
    position: absolute;
    bottom: 180px;
    width: 100%;
    text-align: center;
    z-index: 4;
}

.main-slider-full .owl-dot {
    width: 15px;
    height: 15px;
    margin: 0 8px;
    background: rgba(255,255,255,0.5) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

    .main-slider-full .owl-dot.active {
        background: var(--gold) !important;
        transform: scale(1.2);
    }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    background: white;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

    .section-header h2 {
        display: inline-block;
        margin-bottom: 15px;
        color: var(--dark);
        font-size: 2.2rem;
        font-weight: 900;
        position: relative;
        padding-bottom: 15px;
    }

        .section-header h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 50%;
            transform: translateX(50%);
            width: 60px;
            height: 3px;
            background: var(--orange);
        }

    .section-header p {
        color: #666;
        font-size: 1.1rem;
        margin-top: 15px;
    }

/* Category Cards with your existing hover effects */
.category-card {
    display: block;
    text-align: center;
    padding: 25px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    color: var(--dark);
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    height: 100%;
}

    .category-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(51, 43, 58, 0.15);
        background: white;
        text-decoration: none;
        color: var(--dark);
        border-color: var(--dark);
    }

.category-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.category-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.7s ease;
}

.category-card:hover .category-icon img {
    transform: scale(1.2);
}

.category-card h6 {
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== BRANDS SECTION ===== */
.brands-section {
    background: #f8f9fa;
    padding: 80px 0;
    position: relative;
}

.brands-slider .brand-item {
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

    .brands-slider .brand-item:hover {
        transform: translateY(-5px);
    }

.brands-slider img {
    max-width: 150px;
    max-height: 80px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.brands-slider .brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ===== PRODUCT CARDS ===== */
.products-section {
    background: white;
    padding: 80px 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: none;
    margin-bottom: 30px;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-danger {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 20px;
        transition: all 0.5s ease;
    }

.product-card:hover .product-image img {
    filter: brightness(60%);
    transform: scale(1.03);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
    background-image: linear-gradient(360deg, #201a26, transparent);
    color: #fff;
    min-height: 180px;
}

.product-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    font-size: 1rem;
    height: 50px;
    overflow: hidden;
}

.product-category small {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.product-price {
    margin: 15px 0;
}

.current-price {
    color: #ffca01;
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
}

.product-price del {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-left: 10px;
}

.price-placeholder a {
    color: #ffca01;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
}

    .price-placeholder a:hover {
        text-decoration: underline;
        color: var(--orange);
    }

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

    .product-actions .btn {
        flex: 1;
        padding: 8px 15px;
        font-size: 0.85rem;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .product-actions .btn-primary {
        background-color: var(--dark);
        border-color: var(--dark);
    }

        .product-actions .btn-primary:hover {
            background-color: var(--purple);
            border-color: var(--purple);
            transform: translateY(-2px);
        }

    .product-actions .btn-outline-primary {
        color: var(--dark);
        border-color: var(--dark);
    }

        .product-actions .btn-outline-primary:hover {
            background-color: var(--dark);
            border-color: var(--dark);
            color: white;
        }

/* ===== FEATURES SECTION ===== */
.features-section {
    background: var(--dark);
    padding: 80px 0;
    color: white;
}

.feature-item {
    padding: 40px 20px;
    text-align: center;
    height: 100%;
}

.feature-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    color: var(--gold);
    transform: scale(1.1);
}

.feature-item h4 {
    margin-bottom: 15px;
    font-weight: 900;
    position: relative;
    line-height: 2.5rem;
    z-index: 10;
    color: white;
}

    .feature-item h4:before {
        position: absolute;
        right: -2rem;
        bottom: -1rem;
        height: 4rem;
        width: 1rem;
        border-radius: 1rem;
        transform: rotate(40deg);
        content: "";
        background-color: var(--orange);
        z-index: -1;
    }

.feature-item p {
    font-size: 1rem;
    text-align: justify;
    color: rgba(255,255,255,0.9);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

    .cta-section:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(51, 43, 58, 0.9);
    }

.cta-content {
    position: relative;
    z-index: 1;
}

    .cta-content h2 {
        font-size: 2.8rem;
        margin-bottom: 25px;
        font-weight: 900;
    }

    .cta-content .lead {
        font-size: 1.3rem;
        opacity: 0.95;
        max-width: 700px;
        margin: 0 auto 40px;
        line-height: 1.8;
    }

.cta-buttons .btn {
    min-width: 200px;
    margin: 10px;
    padding: 15px 35px;
    font-size: 1.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-buttons .btn-primary {
    background-color: var(--dark);
    border-color: var(--dark);
}

    .cta-buttons .btn-primary:hover {
        background-color: var(--purple);
        border-color: var(--purple);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

.cta-buttons .btn-outline-primary {
    color: white;
    border-color: white;
    background: transparent;
}

    .cta-buttons .btn-outline-primary:hover {
        background: white;
        color: var(--dark);
        border-color: white;
    }

/* ===== FIXES FOR SLIDER ===== */
/* اطمینان از نمایش Owl Carousel */
.owl-carousel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.owl-stage-outer,
.owl-stage,
.owl-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

.owl-item {
    width: 100% !important;
    float: none !important;
}



/* رفع مشکلات نمایش در موبایل */
@media (max-width: 768px) {
    .slide-bg {
        background-attachment: scroll !important;
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .slide-content-full h1 {
        font-size: 3rem;
    }

    .slide-content-full p {
        font-size: 1.2rem;
    }

    .stats-container-overlay {
        padding: 20px 30px;
    }

        .stats-container-overlay .stat-item i {
            font-size: 2rem;
        }
}

@media (max-width: 992px) {
    .hero-section-full {
        height: 75vh;
        min-height: 550px;
        max-height: 650px;
    }

    .slide-content-full h1 {
        font-size: 2.5rem;
    }

    .slide-content-full p {
        font-size: 1.1rem;
    }

    .stats-container-overlay {
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
        bottom: 80px;
    }

        .stats-container-overlay .stat-item {
            flex: 0 0 50%;
            margin-bottom: 20px;
            justify-content: center;
        }

    .main-slider-full .owl-prev,
    .main-slider-full .owl-next {
        width: 60px;
        height: 60px;
        font-size: 25px !important;
    }

    .main-slider-full .owl-prev {
        right: 15px;
    }

    .main-slider-full .owl-next {
        left: 15px;
    }

    .quick-search-fixed {
        top: 30px;
    }

        .quick-search-fixed .form-control {
            height: 55px;
            font-size: 1rem;
        }

        .quick-search-fixed .input-group-append button {
            height: 55px;
            width: 55px;
        }

    .section-header h2 {
        font-size: 2rem;
    }

    .feature-item h4:before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section-full {
        height: 65vh;
        min-height: 450px;
        max-height: 550px;
    }

    .slide-content-full h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .slide-content-full p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .slide-content-full .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .stats-container-overlay .stat-item {
        flex: 0 0 100%;
        margin-bottom: 15px;
        justify-content: flex-start;
        padding: 0;
    }

    .stats-container-overlay {
        padding: 15px;
        border-radius: 10px;
        bottom: 70px;
    }

    .quick-stats-overlay {
        bottom: 70px;
    }

    .quick-search-fixed {
        top: 20px;
    }

        .quick-search-fixed .form-control {
            height: 50px;
            padding: 0 15px;
        }

        .quick-search-fixed .input-group-append button {
            height: 50px;
            width: 50px;
        }

    .main-slider-full .owl-dots {
        bottom: 160px;
    }

    .scroll-down-indicator {
        bottom: 20px;
    }

    .scroll-down-link {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.2rem;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-content .lead {
        font-size: 1.1rem;
    }

    .cta-buttons .btn {
        min-width: 180px;
        padding: 12px 25px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section-full {
        height: 60vh;
        min-height: 400px;
        max-height: 500px;
    }

    .slide-content-full h1 {
        font-size: 1.7rem;
    }

    .slide-content-full p {
        font-size: 0.95rem;
    }

    .stats-container-overlay .stat-item i {
        font-size: 1.5rem;
        margin-left: 10px;
    }

    .stats-container-overlay .stat-item h4 {
        font-size: 1rem;
    }

    .stats-container-overlay .stat-item p {
        font-size: 0.8rem;
    }

    .main-slider-full .owl-prev,
    .main-slider-full .owl-next {
        width: 50px;
        height: 50px;
        font-size: 20px !important;
    }

    .category-card {
        padding: 20px 10px;
    }

    .category-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .product-image {
        height: 200px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content .lead {
        font-size: 1rem;
    }

    .cta-buttons .btn {
        min-width: 160px;
        padding: 10px 20px;
        font-size: 1rem;
        margin: 5px;
    }
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Desktop */
@media (min-width: 640px) {
    .brands-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.brand-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    height: 240px;
    display: grid;
    place-items: center;
    padding: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .brand-card:hover {
        border-color: #fb7185; /* rose-300 */
        transform: translateY(-2px);
    }

    .brand-card img {
        max-height: 220px;
        width: 100%;
        object-fit: contain;
    }

/* ===== Home News Section ===== */
.home-news-section {
    background: #f8f9fa;
}

.section-title {
    font-weight: 800;
    font-size: 2rem;
    color: #2c3e50;
}

.section-subtitle {
    color: #777;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* ===== News Grid ===== */
.news-grid {
    display: grid;
    gap: 24px;
}

/* Mobile */
@media (max-width: 575px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Laptop */
@media (min-width: 992px) and (max-width: 1199px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ===== Card ===== */
.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: all .35s ease;
}

    .news-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px rgba(0,0,0,.15);
    }

/* ===== Image ===== */
.news-image {
    height: 180px;
    overflow: hidden;
}

    .news-image img {
        width: 100%;
        height: 100%;
/*        object-fit: cover;*/
        transition: transform .6s ease;
    }

.news-card:hover img {
    transform: scale(1.1);
}

/* ===== Content ===== */
.news-content {
    padding: 16px;
}

.news-date {
    font-size: 0.75rem;
    color: #999;
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 10px 0;
    color: #2c3e50;
    line-height: 1.5;
}

.news-abstract {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.7;
    max-height: 3.4em;
    overflow: hidden;
}

/* ===== Link Reset ===== */
.news-link {
    text-decoration: none;
    color: inherit;
}
/* ===== Quick Stats Overlay Responsive Control ===== */

/* پیش‌فرض: مخفی */
.quick-stats-overlay {
    display: none;
}

/* فقط دسکتاپ بزرگ */
@media (min-width: 1200px) {
    .quick-stats-overlay {
        display: block;
    }
}


