/* Home Page Styles */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../assets/hero.png');
    background-size: cover;
    background-position: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    color: white;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 72px);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 40px;
}

.search-bar-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 8px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar-container input {
    border: none;
    background: transparent;
    flex: 1;
}

/* Category Grid */
.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 8px;
}

.section-title p {
    color: var(--text-low);
}

.category-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    margin-bottom: 80px;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.category-row::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.category-pill {
    flex: 0 0 auto;
    background: var(--bg-surface);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-base);
}

.category-pill:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.category-pill img {
    width: 24px;
    height: 24px;
}

/* Restaurant Grid */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

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

/* Menu Page Styles */
.menu-header {
    background: var(--bg-surface);
    padding: 60px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.menu-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.food-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.food-img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.food-info {
    flex: 1;
}

.food-info h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
}

.food-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.food-desc {
    color: var(--text-low);
    font-size: 13px;
    margin-bottom: 16px;
}

/* Cart Sidebar */
.sticky-cart {
    position: sticky;
    top: 100px;
}

.cart-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.cart-items-list {
    margin: 20px 0;
}

.cart-sum-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--text-medium);
}

.cart-total {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 700;
}

/* Auth Page */
.auth-container {
    max-width: 450px;
    margin: 60px auto;
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.auth-tabs {
    display: flex;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding-bottom: 12px;
    color: var(--text-low);
    font-weight: 600;
    cursor: pointer;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--text-medium);
}
