/* =========================
   RESET & BASE
========================= */

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

body {
    font-family: 'Tajawal', sans-serif;
    background: #f8fafc;
    color: #1a1a2e;
    line-height: 1.6;
    direction: rtl;
}

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

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

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

/* =========================
   HEADER DESIGN (UPDATED)
========================= */

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* الشعار في أقصى اليمين */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 38px;
    width: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: 900;
    color: #1a1a2e;
}

/* روابط التنقل في المنتصف */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    color: #4a4a6a;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    transition: width 0.3s ease;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: #e74c3c;
}

/* الجهة اليسرى: الموقع، الإشعارات، الحساب */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.location-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #1a1a2e;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    background: #f8fafc;
    transition: background 0.3s ease;
}

.location-selector:hover {
    background: #f1f5f9;
}

.location-selector i.fa-map-marker-alt {
    color: #e74c3c;
}

.notification-btn {
    position: relative;
    background: #f8fafc;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a4a6a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-btn:hover {
    background: #f1f5f9;
    color: #e74c3c;
}

.user-profile-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px 4px 4px;
    border-radius: 30px;
    transition: background 0.3s ease;
}

.user-profile-menu:hover {
    background: #f8fafc;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.user-profile-menu i {
    font-size: 12px;
    color: #6c6c8a;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1a1a2e;
    cursor: pointer;
}

/* =========================
   HERO (تم تعديل المسافات لتكون متناسقة وغير واسعة)
========================= */

.hero {
    padding: 25px 0 40px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 50%, #f8fafc 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    color: #1a1a2e;
}

.hero h1 .highlight {
    color: #e74c3c;
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(231, 76, 60, 0.2);
    border-radius: 3px;
}

.hero-description {
    font-size: 18px;
    color: #6c6c8a;
}

.hero-description .sub-text {
    font-size: 16px;
    color: #4a4a6a;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.search-box:focus-within {
    border-color: #e74c3c;
    box-shadow: 0 10px 40px rgba(231, 76, 60, 0.15);
}

.search-box i {
    color: #b0b0c8;
    font-size: 18px;
    padding: 0 15px;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    font-family: 'Tajawal', sans-serif;
    background: transparent;
    outline: none;
    color: #1a1a2e;
}

.search-box input::placeholder {
    color: #b0b0c8;
}

.btn-search {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(231, 76, 60, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 20px;
    color: #e74c3c;
}

.card-1 {
    top: 20%;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1.5s;
}

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

/* =========================
   STATS
========================= */

.stats-section {
    padding: 50px 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: #1a1a2e;
}

.stat-label {
    font-size: 14px;
    color: #6c6c8a;
}

/* =========================
   OFFERS
========================= */

.offers-section {
    padding: 70px 0;
    background: #f8fafc;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.header-left .section-badge {
    display: inline-block;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    padding: 4px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
}

.section-header h2 span {
    color: #e74c3c;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e74c3c;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-all:hover {
    gap: 12px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.offer-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.offer-card .offer-discount {
    font-size: 48px;
    font-weight: 900;
    color: #e74c3c;
    margin: 10px 0;
}

.offer-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a2e;
}

.offer-card p {
    font-size: 14px;
    color: #6c6c8a;
    margin-bottom: 20px;
}

.btn-offer {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-offer:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(231, 76, 60, 0.3);
}

.offer-card.delivery {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.offer-card.delivery .offer-discount {
    color: #22c55e;
    font-size: 40px;
}

.offer-card.delivery .btn-offer {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.offer-card.gift {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.offer-card.gift .offer-discount {
    color: #f59e0b;
}

.offer-card.gift .btn-offer {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* =========================
   RESTAURANTS
========================= */

.restaurants-section {
    padding: 70px 0;
    background: #fff;
}

.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.restaurant-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.restaurant-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.restaurant-image .rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
}

.restaurant-image .delivery-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
}

.restaurant-info {
    padding: 20px;
}

.restaurant-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 3px;
    color: #1a1a2e;
}

.restaurant-info p {
    font-size: 14px;
    color: #6c6c8a;
    margin-bottom: 15px;
}

.restaurant-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 600;
    color: #1a1a2e;
}

.btn-order {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-order:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
}

/* =========================
   APP DOWNLOAD
========================= */

.app-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
}

.app-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.app-content {
    color: #fff;
}

.app-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.app-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.app-content h2 span {
    color: #e74c3c;
}

.app-content p {
    font-size: 16px;
    color: #b0b0c8;
    margin-bottom: 30px;
}

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

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.app-btn i {
    font-size: 28px;
}

.app-btn small {
    display: block;
    font-size: 10px;
    opacity: 0.7;
}

