/* ===== المتغيرات العامة ===== */

:root {

    --primary: #6A7F3A;

    --primary-dark: #4A5D23;

    --primary-light: #8FAA5C;

    --secondary: #2C3E2F;

    --secondary-light: #3F5A44;

    --success: #2E7D32;

    --danger: #B71C1C;

    --warning: #F1C40F;

    --info: #3498DB;

    --background: #F5F0E7;

    --text: #2C3E2F;

    --text-light: #5A6B5A;

    --gray-light: #E8E0D5;

    --gray: #D6CCBC;

    --gray-dark: #B7AA96;

    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);

    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);

    --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);

    --shadow-hover: 0 30px 60px rgba(0,0,0,0.2);

    --gradient-primary: linear-gradient(135deg, #6A7F3A, #8FAA5C);

    --gradient-dark: linear-gradient(135deg, #2C3E2F, #1F2E22);

}

/* ===== الإعدادات الأساسية ===== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

body {

    font-family: 'Cairo', sans-serif;

    background: var(--background);

    color: var(--text);

    transition: all 0.3s ease;

    overflow-x: hidden;

}

body.dark-mode {

    --background: #1A2A1A;

    --text: #E8E0D5;

    --text-light: #B7AA96;

    --gray-light: #2A3A2A;

    --gray: #3A4A3A;

    --gray-dark: #4A5A4A;

}

/* ===== شاشة التحميل ===== */

.loading-screen {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: var(--gradient-dark);

    z-index: 10002;

    display: flex;

    justify-content: center;

    align-items: center;

    transition: opacity 0.5s;

}

.loading-screen.hide {

    opacity: 0;

    visibility: hidden;

}

.loader {

    text-align: center;

    max-width: 800px;

    padding: 0 20px;

}

.loader-logo-img {

    width: 250px !important;

    height: 250px !important;

    border-radius: 50%;

    object-fit: cover;

    border: 8px solid var(--primary-light);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

    animation: pulse 2s infinite ease-in-out, fadeInDown 1s ease;

    margin-bottom: 30px;

    display: block;

    margin-left: auto;

    margin-right: auto;

}

.welcome-header {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    margin-bottom: 15px;

    animation: fadeInUp 1s ease;

}

.welcome-arabic {

    font-family: 'El Messiri', sans-serif;

    font-weight: 500;

    font-size: 2rem;

    color: var(--primary-light);

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);

    letter-spacing: 1px;

}

.welcome-english {

    font-family: 'Poppins', sans-serif;

    font-weight: 300;

    font-size: 1.2rem;

    color: rgba(255, 255, 255, 0.7);

    letter-spacing: 4px;

    text-transform: uppercase;

}

.loader-text-messiri {

    font-family: 'El Messiri', sans-serif;

    font-weight: 700;

    font-size: 5.5rem;

    background: linear-gradient(135deg, #ffffff, var(--primary-light), #FFD700);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    margin: 15px 0;

    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);

    letter-spacing: 4px;

    line-height: 1.2;

    animation: fadeInUp 1s ease 0.2s both;

}

.tagline {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    margin-bottom: 30px;

    animation: fadeInUp 1s ease 0.4s both;

}

.tagline-arabic {

    font-family: 'Tajawal', sans-serif;

    font-weight: 400;

    font-size: 1.4rem;

    color: rgba(255, 255, 255, 0.9);

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);

    letter-spacing: 0.5px;

}

.tagline-english {

    font-family: 'Poppins', sans-serif;

    font-weight: 300;

    font-size: 1rem;

    color: rgba(255, 255, 255, 0.7);

    letter-spacing: 1px;

    font-style: italic;

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    padding-top: 8px;

}

.loader-bar {

    width: 400px;

    height: 6px;

    background: rgba(255,255,255,0.2);

    border-radius: 3px;

    overflow: hidden;

    margin: 0 auto;

    animation: fadeInUp 1s ease 0.6s both;

}

.loader-bar::after {

    content: '';

    display: block;

    width: 50%;

    height: 100%;

    background: var(--gradient-primary);

    animation: loading 1.5s infinite;

    border-radius: 3px;

}

/* ===== Animations ===== */

@keyframes pulse {

    0% {

        transform: scale(1);

        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

    }

    50% {

        transform: scale(1.1);

        box-shadow: 0 30px 70px rgba(143, 170, 92, 0.7);

        border-color: white;

    }

    100% {

        transform: scale(1);

        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

    }

}

