/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4491a;
    --secondary-color: #2c1810;
    --accent-color: #f4a261;
    --text-light: #ffffff;
    --text-dark: #2c1810;
    --bg-light: #f8f5f2;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    direction: rtl;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3d2415 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-family: 'Bebas Neue', cursive;
    color: var(--text-light);
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.tagline {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 300;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover span {
    background: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3d2415 100%);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
}

.mobile-nav-link {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 15px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-nav-link:hover {
    background: rgba(244, 162, 97, 0.1);
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1513104890138-7c749659a591?w=1600&h=900&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 73, 26, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 73, 26, 0.6);
    background: #ff5722;
}

/* Menu Section (Pizza) */
.menu-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--secondary-color);
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.menu-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: default;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.card-badge.spicy {
    background: linear-gradient(135deg, #ff4500 0%, #d4491a 100%);
    animation: pulse 2s infinite;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.card-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Sides & Drinks Section (Unified Style) */
.sides-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.sides-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
}

.sides-column {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.drinks-column {
    background: linear-gradient(135deg, #fff 0%, #f8f5f2 100%);
}

/* New unified horizontal menu item style */
.horizontal-menu-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    align-items: center;
}

.horizontal-menu-item:last-child {
    margin-bottom: 0;
}

.horizontal-menu-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.item-image {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.horizontal-menu-item:hover .item-image img {
    transform: scale(1.1);
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-info h3 {
    font-family: 'Bebas Neue', cursive;
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.item-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.item-price {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3d2415 100%);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.footer-section p {
    margin-bottom: 10px;
    color: #ddd;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero { height: 400px; }
    .hero-title { font-size: 2rem; }
    
    .menu-grid { grid-template-columns: 1fr; gap: 25px; }
    .card-image { height: 200px; }
    
    .sides-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .sides-column { padding: 25px; }
    
    /* Stack horizontal items on mobile */
    .horizontal-menu-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .item-image {
        width: 100%;
        height: 180px;
        margin-bottom: 15px;
    }
    
    .item-info h3 { margin-top: 5px; }
    .item-price { margin-top: 10px; font-size: 1.4rem; }
    
    .section-title { font-size: 2rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

/* Extra small devices */
@media (max-width: 480px) {
    .logo h1 { font-size: 1.2rem; }
    .hero { height: 350px; }
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.8rem; }
    .card-content { padding: 20px; }
    .sides-column { padding: 20px; }
    .item-image { height: 150px; }
}

/* AOS Animation Styles */
[data-aos="fade-up"] { opacity: 0; transform: translateY(50px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-up"].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="zoom-in"] { opacity: 0; transform: scale(0.8); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="zoom-in"].aos-animate { opacity: 1; transform: scale(1); }