.app-btn strong {
    font-size: 16px;
}

.app-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-mockup i {
    font-size: 80px;
    color: #e74c3c;
    display: block;
    margin-bottom: 10px;
}

.phone-mockup span {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: #0f0f1a;
    color: #b0b0c8;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 35px;
    width: auto;
}

.footer-logo span {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.footer-col.brand p {
    font-size: 14px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #b0b0c8;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #e74c3c;
    color: #fff;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #b0b0c8;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #e74c3c;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.contact-info li i {
    color: #e74c3c;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #6c6c8a;
}

/* =========================
   ORANGE LOGIN BUTTON (تم تضمينه وتصحيحه هنا)
========================= */

.btn-login-orange {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.25);
    text-decoration: none;
}

.btn-login-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: #fff !important;
}

.btn-login-orange i {
    font-size: 13px;
    color: #fff !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-badge {
        align-self: center;
    }

    .search-box {
        width: 100%;
    }

    .floating-card {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .restaurants-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .restaurants-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .search-box {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 10px;
    }

    .search-box i {
        display: none;
    }

    .search-box input {
        background: #fff;
        border-radius: 50px;
        padding: 15px 20px;
        width: 100%;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    }

    .btn-search {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .contact-info li {
        justify-content: center;
    }

    .app-buttons {
        flex-direction: column;
        width: 100%;
    }

    .app-btn {
        justify-content: center;
    }

    .app-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .hero {
        padding: 20px 0;
    }

    .offers-section,
    .restaurants-section,
    .app-section {
        padding: 40px 0;
    }

    .offer-card {
        padding: 25px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-number {
        font-size: 20px;
    }
}
/* =========================
   CATEGORY BADGE على بطاقات المتاجر
========================= */
.restaurant-image .category-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* =========================
   CATEGORIES - مربعات صغيرة
========================= */
.categories-grid-section {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.category-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    background: #f8fafc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    min-height: 70px;
}

.category-box:hover {
    background: #fff;
    border-color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231,76,60,0.08);
}

.category-box .cat-emoji {
    font-size: 22px;
    display: block;
    margin-bottom: 4px;
}

.category-box .cat-label {
    font-size: 11px;
    font-weight: 600;
    color: #4a4a6a;
    text-align: center;
    line-height: 1.3;
}

.category-box:hover .cat-label {
    color: #e74c3c;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .category-box {
        min-height: 60px;
        padding: 8px 4px;
    }
    
    .category-box .cat-emoji {
        font-size: 18px;
    }
    
    .category-box .cat-label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .category-box {
        min-height: 55px;
        padding: 6px 3px;
        border-radius: 8px;
    }
    
    .category-box .cat-emoji {
        font-size: 16px;
    }
    
    .category-box .cat-label {
        font-size: 9px;
    }
}

/* =========================
   الألوان الجديدة - بدل الأبيض
========================= */

/* تغيير خلفية الصفحة الرئيسية */
body {
    background: #fdf6ed !important;  /* بيج فاتح دافئ */
}

