@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100%;
    overflow-x: hidden;
    background: linear-gradient(135deg, #fff7ed 0%, #fffbff 100%);
}

.screen {
    height: 100%;
    overflow-y: auto;
}

.content {
    padding-bottom: 80px;
}

/* Text Gradient Styles */
.gradient-text {
    background: linear-gradient(90deg, #ea580c, #c2410c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-purple {
    background: linear-gradient(90deg, #7c3aed, #6d28d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Color & Background Styles */
.gradient-bg {
    background: linear-gradient(135deg, #fff7ed 0%, #f5f3ff 100%);
}

.purple-light-bg {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.purple-tint {
    color: #7c3aed;
}

.accent-color {
    color: #ea580c;
}

.accent-bg {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

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

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

/* Animation Classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-scale {
    animation: scale 2s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Bottom Navigation Styles */
.bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(241, 241, 241, 0.5);
    padding: 16px 24px;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

/* Common UI Component Styles */

/* Button Styles */
.primary-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.5);
}

.primary-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(30deg);
    transition: all 0.7s ease;
}

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

/* Feature Icons */
.feature-icon {
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.4);
}

/* Back Button */
.back-button {
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-button:hover {
    transform: translateX(-3px);
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

/* Tags & Pills */
.tag {
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
}

.category-pill {
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-pill:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
               0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.category-pill.active {
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3), 
               0 4px 6px -2px rgba(249, 115, 22, 0.1);
}

/* Food Cards */
.food-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.food-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
               0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.food-card img {
    transition: all 0.5s ease;
}

.food-card:hover img {
    transform: scale(1.05);
}

.price-tag {
    position: relative;
    overflow: hidden;
}

.price-tag::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(30deg);
    transition: all 0.7s ease;
}

.food-card:hover .price-tag::before {
    left: 100%;
}

/* Meal Detail Page Specific */
.meal-image {
    position: relative;
    overflow: hidden;
}

.meal-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.heart-button {
    transition: all 0.3s ease;
    overflow: hidden;
}

.heart-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.heart-button svg {
    transition: all 0.3s ease;
}

.heart-button:hover svg {
    transform: scale(1.2);
}

.preorder-tag {
    transition: all 0.3s ease;
}

.preorder-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.nutrition-item {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nutrition-item:hover {
    transform: translateY(-2px);
}

.nutrition-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ea580c, #c2410c);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nutrition-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Form Elements */
.quantity-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    transform: scale(1.05);
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-checkbox.checked {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-color: #ea580c;
}

.custom-checkbox.checked::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: white;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.custom-checkbox:hover:not(.checked) {
    border-color: #f97316;
    background-color: #fff7ed;
}

.add-to-cart-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.5);
}

.add-to-cart-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(30deg);
    transition: all 0.7s ease;
}

.add-to-cart-btn:hover::after {
    left: 100%;
}

/* Search Input */
input.search-input {
    transition: all 0.3s ease;
}

input.search-input:focus {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
    transform: translateY(-1px);
}

/* Utility Classes */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
} 