
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

:root {
    --primary: #ff6b35;
    --secondary: #4ecdc4;
    --tertiary: #45b7d1;
    --quaternary: #f9ca24;
    --quinary: #ff3838;
    --sunset-orange: #ff6b35;
    --ocean-blue: #4ecdc4;
    --forest-green: #45b7d1;
    --golden-yellow: #f9ca24;
    --crimson-red: #ff3838;
    --neon-pink: #ff6b35;
    --electric-blue: #007bff;
    --toxic-green: #28a745;
    --cyber-yellow: #ffc107;
    --shadow-neon: rgba(255, 107, 53, 0.5);
    --senary: #ff6b35;
    --septenary: #e55a2b;
    --text-primary: #333;
    --text-secondary: #666;
    --bg-primary: #fff;
    --bg-secondary: #f8f9fa;
    --shadow: rgba(0, 0, 0, 0.1);
    --bg-850: #1a1a1a;
    --surface-card: #fff;
    --line-subtle: #ddd;
    --text-light: #333;
    --text-dim: #666;
    --radius-lg: 8px;
    --radius-full: 50%;
    --accent-primary: #ff6b35;
    --accent-secondary: #f9ca24;
    --section-spacing: 4rem;
}

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6b35;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list li {
    display: flex;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #ff6b35;
}

#auth-links {
    display: flex;
    gap: 0.75rem;
}

#auth-links a {
    border: 1px solid #ff6b35;
    border-radius: 999px;
    color: #ff6b35;
    padding: 0.35rem 0.85rem;
}

#auth-links a:hover {
    background-color: #ff6b35;
    color: #fff;
}

#cart-count {
    background-color: #ff6b35;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Notification Button */
.notification-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.notification-btn:hover {
    background-color: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
}

.notification-btn.enabled {
    color: #ff6b35;
}

.notification-btn.enabled::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
    border: 2px solid white;
}

.theme-toggle {
    background: none;
    border: none;
    color: #ff6b35;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.theme-toggle:hover {
    background-color: rgba(255, 107, 53, 0.1);
    transform: scale(1.1);
}

.theme-toggle.dark {
    color: #f9ca24;
}

.theme-toggle.dark i::before {
    content: '\f185'; /* sun icon */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b35;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #ff6b35;
    font-weight: bold;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.newsletter-form button {
    background-color: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Initial shadow */
}

.newsletter-form button:hover {
    background-color: #e55a2b;
    transform: scale(1.05); /* Slight scale-up on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
}

.newsletter-form button:active {
    transform: scale(0.95); /* Subtle press animation on click */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Reduced shadow on active */
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #555;
    padding-top: 1rem;
}

/* Main content spacing */
main h1, main h2 {
    margin-top: 4rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(255, 107, 53, 0.55)), url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #ff6b35;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Initial shadow */
}

.cta-button:hover {
    background-color: #e55a2b;
    transform: scale(1.05); /* Slight scale-up on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
}

.cta-button:active {
    transform: scale(0.95); /* Subtle press animation on click */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Reduced shadow on active */
}

/* Categories Section */
.categories {
    padding: 4rem 0;
    background-color: white;
}

.categories h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #333;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.category-card h3 {
    padding: 1rem;
    margin: 0;
    text-align: center;
    font-size: 1.1rem;
}

/* Restaurant Cards */
.restaurants {
    padding: 4rem 0;
}

.restaurants h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #333;
}

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.restaurant-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.restaurant-card:hover {
    transform: translateY(-5px);
}

.restaurant-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.restaurant-info {
    padding: 1.5rem;
}

.restaurant-info h3 {
    margin-bottom: 0.5rem;
}

.restaurant-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.rating {
    color: #ff6b35;
    font-weight: bold;
}

/* Menu Items */
.menu-section {
    padding: 4rem 0;
    background-color: white;
}

.menu-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.menu-lead {
    max-width: 700px;
    margin: 0 auto 1rem;
    text-align: center;
    color: #666;
}

.menu-category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.menu-pill {
    appearance: none;
    background: #fff;
    border: 1px solid #ff6b35;
    border-radius: 999px;
    color: #ff6b35;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    transition: all 0.2s ease;
}

