
@import url("Section/header.css");
@import url("Section/hero.css");
@import url("Section/branch.css");
@import url("Section/ordering.css");
@import url("Section/footer.css");
@import url("Section/menu.css");

*::before,
*::after  
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-width: 1px;
}

:root {
    --primary-color: #8B4513;
    --primary-light: #A0522D;
    --backgroug-header:rgba(44, 24, 16, 0.95);
    --primary-dark: #654321;
    --secondary-color: #D4A574;
    --accent-color: #2E8B57;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-cream: #FDF5E6;
    --bg-white: #ffffff;
    --bg-dark: #2C1810;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --font-playfair: 'Playfair Display', serif;
    --font-poppins: 'Poppins', sans-serif;
}

body{
    margin: 0;
    padding:0;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    font-family: 'Cairo', 'Tajawal', sans-serif;

}

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


h1, h2, h3, h4 {
 font-family: 'Tajawal', 'Cairo', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}
/* 
img {
    max-width: 100%;
    height: auto;
    display: block;
} */

.section-title{
    text-align: center;
    font-size: clamp(2rem,5vw,3rem);
    margin-bottom: 50px;
    color: var(--primary-dark);
    position: relative;
}

.section-title::after{
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background:var(--secondary-color);
    margin: 15px auto 0;
    
}








/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .itemslist {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition);
    }

    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }

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

    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }

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

    .nav-links a {
        font-size: 1.2rem;
    }

    /* Sections */
    .hero {
        min-height: 90vh;
    }

    /* Video Modal Mobile */
    .video-modal-content {
        width: 95%;
    }

    .close-modal {
        top: -40px;
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .about,
    .menu,
    .branches,
    .order {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Mobile Menu Item - Horizontal Layout */
    .menu-item {
        display: flex;
        flex-direction: row;
        border-radius: 12px;
    }

    .menu-image {
        width: 120px;
        min-width: 120px;
        height: 100px;
        border-radius: 12px 0 0 12px;
    }

    .menu-image img {
        border-radius: 12px 0 0 12px;
    }

    .menu-info {
        padding: 12px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
    }

    .menu-info h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .menu-info p {
        font-size: 0.8rem;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .price {
        font-size: 0.95rem;
        padding: 3px 12px;
    }

    .branches-grid {
        grid-template-columns: 1fr;
    }

    .order-apps {
        gap: 20px;
    }

    .order-app {
        padding: 20px 30px;
        min-width: 140px;
    }

    .footer-content {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.5rem;
    }

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

    .tagline {
        font-size: 1rem;
        padding: 0 20px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .about-text h3 {
        font-size: 1.4rem;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .menu-image {
        height: 180px;
    }

    .order-apps {
        flex-direction: column;
        align-items: center;
    }

    .order-app {
        width: 100%;
        max-width: 200px;
    }
}

/* Animation for scroll reveal (optional enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .menu-item,
    .branch-card,
    .order-app {
        opacity: 1;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-overlay,
    .order,
    .footer-social {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    body {
        background: white;
    }
}
