﻿/* ============================================================
   GiftCafe — Theme Custom (Dark / Modern)
   لینک این فایل بعد از rtl.css توی _Layout.cshtml
   ============================================================ */

@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

:root {
    --bg: #0a0e1a;
    --bg-2: #0f1320;
    --card: #161c2c;
    --card-2: #181e2e;
    --border: rgba(255,255,255,.08);
    --text: #eaf1f6;
    --muted: rgba(255,255,255,.6);
    --muted-2: rgba(255,255,255,.4);
    --primary: #00c3ff;
    --primary-2: #00ff91;
    --accent: #6c63ff;
    --danger: #ff5b5b;
    --radius: 16px;
    --grad-primary: linear-gradient(90deg, var(--primary-2), var(--primary));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg) !important;
    color: var(--text) !important;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
}

a {
    text-decoration: none;
    transition: .2s;
}

img {
    max-width: 100%;
}


::selection {
    background: var(--primary);
    color: #000;
}

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--card-2);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }

/* ── Preloader ─────────────────────────────────────────── */
.preloader {
    background: var(--bg) !important;
}

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
    background: rgba(10,14,26,.85) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

    .navbar .logo h3 {
        color: #fff;
        font-weight: 900;
        margin: 0;
        font-size: 1.4rem;
        background: var(--grad-primary);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.navbar-nav {
    gap: 6px;
}
.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .navbar .logo img {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    .navbar-nav .nav-link {
        color: var(--muted) !important;
        font-weight: 600;
        font-size: .95rem;
        padding: 8px 14px !important;
        border-radius: 10px;
    }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #fff !important;
            background: rgba(255,255,255,.06);
        }

.navbar .social-icon li a {
    background: var(--card-2) !important;
    color: var(--muted) !important;
    border: 1px solid var(--border);
}

    .navbar .social-icon li a:hover {
        background: var(--primary) !important;
        color: #000 !important;
    }

.navbar-toggler {
    border-color: var(--border) !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* ── Buttons ───────────────────────────────────────────── */
.default-btn, .btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad-primary) !important;
    color: #01110b !important;
    font-weight: 800 !important;
    padding: 13px 30px !important;
    border-radius: 12px !important;
    border: none !important;
    transition: .25s !important;
}

    .default-btn:hover, .btn-primary-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(0,195,255,.28);
        color: #01110b !important;
    }

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--muted);
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 700;
    transition: .2s;
}

    .btn-outline-custom:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

/* ── Section Title ─────────────────────────────────────── */
.section-title {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 50px;
}

    .section-title span.eyebrow {
        display: inline-block;
        color: var(--primary);
        font-weight: 700;
        font-size: .85rem;
        margin-bottom: 10px;
    }

    .section-title h2 {
        color: #fff;
        font-weight: 900;
        font-size: clamp(1.5rem, 3vw, 2.1rem);
        margin-bottom: 12px;
    }

    .section-title p {
        color: var(--muted);
        font-size: .98rem;
        line-height: 1.9;
        margin: 0;
    }

/* ── Home Hero ─────────────────────────────────────────── */
.hero-section {
    position: relative;
    background: radial-gradient(ellipse 70% 60% at 85% 20%, rgba(0,195,255,.18), transparent 60%), radial-gradient(ellipse 60% 60% at 10% 80%, rgba(0,255,145,.10), transparent 60%), var(--bg);
    padding: 120px 0 90px;
    overflow: hidden;
}

    .hero-section .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--card-2);
        border: 1px solid var(--border);
        color: var(--muted);
        font-size: .82rem;
        font-weight: 700;
        padding: 6px 16px;
        border-radius: 30px;
        margin-bottom: 20px;
    }

    .hero-section h1 {
        color: #fff;
        font-weight: 900;
        font-size: clamp(2.1rem, 5vw, 3.4rem);
        line-height: 1.25;
        margin-bottom: 18px;
    }

        .hero-section h1 .grad {
            background: var(--grad-primary);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

    .hero-section p.lead {
        color: var(--muted);
        font-size: 1.05rem;
        line-height: 2;
        max-width: 480px;
        margin-bottom: 30px;
    }

.hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 40px;
}

    .hero-stats .stat b {
        display: block;
        color: #fff;
        font-size: 1.5rem;
        font-weight: 900;
    }

    .hero-stats .stat span {
        color: var(--muted-2);
        font-size: .82rem;
    }

.hero-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, var(--card), var(--card-2));
    padding: 30px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-visual .float-emoji {
        position: absolute;
        font-size: 46px;
        opacity: .8;
        filter: drop-shadow(0 8px 18px rgba(0,0,0,.4));
        animation: floatY 4.5s ease-in-out infinite;
    }

@keyframes floatY {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
    background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0,195,255,.14), transparent 60%), var(--bg);
    padding: 90px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

    .page-hero h1 {
        color: #fff;
        font-weight: 900;
        font-size: clamp(1.7rem, 4vw, 2.4rem);
        margin-bottom: 10px;
    }

    .page-hero .breadcrumb-custom {
        color: var(--muted-2);
        font-size: .9rem;
    }

        .page-hero .breadcrumb-custom a {
            color: var(--primary);
        }