@keyframes fadeInDown {

    from {

        opacity: 0;

        transform: translateY(-30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

@keyframes loading {

    0% { transform: translateX(-100%); }

    100% { transform: translateX(200%); }

}

@keyframes slideInRight {

    from {

        opacity: 0;

        transform: translateX(50px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}

@keyframes slideInLeft {

    from {

        transform: translateX(-100%);

    }

    to {

        transform: translateX(0);

    }

}

@keyframes modalSlideIn {

    from {

        opacity: 0;

        transform: translateY(-50px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/* ===== Header ===== */

header {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    z-index: 1000;

    background: rgba(44, 62, 47, 0.98);

    backdrop-filter: blur(8px);

    padding: 5px 0;

    transition: all 0.3s ease;

    border-bottom: 3px solid var(--primary-light);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);

}

.header-content {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo {

    display: flex;

    align-items: center;

    position: relative;

}

.logo-img {

    width: 120px !important;

    height: 120px !important;

    border-radius: 50%;

    object-fit: cover;

    border: 5px solid var(--primary-light);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);

    transition: transform 0.4s ease, box-shadow 0.4s ease;

    display: block;

}

.logo-img:hover {

    transform: scale(1.15) rotate(5deg);

    box-shadow: 0 15px 35px rgba(143, 170, 92, 0.6);

    border-color: white;

}

.nav-links {

    display: flex;

    gap: 35px;

}

.nav-links a {

    color: rgba(255, 255, 255, 0.9);

    text-decoration: none;

    font-weight: 600;

    font-size: 1.15rem;

    cursor: pointer;

    position: relative;

    padding: 8px 0;

    transition: color 0.3s ease;

    white-space: nowrap;

}

.nav-links a::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0;

    height: 3px;

    background: var(--primary-light);

    transition: width 0.3s ease;

}

.nav-links a:hover {

    color: white;

}

.nav-links a:hover::after,

.nav-links a.active::after {

    width: 100%;

}

.header-actions {

    display: flex;

    gap: 15px;

    align-items: center;

}

.theme-toggle,

.cart-toggle {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    cursor: pointer;

    transition: all 0.3s ease;

    position: relative;

    backdrop-filter: blur(5px);

    border: 1px solid rgba(255, 255, 255, 0.15);

    font-size: 1.3rem;

}

.theme-toggle:hover,

.cart-toggle:hover {

    background: var(--primary);

    transform: rotate(360deg) scale(1.1);

    border-color: transparent;

    box-shadow: 0 5px 20px rgba(143, 170, 92, 0.4);

}

.cart-count {

    position: absolute;

    top: -5px;

    right: -5px;

    background: var(--danger);

    color: white;

    width: 24px;

    height: 24px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 0.8rem;

    font-weight: bold;

    border: 2px solid var(--secondary);

}

.auth-buttons {

    display: flex;

    gap: 10px;

}

.google-btn {

    background: white;

    border: none;

    border-radius: 30px;

    padding: 10px 20px;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 10px;

    font-family: 'Cairo', sans-serif;

    font-size: 1rem;

    transition: all 0.3s ease;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    border: 1px solid #ddd;

}

.google-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

    background: var(--primary-light);

    color: white;

    border-color: var(--primary-light);

}

.google-btn:hover i {

    color: white;

}

.google-btn i {

    color: #DB4437;

}

.google-btn span {

    color: #444;

}

.google-btn:hover span {

    color: white;

}

.user-info {

    display: none;

    align-items: center;

    gap: 12px;

    background: rgba(255, 255, 255, 0.1);

    padding: 5px 20px 5px 5px;

    border-radius: 50px;

    backdrop-filter: blur(5px);

    border: 1px solid rgba(255, 255, 255, 0.2);

}

.user-info img {

    width: 38px;

    height: 38px;

    border-radius: 50%;

    border: 2px solid var(--primary);

    object-fit: cover;

}

.user-info span {

    color: white;

    font-weight: 600;

    font-size: 1rem;

}

.logout-btn {

    background: none;

    border: none;

    color: white;

    cursor: pointer;

    opacity: 0.7;

    font-size: 1.1rem;

    transition: all 0.3s ease;

    width: 35px;

    height: 35px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

}

.logout-btn:hover {

    opacity: 1;

    background: rgba(255, 255, 255, 0.15);

    transform: scale(1.1);

    color: var(--danger);

}

/* ===== Hero Section ===== */

.hero {

    height: 100vh;

    background: linear-gradient(135deg, rgba(44,62,47,0.9), rgba(26,46,26,0.9)),

                url('https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb');

    background-size: cover;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: white;

    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.5) 100%);

}

.hero-content {

    max-width: 900px;

    padding: 0 20px;

    position: relative;

    z-index: 1;

}

.hero-title {

    font-family: 'Tajawal', sans-serif;

    font-weight: 700;

    font-size: 3.5rem;

    margin-bottom: 15px;

    color: white;

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);

    line-height: 1.4;

}

.hero-title .brand-name {

    font-family: 'Almarai', sans-serif;

    font-weight: 800;

    font-size: 4rem;

    background: linear-gradient(135deg, #fff, var(--primary-light));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    display: inline-block;

    margin-right: 5px;

}

.hero-subtitle {

    font-family: 'Tajawal', sans-serif;

    font-weight: 400;

    font-size: 1.8rem;

    color: rgba(255, 255, 255, 0.9);

    margin-bottom: 40px;

    letter-spacing: 1px;

    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);

}

.hero-buttons {

    display: flex;

    gap: 20px;

    justify-content: center;

    animation: fadeInUp 1s 0.4s both;

}

.btn {

    padding: 15px 45px;

    border-radius: 50px;

    font-weight: 700;

    border: none;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    font-family: 'Cairo', sans-serif;

    font-size: 1.1rem;

    transition: all 0.3s ease;

    position: relative;

    overflow: hidden;

}

.btn::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);

    transition: left 0.5s ease;

}

.btn:hover::before {

    left: 100%;

}

.btn-primary {

    background: var(--gradient-primary);

    color: white;

    box-shadow: 0 10px 30px rgba(106,127,58,0.3);

}

.btn-primary:hover {

    transform: translateY(-5px);

    box-shadow: 0 20px 40px rgba(106,127,58,0.4);

}

.btn-secondary {

    background: transparent;

    color: white;

    border: 2px solid rgba(255,255,255,0.5);

    backdrop-filter: blur(5px);

}

.btn-secondary:hover {

    background: white;

    color: var(--secondary);

    border-color: white;

    transform: translateY(-5px);

}

/* ===== Stats Section ===== */

.stats-section {

    padding: 80px 0;

    background: var(--gray-light);

}

.stats-grid {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 30px;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));

    gap: 30px;

}

.stat-card {

    background: white;

    padding: 40px 30px;

    border-radius: 30px;

    text-align: center;

    box-shadow: var(--shadow-sm);

    transition: all 0.3s ease;

    position: relative;

    overflow: hidden;

}

.stat-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 5px;

    background: var(--gradient-primary);

}

.stat-card:hover {

    transform: translateY(-15px);

    box-shadow: var(--shadow-lg);

}

.stat-icon {

    font-size: 3.5rem;

    color: var(--primary);

    margin-bottom: 20px;

}

.stat-number {

    font-size: 3rem;

    font-weight: 800;

    color: var(--secondary);

    margin-bottom: 10px;

}

