/* =========================================
   1. الإعدادات الأساسية والخطوط
   ========================================= */
body {
    font-family: 'Cairo', sans-serif;
    background: yellow;
    color: #333;
}

/* =========================================
   2. القائمة العلوية (Navbar)
   ========================================= */
.navbar {
    background-color: #3e2723 !important; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}
.nav-link {
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #ffc107 !important; 
}

/* =========================================
   3. القسم الرئيسي (Hero Section)
   ========================================= */
.hero {
    background: linear-gradient(135deg, #6f4e37 0%, #3e2723 100%);
    color: #fff;
    min-height: 80vh;
    padding: 100px 0;
    position: relative;
}
.hero h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero .badge {
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 50px;
}

/* =========================================
   4. قسم من نحن (About)
   ========================================= */
#about {
    background-color: #fff;
}
#about h2 {
    background: linear-gradient(90deg, #6f4e37, #3e2723);
    color: #d9e627;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-style: italic;
}

/* =========================================
   5. قائمة المنتجات (Menu)
   ========================================= */
#menu {
    background-color: #f8f9fa !important;
}
#menu h2 {
    color: #6f4e37;
    font-weight: 700;
}
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: scale(1.05); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}
.card-title {
    color: #3e2723;
    font-weight: 700;
}

/* =========================================
   6. قسم التواصل (Contact Form)
   ========================================= */
#contact {
    background-color: #fff;
}
#contact h2 {
    color: #6f4e37;
    font-weight: 700;
}

/* =========================================
   7. الفوتر (Footer)
   ========================================= */
footer {
    background-color: #3e2723;
    color: #fff;
    font-weight: 600;
}

/* =========================================
   8. (Back to Top)
   ========================================= */
#backToTop {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    z-index: 99;
    width: 50px;
    height: 50px;
    font-size: 20px;
    border: none;
    transition: all 0.3s ease;
}
#backToTop:hover {
    background-color: #3e2723 !important;
    color: #fff;
}

/* =========================================
   9. (Fade-in on Load)
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }