@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn[wght].woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'Vazirmatn', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    direction: rtl;
    background-color: #1E2A38;
    color: #FFFFFF;
    min-height: 100vh;
    padding-bottom: 20px ;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.header {
    width: 100%;
    max-width: 1200px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    gap: 30px;
    list-style-type: none;
}

.nav {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.nav:hover {
    color: #00B4D8;
}

.shop-icon {
    cursor: pointer;
    transition: transform 0.3s;
}

.shop-icon:hover {
    transform: scale(1.1);
    color: #FFD166;
}

.headline {
    font-size: 2rem;
    font-weight: 700;
    color: #FFD166;
    margin-bottom: 10px;
}

.subheadline {
    font-size: 1.1rem;
    color: #E0E0E0;
    max-width: 600px;
}

.products {
    padding: 60px 20px;
    background-color: #F5F5F5;
    color: #1E2A38;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1E2A38;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.product-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.product-title {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #1E2A38;
}

.product-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    min-height: 60px;
}

.buy-btn {
    background-color: #00B4D8;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buy-btn:hover {
    background-color: #0096c7;
}


.price-box {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-weight: 500;
}

.new-price {
    color: #e63946;
    font-weight: 700;
    font-size: 1.1rem;
    background-color: #ffe5e5;
    padding: 3px 8px;
    border-radius: 8px;
}



@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }

    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .headline {
        font-size: 1.6rem;
    }

    .subheadline {
        font-size: 1rem;
    }

    .next {
        top: 8px;
        left: -56px;
        width: 300px;
    }
}


.next {
    top: 40px;
    left: -101px;
    width: 438px;
    padding: 15px;
    text-align: center;
    transform: rotate(-30deg);
    background-color: #95180d;
    color: white;
    position: absolute;
}

.next p {
    font-size: 20px;
    font-weight: 900;
}

body{
    overflow: hidden;
}