/* ── Feature Cards ─────────────────────────────────────── */
.single-products-feature, .feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    transition: .25s;
}

    .single-products-feature:hover, .feature-card:hover {
        transform: translateY(-6px);
        border-color: var(--primary);
        box-shadow: 0 16px 34px rgba(0,195,255,.12);
    }

    .single-products-feature .icon, .feature-card .icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        background: var(--grad-primary);
        color: #01110b;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        margin: 0 auto 16px;
    }

    .single-products-feature h3, .feature-card h3 {
        color: #fff;
        font-size: 1.05rem;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .single-products-feature p, .feature-card p {
        color: var(--muted);
        font-size: .9rem;
        margin: 0;
        line-height: 1.8;
    }

/* ── About / Why choose ────────────────────────────────── */
.products-about-area, .why-choose-area {
    background: var(--bg-2);
}

.products-about-content span {
    color: var(--primary);
    font-weight: 700;
    font-size: .9rem;
}

.products-about-content h3 {
    color: #fff;
    font-weight: 900;
    font-size: 1.8rem;
    margin: 8px 0 14px;
}

.products-about-content p {
    color: var(--muted);
    line-height: 1.9;
}

.products-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

    .products-list li {
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        border-bottom: 1px dashed var(--border);
        font-weight: 600;
        font-size: .95rem;
    }

        .products-list li i {
            color: var(--primary-2);
            font-size: 1.1rem;
        }

.products-about-image img, .why-choose-image img {
    border-radius: var(--radius);
}

.why-choose-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    transition: .25s;
}

    .why-choose-content:hover {
        border-color: var(--primary-2);
        transform: translateY(-4px);
    }

    .why-choose-content .icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: rgba(0,255,145,.12);
        color: var(--primary-2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .why-choose-content h3 {
        color: #fff;
        font-size: 1rem;
        font-weight: 800;
        margin-bottom: 6px;
    }

    .why-choose-content p {
        color: var(--muted);
        font-size: .88rem;
        margin: 0;
    }

/* ── Product Cards ─────────────────────────────────────── */
.product-area {
    background: var(--bg);
}

.single-products-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .25s;
    height: 100%;
}

    .single-products-box:hover {
        transform: translateY(-6px);
        border-color: var(--primary);
        box-shadow: 0 18px 36px rgba(0,195,255,.14);
    }

    .single-products-box .products-image {
        position: relative;
        overflow: hidden;
        aspect-ratio: 16/10;
    }

        .single-products-box .products-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: .4s;
        }

    .single-products-box:hover .products-image img {
        transform: scale(1.08);
    }

    .single-products-box .products-content {
        padding: 20px;
    }

        .single-products-box .products-content h3 {
            margin-bottom: 10px;
        }

            .single-products-box .products-content h3 a {
                color: #fff;
                font-weight: 800;
                font-size: 1.05rem;
            }

.price .old-price {
    color: var(--muted-2);
    text-decoration: line-through;
    font-size: .85rem;
    margin-left: 8px;
}

.price .new-price {
    color: var(--primary-2);
    font-weight: 900;
    font-size: 1.05rem;
}

.star-rating i {
    color: #ffb400;
    font-size: .85rem;
}

.single-products-box .add-to-cart {
    display: block;
    text-align: center;
    margin-top: 14px;
    background: var(--card-2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .88rem;
    transition: .2s;
}

    .single-products-box .add-to-cart:hover {
        background: var(--grad-primary);
        color: #01110b;
        border-color: transparent;
    }

/* ── FAQ Accordion ─────────────────────────────────────── */
.faq-area {
    background: var(--bg-2);
}

.faq-accordion .accordion-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    list-style: none;
}

.faq-accordion .accordion-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    color: #fff;
    font-weight: 700;
    font-size: .96rem;
}

    .faq-accordion .accordion-title i {
        color: var(--primary);
    }

    .faq-accordion .accordion-title.active {
        color: var(--primary);
    }

.faq-accordion .accordion-content {
    display: none;
    padding: 0 20px 18px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.9;
}

    .faq-accordion .accordion-content.show {
        display: block;
    }

/* ── How it works (shared: HowToOrder + ProductDetails) ── */
.how-steps-section {
    background: var(--bg);
    padding: 60px 0;
}

