/*
 * Jolo - styles
 *
 * This stylesheet defines the core layout and visual design of the Jolo web app.
 * The design borrows inspiration from Calo.app but uses an orange palette to
 * reflect the vibrant flavors of West Africa. Variables at the top make it
 * easy to tweak the color scheme. The layout is responsive and adapts to
 * smaller screens via media queries.
 */

/* CSS Variables for theme colors and sizing */
:root {
    --primary-color: #ff8c42; /* vibrant orange accent */
    --primary-bright: #ff9f5b; /* brighter orange for emphasis */
    --primary-dark: #e46f1e; /* darker shade for hover states */
    --secondary-color: #fff7f0; /* light background tint */
    --text-color: #333333;
    --heading-color: #222222;
    --border-radius: 8px;
    --max-width: 1200px;
    --transition-speed: 0.2s;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background: #ffffff;
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

/* Utility container */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.container-fluid {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Video Cover Section */
.video-cover {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding-top: 3rem;
}

.cover-content > *:not(:first-child) {
    margin-top: 1.5rem;
}

.cover-store-badges {
    display: flex;
    gap: 1.5rem;
    opacity: 0.9;
    transform: translateX(-0.5em);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.search-form:has(.delivery-time.active) ~ .cover-store-badges {
    opacity: 0;
    transform: translateX(-0.5em) translateY(10px);
    pointer-events: none;
}

.cover-store-badges .store-badge img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.cover-store-badges .store-badge:hover img {
    transform: translateY(-2px);
    opacity: 1;
}

.cover-title {
    font-size: 8rem;
    color: #ff7b28;
    font-weight: 700;
    font-family: var(--font-family);
    letter-spacing: 0.1em;
    margin-bottom: -1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Banner */
.scroll-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 99;
}

.scroll-banner.visible {
    transform: translateY(0);
}

.scroll-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.meals-count {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.banner-store-badges {
    display: flex;
    gap: 1rem;
}

.banner-store-badges .store-badge img {
    height: 32px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.banner-store-badges .store-badge:hover img {
    opacity: 1;
}



/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #000000;
    z-index: 2000; /* Higher than everything */
    transition: all 0.3s ease;
}

.side-nav.active {
    left: 0;
}

.side-nav-content {
    position: relative;
    height: 100%;
    z-index: 2;
    padding: 2rem;
}


.side-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1999; /* Just below side-nav */
}

.side-nav.active .side-nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* Hamburger Menu */
.hamburger {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.75rem;
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
    z-index: 100;
}

.navbar:hover .hamburger {
    color: #000000;
}

.navbar.scrolled .hamburger {
    color: #000000;
}

.hamburger:hover {
    transform: scale(1.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001; /* Higher than side-nav */
    width: 100%;
    background: transparent;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar:hover,
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

/* Update nav links color on navbar hover */
.navbar:hover .nav-links li a {
    color: var(--text-color);
    text-shadow: none;
}

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

.navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    position: relative;
}

nav {
    justify-self: flex-end;
}

nav {
    position: absolute;
    right: 0;
    margin-right: -3rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.logo a:hover {
    color: var(--primary-dark);
    transform: scale(1.05);
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.btn-login {
    color: #ffffff;
    background: #000000;
    border: none;
}

.btn-login:hover {
    background: #333333;
}

.btn-signup {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-signup:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-links li a {
    font-weight: 500;
    color: #ffffff;
    transition: all var(--transition-speed);
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.scrolled .nav-links li a {
    color: var(--text-color);
    text-shadow: none;
}

.nav-links li a.active,
.nav-links li a:hover {
    color: #ffffff;
    border-color: #ffffff;
}

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

/* Hero section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
    overflow: hidden;
}

/* Watermark background text */
.hero::before {
    content: 'JOLO';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 700;
    color: rgba(255, 140, 66, 0.1);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    max-width: 700px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-text {
    margin-top: 2rem;
}

.search-form {
    margin-top: 4rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}



/* New Search Form */
.search-form {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.new-search-container {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    z-index: 2;
}

.new-address-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    height: 50px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

.new-address-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
}

.new-address-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.delivery-options {
    min-width: 140px;
}

.delivery-select {
    width: 100%;
    padding: 1rem 1rem 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    height: 50px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.delivery-select:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
}

.delivery-select option {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 0.5rem;
}

.new-search-button {
    padding: 0 2rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 50px;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.new-search-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

.new-search-button:active {
    transform: translateY(0);
}

.sign-in-prompt {
    position: absolute;
    left: 1rem;
    bottom: -2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.sign-in-link {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity var(--transition-speed);
}

.sign-in-link:hover {
    opacity: 0.8;
}

.search-form button:hover {
    background: var(--primary-dark);
}

.search-form .fa-search {
    margin-right: 0.25rem;
}

/* Search Results Styling */
#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 1rem;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-results-list {
    padding: 1rem;
}

.search-result-item {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background-color var(--transition-speed);
    text-decoration: none;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: var(--secondary-color);
}

.search-result-item h4 {
    color: var(--heading-color);
    margin-bottom: 0.25rem;
}

.search-result-item .type {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.search-result-item .location {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.search-result-item .tags {
    color: #666;
    font-size: 0.85rem;
}

.no-results {
    padding: 2rem;
    text-align: center;
    color: #666;
}

/* App store badges */
.app-store-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3.5rem;
}

.store-badge img {
    height: 65px;
    width: auto;
    transition: transform var(--transition-speed);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.store-badge:hover img {
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* On Demand page specific styles */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.video-background .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.video-background .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.ondemand-section {
    min-height: 100vh;
    padding-top: 8rem;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    background: none;
}

main {
    position: relative;
    min-height: 100vh;
    background: none;
}

.ondemand-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.ondemand-section .category-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
}

@media (max-width: 992px) {
    .ondemand-section .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ondemand-section .category-grid {
        grid-template-columns: 1fr;
    }
}

/* Meal Prep Section */
.meal-prep-section {
    padding: 6rem 0;
    background: #ffffff;
}

.meal-prep-header {
    max-width: 800px;
    margin-bottom: 4rem;
}

.section-tag {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    line-height: 1;
}

.meal-prep-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.meal-prep-text p {
    font-size: 1.2rem;
    color: #555555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-primary {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.btn-primary:hover {
    background: #e67a3a;
    color: #ffffff;
    transform: translateY(-1px);
}

.meal-carousel {
    position: relative;
    margin: 0 -2rem;
    padding: 0 2rem;
    margin-bottom: 6rem;
}

.meal-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.meal-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 320px;
}


.meal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.meal-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.meal-card h3 {
    font-size: 1.4rem;
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--heading-color);
}

.meal-subtitle {
    font-size: 0.95rem;
    color: #666666;
    padding: 0 1.5rem;
    margin: 0;
    font-style: italic;
}

.meal-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0 1.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.meal-tag.balanced {
    background: #e8f5e9;
    color: #2e7d32;
}

.meal-tag.high-protein {
    background: #ffebee;
    color: #c62828;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.carousel-nav i {
    font-size: 40px;
    color: #000000;
    transition: color 0.2s ease;
}

.carousel-nav:hover i {
    color: var(--primary-color);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.feature-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .meal-prep-text h2 {
        font-size: 2.5rem;
    }

    .meal-cards {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 1rem;
    }

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


    .meal-card {
        min-height: 280px;
    }

    .meal-card h3 {
        font-size: 1.2rem;
        padding: 1.2rem 1.2rem 0.3rem;
    }

    .meal-subtitle {
        font-size: 0.85rem;
        padding: 0 1.2rem;
    }

    .meal-tag {
        padding: 0.3rem 0.6rem;
        margin: 0 1.2rem 1.2rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .meal-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Categories section */
.categories {
    padding: 4rem 0;
    color: #ffffff;
}

.categories:not(.ondemand-section) {
    background: var(--primary-color);
}

.categories h3 {
    text-align: center;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 600;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.ondemand-section .category-card {
    background: rgba(255, 140, 66, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(255, 140, 66, 0.1);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition-speed);
    border: 1px solid rgba(255, 140, 66, 0.15);
    position: relative;
}

.ondemand-section .category-card:hover {
    background: rgba(255, 140, 66, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(255, 140, 66, 0.18);
    border-color: rgba(255, 140, 66, 0.25);
}

.ondemand-section .category-card h4 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ondemand-section .category-card p {
    color: rgba(255, 255, 255, 0.9);
}

.category-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.category-card .category-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-color);
}

.category-card .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-card h4 {
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #555555;
    font-size: 0.95rem;
}

/* Partner section */
.partner-section {
    padding: 6rem 0;
    background: #ffffff;
    width: 100%;
}

.section-header {
    display: flex;
    justify-content: space-between;  /* This handles the spacing */
    align-items: center;
    margin-bottom: 0;
    margin-left: 1rem;
    width: 100%;
    padding-right: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.section-store-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.section-store-badges img {
    height: 65px;
    width: auto;
    transition: transform 0.2s ease;
}

.section-store-badges .store-badge:hover img {
    transform: translateY(-2px);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.partner-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.partner-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.partner-card h3 {
    font-size: 2rem;
    color: var(--heading-color);
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
}

.partner-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    display: inline-block;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.partner-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.partner-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* About section */
.about {
    padding: 2.5rem 0;
    background: var(--primary-color);
}

.about h3 {
    text-align: center;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.about p {
    max-width: 800px;
    margin: 0.5rem auto 0;
    font-size: 1.1rem;
    color: #ffffff;
    text-align: center;
    opacity: 0.95;
}

/* Features section */
.features {
    padding: 4rem 0;
    background: var(--primary-color);
    color: #ffffff;
}

.features h3 {
    text-align: center;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.feature-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
}

.feature-card h4 {
    font-size: 1.4rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Promo Banner */
.promo-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.75rem 0;
    z-index: 1000;
    animation: slideUp 0.3s ease-out;
}

.promo-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 2rem;
}

.promo-content span {
    font-weight: 500;
    font-size: 1rem;
}

.close-banner {
    position: absolute;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all var(--transition-speed);
    font-size: 1.2rem;
    z-index: 10;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.close-banner:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: #ffffff;
    color: #1a1a1a;
    padding: 4rem 0 2rem;
    border-top: 1px solid #e8e8e8;
}

.footer-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand .logo {
    font-size: 2rem;
    color: var(--heading-color);
}

.footer-brand .app-badges {
    display: flex;
    gap: 1rem;
}

.footer-brand .app-badges img {
    height: 40px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: #1a1a1a;
    font-size: 1.5rem;
    transition: color var(--transition-speed);
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-speed);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #e8e8e8;
}

.legal-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.legal-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

.legal-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: #666666;
    font-size: 0.85rem;
}

.copyright p {
    margin: 0.5rem 0;
}

.copyright a {
    color: #666666;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .legal-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
        padding-top: 4rem;
    }

    .hero::before {
        font-size: 40vw;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .categories h3, .features h3, .about h3 {
        font-size: 1.6rem;
    }
}

/* User Menu Styles */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-logout {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn-logout:hover {
    background: var(--text-color);
    color: #ffffff;
}

.btn-edit-profile {
    background: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-decoration: none;
    display: inline-block;
}

.btn-edit-profile:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .user-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .user-name {
        font-size: 0.8rem;
    }
    
    .btn-logout {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .btn-edit-profile {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Phone Verification Styles */
.phone-verification {
    text-align: center;
    margin-top: 2rem;
}

.verification-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000000;
    margin: 0 0 0.5rem 0;
}

.verification-header p {
    color: #6c757d;
    margin: 0 0 2rem 0;
}

.verification-form {
    margin-bottom: 1.5rem;
}

.verification-form .input-group {
    margin-bottom: 1rem;
}

.verification-form .contact-input {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    font-weight: 600;
}

.resend-section {
    margin-bottom: 1rem;
}

.resend-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.resend-section a:hover {
    text-decoration: underline;
}

.back-section {
    margin-top: 1rem;
}

.back-section a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

#recaptcha-container {
    margin-top: 1rem;
}


/* Signup Page Styles */
.signup-body {
    background: #ffffff;
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: #ffffff;
}

.signup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.signup-header .logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.signup-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.signup-form {
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1rem;
}

.contact-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8f8f8;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contact-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
}

.btn-continue {
    width: 100%;
    padding: 1rem;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-continue:hover {
    background: #333333;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: #ffffff;
    padding: 0 1rem;
    color: #666666;
    font-size: 0.9rem;
}

.social-login {
    margin-bottom: 1.5rem;
}

.social-btn {
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f8f8;
    color: #000000;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: background-color 0.3s ease;
}

.social-btn:hover {
    background: #f0f0f0;
}

.social-btn i {
    font-size: 1.2rem;
}

.google-btn i {
    color: #4285f4;
}

.apple-btn i {
    color: #000000;
}

.qr-btn i {
    color: #666666;
}

.terms {
    margin: 1.5rem 0;
    text-align: center;
}

.terms p {
    font-size: 0.8rem;
    color: #666666;
    line-height: 1.4;
    margin: 0;
}

.login-link {
    text-align: center;
    margin-top: 1rem;
}

.login-link p {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
}

.login-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-text:hover {
    text-decoration: underline;
}

/* Phone Input Styles */
.phone-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f8f8;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.phone-input-container:focus-within {
    border-color: var(--primary-color);
    background: #ffffff;
}

.country-code {
    padding: 1rem 0.75rem;
    background: #e8e8e8;
    color: #666666;
    font-weight: 600;
    font-size: 1rem;
    border-right: 1px solid #d0d0d0;
    min-width: 50px;
    text-align: center;
}

.phone-input {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
    color: #000000;
}

.phone-input::placeholder {
    color: #999999;
}

.input-divider {
    text-align: center;
    margin: 1rem 0;
    color: #666666;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.input-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
}

.input-divider {
    background: #ffffff;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

/* Profile Edit Page - Modern Glassy Design */
.profile-page {
    background: #000;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Navigation */
.profile-nav {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.3);
}

/* Main Content */
.profile-main {
    padding: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.profile-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Profile Header */
.profile-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.profile-avatar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.avatar-info h1 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -0.3px;
}

.avatar-info p {
    margin: 0.25rem 0 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.action-btn.primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.action-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

.action-btn.secondary {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.2);
}

.action-btn.secondary:hover {
    background: rgba(108, 117, 125, 0.2);
    transform: translateY(-1px);
}

/* Form Cards */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.form-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-bright));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.card-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -0.2px;
}

.card-title p {
    margin: 0.25rem 0 0 0;
    color: #6c757d;
    font-size: 0.8rem;
}

.card-content {
    padding: 1.5rem;
}

.input-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group:not(:last-child) {
    margin-bottom: 1.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fafbfc;
    color: var(--text-color);
    font-family: inherit;
    resize: vertical;
}

.input-group textarea {
    min-height: 80px;
    line-height: 1.5;
}

.input-group input::placeholder {
    color: #6c757d;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.1);
    transform: translateY(-1px);
}

.input-group input[readonly] {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.input-group small {
    color: #6c757d;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.1);
}

.country-code {
    padding: 0.75rem 1rem;
    background: #e9ecef;
    color: #6c757d;
    font-weight: 600;
    border-radius: 6px 0 0 6px;
    border-right: 1px solid #dee2e6;
    font-size: 0.9rem;
}

.phone-input-wrapper input {
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
    flex: 1;
    color: var(--text-color);
    font-size: 0.9rem;
}

.phone-input-wrapper input:focus {
    box-shadow: none;
    transform: none;
}

.phone-input-wrapper input::placeholder {
    color: #6c757d;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.form-actions .action-btn {
    min-width: 200px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-main {
        padding: 1rem;
    }
    
    .profile-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .profile-actions {
        width: 100%;
        justify-content: center;
    }
    
    .action-btn {
        flex: 1;
        justify-content: center;
    }
    
    .input-row {
        gap: 0.75rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
    }
}

/* Order Page Styles - Uber Eats Design */
.order-page {
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

/* Top Header */
.top-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    width: 100%;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.delivery-pickup-toggle {
    display: flex;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 2px;
}

.toggle-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.toggle-btn.active {
    background: #000;
    color: #fff;
}

.header-center {
    flex: 1;
    max-width: 300px;
}

.location-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.location {
    font-weight: 500;
}

.time {
    color: #000;
    font-weight: 500;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container i {
    position: absolute;
    left: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.search-container input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 200px;
    background: #f9f9f9;
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #00a650;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Main Layout */
.main-layout {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 80px);
}

/* Sidebar */


/* Main Content */
.main-content {
    flex: 1;
    padding: 1rem 2rem 1rem 0.5rem;
}

/* Food Categories */
.food-categories {
    margin-bottom: 1.5rem;
}

.categories-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 80px;
    text-align: center;
}

.category-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.category-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.flag-emoji {
    font-size: 2.5rem;
    display: block;
}

.category-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
}

/* Filter Bar */
.filter-bar {
    margin-bottom: 1.5rem;
}

.filter-pills {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-pills::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-pill:hover {
    background: #e5e5e5;
}

.filter-pill.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.filter-pill i {
    font-size: 0.8rem;
}

/* Promotional Banners */
.promo-banners {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
}

.promo-banners::-webkit-scrollbar {
    display: none;
}

.banner {
    min-width: 600px;
    width: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.banner-content {
    display: flex;
    width: 100%;
    min-height: 180px;
}

.banner-text {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.banner-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1.5rem;
}

/* First banner - Free delivery */
.banner:nth-child(1) .banner-text {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.banner:nth-child(1) .banner-visual {
    background: #1a1a1a;
    color: white;
}

/* Second banner - Ethiopian dishes */
.banner:nth-child(2) .banner-text {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
}

.banner:nth-child(2) .banner-visual {
    background: #2c1810;
    color: white;
}

/* Third banner - Weekend special */
.banner:nth-child(3) .banner-text {
    background: linear-gradient(135deg, #F5F5DC, #E6E6FA);
    color: #000;
}

.banner:nth-child(3) .banner-visual {
    background: #4a4a4a;
    color: white;
}

.banner-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.banner-text p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.banner-btn {
    background: white;
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Visual elements */
.food-icons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.food-icon {
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

.food-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.food-icon:nth-child(3) {
    animation-delay: 1s;
}

.delivery-truck {
    font-size: 2rem;
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    animation: bounce 2s ease-in-out infinite;
}

.ethiopian-food {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.injera {
    font-size: 3rem;
    animation: rotate 4s linear infinite;
}

.stew {
    font-size: 2.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.weekend-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.weekend-icon {
    font-size: 3rem;
    animation: bounce 2s ease-in-out infinite;
}

.weekend-icon:nth-child(2) {
    animation-delay: 1s;
}

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

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

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}


/* Featured Sections */
.recommended-section {
    margin-top: 0 !important;
    margin-bottom: 3rem !important;
}


.section-header {
    display: flex;
    justify-content: space-between;  /* This handles the spacing */
    align-items: center;
    margin-bottom: 0;
    margin-left: 1rem;
    width: 100%;
    padding-right: 1rem;
}

/* Partner section specific styling */
.partner-section .section-header {
    display: block;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    margin-left: auto;
}

.featured-section {
    margin: 0 !important;
    margin-bottom: 3rem !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
}

.featured-section .restaurants-grid {
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    gap: 1rem;
    display: grid;
    grid-template-columns: repeat(4, 480px);
    justify-content: start;
}

.featured-section .restaurant-card {
    margin-bottom: 0 !important;
}

.featured-section .restaurant-card:last-child {
    margin-bottom: 0 !important;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

/* Partner section header styling */
.partner-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.partner-section .section-header p {
    font-size: 1.2rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.see-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    /* Remove margin-left: auto */
}

.see-all-link:hover {
    text-decoration: underline;
}

.nav-arrows {
    display: flex;
    gap: 0.5rem;
}

.nav-arrow {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.nav-arrow:hover {
    background: #e5e5e5;
}

.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.restaurant-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    cursor: pointer;
}

.restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.offer-tag.green {
    background: #27ae60;
}

.favorite-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.favorite-btn:hover {
    background: #fff;
}

.favorite-btn.active {
    color: #e74c3c;
}

.restaurant-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.restaurant-info {
    padding: 1rem;
}

.restaurant-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating i {
    color: #ffd700;
    font-size: 0.9rem;
}

.rating span {
    font-weight: 500;
    color: #333;
}

.review-count {
    color: #666;
    font-size: 0.8rem;
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.delivery-time {
    color: #333;
    font-weight: 500;
}

.delivery-fee {
    color: #00a650;
    font-weight: 500;
}

/* Recently Viewed Styles */
.recently-viewed-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.clear-recent-btn {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-recent-btn:hover {
    background: #e5e5e5;
    color: #333;
}

.recently-viewed-section {
    margin-bottom: 0.5rem;
}

.restaurants-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.restaurants-scroll::-webkit-scrollbar {
    display: none;
}

.restaurants-scroll .restaurant-card {
    min-width: 280px;
    flex-shrink: 0;
    height: 320px;
    display: flex;
    flex-direction: column;
}

.restaurants-scroll .restaurant-image {
    height: 180px;
    flex-shrink: 0;
}

.restaurants-scroll .restaurant-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

/* Bottom Promotional Bar */
.bottom-promo {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 0;
    z-index: 1000;
}

.promo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.promo-content i {
    font-size: 1.2rem;
}

.promo-close {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-left {
        width: 100%;
        justify-content: space-between;
    }
    
    .header-center {
        max-width: none;
        width: 100%;
    }
    
    .search-container input {
        width: 100%;
    }
    
    .main-layout {
        flex-direction: column;
    }
    
    
    .restaurants-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
  