body.dark-mode .stat-number {

    color: white;

}

.stat-label {

    color: var(--text-light);

    font-size: 1.1rem;

}

/* ===== Section Headers ===== */

.section-header {

    text-align: center;

    margin-bottom: 60px;

    padding: 0 20px;

}

.section-subtitle {

    color: var(--primary);

    font-size: 1.2rem;

    letter-spacing: 4px;

    margin-bottom: 10px;

    font-weight: 600;

}

.section-title {

    font-size: 3rem;

    font-weight: 800;

    color: var(--secondary);

    position: relative;

    display: inline-block;

}

body.dark-mode .section-title {

    color: white;

}

.section-title::after {

    content: '';

    position: absolute;

    bottom: -15px;

    left: 50%;

    transform: translateX(-50%);

    width: 100px;

    height: 4px;

    background: var(--gradient-primary);

    border-radius: 2px;

}

/* ===== Category Tabs ===== */

.category-tabs {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-bottom: 50px;

    flex-wrap: wrap;

    padding: 0 20px;

}

.category-tab {

    padding: 15px 35px;

    border-radius: 50px;

    background: white;

    border: 2px solid var(--gray);

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 1.1rem;

}

.category-tab:hover,

.category-tab.active {

    background: var(--gradient-primary);

    border-color: var(--primary);

    color: white;

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(106,127,58,0.3);

}

.category-tab i {

    color: var(--primary);

    transition: all 0.3s ease;

}

.category-tab:hover i,

.category-tab.active i {

    color: white;

}

/* ===== Menu Section ===== */

.menu-section {

    padding: 100px 0;

    max-width: 1400px;

    margin: 0 auto;

}

.menu-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(380px,1fr));

    gap: 40px;

    padding: 0 30px;

}

.menu-item {

    background: white;

    border-radius: 30px;

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition: all 0.3s ease;

    position: relative;

}

.menu-item:hover {

    transform: translateY(-15px);

    box-shadow: var(--shadow-hover);

}

.menu-item-badge {

    position: absolute;

    top: 20px;

    right: 20px;

    background: var(--gradient-primary);

    color: white;

    padding: 8px 25px;

    border-radius: 30px;

    font-size: 0.95rem;

    font-weight: 600;

    z-index: 2;

    box-shadow: 0 5px 15px rgba(106,127,58,0.3);

}

.menu-item-image {

    height: 280px;

    overflow: hidden;

    position: relative;

}

.menu-item-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.8s ease;

}

.menu-item:hover .menu-item-image img {

    transform: scale(1.2);

}

.menu-item-image::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    height: 100px;

    background: linear-gradient(to top, white, transparent);

}

.menu-item-content {

    padding: 25px;

}

.menu-item-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;

}

.menu-item-title {

    font-size: 1.5rem;

    font-weight: 700;

    color: var(--secondary);

}

.menu-item-price {

    font-size: 1.5rem;

    font-weight: 800;

    color: var(--primary);

}

.menu-item-description {

    color: var(--text-light);

    margin-bottom: 20px;

    line-height: 1.8;

    font-size: 1rem;

}

.menu-item-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.menu-item-rating {

    color: var(--warning);

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 1.1rem;

}

.add-to-cart-btn {

    background: var(--gradient-primary);

    color: white;

    border: none;

    padding: 10px 25px;

    border-radius: 30px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    gap: 8px;

    font-family: 'Cairo', sans-serif;

    font-size: 1rem;

    box-shadow: 0 5px 15px rgba(106,127,58,0.3);

}

.add-to-cart-btn:hover {

    transform: translateY(-3px) scale(1.05);

    box-shadow: 0 10px 25px rgba(106,127,58,0.4);

}

/* ===== Cart Sidebar ===== */

.cart-sidebar {

    position: fixed;

    top: 0;

    right: -500px;

    width: 500px;

    height: 100vh;

    background: white;

    box-shadow: -10px 0 50px rgba(0,0,0,0.2);

    z-index: 10001;

    transition: right 0.3s ease;

    display: flex;

    flex-direction: column;

}

body.dark-mode .cart-sidebar {

    background: #2d2d2d;

}

.cart-sidebar.open {

    right: 0;

}

.cart-header {

    padding: 30px;

    background: var(--gradient-dark);

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.cart-header h3 {

    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 1.6rem;

}

.close-cart {

    font-size: 1.8rem;

    cursor: pointer;

    transition: all 0.3s ease;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

}

.close-cart:hover {

    background: rgba(255,255,255,0.1);

    transform: rotate(90deg);

}

.cart-items {

    flex: 1;

    overflow-y: auto;

    padding: 25px;

}

.cart-item {

    display: flex;

    gap: 20px;

    padding: 20px;

    background: var(--gray-light);

    border-radius: 20px;

    margin-bottom: 15px;

    position: relative;

    animation: slideInRight 0.3s ease;

}

.cart-item-image {

    width: 90px;

    height: 90px;

    border-radius: 15px;

    object-fit: cover;

}

.cart-item-info {

    flex: 1;

}

.cart-item-title {

    font-weight: 700;

    margin-bottom: 5px;

    font-size: 1.2rem;

}

.cart-item-price {

    color: var(--primary);

    font-weight: 700;

    margin-bottom: 10px;

    font-size: 1.2rem;

}

.cart-item-quantity {

    display: flex;

    align-items: center;

    gap: 15px;

}

.cart-item-quantity button {

    width: 30px;

    height: 30px;

    border-radius: 50%;

    border: none;

    background: var(--gradient-primary);

    color: white;

    cursor: pointer;

    transition: all 0.3s ease;

    font-weight: 700;

}

.cart-item-quantity button:hover {

    transform: scale(1.1);

}

.cart-item-remove {

    position: absolute;

    top: 15px;

    left: 15px;

    color: var(--danger);

    cursor: pointer;

    transition: all 0.3s ease;

    font-size: 1.2rem;

}

.cart-item-remove:hover {

    transform: scale(1.2);

    color: #c0392b;

}

.cart-footer {

    padding: 30px;

    background: var(--gray-light);

}

.customer-input {

    width: 100%;

    padding: 15px 20px;

    border: 2px solid var(--gray);

    border-radius: 15px;

    margin-bottom: 15px;

    font-family: inherit;

    transition: all 0.3s ease;

}

.customer-input:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(106,127,58,0.1);

    outline: none;

}

.location-input-container {

    position: relative;

    margin-bottom: 10px;

}

.location-btn {

    position: absolute;

    left: 5px;

    top: 50%;

    transform: translateY(-50%);

    background: var(--primary);

    border: none;

    width: 35px;

    height: 35px;

    border-radius: 50%;

    color: white;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.3s ease;

}

.location-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-50%) scale(1.1);

}

.location-status {

    font-size: 0.9rem;

    margin-bottom: 10px;

    color: var(--primary);

    display: none;

}

.payment-methods {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 15px;

    margin-bottom: 25px;

}

.payment-method {

    padding: 15px;

    border: 2px solid var(--gray);

    border-radius: 15px;

    text-align: center;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    font-weight: 600;

}

.payment-method:hover,

.payment-method.selected {

    border-color: var(--primary);

    background: var(--gradient-primary);

    color: white;

}

.cart-total {

    display: flex;

    justify-content: space-between;

    font-size: 1.4rem;

    font-weight: 700;

    margin-bottom: 25px;

    padding-top: 20px;

    border-top: 3px dashed var(--gray);

}

.checkout-btn {

    width: 100%;

    padding: 18px;

    background: var(--gradient-primary);

    color: white;

    border: none;

    border-radius: 15px;

    font-weight: 700;

    font-size: 1.2rem;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    font-family: 'Cairo', sans-serif;

}

.checkout-btn:hover:not(:disabled) {

    transform: translateY(-5px);

    box-shadow: 0 15px 40px rgba(106,127,58,0.4);

}

.checkout-btn.reorder-btn {

    margin-top: 10px;

    background: var(--secondary);

}

.checkout-btn.reorder-btn:hover {

    background: var(--secondary-light);

}

.reward-input-container {

    margin: 15px 0;

}

.reward-btn {

    width: 100%;

    margin-top: 10px;

    padding: 12px;

    font-size: 1rem;

}

/* ===== Offers Section ===== */

.offers-section {

    padding: 100px 0;

    background: var(--gradient-dark);

    color: white;

    position: relative;

}

.offers-grid {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 30px;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(350px,1fr));

    gap: 30px;

}

.offer-card {

    background: rgba(255,255,255,0.1);

    backdrop-filter: blur(10px);

    padding: 40px;

    border-radius: 30px;

    text-align: center;

    border: 1px solid rgba(255,255,255,0.2);

    transition: all 0.3s ease;

    cursor: pointer;

}

.offer-card:hover {

    transform: translateY(-15px) scale(1.02);

    background: rgba(255,255,255,0.15);

    border-color: var(--primary);

}

.offer-icon {

    font-size: 4rem;

    color: var(--primary);

    margin-bottom: 25px;

}

.offer-title {

    font-size: 1.8rem;

    font-weight: 700;

    margin-bottom: 20px;

}

.offer-description {

    margin-bottom: 25px;

    opacity: 0.9;

    font-size: 1.1rem;

    line-height: 1.6;

}

.offer-code {

    background: rgba(255,255,255,0.15);

    padding: 12px 25px;

    border-radius: 50px;

    display: inline-block;

    font-weight: 600;

    border: 2px dashed var(--primary);

    font-size: 1.2rem;

    letter-spacing: 1px;

}

/* ===== Loyalty Section ===== */

.loyalty-section {

    padding: 100px 0;

    background: var(--gray-light);

}

.loyalty-container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 30px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}

.loyalty-content h2 {

    font-size: 3rem;

    margin-bottom: 25px;

    color: var(--secondary);

}

body.dark-mode .loyalty-content h2 {

    color: white;

}

.loyalty-content p {

    font-size: 1.3rem;

    margin-bottom: 40px;

    color: var(--text-light);

    line-height: 1.8;

}

.loyalty-features {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 25px;

}

.loyalty-feature {

    display: flex;

    align-items: center;

    gap: 15px;

    font-weight: 600;

    font-size: 1.1rem;

}

.loyalty-feature i {

    font-size: 1.8rem;

    color: var(--primary);

}

.loyalty-card {

    background: white;

    padding: 40px;

    border-radius: 30px;

    box-shadow: var(--shadow-lg);

    transition: all 0.3s ease;

}

.loyalty-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-hover);

}

.loyalty-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;

    padding-bottom: 25px;

    border-bottom: 3px dashed var(--gray);

}

.loyalty-points {

    font-size: 3rem;

    font-weight: 800;

    color: var(--primary);

}

.loyalty-progress {

    height: 15px;

    background: var(--gray);

    border-radius: 10px;

    margin: 25px 0;

    overflow: hidden;

}

.loyalty-progress-bar {

    height: 100%;

    background: var(--gradient-primary);

    width: 0%;

    transition: width 0.5s ease;

}

#nextReward {

    margin-bottom: 20px;

    font-size: 1rem;

    color: var(--primary);

    padding: 8px 15px;

    background: rgba(106,127,58,0.1);

    border-radius: 50px;

    display: inline-block;

    transition: all 0.3s ease;

}

#nextReward:hover {

    background: var(--primary);

    color: white;

}

.loyalty-rewards {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 15px;

    margin-top: 30px;

}

.loyalty-reward {

    padding: 20px;

    background: var(--gray-light);

    border-radius: 20px;

    text-align: center;

    cursor: pointer;

    transition: all 0.3s ease;

}

.loyalty-reward:hover {

    background: var(--gradient-primary);

    color: white;

    transform: translateY(-5px);

}

.loyalty-reward strong {

    font-size: 1.3rem;

    display: block;

    margin-bottom: 10px;

}

/* ===== Reviews Section ===== */

.reviews-section {

    padding: 100px 0;

    background: white;

}

body.dark-mode .reviews-section {

    background: var(--background);

}

.reviews-grid {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 30px;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(350px,1fr));

    gap: 30px;

}

.review-card {

    background: var(--gray-light);

    padding: 35px;

    border-radius: 25px;

    box-shadow: var(--shadow-sm);

    transition: all 0.3s ease;

}

.review-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

}

.review-stars {

    color: var(--warning);

    font-size: 1.4rem;

    margin-bottom: 20px;

}

.review-text {

    color: var(--text-light);

    line-height: 1.9;

    margin-bottom: 25px;

    font-size: 1.1rem;

}

.review-author {

    font-weight: 700;

    margin-bottom: 5px;

    font-size: 1.2rem;

}

.review-date {

    color: #999;

    font-size: 0.95rem;

}

.review-actions {

    display: flex;

    gap: 20px;

    margin-top: 20px;

    padding-top: 20px;

    border-top: 2px solid var(--gray);

}

.review-helpful,

.review-report {

    color: #999;

    cursor: pointer;

    transition: all 0.3s ease;

    font-size: 0.95rem;

    display: flex;

    align-items: center;

    gap: 5px;

}

.review-helpful:hover {

    color: var(--success);

}

.review-report:hover {

    color: var(--danger);

}

/* ===== Reservation Section ===== */

.reservation-section {

    padding: 100px 0;

    background: var(--gradient-dark);

    color: white;

}

.reservation-container {

    max-width: 1300px;

    margin: 0 auto;

    padding: 0 30px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

}

.reservation-info h2 {

    font-size: 3rem;

    margin-bottom: 25px;

}

.reservation-info p {

    font-size: 1.2rem;

    line-height: 1.9;

    margin-bottom: 40px;

    opacity: 0.9;

}

.reservation-features {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 25px;

}

.feature {

    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 1.1rem;

}

.feature i {

    color: var(--primary);

    font-size: 1.5rem;

}

.reservation-form {

    background: white;

    padding: 45px;

    border-radius: 30px;

    color: var(--text);

    box-shadow: var(--shadow-lg);

}

.form-input,

.form-select,

.form-textarea {

    width: 100%;

    padding: 15px 20px;

    border: 2px solid var(--gray);

    border-radius: 15px;

    margin-bottom: 20px;

    font-family: inherit;

    transition: all 0.3s ease;

    font-size: 1rem;

}

.form-input:focus,

.form-select:focus,

.form-textarea:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 4px rgba(106,127,58,0.1);

    outline: none;

}

.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}

/* ===== Contact Section ===== */

.contact-section {

    padding: 100px 0;

    background: var(--background);

}

.contact-grid {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 30px;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));

    gap: 30px;

}

.contact-card {

    background: white;

    padding: 40px;

    border-radius: 25px;

    text-align: center;

    box-shadow: var(--shadow-sm);

    transition: all 0.3s ease;

}

.contact-card:hover {

    transform: translateY(-15px);

    box-shadow: var(--shadow-lg);

}

.contact-icon {

    width: 90px;

    height: 90px;

    background: rgba(106,127,58,0.1);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 25px;

    font-size: 2.5rem;

    color: var(--primary);

    transition: all 0.3s ease;

}

.contact-card:hover .contact-icon {

    background: var(--gradient-primary);

    color: white;

    transform: rotateY(360deg);

}

.contact-card h3 {

    margin-bottom: 20px;

    font-size: 1.5rem;

}

.contact-card p {

    color: var(--text-light);

    line-height: 1.9;

    font-size: 1.1rem;

}

.social-links {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-top: 25px;

}

.social-links a,

.footer-social a {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: var(--gray-light);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--secondary);

    transition: all 0.3s ease;

    font-size: 1.2rem;

    text-decoration: none;

    position: relative;

    overflow: hidden;

}

.social-links a:hover,

.footer-social a:hover {

    transform: translateY(-5px) scale(1.1);

}

.social-links a::before,

.footer-social a::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);

    transition: left 0.5s ease;

}

.social-links a:hover::before,

.footer-social a:hover::before {

    left: 100%;

}

.social-links a[title="فيسبوك"]:hover,

.footer-social a[title="فيسبوك"]:hover {

    background: #1877f2;

    color: white;

}

.social-links a[title="انستغرام"]:hover,

.footer-social a[title="انستغرام"]:hover {

    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);

    color: white;

}

.social-links a[title="واتساب"]:hover,

.footer-social a[title="واتساب"]:hover {

    background: #25d366;

    color: white;

}

.social-links a[title="تيك توك"]:hover,

.footer-social a[title="تيك توك"]:hover {

    background: #000000;

    color: white;

}

/* ===== Map Section ===== */

.map-section {

    height: 500px;

}

.map-section iframe {

    width: 100%;

    height: 100%;

    border: 0;

}

/* ===== Footer ===== */

footer {

    background: var(--secondary);

    color: white;

    padding: 80px 0 30px;

    position: relative;

}

.footer-content {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 30px;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));

    gap: 50px;

}

.footer-col h4 {

    color: var(--primary);

    margin-bottom: 25px;

    font-size: 1.4rem;

    position: relative;

    padding-bottom: 15px;

}

.footer-col h4::after {

    content: '';

    position: absolute;

    bottom: 0;

    right: 0;

    width: 60px;

    height: 3px;

    background: var(--gradient-primary);

    border-radius: 2px;

}

.footer-col p {

    margin-bottom: 15px;

    display: flex;

    align-items: center;

    gap: 12px;

    opacity: 0.8;

    transition: all 0.3s ease;

    font-size: 1.1rem;

}

.footer-col p:hover {

    opacity: 1;

    transform: translateX(-5px);

}

