/* Custom Styles for FlavorLab */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FF6B35;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004E89;
}

/* Enhanced Button Hover Effects */
button, a[class*="bg-"] {
    transition: all 0.3s ease;
}

/* Card Hover Effects */
article {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

/* Focus States for Accessibility */
a:focus, button:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* Hero Section Background */
.hero-background {
    position: relative;
    background: linear-gradient(135deg, #FF6B35 0%, #1A659E 50%, #004E89 100%);
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1490645935967-10de6ba17061');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    animation: heroPattern 20s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.03) 35px, rgba(255, 255, 255, 0.03) 70px);
    opacity: 0.4;
}

@keyframes heroPattern {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(2deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Hero Background Variations */
.hero-background-reviews {
    position: relative;
    background: linear-gradient(135deg, #FF6B35 0%, #1A659E 50%, #004E89 100%);
    overflow: hidden;
}

.hero-background-reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    background-size: 100% 100%;
    opacity: 0.7;
    animation: heroPattern 25s ease-in-out infinite;
}

.hero-background-reviews::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(60deg, transparent, transparent 40px, rgba(255, 255, 255, 0.04) 40px, rgba(255, 255, 255, 0.04) 80px);
    opacity: 0.5;
}

.hero-background-categories {
    position: relative;
    background: linear-gradient(135deg, #1A659E 0%, #004E89 50%, #FF6B35 100%);
    overflow: hidden;
}

.hero-background-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 45%);
    background-size: 100% 100%;
    opacity: 0.65;
    animation: heroPattern 22s ease-in-out infinite;
}

.hero-background-categories::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(30deg, transparent, transparent 45px, rgba(255, 255, 255, 0.035) 45px, rgba(255, 255, 255, 0.035) 90px);
    opacity: 0.45;
}

.hero-background-about {
    position: relative;
    background: linear-gradient(135deg, #004E89 0%, #FF6B35 50%, #1A659E 100%);
    overflow: hidden;
}

.hero-background-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 40% 50%, rgba(255, 255, 255, 0.13) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.09) 0%, transparent 45%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.07) 0%, transparent 40%);
    background-size: 100% 100%;
    opacity: 0.68;
    animation: heroPattern 24s ease-in-out infinite;
}

.hero-background-about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(50deg, transparent, transparent 38px, rgba(255, 255, 255, 0.04) 38px, rgba(255, 255, 255, 0.04) 76px);
    opacity: 0.42;
}

.hero-background-contact {
    position: relative;
    background: linear-gradient(135deg, #1A659E 0%, #FF6B35 50%, #004E89 100%);
    overflow: hidden;
}

.hero-background-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 35% 45%, rgba(255, 255, 255, 0.14) 0%, transparent 52%),
        radial-gradient(circle at 65% 55%, rgba(255, 255, 255, 0.11) 0%, transparent 48%);
    background-size: 100% 100%;
    opacity: 0.7;
    animation: heroPattern 23s ease-in-out infinite;
}

.hero-background-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(55deg, transparent, transparent 42px, rgba(255, 255, 255, 0.038) 42px, rgba(255, 255, 255, 0.038) 84px);
    opacity: 0.48;
}

/* Print Styles */
@media print {
    nav, footer {
        display: none;
    }
}