.how-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.how-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #01110b;
    font-weight: 900;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.how-text h4 {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.how-text p {
    color: var(--muted);
    font-size: .92rem;
    margin: 0;
    line-height: 1.8;
}

/* ── Testimonials ──────────────────────────────────────── */
.reviews-area {
    background: var(--bg) !important;
}

.single-feedback {
    background: var(--card) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px !important;
}

    .single-feedback .icon i {
        color: var(--primary) !important;
    }

    .single-feedback p {
        color: var(--muted) !important;
    }

.reviews-thumbnails .title h3 {
    color: #fff !important;
}

.reviews-thumbnails .title span {
    color: var(--muted-2) !important;
}

.reviews-thumbnails .item.slick-current .img-fill {
    border: 2px solid var(--primary);
    border-radius: 50%;
}

/* ── Gallery ───────────────────────────────────────────── */
.gallery-area {
    background: var(--bg-2) !important;
}

.single-gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

    .single-gallery-item .gallery-content {
        background: linear-gradient(0deg, rgba(0,0,0,.85), transparent) !important;
    }

        .single-gallery-item .gallery-content span {
            color: var(--primary-2) !important;
        }

        .single-gallery-item .gallery-content h3 {
            color: #fff !important;
        }

/* ── App download / video ──────────────────────────────── */
.app-download, .video-area {
    background: var(--bg) !important;
}

.app-download-content h3 {
    color: #fff !important;
}

.app-download-content p {
    color: var(--muted) !important;
}

.video-content h3 {
    color: #fff !important;
}

.video-btn {
    background: var(--grad-primary) !important;
    color: #01110b !important;
}

/* ── Blog ──────────────────────────────────────────────── */
.blog-area {
    background: var(--bg-2) !important;
}

.single-blog-post {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .25s;
    height: 100%;
}

    .single-blog-post:hover {
        transform: translateY(-6px);
        border-color: var(--primary);
    }

    .single-blog-post .post-image {
        aspect-ratio: 16/10;
        overflow: hidden;
    }

        .single-blog-post .post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .single-blog-post .post-content {
        padding: 20px;
    }

.post-meta {
    color: var(--muted-2) !important;
    font-size: .8rem;
    margin-bottom: 12px;
}

    .post-meta .post-author span {
        color: var(--muted) !important;
        margin-right: 8px;
    }

.single-blog-post h3 a {
    color: #fff !important;
    font-weight: 800;
    font-size: 1.02rem;
}

.single-blog-post .post-content p {
    color: var(--muted) !important;
    font-size: .88rem;
}

/* Blog Details */
.blog-details-area {
    background: var(--bg);
    padding: 70px 0;
}

.blog-details-content img {
    border-radius: var(--radius);
    margin-bottom: 30px;
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover;
}

.blog-details-content h1 {
    color: #fff;
    font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 16px;
}

.blog-details-content p {
    color: var(--muted);
    line-height: 2;
    font-size: 1rem;
    margin-bottom: 20px;
}

.blog-details-content .meta-row {
    color: var(--muted-2);
    font-size: .88rem;
    margin-bottom: 24px;
    display: flex;
    gap: 18px;
}

/* ── Newsletter ────────────────────────────────────────── */
.newsletter-area {
    background: var(--bg-2) !important;
}

.newsletter-content h2 {
    color: #fff !important;
}

.newsletter-content p {
    color: var(--muted) !important;
}

.input-newsletter {
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
    color: #fff !important;
}

.newsletter-form button {
    background: var(--grad-primary) !important;
    color: #01110b !important;
}

/* ── Contact ───────────────────────────────────────────── */
.contact-area {
    background: var(--bg) !important;
}

.contact-form .form-control {
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 13px 16px !important;
    margin-bottom: 16px;
}

    .contact-form .form-control::placeholder {
        color: var(--muted-2) !important;
    }

    .contact-form .form-control:focus {
        border-color: var(--primary) !important;
        box-shadow: none !important;
    }

.contact-info-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

    .contact-info-box .icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: var(--grad-primary);
        color: #01110b;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
    }

    .contact-info-box h4 {
        color: #fff;
        font-size: .95rem;
        font-weight: 800;
        margin: 0 0 4px;
    }

    .contact-info-box p, .contact-info-box a {
        color: var(--muted);
        margin: 0;
        font-size: .88rem;
    }

.alert-success-custom {
    background: rgba(0,255,145,.1);
    border: 1px solid rgba(0,255,145,.3);
    color: var(--primary-2);
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 700;
}

/* ── Footer / Copyright ────────────────────────────────── */
.copy-right {
    background: var(--bg-2) !important;
    border-top: 1px solid var(--border);
    padding: 22px 0;
}

.copy-right-content p {
    color: var(--muted) !important;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.copy-right-content a {
    color: var(--primary) !important;
}

.go-top {
    background: var(--grad-primary) !important;
    color: #01110b !important;
    box-shadow: 0 8px 20px rgba(0,195,255,.3) !important;
}

/* ── Generic content page (About/FAQ text) ─────────────── */
.content-page {
    background: var(--bg);
    padding: 70px 0;
}

    .content-page h2 {
        color: #fff;
        font-weight: 800;
        font-size: 1.4rem;
        margin: 30px 0 14px;
    }

    .content-page p, .content-page li {
        color: var(--muted);
        line-height: 2;
        font-size: .96rem;
    }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-2);
        border-radius: 12px;
        padding: 16px;
        margin-top: 10px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
}