.footer-col a {

    color: white;

    text-decoration: none;

    transition: all 0.3s ease;

}

.footer-col a:hover {

    color: var(--primary);

    padding-right: 8px;

}

.footer-social {

    display: flex;

    gap: 15px;

    margin-top: 25px;

}

.footer-social a {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: rgba(255,255,255,0.1);

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.3s ease;

    font-size: 1.2rem;

}

.copyright {

    text-align: center;

    margin-top: 60px;

    padding-top: 30px;

    border-top: 2px solid rgba(255,255,255,0.1);

    opacity: 0.7;

    font-size: 1rem;

}

/* ===== Notification ===== */

.notification {

    position: fixed;

    bottom: 30px;

    right: 30px;

    background: white;

    border-radius: 15px;

    padding: 20px 25px;

    box-shadow: var(--shadow-lg);

    display: flex;

    align-items: center;

    gap: 20px;

    transform: translateX(500px);

    transition: transform 0.3s ease;

    z-index: 10003;

    border-right: 5px solid var(--success);

    min-width: 350px;

}

body.dark-mode .notification {

    background: #2d2d2d;

    color: white;

}

.notification.show {

    transform: translateX(0);

}

.notification.error {

    border-right-color: var(--danger);

}

.notification.info {

    border-right-color: var(--info);

}

.notification-icon {

    font-size: 2rem;

    color: var(--success);

}

.notification.error .notification-icon {

    color: var(--danger);

}

.notification.info .notification-icon {

    color: var(--info);

}

.notification-content {

    flex: 1;

}

.notification-title {

    font-weight: 700;

    margin-bottom: 5px;

    font-size: 1.2rem;

}

.notification-message {

    color: var(--text-light);

    font-size: 0.95rem;

}

.notification-close {

    color: #999;

    cursor: pointer;

    transition: all 0.3s ease;

    font-size: 1.2rem;

}

.notification-close:hover {

    color: var(--danger);

    transform: scale(1.2);

}

/* ===== Modals ===== */

.modal {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0,0,0,0.9);

    backdrop-filter: blur(10px);

    z-index: 10004;

    align-items: center;

    justify-content: center;

}

.modal.active {

    display: flex;

}

.modal-content {

    background: white;

    width: 90%;

    max-width: 550px;

    border-radius: 30px;

    padding: 40px;

    position: relative;

    animation: modalSlideIn 0.4s ease;

}

.modal-content.modal-lg {

    max-width: 800px;

}

.close-modal {

    position: absolute;

    top: 20px;

    right: 20px;

    font-size: 1.8rem;

    cursor: pointer;

    transition: all 0.3s ease;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

}

.close-modal:hover {

    background: var(--danger);

    color: white;

    transform: rotate(90deg);

}

.modal-title {

    font-size: 2rem;

    margin-bottom: 25px;

    color: var(--secondary);

}

.modal-body {

    max-height: 400px;

    overflow-y: auto;

    padding: 10px 0;

}

.modal-body.scrollable {

    max-height: 400px;

    overflow-y: auto;

}

.rating-stars {

    display: flex;

    gap: 10px;

    justify-content: center;

    font-size: 2rem;

    color: var(--warning);

    margin-bottom: 20px;

}

.rating-stars i {

    cursor: pointer;

    transition: all 0.3s ease;

}

.rating-stars i:hover {

    transform: scale(1.2);

}

.faq-item {

    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom: 1px solid var(--gray);

}

.faq-item h4 {

    color: var(--primary);

    margin-bottom: 8px;

}

.modal-actions {

    display: flex;

    gap: 15px;

    margin-top: 30px;

}

.modal-btn {

    flex: 1;

    padding: 15px;

    border: none;

    border-radius: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    font-size: 1.1rem;

}

.modal-btn-confirm {

    background: var(--gradient-primary);

    color: white;

}

.modal-btn-cancel {

    background: var(--gray);

}

.modal-btn-confirm:hover,

.modal-btn-cancel:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

}

/* ===== Admin Panel ===== */

.admin-panel {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    width: 600px;

    height: 100vh;

    background: white;

    box-shadow: 5px 0 50px rgba(0,0,0,0.2);

    z-index: 10001;

    padding: 25px;

    overflow-y: auto;

    transition: all 0.3s ease;

}

body.dark-mode .admin-panel {

    background: #2d2d2d;

    color: white;

}

.admin-panel.open {

    display: block;

    animation: slideInLeft 0.3s ease;

}

.admin-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

    padding-bottom: 20px;

    border-bottom: 3px solid var(--primary);

}

.admin-header h2 {

    color: var(--primary);

    font-size: 2rem;

    display: flex;

    align-items: center;

    gap: 10px;

}

.close-admin {

    font-size: 2rem;

    cursor: pointer;

    transition: all 0.3s ease;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

}

.close-admin:hover {

    background: var(--danger);

    color: white;

    transform: rotate(90deg);

}

.admin-stats-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-bottom: 30px;

}

.admin-stat-card {

    background: var(--gradient-primary);

    padding: 25px;

    border-radius: 20px;

    text-align: center;

    transition: all 0.3s ease;

    cursor: pointer;

    color: white;

}

.admin-stat-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

}

.admin-stat-card i {

    font-size: 2.5rem;

    margin-bottom: 10px;

    color: rgba(255,255,255,0.9);

}

.admin-stat-value {

    font-size: 2rem;

    font-weight: 800;

}

.advanced-stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    margin-bottom: 20px;

}

.stat-card-advanced {

    padding: 20px;

    border-radius: 15px;

    color: white;

}

.stat-card-advanced h4 {

    margin-bottom: 10px;

    font-size: 0.95rem;

    opacity: 0.9;

}

.stat-card-advanced .stat-value {

    font-size: 1.5rem;

    font-weight: bold;

    margin-top: 5px;

}

.stat-card-advanced small {

    opacity: 0.8;

    font-size: 0.8rem;

}

