/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

:root {
    --primary-color: #111111; /* أسود فاخر */
    --gold-color: #D4AF37; /* ذهبي */
    --light-color: #f9f6f0; /* كريمي فاتح */
    --text-color: #333;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* شريط التنقل */
header {
    background-color: var(--primary-color);
    color: var(--gold-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-weight: 800;
    font-size: 24px;
}

.logo span {
    color: #fff;
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold-color);
}

.cart-icon {
    font-size: 20px;
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--gold-color);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}

/* القسم الرئيسي (Hero) */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1592945403244-b3fbafd7f539?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    background-color: var(--gold-color);
    color: var(--primary-color);
    padding: 12px 30px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #fff;
}

/* قسم المنتجات */
.products {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.price {
    color: var(--gold-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold-color);
    color: var(--primary-color);
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--gold-color);
    color: #fff;
}

/* تذييل الصفحة */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--gold-color);
    margin-bottom: 20px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a:hover {
    color: var(--gold-color);
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--gold-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* التجاوب مع الهواتف الذكية */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* يمكن إضافة قائمة برجر لاحقاً */
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
}