‎/* === خطوط === */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap');

body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa; /* خلفية ناعمة للراحة */
    color: #333333;
}

‎/* === الرأس والقائمة === */
header {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #0077b6; /* عنوان جذاب */
}

nav {
    margin-top: 10px;
}

nav a {
    color: #0077b6;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s, transform 0.3s;
}

nav a:hover {
    color: #48cae4;
    transform: scale(1.05);
}

‎/* === عنوان قسم المنتجات === */
.products-section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 40px 0 20px 0;
    color: #0077b6; /* أزرق جذاب */
}

‎/* === قسم المنتجات === */
.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 25px;
}

‎/* === بطاقات المنتجات === */
.product-card {
    background-color: #ffffff; /* بطاقة أبيض */
    color: #333333;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 280px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h2 {
    font-size: 20px;
    color: #0077b6;
    margin: 15px;
    font-weight: 700;
}

.product-card p {
    font-size: 16px;
    color: #555555;
    margin: 0 15px 15px 15px;
    line-height: 1.5;
}

‎/* === الأزرار === */
.button {
    display: inline-block;
    background: linear-gradient(to right, #48cae4, #00b4d8);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 12px 25px;
    margin: 10px 15px 20px 15px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.button:hover {
    background: linear-gradient(to right, #0077b6, #0096c7);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

‎/* === بطاقات المميزة/خصومات === */
.product-card.featured {
    border: 2px solid #ffd6e0;
}

‎/* === شارة المنتج === */
.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #48cae4;
    color: #ffffff;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
}

‎/* === الفوتر === */
footer {
    background-color: #ffffff;
    color: #0077b6;
    text-align: center;
    padding: 30px 20px;
    font-size: 16px;
    margin-top: 50px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
}

footer a {
    color: #48cae4;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

‎/* === استجابة للجوال === */
@media (max-width: 1024px) {
    .product-card {
        width: 45%;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 26px;
    }

    nav a {
        display: block;
        margin: 8px 0;
    }

    .product-card {
        width: 90%;
    }

    .button {
        width: calc(100% - 30px);
        text-align: center;
    }
}