@font-face {
    font-family: 'Peyda';
    src: url('../fonts/Peyda-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Peyda';
    src: url('../fonts/Peyda-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Peyda';
    src: url('../fonts/Peyda-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Peyda';
    src: url('../fonts/Peyda-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Peyda';
    src: url('../fonts/Peyda-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --gold: #a9bf37;
    --gold-light: #c2d84a;
    --gold-dark: #8a9e2a;
    --gold-glow: rgba(169, 191, 55, 0.5);
    --white: #FFFFFF;
    --white-dark: #eef2e0;
    --black: #101924;
    --gray: #15202f;
    --light-gray: #1c2b3a;
    --bg-light: #15202f;
    --bg-card: #15202f;
    --container: 1500px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    margin-top: -2.5px;
}

body {
    font-family: 'Peyda', 'Vazirmatn', 'IRANSans', system-ui, sans-serif;
    background: #101924;
    color: #e0e5ec;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    transition: background 0.3s ease;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0f16;
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* ==================== HEADER ==================== */
/* ==================== HEADER FIX ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 30px; /* کاهش شدید پدینگ بالا و پایین برای حذف فضای خالی */
    background: rgba(16, 25, 36, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(169, 191, 55, 0.3);
    margin-bottom: 40px;
    border-radius: 0 0 24px 24px;
}

.header-container {
    display: flex;
    align-items: center; /* تراز عمودی دقیق تمام عناصر در یک خط */
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* لوگو و عنوان */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
}

.logo-img {
    height: 48px; /* اندازه دقیق و متناسب لوگو */
    width: auto;
    filter: drop-shadow(0 0 10px var(--gold-glow));
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}

.logo-badge {
    font-size: 0.72rem;
    color: var(--gold-light);
    line-height: 1.2;
}

/* منوی اصلی */
.nav-menu {
    display: flex;
    align-items: left;
    gap: 8px; /* فاصله منظم بین آیتم‌های منو */
    margin: 0;
    padding: 0;
    list-style: none;
    padding-left:280px;
}

.nav-link {
    color: #e0e5ec;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

    .nav-link:hover, .nav-link.active {
        color: var(--black);
        background: var(--gold);
        box-shadow: 0 0 12px var(--gold-glow);
        font-weight: 700;
    }

/* دکمه تماس با ما در انتهای منو */
.btn-contact {
    border: 1.5px solid var(--gold);
    color: var(--gold-light) !important;
    background: rgba(169, 191, 55, 0.05);
    margin-right: 10px;
}

    .btn-contact:hover {
        background: var(--gold) !important;
        color: var(--black) !important;
        box-shadow: 0 0 15px var(--gold-glow);
    }

/* Dropdown */
.navbar-dropdown {
    position: relative;
}

.navbar-dropdown-content {
    display: none;
    position: absolute;
    top: 96px;
    right: -3px;
    background: var(--gray);
    border: 1px solid rgba(169, 191, 55, 0.3);
    border-radius: 14px;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
    padding: 8px 0;
    margin-top: 10px;
    z-index: 100;
}

.navbar-dropdown:hover .navbar-dropdown-content {
    display: block;
}

.navbar-dropdown-content a {
    display: block;
    padding: 10px 18px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s;
}

    .navbar-dropdown-content a:hover {
        background: rgba(169, 191, 55, 0.15);
        color: var(--gold-light);
    }
/* ==================== SECTION TITLES ==================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 20px;
}

    .section-title .icon {
        color: var(--gold);
        font-size: 2.5rem;
    }

    .section-title::after {
        content: '';
        flex: 1;
        height: 3px;
        background: linear-gradient(to left, var(--gold), transparent);
        margin-right: 20px;
    }

.site-divider {
    width: 100%;
    height: 1px;
    background: rgba(169,191,55,0.3);
    margin: 50px 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .site-divider span {
        background: #101924;
        padding: 8px 25px;
        color: var(--gold-light);
        font-weight: 800;
        border: 1px solid rgba(169,191,55,0.3);
        border-radius: 50px;
    }

/* ==================== PRODUCTS GRID ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(169, 191, 55, 0.25);
    transition: all 0.4s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(169, 191, 55, 0.25);
        border-color: var(--gold-light);
    }

.product-img-container {
    width: 100%;
    aspect-ratio: 16/11;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px 25px 25px;
    text-align: center;
}

.product-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.btn {
    background: rgba(169,191,55,0.08);
    border: 2px solid var(--gold);
    color: var(--gold-light);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

    .btn:hover {
        background: var(--gold);
        color: var(--black);
        box-shadow: 0 0 25px var(--gold-glow);
    }

/* ==================== BLOG GRID ==================== */
.blog-grid, .pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #0a1018;
    border: 2px solid rgba(169,191,55,0.2);
    transition: all 0.4s ease;
}

    .image-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .image-card:hover {
        border-color: var(--gold-light);
        transform: translateY(-8px);
    }

        .image-card:hover img {
            transform: scale(1.08);
        }

.overlay-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(16,25,36,0.95), rgba(16,25,36,0.4));
    padding: 20px;
    text-align: center;
    border-top: 2px solid var(--gold);
    color: var(--gold-light);
    font-weight: 800;
    font-size: 1.2rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #0a0f16;
    border-top: 2px solid rgba(169, 191, 55, 0.3);
    padding: 60px 0 30px;
    margin-top: 80px;
    text-align: right;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-col p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

    .footer-col ul li {
        margin-bottom: 12px;
    }

        .footer-col ul li a, .footer-contact li {
            color: #cbd5e1;
            text-decoration: none;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.2s;
        }

            .footer-col ul li a:hover {
                color: var(--gold-light);
                transform: translateX(-5px);
            }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

    .footer-social a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(169, 191, 55, 0.1);
        border: 1px solid var(--gold-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gold);
        text-decoration: none;
        transition: all 0.3s;
    }

        .footer-social a:hover {
            background: var(--gold);
            color: var(--black);
            box-shadow: 0 0 15px var(--gold-glow);
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #6b7b8c;
}

.admin-link {
    color: var(--gold-dark);
    text-decoration: none;
}

/* ==================== RESPONSIVE (MOBILE & TABLET) ==================== */
@media (max-width: 992px) {
    .header {
        padding: 15px 20px;
        margin-bottom: 30px;
        border-radius: 0 0 20px 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(21, 32, 47, 0.98);
        border: 1px solid rgba(169, 191, 55, 0.3);
        border-radius: 20px;
        padding: 20px;
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.8);
    }

        .nav-menu.active {
            display: flex;
        }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid, .pages-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}




.price-features list-style-none,
.price-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #8a95a5;
    margin-bottom: 0.8rem;
}

    .price-features li ion-icon {
        color: var(--gold);
        font-size: 1.1rem;
        flex-shrink: 0;
    }

.price-footer {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

/* ========== FAQ ========== */
.faq {
    padding: 80px 0;
    background: #101924;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 20px 4px 20px 4px;
    border: 1px solid rgba(169, 191, 55, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .faq-item.active {
        border-color: rgba(169, 191, 55, 0.3);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }

.faq-question {
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

    .faq-question h3 {
        font-size: 1rem;
        color: #e0e5ec;
        font-weight: 600;
    }

    .faq-question ion-icon {
        font-size: 1.3rem;
        color: var(--gold);
        transition: transform 0.3s ease;
    }

.faq-item.active .faq-question ion-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: rgba(16, 25, 36, 0.5);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.2rem 1.5rem;
    font-size: 0.85rem;
    color: #8a95a5;
    line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact {
    padding: 80px 0;
    background: var(--bg-card);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: #101924;
    padding: 1.5rem;
    border-radius: 20px 4px 20px 4px;
    border: 1px solid rgba(169, 191, 55, 0.08);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s ease;
}

    .contact-card:hover {
        border-color: var(--gold);
        transform: translateY(-3px);
    }

    .contact-card ion-icon {
        font-size: 2rem;
        color: var(--gold);
        flex-shrink: 0;
    }

    .contact-card h4 {
        font-size: 1rem;
        color: #e0e5ec;
        margin-bottom: 0.2rem;
    }

    .contact-card p,
    .contact-card a {
        font-size: 0.85rem;
        color: #8a95a5;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .contact-card a:hover {
            color: var(--gold);
        }

.contact-form {
    background: #101924;
    padding: 2rem;
    border-radius: 25px 4px 25px 4px;
    border: 1px solid rgba(169, 191, 55, 0.08);
}

/* ========== FOOTER ========== */
footer {
    background: #0b1119;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(169, 191, 55, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-about p {
    color: #8a95a5;
    font-size: 0.85rem;
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.1rem;
    color: #e0e5ec;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 8px;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 30px;
        height: 2px;
        background: var(--gold);
    }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: #8a95a5;
        text-decoration: none;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

        .footer-links a:hover {
            color: var(--gold);
            transform: translateX(-5px);
        }

.footer-newsletter p {
    color: #8a95a5;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #8a95a5;
    font-size: 0.8rem;
}

/* ========== MEDIA QUERIES / RESPONSIVE ========== */
@media (max-width: 1200px) {
    .cars-grid,
    .reviews-grid,
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .navbar {
        position: fixed;
        top: 70px;
        right: -100%; /* در حالت عادی بیرون از صفحه است */
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(16, 25, 36, 0.98);
        transition: all 0.4s ease;
        /* سایر استایل‌ها */
    }

        /* وقتی کلاس active اضافه می‌شود منو وارد صفحه می‌شود */
        .navbar.active {
            right: 0;
        }
}

    .cars-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .navbar {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(16, 25, 36, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: all 0.4s ease;
        border-left: 1px solid rgba(169, 191, 55, 0.1);
    }

        .navbar.active {
            right: 0;
        }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .process-grid,
    .cars-grid,
    .reviews-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.large,
    .feature-card.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .top-bar-info {
        display: none;
    }

    .top-bar-content {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

        .hero-buttons .btn-gold-large,
        .hero-buttons .btn-glass {
            width: 100%;
            justify-content: center;
        }

    .input-row {
        flex-direction: column;
        gap: 0;
    }

    .input-group.half {
        width: 100%;
        margin-bottom: 1rem;
    }
}