:root {
    --primary-color: #f3672c;
    --primary-dark: #d45a25;
    --secondary-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --white-color: #fff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--light-color);
}

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

/* Header Styles */
header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optional for parallax effect */
    color: var(--white-color);
    padding: 100px 0;
    text-align: center;
    min-height: 100vh; /* Ensures full viewport height */
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

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

/* Menu Section */
.section-title {
    text-align: center;
    margin: 50px 0 30px;
    font-size: 32px;
    color: var(--secondary-color);
}

/* Update category buttons to match menu page */
.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 10px;
}

.category-btn {
    margin: 0;
    padding: 8px 15px;
    background-color: var(--white-color);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.category-btn:hover, 
.category-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.menu-item {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    padding: 20px;
}

.menu-item-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.menu-item-desc {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 14px;
}

.menu-item-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    padding: 8px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: var(--primary-dark);
}

/* Cart Page */
.cart-container {
    max-width: 800px;
    margin: 50px auto;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cart-title {
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary-color);
}

.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
    padding: 0 20px;
}

.cart-item-title {
    font-weight: 600;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.quantity-control {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.quantity-input {
    width: 50px;
    height: 30px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
}

.remove-item {
    color: var(--gray-color);
    cursor: pointer;
    margin-left: 20px;
}

.remove-item:hover {
    color: #dc3545;
}

.cart-summary {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100% !important;
    padding: 12px 0 !important;
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    box-shadow: none !important;
    outline: none !important;
    background-image: none !important;
    background: var(--primary-color) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.checkout-btn:hover {
    background-color: var(--primary-dark) !important;
    background: var(--primary-dark) !important;
}

.checkout-btn:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.checkout-btn:active {
    outline: none !important;
    border: none !important;
}

.empty-cart {
    text-align: center;
    padding: 50px 0;
}

.empty-cart i {
    font-size: 50px;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.empty-cart p {
    margin-bottom: 20px;
}

/* Checkout Page */
.checkout-container {
    max-width: 800px;
    margin: 50px auto;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.checkout-title {
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary-color);
}

.checkout-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.delivery-method {
    margin-bottom: 20px;
}

.delivery-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.delivery-option input {
    margin-right: 10px;
}

.order-summary {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.order-summary-title {
    margin-bottom: 15px;
    font-weight: 600;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-weight: 600;
}

.submit-order {
    width: 100%;
    padding: 12px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.submit-order:hover {
    background-color: var(--primary-dark);
}

/* Order Confirmation */
.confirmation-container {
    max-width: 600px;
    margin: 50px auto;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.confirmation-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
}

.confirmation-title {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.confirmation-message {
    margin-bottom: 30px;
}

.order-details {
    text-align: left;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.order-details h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.order-details p {
    margin-bottom: 10px;
}

/* My Orders Page */
.orders-container {
    max-width: 1000px;
    margin: 50px auto;
}

.orders-title {
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary-color);
}

.order-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.order-id {
    font-weight: 600;
    color: var(--primary-color);
}

.order-date {
    color: var(--gray-color);
    font-size: 14px;
}

.order-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.order-status.delivered {
    background-color: #d4edda;
    color: #155724;
}

.order-status.cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.order-details {
    margin-bottom: 15px;
}

.order-address {
    margin-bottom: 15px;
    color: var(--gray-color);
}

.order-items {
    margin-bottom: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-item-name {
    flex: 1;
}

.order-item-price {
    font-weight: 600;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.no-orders {
    text-align: center;
    padding: 50px 0;
}

.no-orders i {
    font-size: 50px;
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-details {
        padding: 10px 0;
    }
    
    .quantity-control {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
}






/* Add this at the bottom of your CSS file, after the existing media queries */

@media (max-width: 768px) {
    /* Header adjustments */
    header .container {
        padding: 10px 0;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    /* Hero section adjustments */
    .hero {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    /* Categories adjustments */
    .categories {
        gap: 5px;
    }
    
    .category-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    /* Menu grid adjustments */
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .menu-item-img {
        height: 150px;
    }
    
    /* Footer adjustments */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-section {
        min-width: 100%;
        margin-bottom: 15px;
    }
    
    .footer-section ul {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Smaller screen adjustments */
    .hero h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Footer text adjustments */
    .footer-section h3 {
        font-size: 16px;
    }
    
    .footer-section p, 
    .footer-section a {
        font-size: 13px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
}



/* Add these styles to your existing CSS file */

/* Promotion Section */
.promotion-section {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.promotion-title {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 0;
}

.promotion-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.promo-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.promo-input:focus {
    outline: none;
    border-color: #FF6B35;
}

.verify-btn {
    background: #fff;
    color: #FF6B35;
    border: 2px solid #FF6B35;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.verify-btn:hover:not(:disabled) {
    background: #FF6B35;
    color: #fff;
}

.verify-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Applied Promotion */
.applied-promotion {
    margin-top: 15px;
}

.promotion-success {
    display: flex;
    align-items: center;
    background: #e8f5e8;
    border: 1px solid #4CAF50;
    border-radius: 6px;
    padding: 12px 15px;
    gap: 10px;
}

.promotion-success i {
    color: #4CAF50;
    font-size: 18px;
}

.promotion-success span {
    flex: 1;
    color: #2e7d32;
    font-weight: 500;
}

.remove-promo-btn {
    background: none;
    border: none;
    color: #d32f2f;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.remove-promo-btn:hover {
    background: rgba(211, 47, 47, 0.1);
}

/* Promotion Messages */
.promotion-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.promotion-message.success {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4CAF50;
}

.promotion-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

.promotion-message.info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #2196F3;
}

/* Cart Summary Updates */
.cart-summary {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 16px;
}

.discount-row {
    color: #4CAF50;
    font-weight: 500;
}

.total-row {
    border-top: 2px solid #eee;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #FF6B35;
}

.checkout-btn {
    width: 100%;
    background: #FF6B35;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background: #e55a2b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .promotion-input-group {
        flex-direction: column;
    }
    
    .verify-btn {
        width: 100%;
    }
    
    .promotion-success {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .remove-promo-btn {
        margin-left: auto;
    }
    
    .summary-row {
        font-size: 14px;
    }
    
    .total-row {
        font-size: 16px;
    }
}

/* Animation for smooth transitions */
.applied-promotion,
.promotion-message {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* Add these styles to your existing checkout CSS */

/* Order Summary Updates */
.order-summary {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.order-summary-title {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 0;
}

.order-summary-item,
.order-summary-subtotal,
.order-summary-discount,
.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.order-summary-item {
    font-size: 14px;
    color: #666;
}

.order-summary-subtotal {
    font-size: 16px;
    color: #333;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 15px;
}

.order-summary-discount {
    color: #4CAF50;
    font-weight: 500;
}

.order-summary-total {
    border-top: 2px solid #eee;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #FF6B35;
}

/* Applied Promotion in Checkout */
.applied-promotion-checkout {
    background: #e8f5e8;
    border: 1px solid #4CAF50;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 10px 0;
}

.promotion-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.promotion-info span {
    color: #2e7d32;
    font-weight: 500;
    flex: 1;
}

.remove-promo-checkout {
    background: none;
    border: none;
    color: #d32f2f;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.remove-promo-checkout:hover {
    background: rgba(211, 47, 47, 0.1);
}

/* Form Styling */
.checkout-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B35;
}

.submit-order {
    width: 100%;
    background: #FF6B35;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.submit-order:hover:not(:disabled) {
    background: #e55a2b;
}

.submit-order:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-container {
        padding: 15px;
    }
    
    .promotion-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .remove-promo-checkout {
        align-self: flex-end;
    }
    
    .order-summary-item,
    .order-summary-subtotal,
    .order-summary-discount,
    .order-summary-total {
        font-size: 14px;
    }
    
    .order-summary-total {
        font-size: 16px;
    }
}

/* Animation for smooth transitions */
.applied-promotion-checkout {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* Language Switcher */
.language-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.lang-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lang-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.lang-toggle svg {
    width: 28px;
    height: 28px;
}

.lang-dropdown {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 160px;
}

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

.lang-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease;
    gap: 12px;
    font-size: 15px;
}

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option.active {
    background: #667eea;
    color: white;
}

.lang-option .flag {
    font-size: 24px;
    line-height: 1;
}

/* RTL Support for Arabic */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .language-switcher {
    right: auto;
    left: 30px;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-switcher {
        bottom: 20px;
        right: 20px;
    }
    
    .lang-toggle {
        width: 50px;
        height: 50px;
    }
    
    html[dir="rtl"] .language-switcher {
        right: auto;
        left: 20px;
    }
}




/* Add these styles to your existing style.css file at the bottom */

/* CRITICAL: Header Layout Fix for Mobile */
header .container,
header .header-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.logo {
    flex-shrink: 0;
}

nav {
    flex-grow: 1;
}

/* Mobile Menu Toggle Button - Enhanced */
.mobile-menu-toggle {
    display: none;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 101;
}

.mobile-menu-toggle:hover {
    background: var(--primary-dark);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
        order: 2;
        margin-left: auto;
    }
    
    .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    nav {
        order: 3;
        width: 100%;
        flex-basis: 100%;
    }
    
    header .container,
    header .header-flex {
        flex-wrap: wrap !important;
        gap: 0 !important;
    }
/* Google Play Store Badge - Custom Transparent Design */
.playstore-badge {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 99;
    transition: all 0.3s ease;
}

.playstore-badge a {
    display: inline-block;
    text-decoration: none;
}

.custom-play-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.custom-play-badge:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.custom-play-badge i {
    font-size: 32px;
    color: #fff;
}

.badge-text {
    display: flex;
    flex-direction: column;
    color: white;
    line-height: 1.2;
}

.badge-small {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 400;
}

.badge-large {
    font-size: 16px;
    font-weight: 600;
}

/* RTL Support for Play Store Badge */
html[dir="rtl"] .playstore-badge {
    right: auto;
    left: 20px;
}

/* Mobile Responsive for Play Store Badge */
@media (max-width: 768px) {
    .playstore-badge {
        top: auto;
        bottom: 90px;
        right: 10px;
    }

    .custom-play-badge {
        padding: 8px 12px;
        gap: 8px;
    }

    .custom-play-badge i {
        font-size: 28px;
    }

    .badge-small {
        font-size: 9px;
    }

    .badge-large {
        font-size: 14px;
    }

    html[dir="rtl"] .playstore-badge {
        right: auto;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .playstore-badge {
        bottom: 80px;
    }

    .custom-play-badge {
        padding: 6px 10px;
        gap: 6px;
    }

    .custom-play-badge i {
        font-size: 24px;
    }

    .badge-small {
        font-size: 8px;
    }

    .badge-large {
        font-size: 12px;
    }
}

/* Ensure Play Store badge doesn't overlap with language switcher */
@media (min-width: 769px) {
    .playstore-badge {
        top: 80px;
    }
}