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

:root {
    --primary-color: #72383D;
    --primary-dark: #5a2c30;
    --primary-light: #8a4a50;
    --secondary-color: #322D29;
    --secondary-dark: #1f1c19;
    --accent-color: #AC9C8D;
    --text-dark: #322D29;
    --text-light: #72383D;
    --text-muted: #AC9C8D;
    --bg-light: #D9D9D9;
    --bg-white: #EFE9E1;
    --bg-off-white: #EFE9E1;
    --bg-card: #D1C7BD;
    --border-color: #AC9C8D;
    --shadow: 0 4px 20px rgba(50, 45, 41, 0.15);
    --shadow-hover: 0 8px 30px rgba(50, 45, 41, 0.25);
    --shadow-soft: 0 2px 8px rgba(50, 45, 41, 0.1);
    --shadow-lg: 0 12px 40px rgba(50, 45, 41, 0.2);
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(239, 233, 225, 0.85);
    --glass-border: rgba(172, 156, 141, 0.3);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-off-white);
    min-height: 100vh;
    padding: 0;
    position: relative;
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

* {
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.hidden {
    display: none !important;
}

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    padding: 1.2rem 0;
    animation: slideDown 0.5s ease;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
    background: var(--bg-white);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: -0.5px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    transform: translateY(-2px);
    color: var(--primary-dark);
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-btn {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.nav-btn:hover::before {
    width: 300px;
    height: 300px;
}

.nav-btn:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-btn span,
.nav-btn i {
    position: relative;
    z-index: 1;
}

.nav-btn.active {
    background: var(--primary-color);
    color: white;
}

.cart-badge {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    position: absolute;
    top: -6px;
    right: -6px;
    animation: pulse 2s infinite;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--bg-white);
    transition: var(--transition);
}

.cart-badge:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow);
}

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

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    background: var(--bg-white);
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    min-width: 320px;
    animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), fadeOut 0.6s ease 2.8s forwards;
    border-left: 5px solid var(--secondary-color);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideInRight {
    from {
        transform: translateX(500px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(500px);
    }
}

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

.toast.success {
    border-left-color: var(--secondary-color);
    background: var(--bg-white);
}

.toast.error {
    border-left-color: var(--primary-color);
    background: var(--bg-white);
}

.toast i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    animation: pulse 0.6s ease;
    min-width: 1.8rem;
}

.toast.error i {
    color: var(--primary-color);
}

.toast span {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Home Section */
.home-section {
    text-align: center;
    padding: 8rem 2rem 6rem;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-off-white);
    position: relative;
    overflow: hidden;
}

.home-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--bg-card);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.home-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.08;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.home-content {
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
}

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

.home-section h1 {
    font-size: 4.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.home-section h1 i {
    color: var(--primary-color);
}


@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.description {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.home-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2.5rem 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    min-width: 180px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover::after {
    width: 200px;
    height: 200px;
}

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.feature span,
.feature i {
    position: relative;
    z-index: 1;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature:hover i {
    transform: scale(1.1);
}

.feature span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.4rem 4rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Menu Section */
.menu-section {
    padding: 3rem 0 5rem;
    background: var(--bg-white);
}

.section-header {
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.section-header h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: var(--bg-white);
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.filter-btn:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

/* Menu Categories */
.menu-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 700;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1.3;
    position: relative;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Horizontal Scroll Container */
.menu-scroll-container {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.menu-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    -webkit-overflow-scrolling: touch;
}

.menu-scroll::-webkit-scrollbar {
    height: 8px;
}

.menu-scroll::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.menu-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.menu-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Menu Cards */
.menu-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.menu-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.menu-card:hover::before {
    opacity: 0.03;
}

.menu-card > * {
    position: relative;
    z-index: 1;
}

.card-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(50, 45, 41, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .card-image-wrapper img {
    transform: scale(1.15);
}

.card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.card-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.add-order-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: var(--shadow-soft);
}

.add-order-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.add-order-btn:active {
    transform: scale(0.98);
}

.add-order-btn i {
    font-size: 0.9rem;
}

/* Item Detail Styles */
.item-container { max-width: 1000px; margin: 50px auto; display: flex; gap: 40px; align-items: flex-start; }
.item-image { flex: 1 1 450px; }
.item-image img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--border-color); }
.item-details { flex: 1 1 450px; background: var(--bg-white); padding: 2.5rem; border-radius: 16px; box-shadow: var(--shadow-soft); border: 1px solid var(--border-color); }
.item-details h1 { margin-top: 0; font-size: 2.5rem; color: var(--text-dark); font-weight: 700; letter-spacing: -0.8px; line-height: 1.2; margin-bottom: 1rem; }
.item-meta { display:flex; gap:12px; margin:16px 0; align-items:center; flex-wrap:wrap; }
.meta-pill { background:var(--bg-light); padding:8px 14px; border-radius:20px; display:inline-flex; align-items:center; gap:8px; font-weight:500; color:var(--text-dark); border: 1px solid var(--border-color); }
.add-order-large { background:var(--primary-color); color:#fff; border:none; padding:14px 24px; border-radius:8px; cursor:pointer; font-size:16px; font-weight:600; transition: var(--transition); box-shadow: var(--shadow-soft); }
.add-order-large:hover { background:var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.add-order-large i { margin-right:8px; }
.rating-stars { color: var(--accent-color); }
.nutrition-card { margin-top: 14px; padding: 12px; background: var(--bg-light); border-radius: 10px; border: 1px solid var(--border-color); }
.nutrition-card h4 { margin: 0 0 8px 0; font-size: 1.05rem; }
.nutrition-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:8px; padding:0; margin:0; }
.nutrition-list li { font-size: 0.95rem; color: var(--text-light); }
/* Cart Section */
.cart-section {
    padding: 3rem 0 5rem;
    background: var(--bg-off-white);
}

.cart-section h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.cart-content {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart i {
    font-size: 5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-cart p {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.empty-cart-subtitle {
    font-size: 1rem !important;
    font-weight: 400 !important;
    margin-bottom: 2rem !important;
}

.order-list {
    list-style: none;
    margin-bottom: 2rem;
}

.order-list li {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-white);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary-color);
    font-size: 1.1rem;
    color: var(--text-dark);
    animation: fadeIn 0.5s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

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

.order-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-white);
    padding: 0.3rem;
    border-radius: 20px;
}

.quantity-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
}

.item-price {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 100px;
    text-align: right;
}

.remove-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.remove-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05) rotate(90deg);
    box-shadow: var(--shadow);
}

