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

body {
    font-family: 'Sarabun', -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

/* Smooth scrolling for navigation links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Navigation link active state */
.nav-link.active {
    color: #f17f0b;
    font-weight: 600;
}

/* Hover effects for interactive elements */
button:hover {
    transform: translateY(-1px);
    transition: all 0.2s ease;
}
/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Address modal styles */
#address-modal input:focus {
    outline: none;
    border-color: #f17f0b;
    box-shadow: 0 0 0 3px rgba(241, 127, 11, 0.1);
}

/* Loading spinner */
.loading-spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #f17f0b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

/* Food analysis results */
.food-result {
    background: linear-gradient(135deg, #fef7ee, #feefd7);
    border-left: 4px solid #f17f0b;
}
/* Responsive text sizes */
@media (max-width: 640px) {
    .text-4xl {
        font-size: 2.25rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Card hover effects */
.bg-white:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}
