body {
    font-family: 'Vazir', sans-serif;
    background: #000000; /* مشکی خالص */
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

h1, h2 {
    margin-bottom: 20px;
}

/* ===============================
   هدر و ناوبری
=============================== */
header {
    background: #0f3460;
    padding: 20px;
    font-size: 32px;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* ناوبری */
.navbar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 40px 0;
}

.navbar button {
    font-family: 'Vazir', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.navbar button:hover {
    background: rgba(255, 255, 255, 0.25);
}
section {
    padding: 40px;
}

.product {
    display: flex;
    flex-direction: column; /* 👈 آیتم‌ها رو عمودی می‌چینه */
    align-items: center;    /* 👈 وسط‌چین افقی */
    gap: 20px;              /* فاصله بین عکس و دکمه */
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    box-shadow: 10px 1.5px 3px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    transition: transform 0.3s ease;
}
.product:hover {
    transform: scale(1.03);
}

button {
    font-family: 'Vazir', sans-serif;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, #ff5722, #ff9800);
    color: black;
    padding: 16px 45px;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    transition: 0.4s;
}

button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 50px;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    opacity: 0;
    pointer-events: none;
}

button:active::after {
    animation: shine 0.6s forwards;
}

button:hover:not(.disabled) {
    transform: scale(1.05);
    background: linear-gradient(to right, #e64a19, #f57c00);
}

button.disabled {
    background: grey;
    color: white;
    cursor: not-allowed;
}

@keyframes shine {
    0% {
        left: -50%;
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}