.charts-section {

    margin: 20px 0;

    background: transparent;

    position: relative;

}

.charts-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;

}

.charts-header h3 {

    color: var(--secondary);

    font-size: 1.3rem;

}

.charts-header h3 i {

    color: var(--primary);

    margin-left: 8px;

}

.refresh-charts-btn {

    background: var(--primary);

    color: white;

    border: none;

    padding: 8px 15px;

    border-radius: 10px;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 5px;

    transition: all 0.3s ease;

}

.refresh-charts-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

}

.charts-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-top: 10px;

}

.chart-card {

    background: white;

    border-radius: 15px;

    padding: 20px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);

    height: 350px;

    position: relative;

}

.chart-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;

}

.chart-header h4 {

    color: var(--secondary);

    margin: 0;

}

.chart-badge {

    background: var(--gray-light);

    padding: 3px 10px;

    border-radius: 20px;

    font-size: 0.8rem;

}

.chart-container {

    height: calc(100% - 50px);

    width: 100%;

    position: relative;

}

.admin-tabs {

    display: flex;

    gap: 10px;

    margin-bottom: 30px;

    flex-wrap: wrap;

}

.admin-tab {

    padding: 12px 20px;

    background: var(--gray-light);

    border: none;

    border-radius: 15px;

    cursor: pointer;

    font-weight: 600;

    transition: all 0.3s ease;

    flex: 1;

    font-size: 0.9rem;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

}

.admin-tab:hover {

    background: var(--primary);

    color: white;

    transform: translateY(-3px);

}

.admin-tab.active {

    background: var(--gradient-primary);

    color: white;

}

.admin-tab-content {

    display: none;

}

.admin-tab-content.active {

    display: block;

}

.admin-section-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

}

.admin-add-btn {

    background: var(--success);

    color: white;

    border: none;

    padding: 10px 20px;

    border-radius: 10px;

    cursor: pointer;

    font-weight: 600;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    gap: 8px;

}

.admin-add-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);

}

.admin-form {

    background: var(--gray-light);

    padding: 25px;

    border-radius: 20px;

    margin-bottom: 30px;

}

.admin-form h4 {

    color: var(--primary);

    margin-bottom: 20px;

    font-size: 1.3rem;

}

.admin-input,

.admin-select,

.admin-textarea {

    width: 100%;

    padding: 12px 15px;

    border: 2px solid var(--gray);

    border-radius: 12px;

    font-family: inherit;

    transition: all 0.3s ease;

    margin-bottom: 15px;

}

.admin-input:focus,

.admin-select:focus,

.admin-textarea:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(106,127,58,0.1);

    outline: none;

}

.form-actions {

    display: flex;

    gap: 15px;

    margin-top: 20px;

}

.admin-save-btn,

.admin-cancel-btn {

    flex: 1;

    padding: 12px;

    border: none;

    border-radius: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

}

.admin-save-btn {

    background: var(--success);

    color: white;

}

.admin-cancel-btn {

    background: var(--danger);

    color: white;

}

.admin-save-btn:hover,

.admin-cancel-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 20px rgba(0,0,0,0.1);

}

.admin-table {

    width: 100%;

    border-collapse: collapse;

}

.admin-table th {

    background: var(--gradient-primary);

    color: white;

    padding: 15px;

    font-weight: 600;

}

.admin-table td {

    padding: 12px;

    border-bottom: 1px solid var(--gray);

}

.admin-table tr:hover {

    background: var(--gray-light);

}

.admin-controls {

    display: flex;

    gap: 5px;

    justify-content: center;

}

.admin-edit-btn,

.admin-delete-btn,

.admin-toggle-btn {

    padding: 5px 10px;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    color: white;

    transition: all 0.3s ease;

}

.admin-edit-btn {

    background: var(--warning);

}

.admin-delete-btn {

    background: var(--danger);

}

.admin-toggle-btn {

    background: var(--info);

}

.admin-edit-btn:hover,

.admin-delete-btn:hover,

.admin-toggle-btn:hover {

    transform: scale(1.1);

}

/* ===== Developer Credit ===== */

.developer-credit {

    position: fixed;

    bottom: 20px;

    left: 20px;

    background: var(--gradient-primary);

    color: white;

    padding: 12px 25px;

    border-radius: 50px;

    font-weight: 700;

    z-index: 9999;

    box-shadow: var(--shadow-lg);

    border: 2px solid rgba(255,255,255,0.3);

    font-size: 0.95rem;

    opacity: 0.8;

    transition: all 0.3s ease;

    backdrop-filter: blur(5px);

}

.developer-credit:hover {

    opacity: 1;

    transform: scale(1.05) translateY(-5px);

    box-shadow: var(--shadow-hover);

}

.developer-credit span {

    background: rgba(255,255,255,0.2);

    color: white;

    padding: 4px 10px;

    border-radius: 20px;

    margin-right: 8px;

    backdrop-filter: blur(5px);

}

/* ===== Admin Login ===== */

.admin-login-btn {

    position: fixed;

    bottom: 20px;

    right: 20px;

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: var(--secondary);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 9999;

    opacity: 0.15;

    transition: all 0.3s ease;

    border: 2px solid var(--primary);

    font-size: 1.1rem;

    box-shadow: var(--shadow-md);

}

.admin-login-btn:hover {

    opacity: 1;

    transform: scale(1.15) rotate(180deg);

    box-shadow: 0 0 30px var(--primary);

    background: var(--primary);

    color: var(--secondary);

}

.admin-login-modal {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0,0,0,0.9);

    backdrop-filter: blur(10px);

    z-index: 10000;

    display: none;

    justify-content: center;

    align-items: center;

}

.admin-login-modal.show {

    display: flex;

}

.login-box {

    background: white;

    padding: 50px;

    border-radius: 30px;

    width: 90%;

    max-width: 450px;

    text-align: center;

    animation: slideInUp 0.5s ease;

    box-shadow: var(--shadow-lg);

    border: 3px solid var(--primary);

}