.menu-pill:hover,
.menu-pill.active {
    background: #ff6b35;
    color: #fff;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #ddd;
    transition: background-color 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background-color: #ff6b35;
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.menu-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.menu-item-info {
    padding: 1rem;
}

.menu-item-info h3 {
    margin-bottom: 0.5rem;
}

.menu-item-info p {
    color: #666;
    margin-bottom: 1rem;
}

.menu-item-info .price {
    font-weight: bold;
    color: #ff6b35;
}

.add-to-cart {
    background-color: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Initial shadow */
}

.add-to-cart:hover {
    background-color: #e55a2b;
    transform: scale(1.05); /* Slight scale-up on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
}

.add-to-cart:active {
    transform: scale(0.95); /* Subtle press animation on click */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Reduced shadow on active */
}

/* Cart Styles */
.cart-section {
    padding: 4rem 0;
    background-color: white;
}

.cart-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.cart-items {
    max-width: 800px;
    margin: 0 auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    margin-bottom: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-controls button {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.quantity-controls span {
    padding: 0 0.5rem;
}

.remove-item {
    background-color: #fff1ec;
    border: 1px solid #ff6b35;
    border-radius: 6px;
    color: #ff6b35;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.6rem;
    padding: 0.4rem 0.75rem;
    transition: all 0.2s ease;
}

.remove-item:hover {
    background-color: #ff6b35;
    color: #fff;
}

.cart-total {
    text-align: right;
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.checkout-btn {
    background-color: #ff6b35;
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    margin-top: 1rem;
    display: block;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
}

/* Forms */
.form-section {
    margin-top: 140px;
    padding: 4rem 0;
    background-color: white;
    max-width: 500px;
    margin: 0 auto;
}

.form-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 6rem;
}

.account-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.account-type-btn {
    background-color: #fff;
    border: 1px solid #ff6b35;
    border-radius: 6px;
    color: #ff6b35;
    font-weight: 600;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.account-type-btn.active,
.account-type-btn:hover {
    background-color: #ff6b35;
    color: #fff;
}

.form {
    display: none;
}

.form.active-form {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background-color: #ff6b35;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    width: 100%;
    font-size: 1.1rem;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Initial shadow */
}

.submit-btn:hover {
    background-color: #e55a2b;
    transform: scale(1.05); /* Slight scale-up on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
}

.submit-btn:active {
    transform: scale(0.95); /* Subtle press animation on click */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Reduced shadow on active */
}

/* Checkout */
.checkout-section {
    padding: 4rem 0;
    background-color: white;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.delivery-form, .order-summary {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.order-summary h3 {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.order-total {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Profile */
.profile-section {
    padding: 4rem 0;
    background-color: white;
    max-width: 600px;
    margin: 0 auto;
}

.profile-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.profile-info h3 {
    margin-bottom: 1rem;
}

.profile-info p {
    margin-bottom: 0.5rem;
}

/* Profile Picture Section */
.profile-picture-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ff6b35;
    margin-bottom: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-pic:hover {
    transform: scale(1.05);
}

.picture-upload {
    margin-top: 0.5rem;
}

.picture-upload .btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f9ca24 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.picture-upload .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Orders */
.orders-section {
    padding: 4rem 0;
    background-color: white;
}

.order-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.order-card h3 {
    margin-bottom: 1rem;
}

.order-card p {
    margin-bottom: 0.5rem;
}

/* 404 Page */
.error-section {
    padding: 8rem 0;
    text-align: center;
    background-color: white;
}

.error-section h1 {
    font-size: 5rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.error-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.error-section a {
    color: #ff6b35;
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: white;
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #333;
}

.contact-section > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #666;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: white;
}

.faq-section h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question::after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b35;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: #666;
}

/* Privacy and Terms Sections */
.privacy-section, .terms-section {
    padding: 4rem 0;
    background-color: white;
}

.privacy-section h1, .terms-section h1 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #333;
}

.privacy-section > .container > p:first-of-type, .terms-section > .container > p:first-of-type {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #666;
}

.privacy-section h2, .terms-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #333;
}

.privacy-section p, .terms-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #666;
}

.privacy-section ul, .terms-section ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.privacy-section li, .terms-section li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Advanced Filters */
.advanced-filters {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background-color: white;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.checkbox-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.checkbox-group label:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
}

.results-info {
    text-align: center;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 500;
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ff6b35;
    color: white;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease; /* Enhanced transition for smooth effects */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Initial shadow */
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-weight: 500;
}

.btn:hover {
    background-color: #e55a2b;
    transform: scale(1.05); /* Slight scale-up on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
}

.btn:active {
    transform: scale(0.95); /* Subtle press animation on click */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Reduced shadow on active */
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}


.smaj {
    margin-top: 30px;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification.show {
    transform: translateX(0);
}

.notification-info {
    background-color: #007bff;
}

.notification-error {
    background-color: #dc3545;
}

.notification-success {
    background-color: #28a745;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    opacity: 0.7;
}

/* Loading Indicator */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Search Functionality */
.search-container {
    position: relative;
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    padding-right: 3rem;
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ff6b35;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Quantity Input */
.quantity-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-input input {
    width: 60px;
    text-align: center;
    padding: 0.25rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Progress Indicator for Checkout */
.checkout-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.progress-step.active {
    color: #ff6b35;
    font-weight: bold;
}

.progress-step::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ddd;
}

.progress-step.active::before {
    background-color: #ff6b35;
}

.progress-step + .progress-step::before {
    content: '';
    position: relative;
    left: -10px;
    width: 40px;
    height: 2px;
    background-color: #ddd;
    margin-right: -30px;
}

.progress-step.active + .progress-step::before {
    background-color: #ff6b35;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .header {
    background-color: #2d2d2d;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

body.dark-mode .logo a {
    color: #ff6b35;
}

body.dark-mode .nav-list a {
    color: #e0e0e0;
}

body.dark-mode .nav-list a:hover {
    color: #ff6b35;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.6), rgba(247, 147, 30, 0.6)), url('assets/images/pazza.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

body.dark-mode .categories,
body.dark-mode .menu-section,
body.dark-mode .form-section,
body.dark-mode .checkout-section,
body.dark-mode .profile-section,
body.dark-mode .orders-section,
body.dark-mode .error-section,
body.dark-mode .contact-section,
body.dark-mode .faq-section,
body.dark-mode .privacy-section,
body.dark-mode .terms-section {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .category-card,
body.dark-mode .restaurant-card,
body.dark-mode .menu-item,
body.dark-mode .cart-item,
body.dark-mode .order-card,
body.dark-mode .contact-form,
body.dark-mode .faq-item {
    background-color: #2d2d2d;
    color: #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .restaurant-card {
    background-color: #2d2d2d;
}

body.dark-mode .delivery-form,
body.dark-mode .order-summary,
body.dark-mode .profile-info {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

body.dark-mode .footer {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

body.dark-mode .footer-section h3,
body.dark-mode .footer-section h4 {
    color: #ff6b35;
}

body.dark-mode .newsletter-form input {
    background-color: #3d3d3d;
    border-color: #555;
    color: #e0e0e0;
}

body.dark-mode .newsletter-form input::placeholder {
    color: #aaa;
}

body.dark-mode .notification {
    background-color: #2d2d2d;
    color: #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
