/* ===== متغيرات الألوان ===== */
:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --secondary: #84cc16;
    --accent: #facc15;
    --dark: #1c1917;
    --dark-2: #292524;
    --light: #fffaf3;
    --text: #44403c;
    --muted: #78716c;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(249, 115, 22, 0.25);
    --radius: 18px;
    --radius-lg: 28px;
}

/* ===== إعادة ضبط ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

.section {
    padding: 90px 0;
}

.highlight {
    color: var(--primary);
}

/* ===== الأزرار ===== */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px rgba(249, 115, 22, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* ===== شريط التنقل ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.header.scrolled .logo-text,
.header.scrolled .nav-link {
    color: var(--dark);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
}

.header.scrolled .logo {
    color: var(--dark);
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-weight: 600;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--white);
    transition: all 0.3s;
}

.header.scrolled .hamburger span {
    background: var(--dark);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== القسم الرئيسي ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #7c2d12 0%, var(--primary-dark) 45%, var(--primary) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(circle at 20% 30%, var(--accent) 0, transparent 30%),
        radial-gradient(circle at 80% 70%, var(--secondary) 0, transparent 35%),
        radial-gradient(circle at 50% 50%, #fff 0, transparent 50%);
    background-size: 600px 600px, 700px 700px, 900px 900px;
    animation: float-bg 12s ease-in-out infinite alternate;
}

@keyframes float-bg {
    from { transform: translateY(-30px) scale(1); }
    to { transform: translateY(30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 25px;
    backdrop-filter: blur(6px);
}

.hero-text h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    color: var(--white);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 22px;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 520px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 45px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.hero-image {
    position: relative;
}

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    aspect-ratio: 4/5;
    object-fit: cover;
    width: 100%;
    animation: hero-float 5s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 800;
    color: var(--dark);
    box-shadow: var(--shadow-lg);
    font-size: 0.95rem;
}

.card-1 {
    top: 8%;
    right: -18px;
    animation: pulse 3s ease-in-out infinite;
}

.card-2 {
    bottom: 12%;
    left: -18px;
    animation: pulse 3s ease-in-out infinite 1.5s;
}

@keyframes pulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.04); }
}

/* ===== عناوين الأقسام ===== */
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 12px;
    background: rgba(249, 115, 22, 0.1);
    padding: 6px 18px;
    border-radius: 50px;
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.section-head {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-head p {
    color: var(--muted);
    font-size: 1.1rem;
}

/* ===== من نحن ===== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
    padding-bottom: 40px;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about-img-main {
    width: 85%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.about-img-sub {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    border: 8px solid var(--white);
    aspect-ratio: 1/1;
    object-fit: cover;
}

.about-text p {
    color: var(--muted);
    font-size: 1.08rem;
    margin-bottom: 20px;
}

.about-list {
    margin: 30px 0;
    display: grid;
    gap: 15px;
}

.about-list li {
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

/* ===== القائمة ===== */
.menu {
    background: var(--light);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fade-up 0.6s ease backwards;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.menu-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
}

.menu-card-body {
    padding: 24px;
}

.menu-card-body h3 {
    color: var(--dark);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.menu-card-body p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.menu-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
}

.menu-price span {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 600;
}

.order-btn {
    background: var(--dark);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
}

.order-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== لماذا فروتي ===== */
.features {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
}

.features .section-tag {
    color: var(--secondary);
    background: rgba(132, 204, 22, 0.15);
}

.features .section-title {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 18px;
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.98rem;
}

/* ===== تواصل معنا ===== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.contact-list {
    display: grid;
    gap: 22px;
    margin: 30px 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 1.6rem;
    background: rgba(249, 115, 22, 0.1);
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-list strong {
    display: block;
    color: var(--dark);
}

.contact-list a:hover {
    color: var(--primary);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 400px;
}

.contact-map iframe {
    filter: grayscale(15%);
}

.social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(249, 115, 22, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

/* ===== التذييل ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer .logo {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.98rem;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 1.15rem;
}

.footer-links ul {
    display: grid;
    gap: 10px;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== أزرار العودة لأعلى ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-dark);
}

/* ===== إشعار الطلب ===== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 2000;
    border-right: 5px solid var(--secondary);
}

.toast.show {
    transform: translateX(0);
}

/* ===== الاستجابة للشاشات ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin-inline: auto;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 450px;
        margin-inline: auto;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 340px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    }

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

    .nav-link {
        color: var(--dark);
        font-size: 1.2rem;
    }

    .btn-nav {
        display: none;
    }

    .section {
        padding: 65px 0;
    }

    .card-1 {
        right: 0;
    }

    .card-2 {
        left: 0;
    }

    .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
