/* CSS Reset وإعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #7a3824;
    --primary-gold: #efb460;
    --primary-beige: #a49c8c;
    --light-beige: #f5f1e8;
    --dark-brown: #3d1e14;
    --text-dark: #333;
    --text-light: #fff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans Arabic', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-beige);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Reem Kufi', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
}

.btn:hover {
    background-color: var(--dark-brown);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-gold {
    background-color: var(--primary-gold);
    color: var(--dark-brown);
}

.btn-gold:hover {
    background-color: #e0a449;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-gold);
}

/* الهيدر الثابت */
header {
    background-color: var(--text-light);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    margin-left: 10px;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--primary-beige);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* الفوتر الثابت */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 40px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-left: 10px;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-right: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-gold);
    color: var(--dark-brown);
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-gold);
    margin-left: 10px;
    font-size: 1.2rem;
    width: 25px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--primary-beige);
}

/* المحتوى الرئيسي */
main {
    margin-top: 100px;
    min-height: calc(100vh - 400px);
}

/* تأثيرات التمرير */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* أنماط الصفحة الرئيسية */
.hero-section {
    background: linear-gradient(rgba(122, 56, 36, 0.9), rgba(122, 56, 36, 0.8)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.hero-section p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.promo-banner {
    text-align: center;
    background-color: var(--primary-gold);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.promo-banner h2 {
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 15px;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.menu-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.menu-item:hover img {
    transform: scale(1.05);
}

.menu-item-image {
    height: 200px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item-content {
    padding: 25px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.menu-item-header h3 {
    font-size: 1.4rem;
}

.price {
    font-weight: bold;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    background-color: var(--primary-gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--dark-brown);
}

.opening-hours {
    background-color: var(--light-beige);
    padding: 25px;
    border-radius: 10px;
}

.opening-hours ul {
    font-size: 1.1rem;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.social-media-icons {
    display: flex;
    gap: 15px;
}

.social-media-icons a {
    background-color: #1877F2;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.social-media-icons a.whatsapp {
    background-color: #25D366;
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    nav ul {
        gap: 20px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 100px);
        background-color: var(--text-light);
        box-shadow: var(--shadow);
        transition: var(--transition);
        overflow-y: auto;
        padding: 20px;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav li {
        border-bottom: 1px solid #eee;
    }
    
    nav a {
        display: block;
        padding: 15px 0;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    main {
        margin-top: 90px;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .promo-banner h2 {
        font-size: 1.8rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
}