:root {
    --primary: #e30613;
    --secondary: #000;
    --accent: #ffd700;
    --light: #f8f8f8;
    --dark: #222;
    --gray: #555;
    --transition: all .3s ease;
}

/* ========== Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: var(--dark);
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== Header / Nav ========== */
header {
    background: var(--secondary);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    display: flex;
    align-items: center;
}

.logo-text {
    margin-right: 15px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.logo-text span {
    color: var(--primary);
}

/* Desktop nav */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* قفل سكرول لما المينيو مفتوحة */
body.nav-open {
    overflow: hidden;
}

/* ========== Mobile Nav (Overlay Fullscreen) ========== */
@media (max-width:768px) {
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, .96);
        backdrop-filter: blur(6px);
        transform: translateX(100%);
        transition: transform .35s ease;
        z-index: 9999;
        overflow-y: auto;
    }

    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: 8px;
        padding: 100px 24px 24px;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 14px 10px;
        font-size: 20px;
        color: #fff;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* ========== Hero ========== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)),
        url('https://images.unsplash.com/photo-1617196034796-73dfa7b1fd56?auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.hero p {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    border: 2px solid var(--primary);
    margin: 0 10px;
}

.btn:hover {
    background: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
}

.btn-outline {
    background: transparent;
    border-color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--secondary);
}

/* ========== Sections / About ========== */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}










.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== Menu Icons Grid ========== */
.menu {
    background: var(--light);
    padding: 100px 0;
}

.menu-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
    padding: 0 20px;
}

.menu-icon {
    position: relative;
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: japaneseDance 4s infinite ease-in-out;
}

.menu-icon img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-icon h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin: 10px 0;
    font-weight: 700;
}

.menu-icon:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

.menu-icon:hover img {
    transform: scale(1.1);
}

@keyframes japaneseDance {
    0% {
        transform: translateX(0) rotate(0)
    }

    25% {
        transform: translateX(-5px) rotate(2deg)
    }

    50% {
        transform: translateX(5px) rotate(-2deg)
    }

    75% {
        transform: translateX(-3px) rotate(1deg)
    }

    100% {
        transform: translateX(0) rotate(0)
    }
}

.menu-icon:hover {
    transform: translateX(0) scale(1.05);
    animation-play-state: paused;
}

/* ========== Testimonials (لو مستخدمها) ========== */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    text-align: center;
    margin: 0 20px;
}

.testimonial-rating {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 20px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    color: var(--secondary);
}

.author-info p {
    color: var(--gray);
}

/* ========== Countdown Offer ========== */
.countdown-section {
    background: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)),
        url('https://images.unsplash.com/photo-1553621042-f6e147245754?auto=format&fit=crop&w=1925&q=80') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.countdown-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.countdown-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--accent);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.countdown-item {
    background: rgba(255, 255, 255, .1);
    border-radius: 10px;
    padding: 20px;
    min-width: 100px;
    backdrop-filter: blur(10px);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 1rem;
    letter-spacing: 1px;
}

#countdown-message {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffc107;
    margin-top: 15px;
    animation: blink 1s infinite alternate, slide 3s infinite linear;
}

@keyframes blink {
    0% {
        opacity: 1
    }

    50% {
        opacity: .3
    }

    100% {
        opacity: 1
    }
}

@keyframes slide {
    0% {
        transform: translateX(0)
    }

    50% {
        transform: translateX(10px)
    }

    100% {
        transform: translateX(0)
    }
}

/* زر العرض */
.special-offer-btn {
    animation: pulse 2.5s infinite;
    transition: transform .3s, box-shadow .3s;
}

.special-offer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 193, 7, .6);
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.03)
    }

    100% {
        transform: scale(1)
    }
}

/* Discount badge/prices */
.discount-banner {
    background: #c62828;
    color: #fff;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 10px;
    border-radius: 12px;
    margin: 20px auto;
    width: 90%;
    animation: flash 1.5s infinite alternate;
}

@keyframes flash {
    from {
        opacity: 1
    }

    to {
        opacity: .6
    }
}

.original-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 8px;
}

