@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:wght@300;400;700&family=Inter:wght@100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inria Sans', sans-serif;
}

:root {
    --primary-color: #185329;
    --secondary-color: #FFFFFF;
    --third-color: #9CD39B;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
}

header {
    background: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.head__lft {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo img {
    width: 120px;
    height: auto;
}

.link_list {
    display: flex;
    gap: 30px;
    list-style: none;
}

.link .title_link {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.link .title_link:hover {
    color: var(--primary-color);
}

.link .title_link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.link .title_link:hover::after {
    width: 100%;
}

.head__rgt {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone_num {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 20px;
}

.phone img {
    width: 24px;
    height: 24px;
}

.order-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.order-btn:hover {
    background: #0f3d1f;
    transform: translateY(-2px);
}

.person img {
    width: 32px;
    height: 32px;
    cursor: pointer;
}


/* Menu Hero Section */

#menu_hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--third-color) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.menu-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.menu-hero-content h1 {
    font-size: 64px;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-hero-content p {
    font-size: 20px;
    color: var(--secondary-color);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.dappanji,
.lagman {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.dappanji {
    top: -50px;
    left: 10%;
}

.lagman {
    bottom: -50px;
    right: 10%;
}

.dappanji img,
.lagman img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}


/* Menu Section */

#menu_section {
    padding: 60px 0;
    background: #f8f9fa;
}

.menu_top {
    margin-bottom: 40px;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 30px;
}

.search-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 18px;
}

#foodSearch {
    width: 100%;
    padding: 18px 20px 18px 60px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: var(--secondary-color);
}

#foodSearch:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(24, 83, 41, 0.1);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto;
    border-radius: 2px;
}


/* Menu Content */

.menu_content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.menu_sidebar {
    background: var(--secondary-color);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-logo {
    width: 150px;
    height: auto;
    margin: 0 auto 30px;
    display: block;
}

.categories-container {
    margin-top: 20px;
}

.category-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 12px;
    background: var(--secondary-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.category-btn.active:hover {
    background: #0f3d1f;
    transform: none;
}

.category-count {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--third-color);
    color: var(--primary-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.category-btn.active .category-count {
    background: var(--secondary-color);
    color: var(--primary-color);
}


/* Foods Container */

.menu_main {
    background: var(--secondary-color);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.foods_container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    min-height: 400px;
}


/* Food Card */

.food-card {
    background: var(--secondary-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.food-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.food-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--third-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.food-image {
    width: 130%;
    height: 130%;
    margin-top: 50px;
    display: block;
}

.food-content {
    padding: 24px;
}

.food-title {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.food-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.food-ingredients {
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 20px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.food-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.food-price {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.food-price .currency {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

.order-btn-card {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-btn-card:hover {
    background: #0f3d1f;
    transform: scale(1.05);
}

.order-btn-card .plus {
    font-size: 20px;
    font-weight: 700;
}


/* Loading States */

.loading-categories,
.loading-foods {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-categories p,
.loading-foods p {
    color: var(--text-light);
    font-size: 16px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 64px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.empty-state h3 {
    color: var(--text-light);
    font-size: 20px;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-light);
    font-size: 16px;
}


/* Responsive Design */

@media (max-width: 992px) {
    .menu_content {
        grid-template-columns: 1fr;
    }
    .menu_sidebar {
        position: static;
    }
    .footer_content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__head {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }
    .head__lft {
        flex-direction: column;
        gap: 20px;
    }
    .link_list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .head__rgt {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .menu-hero-content h1 {
        font-size: 48px;
    }
    .dappanji,
    .lagman {
        display: none;
    }
    .foods_container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .footer_content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer_left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-desc {
        text-align: center;
    }
    .footer_center {
        align-items: center;
    }
    .footer_right {
        align-items: center;
        text-align: center;
    }
    .contact-info {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .menu-hero-content h1 {
        font-size: 36px;
    }
    .section-title {
        font-size: 28px;
    }
    .foods_container {
        grid-template-columns: 1fr;
    }
    .food-card {
        margin: 0 auto;
        max-width: 320px;
    }
}