/* تغيير خلفية الهيدر */
.header {
    background: rgba(255, 248, 240, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(210, 180, 140, 0.2) !important;
}

/* تغيير خلفية الـ Hero */
.hero {
    background: linear-gradient(135deg, #fdf6ed 0%, #faf0e6 50%, #f5e6d3 100%) !important;
}

/* تغيير خلفية البطاقات */
.hero-badge {
    background: rgba(193, 154, 107, 0.15) !important;
    color: #8B6B4A !important;
}

/* تغيير خلفية مربعات التصنيفات */
.category-box {
    background: #faf0e6 !important;
    border-color: rgba(193, 154, 107, 0.15) !important;
}

.category-box:hover {
    background: #fff8f0 !important;
    border-color: #c19a6b !important;
}

.category-box .cat-label {
    color: #6b5a4a !important;
}

.category-box:hover .cat-label {
    color: #8B6B4A !important;
}

/* تغيير خلفية المتاجر */
.restaurant-card {
    background: #fffaf5 !important;
    border-color: rgba(193, 154, 107, 0.1) !important;
}

.restaurant-card:hover {
    border-color: #c19a6b !important;
}

/* تغيير خلفية العروض */
.offer-card {
    background: #fffaf5 !important;
}

.offer-card.delivery {
    background: linear-gradient(135deg, #f5f0e8, #ede5d8) !important;
}

.offer-card.gift {
    background: linear-gradient(135deg, #f5ede8, #ede0d5) !important;
}

/* تغيير خلفية الإحصائيات */
.stat-item {
    background: #faf0e6 !important;
}

.stat-item:hover {
    background: #fff8f0 !important;
}

/* تغيير خلفية التطبيق */
.app-section {
    background: linear-gradient(135deg, #2d241a, #1a1410) !important;
}

/* تغيير خلفية الفوتر */
.footer {
    background: #1a1410 !important;
}

/* تغيير خلفية مربع البحث */
.search-box {
    background: #fffaf5 !important;
    border-color: rgba(193, 154, 107, 0.2) !important;
}

.search-box:focus-within {
    border-color: #c19a6b !important;
    box-shadow: 0 10px 40px rgba(193, 154, 107, 0.15) !important;
}

/* تغيير لون النصوص البارزة */
.hero h1 .highlight {
    color: #8B6B4A !important;
}

.hero h1 .highlight::after {
    background: rgba(193, 154, 107, 0.2) !important;
}

.section-header h2 span {
    color: #8B6B4A !important;
}

/* تغيير لون الشارة */
.section-badge {
    background: rgba(193, 154, 107, 0.1) !important;
    color: #8B6B4A !important;
}

/* تغيير لون زر "عرض الكل" */
.view-all {
    color: #8B6B4A !important;
}

/* تغيير لون خلفية الأوفيرات */
.offers-section {
    background: #faf0e6 !important;
}

.restaurants-section {
    background: #fdf6ed !important;
}

.stats-section {
    background: #faf0e6 !important;
}

/* تغيير لون البطاقات العائمة */
.floating-card {
    background: rgba(255, 248, 240, 0.95) !important;
}

.floating-card i {
    color: #8B6B4A !important;
}

/* =========================
   لون مميز للعناصر التفاعلية
========================= */
.btn-login {
    background: linear-gradient(135deg, #8B6B4A, #6b4f3a) !important;
}

.btn-login:hover {
    box-shadow: 0 5px 20px rgba(139, 107, 74, 0.3) !important;
}

.btn-search {
    background: linear-gradient(135deg, #8B6B4A, #6b4f3a) !important;
}

.btn-search:hover {
    box-shadow: 0 5px 25px rgba(139, 107, 74, 0.3) !important;
}

.btn-offer {
    background: linear-gradient(135deg, #8B6B4A, #6b4f3a) !important;
}

.btn-offer:hover {
    box-shadow: 0 5px 25px rgba(139, 107, 74, 0.3) !important;
}

.btn-order {
    background: linear-gradient(135deg, #8B6B4A, #6b4f3a) !important;
}

.btn-order:hover {
    box-shadow: 0 5px 20px rgba(139, 107, 74, 0.3) !important;
}

.offer-card.delivery .btn-offer {
    background: linear-gradient(135deg, #6b8f5e, #4a6b3a) !important;
}

.offer-card.gift .btn-offer {
    background: linear-gradient(135deg, #c49a6b, #a87a4a) !important;
}

/* =========================
   لون خلفية الصفحات الأخرى
========================= */
.auth-wrapper {
    background: linear-gradient(135deg, #fdf6ed 0%, #faf0e6 100%) !important;
}

.auth-card {
    background: #fffaf5 !important;
}

.form-control {
    border-color: rgba(193, 154, 107, 0.2) !important;
}

.form-control:focus {
    border-color: #c19a6b !important;
    box-shadow: 0 0 0 3px rgba(193, 154, 107, 0.1) !important;
}

.btn-submit {
    background: linear-gradient(135deg, #8B6B4A, #6b4f3a) !important;
}

.btn-submit:hover {
    box-shadow: 0 5px 20px rgba(139, 107, 74, 0.3) !important;
}

/* =========================
   الألوان البنفسجية الباردة - بدل البيج
========================= */

:root {
    --primary: #6C4FC7;
    --primary-light: #8B6FE8;
    --primary-dark: #4A2D8A;
    --primary-bg: #F0EDFA;
    --primary-card: #F8F6FF;
    --primary-hover: #5A3DB0;
}

/* تغيير خلفية الصفحة الرئيسية */
body {
    background: #F5F2FF !important;
}

/* تغيير خلفية الهيدر */
.header {
    background: rgba(245, 242, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(108, 79, 199, 0.1) !important;
}

/* تغيير خلفية الـ Hero */
.hero {
    background: linear-gradient(135deg, #F5F2FF 0%, #EBE6FF 50%, #E0DAF5 100%) !important;
}

/* تغيير خلفية البطاقات */
.hero-badge {
    background: rgba(108, 79, 199, 0.1) !important;
    color: #6C4FC7 !important;
}

/* تغيير خلفية مربعات التصنيفات */
.category-box {
    background: #F0EDFA !important;
    border-color: rgba(108, 79, 199, 0.1) !important;
}

.category-box:hover {
    background: #F8F6FF !important;
    border-color: #6C4FC7 !important;
}

.category-box .cat-label {
    color: #4A3D6B !important;
}

.category-box:hover .cat-label {
    color: #6C4FC7 !important;
}

/* تغيير خلفية المتاجر */
.restaurant-card {
    background: #F8F6FF !important;
    border-color: rgba(108, 79, 199, 0.08) !important;
}

.restaurant-card:hover {
    border-color: #6C4FC7 !important;
}

/* تغيير خلفية العروض */
.offers-section {
    background: #F5F2FF !important;
}

.offer-card {
    background: #F8F6FF !important;
}

.offer-card.delivery {
    background: linear-gradient(135deg, #F0EDFA, #E8E3F5) !important;
}

.offer-card.gift {
    background: linear-gradient(135deg, #F0EDFA, #E5DDF5) !important;
}

/* تغيير خلفية الإحصائيات */
.stats-section {
    background: #F8F6FF !important;
}

.stat-item {
    background: #F0EDFA !important;
}

.stat-item:hover {
    background: #F8F6FF !important;
}

/* تغيير خلفية التطبيق */
.app-section {
    background: linear-gradient(135deg, #2D1B4A, #1A0F2D) !important;
}

/* تغيير خلفية الفوتر */
.footer {
    background: #1A0F2D !important;
}

/* تغيير خلفية مربع البحث */
.search-box {
    background: #F8F6FF !important;
    border-color: rgba(108, 79, 199, 0.15) !important;
}

.search-box:focus-within {
    border-color: #6C4FC7 !important;
    box-shadow: 0 10px 40px rgba(108, 79, 199, 0.12) !important;
}

/* تغيير لون النصوص البارزة */
.hero h1 .highlight {
    color: #6C4FC7 !important;
}

.hero h1 .highlight::after {
    background: rgba(108, 79, 199, 0.15) !important;
}

.section-header h2 span {
    color: #6C4FC7 !important;
}

/* تغيير لون الشارة */
.section-badge {
    background: rgba(108, 79, 199, 0.1) !important;
    color: #6C4FC7 !important;
}

/* تغيير لون زر "عرض الكل" */
.view-all {
    color: #6C4FC7 !important;
}

/* تغيير خلفية الأوفيرات */
.restaurants-section {
    background: #F5F2FF !important;
}

/* تغيير لون البطاقات العائمة */
.floating-card {
    background: rgba(248, 246, 255, 0.95) !important;
}

.floating-card i {
    color: #6C4FC7 !important;
}

/* =========================
   لون مميز للعناصر التفاعلية
========================= */
.btn-login {
    background: linear-gradient(135deg, #6C4FC7, #4A2D8A) !important;
}

.btn-login:hover {
    box-shadow: 0 5px 20px rgba(108, 79, 199, 0.3) !important;
}

.btn-search {
    background: linear-gradient(135deg, #6C4FC7, #4A2D8A) !important;
}

.btn-search:hover {
    box-shadow: 0 5px 25px rgba(108, 79, 199, 0.3) !important;
}

.btn-offer {
    background: linear-gradient(135deg, #6C4FC7, #4A2D8A) !important;
}

.btn-offer:hover {
    box-shadow: 0 5px 25px rgba(108, 79, 199, 0.3) !important;
}

.btn-order {
    background: linear-gradient(135deg, #6C4FC7, #4A2D8A) !important;
}

.btn-order:hover {
    box-shadow: 0 5px 20px rgba(108, 79, 199, 0.3) !important;
}

.offer-card.delivery .btn-offer {
    background: linear-gradient(135deg, #5A8F5A, #3A6B3A) !important;
}

.offer-card.gift .btn-offer {
    background: linear-gradient(135deg, #D4A84A, #B88A2A) !important;
}

/* =========================
   لون خلفية الصفحات الأخرى
========================= */
.auth-wrapper {
    background: linear-gradient(135deg, #F5F2FF 0%, #EBE6FF 100%) !important;
}

.auth-card {
    background: #F8F6FF !important;
}

.form-control {
    border-color: rgba(108, 79, 199, 0.15) !important;
}

.form-control:focus {
    border-color: #6C4FC7 !important;
    box-shadow: 0 0 0 3px rgba(108, 79, 199, 0.1) !important;
}

.btn-submit {
    background: linear-gradient(135deg, #6C4FC7, #4A2D8A) !important;
}

.btn-submit:hover {
    box-shadow: 0 5px 20px rgba(108, 79, 199, 0.3) !important;
}

/* =========================
   تنسيق اسم الموقع في الهيدر
========================= */
.logo-text {
    font-size: 24px;
    font-weight: 900;
    color: #1a1a2e;
}

.logo-text span {
    color: #6C4FC7;
}