.login-box h2 {

    color: var(--primary);

    margin-bottom: 30px;

    font-size: 2rem;

}

.login-input {

    width: 100%;

    padding: 15px 20px;

    border: 2px solid var(--gray);

    border-radius: 15px;

    margin-bottom: 20px;

    font-family: inherit;

    font-size: 1rem;

    transition: all 0.3s ease;

}

.login-input:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 4px rgba(106,127,58,0.1);

    outline: none;

}

.login-btn {

    width: 100%;

    padding: 15px;

    background: var(--gradient-primary);

    color: white;

    border: none;

    border-radius: 15px;

    font-weight: 700;

    font-size: 1.1rem;

    cursor: pointer;

    transition: all 0.3s ease;

}

.login-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(106,127,58,0.4);

}

.login-error {

    color: var(--danger);

    margin-top: 15px;

    display: none;

    font-weight: 600;

}

/* ===== Mode Switch ===== */

.mode-switch {

    position: fixed;

    top: 20px;

    left: 20px;

    z-index: 10000;

    background: var(--gradient-primary);

    color: white;

    padding: 12px 25px;

    border-radius: 50px;

    border: none;

    cursor: pointer;

    font-weight: 700;

    display: none;

    align-items: center;

    gap: 10px;

    font-size: 1rem;

    box-shadow: var(--shadow-lg);

    backdrop-filter: blur(5px);

}

.mode-switch.show {

    display: flex;

}

/* ===== Install PWA Button ===== */

.install-pwa-btn {

    display: none;

    position: fixed;

    bottom: 20px;

    left: 50%;

    transform: translateX(-50%);

    background: var(--gradient-primary);

    color: white;

    border: none;

    padding: 12px 25px;

    border-radius: 50px;

    font-size: 1rem;

    cursor: pointer;

    z-index: 9998;

    box-shadow: var(--shadow-lg);

    transition: all 0.3s ease;

}

.install-pwa-btn:hover {

    transform: translateX(-50%) translateY(-3px);

    box-shadow: var(--shadow-hover);

}

/* ===== Responsive Design ===== */

@media (max-width: 1200px) {

    .hero-title {

        font-size: 3rem;

    }

    .hero-title .brand-name {

        font-size: 3.5rem;

    }

    .section-title {

        font-size: 2.5rem;

    }

    .advanced-stats-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .charts-grid {

        grid-template-columns: 1fr;

    }

}

@media (max-width: 992px) {

    .nav-links {

        display: none;

    }

    .hero-title {

        font-size: 2.5rem;

    }

    .hero-title .brand-name {

        font-size: 3rem;

    }

    .hero-subtitle {

        font-size: 1.5rem;

    }

    .loyalty-container,

    .reservation-container {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    .cart-sidebar {

        width: 100%;

    }

    .admin-panel {

        width: 100%;

    }

    .logo-img {

        width: 100px !important;

        height: 100px !important;

    }

    .advanced-stats-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media (max-width: 768px) {

    .hero-buttons {

        flex-direction: column;

        gap: 15px;

    }

    .btn {

        width: 100%;

        justify-content: center;

    }

    .section-title {

        font-size: 2rem;

    }

    .section-subtitle {

        font-size: 1rem;

    }

    .form-row {

        grid-template-columns: 1fr;

    }

    .menu-grid {

        grid-template-columns: 1fr;

    }

    .loyalty-features {

        grid-template-columns: 1fr;

    }

    .developer-credit {

        bottom: 70px;

        left: 50%;

        transform: translateX(-50%);

        white-space: nowrap;

    }

    .notification {

        min-width: auto;

        width: 90%;

        right: 5%;

    }

    .header-content {

        padding: 0 15px;

    }

    .logo-img {

        width: 85px !important;

        height: 85px !important;

        border-width: 4px;

    }

    .header-actions {

        gap: 10px;

    }

    .theme-toggle,

    .cart-toggle {

        width: 40px;

        height: 40px;

        font-size: 1.1rem;

    }

    .google-btn span {

        display: none;

    }

    .google-btn {

        padding: 8px 12px;

    }

    .hero-title {

        font-size: 2rem;

    }

    .hero-title .brand-name {

        font-size: 2.5rem;

    }

    .hero-subtitle {

        font-size: 1.2rem;

    }

    .loader-text-messiri {

        font-size: 4rem;

    }

    .tagline-arabic {

        font-size: 1.2rem;

    }

    .loader-bar {

        width: 300px;

    }

    .advanced-stats-grid {

        grid-template-columns: 1fr;

    }

    .charts-header {

        flex-direction: column;

        gap: 10px;

    }

    .admin-stats-grid {

        grid-template-columns: 1fr;

    }

    .admin-tabs {

        flex-direction: column;

    }

}

@media (max-width: 480px) {

    .logo-img {

        width: 70px !important;

        height: 70px !important;

    }

    .theme-toggle,

    .cart-toggle {

        width: 35px;

        height: 35px;

        font-size: 1rem;

    }

    .hero-title {

        font-size: 1.8rem;

    }

    .hero-title .brand-name {

        font-size: 2.2rem;

    }

    .hero-subtitle {

        font-size: 1rem;

    }

    .loader-text-messiri {

        font-size: 3rem;

    }

    .tagline-arabic {

        font-size: 1rem;

    }

    .tagline-english {

        font-size: 0.8rem;

    }

    .loader-bar {

        width: 220px;

    }

    .admin-form .form-row {

        grid-template-columns: 1fr;

    }

    .admin-table {

        font-size: 0.8rem;

    }

    .modal-content {

        padding: 25px;

    }

}

@media screen and (max-width: 768px) {

    .install-pwa-btn {

        padding: 5px 10px !important;

        font-size: 0.8rem !important;

    }

    .install-pwa-btn i {

        margin-left: 5px;

    }

}