/* 1. الإعدادات العامة للموقع */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #fffaf5;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Georgia', serif;
    color: #2c2c2c;
}

/* 2. شريط التنقل */
.navbar {
    text-align: center;
    margin: 20px 0;
}

.btn {
    background: #c37e4f;
    color: white;
    border: none;
    padding: 12px 25px;
    margin: 5px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #82531b;
    transform: translateY(-2px);
}

/* 3. الصفحة الرئيسية (Hero Section) */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    max-width: 1100px;
    gap: 40px;
    padding: 0 20px;
}

.main-hero-img {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 4. شبكة الهدايا (All Gifts Page) - 4 صور في الصف */
.gifts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 أعمدة */
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.gift-card {
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.gift-card img {
    width: 100%;
    height: 300px; /* مقاس موحد للصور */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* 5. صفحة التفاصيل (الصورة يسار والنص يمين) */
.details-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.details-img {
    flex: 0 0 380px;
    height: 480px;
    object-fit: cover;
    border-radius: 12px;
}

.details-info {
    flex: 1;
    text-align: left;
}

.price {
    font-size: 26px;
    color: #c37e4f;
    font-weight: bold;
    margin: 10px 0;
    display: block;
}

/* 6. نظام التعليقات */
.comment-section {
    max-width: 600px;
    margin: 30px auto;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#commentText {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 10px;
    font-family: inherit;
}

.categories {
    text-align: center;
    margin-bottom: 20px;
}

.order-btn {
    width: 100%;
    padding: 18px 0;
    font-size: 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}
