/* Global Styles */
:root {
    --primary-color: #FF5722;
    /* Vibrant Orange for Delivery/Food */
    --secondary-color: #FFC107;
    /* Amber/Yellow for accents */
    --text-color: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --dark-overlay: rgba(0, 0, 0, 0.7);
    --font-main: 'Cairo', sans-serif;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 15px;

    /* Mkank 2 Compatibility Vars */
    --primary: var(--primary-color);
    --dark: #1A1A1A;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-sm: 10px;
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
    /* Approximate */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    direction: rtl;
    text-align: right;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #0A1E49;
}

/* Override for dark sections */
.cta-section h1,
.cta-section h2,
.cta-section h3,
footer h1,
footer h2,
footer h3 {
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.btn-primary:hover {
    background-color: #E64A19;
    transform: translateY(-3px);
}

/* Floating Logo - Standalone */
.floating-logo {
    position: absolute;
    top: 30px;
    right: 5%;
    z-index: 1001;
}

.floating-logo img {
    height: 50px;
    filter: none;
}

/* Navbar - Black Frame containing Menu + Buttons */
.navbar {
    position: absolute;
    top: 30px;
    left: 4%;
    min-width: 500px;
    background: #1A1A1A;
    border-radius: 50px;
    padding: 10px 30px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 20px;
    margin: 0;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 50px;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.mobile-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 50px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 2;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-left: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0A1E49;
    /* Updated headline color */
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    background-color: #222;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.store-btn:hover {
    background-color: #333;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.store-btn .icon {
    font-size: 2rem;
    margin-left: 10px;
}

.store-btn .text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.store-btn .text span {
    font-size: 0.7rem;
    opacity: 0.8;
}

.store-btn .text strong {
    font-size: 1.1rem;
}

.store-btn.light {
    background: #fff;
    color: #222;
}

.store-btn.light:hover {
    background: #f0f0f0;
}


.hero-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    text-align: center;
}

.floating-img {
    max-width: 70%;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.deco-item {
    position: absolute;
    z-index: 1;
    opacity: 0.8;
}

.burger-deco {
    width: 150px;
    top: -20px;
    right: 0;
    animation: float 5s ease-in-out infinite reverse;
}

.pizza-deco {
    width: 200px;
    bottom: -50px;
    left: -30px;
    animation: float 7s ease-in-out infinite 1s;
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #0A1E49;
    /* Updated headline color */
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2 span::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: rgba(255, 87, 34, 0.2);
    bottom: 5px;
    right: 0;
    z-index: -1;
    border-radius: 5px;
}

.section-header p {
    color: #777;
    font-size: 1.1rem;
}

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

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(255, 87, 34, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: var(--transition);
}

.feature-card:hover .icon-box {
    background: var(--primary-color);
    color: #fff;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: #fdfdfd;
}

.steps-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.step h3 {
    margin-bottom: 10px;
}

/* Screenshots */
.screenshots {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.screenshots-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
}

.screenshot-item {
    width: 220px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 8px solid #222;
    background: #222;
}

.screenshot-item img {
    width: 100%;
    display: block;
}

.screenshot-item.center {
    transform: scale(1.1);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(255, 87, 34, 0.3);
}

.screenshot-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.screenshot-item.center:hover {
    transform: translateY(-10px) scale(1.15);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(255, 87, 34, 0.9), rgba(255, 87, 34, 0.95)), url('img/general img/pizza2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cta-content h2 span {
    color: #0A1E49;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-buttons.center {
    justify-content: center;
}

/* Footer */
footer {
    background: #0A1E49;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-logo {
    flex: 2;
    min-width: 300px;
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: 20px;
    filter: none;
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo p {
    color: #aaa;
    line-height: 1.6;
    max-width: 400px;
}

.footer-links,
.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-links h3,
.footer-social h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.social-icons a:hover {
    background: var(--primary-color);
}

.copyright {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-buttons .login-btn {
        display: none;
        /* Hide login button on mobile or move it to menu */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .download-buttons {
        justify-content: center;
    }

    .screenshots-slider {
        flex-direction: column;
    }

    .screenshot-item.center {
        transform: scale(1);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    overflow: hidden;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
    justify-content: space-between;
}

.about-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    position: relative;
    padding: 15px;
    border: 2px dashed var(--primary);
    border-radius: 50px;
    display: inline-block;
}

.image-wrapper img {
    max-width: 100%;
    width: 280px;
    border-radius: 40px;
    box-shadow: var(--shadow);
    display: block;
}

.stats-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat h3 {
    font-size: 2rem;
    color: var(--dark);
    font-weight: 800;
}

.stat p {
    font-size: 0.9rem;
    color: #666;
}

.divider {
    width: 1px;
    height: 40px;
    background: #eee;
}

.about-content {
    flex: 1;
}

.about-content h6 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    overflow: hidden;
}

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

.testimonials-text {
    flex: 1;
    max-width: 500px;
}

.testimonials-text h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    position: relative;
    border-right: 5px solid var(--primary);
}

.user-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.user-img-placeholder {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.2rem;
}

.user-header h4 {
    margin-bottom: 2px;
}

.quote {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonials-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.testimonials-img img {
    max-width: 80%;
    animation: spin 60s linear infinite;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.2));
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive for new sections */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .about-image {
        justify-content: center;
        margin-bottom: 20px;
    }

    .stats-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -40px;
        width: 90%;
        justify-content: center;
    }

    .testimonials-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 50px;
    }

    .testimonials-img {
        justify-content: center;
    }

    .testimonials-text {
        max-width: 100%;
    }
}