.discounted-price {
    color: #d32f2f;
    font-weight: bold;
}

/* Cards (اختياري لمنتجات) */
.product-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* ========== FAQ ========== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
}

.faq-question {
    background: #fff;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f8f8f8;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    background: #fff;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ========== Footer ========== */
footer {
    background: var(--secondary);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.footer-column p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info i {
    color: var(--primary);
    font-size: 20px;
    min-width: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.opening-hours p {
    display: flex;
    justify-content: space-between;
}

.opening-hours p span:first-child {
    color: #aaa;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #aaa;
}

/* ========== Swiper (لو مستخدم) ========== */
.swiper {
    width: 100%;
    height: 500px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== Subtle glow على العناوين/الأزرار (اختياري) ========== */
h1,
.btn {
    position: relative;
    animation: subtleGlow 3s infinite alternate;
}

@keyframes subtleGlow {
    0% {
        text-shadow: 0 0 5px rgba(227, 6, 19, .3);
    }

    100% {
        text-shadow: 0 0 10px rgba(227, 6, 19, .6), 0 0 20px rgba(227, 6, 19, .2);
    }
}

.btn:hover {
    animation-play-state: paused;
    text-shadow: 0 0 20px rgba(227, 6, 19, .8);
}

/* ========== Responsive Tweaks ========== */
@media (max-width:992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .menu-icons {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .menu-icon {
        width: 150px;
        height: 150px;
    }

    .menu-icon h3 {
        font-size: 1rem;
    }
}

@media (max-width:576px) {
    .section {
        padding: 100px 0;
    }

    .menu-icons {
        grid-template-columns: 1fr;
    }

    .menu-icon {
        width: 100%;
        max-width: 300px;
    }

    .countdown-timer {
        flex-wrap: wrap;
    }

    .countdown-item {
        min-width: 80px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .hero {
        height: 60vh;
    }

    /* إضافة تنسيق الأزرار على الموبايل */
    .hero .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }


    .about-image img {
        height: 200px;
        object-fit: cover;
    }
}








#menu {
    position: relative;
    isolation: isolate;
    background: linear-gradient(135deg,
            #000 0%,
            #e30613 50%,
            #fff 100%);
    background-size: 300% 300%;
    /* تكبير الخلفية عشان الحركة */
    animation: menuGradient 8s ease infinite;
    /* حركة التدرج */
}

@keyframes menuGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .15);
    /* أوفرلاي شفاف */
    z-index: -1;
}

#menu>* {
    position: relative;
}

/* الحركة نفسها (تحريك بسيط في الـ background-position) */
@keyframes menuPan {
    0% {
        background-position: 50% 50%;
    }

    50% {
        background-position: 53% 47%;
    }

    100% {
        background-position: 50% 50%;
    }
}

/* موبايل: ألغِ fixed لتوافق iOS، وخلي الحركة مكملة */
@media (max-width: 768px) {
    #menu {
        background-attachment: scroll;
    }
}

/* لو المستخدم مفعّل تقليل الحركة، نوقف الأنيميشن */
@media (prefers-reduced-motion: reduce) {
    #menu {
        animation: none;
    }
}







/* عنوان "منيو بيحكي حكاية" بتأثير توهج */
#menu .section-title h2 {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, .8), 0 0 16px rgba(227, 6, 19, .8);
    animation: glowEffect 1.5s ease-in-out infinite alternate;
}

/* لو أنيميشن glowEffect مش متعرّفة قبل كده، سيبها */
@keyframes glowEffect {
    from {
        text-shadow: 0 0 5px rgba(255, 255, 255, .6), 0 0 10px rgba(227, 6, 19, .5);
    }

    to {
        text-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(227, 6, 19, .9);
    }
}











#about {
    position: relative;
    isolation: isolate;
    background: linear-gradient(135deg, #8b0000 0%, #e30613 50%, #ff1a1a 100%);
    background-size: 300% 300%;
    animation: aboutGradient 8s ease infinite;
    color: #fff;
}

@keyframes aboutGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    /* أوفرلاي غامق بسيط */
    z-index: -1;
}












