/* تنسيقات شريط التمرير */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f9f9f9;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c8a97e;
    border-radius: 10px;
    border: 3px solid #f9f9f9;
}

::-webkit-scrollbar-thumb:hover {
    background: #2c1810;
}

/* تنسيقات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* القائمة العلوية */
.navbar {
    background-color: #2c1810;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 20px ;
    cursor: pointer
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-right: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffcf9d;
}

/* القسم الرئيسي */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important;
}

.swiper-pagination-bullet {
    background: white !important;
}

.swiper-pagination-bullet-active {
    background: #c8a97e !important;
}

/* تنسيقات زر التصفح */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #c8a97e;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #b38f6c;
}

/* قسم القائمة */
.menu {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.menu h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.menu-category {
    margin-bottom: 4rem;
}

.menu-category h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c1810;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.menu-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item h4 {
    padding: 1rem;
    font-size: 1.5rem;
    color: #2c1810;
}

.menu-item p {
    padding: 0 1rem;
    color: #666;
}

.menu-item .price {
    display: block;
    padding: 1rem;
    color: #c8a27a;
    font-weight: bold;
    font-size: 1.2rem;
}

.order-btn {
    background-color: #2c1810;
    color: #fff;
    border: none;
    padding: 0.8rem;
    margin: 0 1rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.order-btn:hover {
    background-color: #c8a27a;
}

/* قسم عن المقهى */
.about {
    padding: 5rem 0;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    cursor:pointer;

}

.feature i {
    font-size: 2.5rem;
    color: #c8a27a;
    margin-bottom: 1rem;
}

/* قسم اتصل بنا */
.contact {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 2rem;
    color: #c8a27a;
    margin-bottom: 1rem;
}

/* تذييل الصفحة */
footer {
    background-color: #2c1810;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #c8a27a;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #2c1810;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero .container {
        padding: 0 15px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .menu-items-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .menu-category h3 {
        font-size: 1.8rem;
    }

    .menu-item h4 {
        font-size: 1.3rem;
    }

    .cart-icon {
        margin: 1rem 0;
    }
}

/* الأنماط الأساسية */
:root {
    --primary-color: #6F4E37;
    --secondary-color: #B87E5C;
    --background-color: #F5F5F5;
    --text-color: #333;
}

body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* تحسينات القائمة العلوية */
.navbar {
    background: #c8a27af0;
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* تحسينات القسم الرئيسي */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(111, 78, 55, 0.8), rgba(184, 126, 92, 0.8));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* تحسينات القائمة */
.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    will-change: transform;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover img {
    transform: scale(1.1);
}

/* تأثيرات التمرير */
.parallax {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* تحسينات الأزرار */
.btn, .order-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after, .order-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after, .order-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* تحسينات الشعار */
.logo {
    display: flex;
    position: relative;
    width: auto;
    height: 50px;
    justify-content: center;
    align-items: center;
}


/* تحسينات القسم عن المقهى */
.about {
    position: relative;
    overflow: hidden;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* تحسينات قسم الاتصال */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* تحسينات التذييل */
footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
}

.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--secondary-color);
}

/* تحسينات التجاوب */
@media (max-width: 768px) {
    .menu-items-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .hero {
        height: 70vh;
    }
    
    .feature {
        margin-bottom: 20px;
    }
}

/* تأثيرات التحميل */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* تأثيرات التمرير السلس */
html {
    scroll-behavior: smooth;
}

/* تحسينات الأداء */
* {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* تنسيقات سلة المشتريات */
.cart-icon {
    position: relative;
    margin-right: 20px;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    width: 300px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 15px;
    display: none;
    z-index: 1000;
    margin-top: 10px;
}

.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 50%;
    transform: translateX(50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.cart-icon:hover .cart-dropdown {
    display: block;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-left: 10px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #666;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-btn {
    background: #f0f0f0;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
}

.remove-item {
    color: #ff4444;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.cart-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #eee;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    padding: 10px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: #45a049;
} 