.cart-summary {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.total-label {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.2px;
}

.delivery-amount {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
}

.total-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.3px;
}

.grand-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.grand-total .total-label {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.grand-total .total-amount {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}

.btn-checkout {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.btn-checkout:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-checkout:active {
    transform: translateY(-1px);
}

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

/* Team Section */
.team-section {
    padding: 5rem 0;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    background: var(--bg-off-white);
}

.team-background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.team-section .container {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 300;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.decorative-line {
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.6;
}

.header-icon {
    font-size: 2rem;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

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

.section-header h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    letter-spacing: -0.5px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.team-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    animation: fadeInUp 0.6s ease-out backwards;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }
.team-card:nth-child(6) { animation-delay: 0.6s; }

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

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.team-card:hover::before {
    opacity: 0.3;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.team-card-content {
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 1;
}

.team-card-image-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 2rem;
    z-index: 2;
}

.team-card-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
    background: var(--bg-white);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.team-card-image::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.team-card:hover .team-card-image {
    transform: scale(1.08);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.team-card:hover .team-card-image::before {
    opacity: 0.1;
}

.team-card-role-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    transform: translateY(0);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.team-card:hover .team-card-role-badge {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(114, 56, 61, 0.4);
}

.team-card h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.team-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.team-card:hover h3::after {
    width: 100px;
}

.team-card-role {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 1rem;
}

.team-card-description::before,
.team-card-description::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    font-family: serif;
}

.team-card-description::before {
    top: -10px;
    left: 0;
}

.team-card-description::after {
    bottom: -30px;
    right: 0;
}

.team-card-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.team-card-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.team-card-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.team-card-social a i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.team-card-social a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.team-card-social a:hover::before {
    opacity: 1;
}

.team-card-social a:hover i {
    transform: rotate(360deg);
    color: white;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.footer-section h3 i {
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: white;
}

.footer-section p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 3px;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.newsletter {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.newsletter input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(114, 56, 61, 0.2);
}

.newsletter button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-soft);
}

.newsletter button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-bottom i {
    color: var(--primary-color);
    margin: 0 0.2rem;
}

/* Checkout Page Styles */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-top: 2rem;
}

.checkout-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.checkout-right {
    position: relative;
}

.checkout-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.checkout-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.checkout-card h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.3px;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.checkout-card h3 i {
    color: var(--primary-color);
}

.sticky {
    position: sticky;
    top: 100px;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(114, 56, 61, 0.1);
    background: var(--bg-white);
    transform: translateY(-1px);
}


.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

/* Nav Button as Link */
.nav-menu a.nav-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--bg-white) 50%, var(--bg-light) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-color);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .checkout-container {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 992px) {
    .home-section h1 {
        font-size: 3.5rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .menu-card {
        min-width: 280px;
        max-width: 280px;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 999;
        gap: 1rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
    }
    .home-section {
        padding: 6rem 1.5rem 4rem;
    }
    
    .home-section h1 {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .home-section h1 i {
        font-size: 2rem;
    }

    .home-features {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    .feature {
        min-width: 100%;
        max-width: 300px;
        padding: 2rem 1.5rem;
    }

    .description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .btn-primary {
        padding: 1.2rem 2.5rem;
        font-size: 0.9rem;
    }

    .menu-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }

    .category-filters {
        justify-content: center;
        flex-wrap: wrap;
    }

    .menu-card {
        min-width: 240px;
        max-width: 240px;
    }

    .category-title {
        font-size: 1.6rem;
    }

    .card-content h4 {
        font-size: 1.1rem;
    }

    .card-price {
        font-size: 1.2rem;
    }

    .add-order-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }

    .toast {
        min-width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }

    .order-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-price {
        text-align: left;
        margin-top: 0.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-card-image-wrapper {
        width: 160px;
        height: 160px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .header-icon {
        font-size: 1.5rem;
    }

    .decorative-line {
        width: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .nav-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .item-container {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .item-image,
    .item-details {
        flex: 1 1 100%;
    }
    
    .item-details h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
    }
    
    .home-section h1 {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .menu-card {
        min-width: 240px;
        max-width: 240px;
    }
    
    .checkout-card {
        padding: 1.5rem;
    }
    
    .btn-primary {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }
    
    .feature {
        padding: 1.5rem 1rem;
    }
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.back-link:hover {
    color: var(--primary-color);
    transform: translateX(-3px);
}

