/* Custom Animations */
@keyframes steam {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) translateX(10px) scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-40px) translateX(-5px) scale(0.8);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 159, 64, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 159, 64, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Steam Animation */
.steam-effect {
    animation: steam 3s ease-in-out infinite;
}

/* Floating Animation */
.hero-float-dish {
    animation: float 6s ease-in-out infinite;
}

.hero-float-dish:nth-child(2) {
    animation-delay: -2s;
}

.hero-float-dish:nth-child(3) {
    animation-delay: -4s;
}

/* Spice Particle Animation */
.spice-particle {
    animation: float 8s ease-in-out infinite;
}

.spice-particle:nth-child(1) {
    animation-delay: 0s;
}

.spice-particle:nth-child(2) {
    animation-delay: -2s;
}

.spice-particle:nth-child(3) {
    animation-delay: -4s;
}

.spice-particle:nth-child(4) {
    animation-delay: -6s;
}

.spice-particle:nth-child(5) {
    animation-delay: -3s;
}

/* Glassmorphism Navigation */
#navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Swiper Custom Styles */
.gallery-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: #FF9232;
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

.testimonials-swiper .swiper-pagination-bullet {
    background: #FF9232;
    opacity: 0.3;
    width: 12px;
    height: 12px;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: #FF9232;
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: #FF9232;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-swiper .swiper-button-next:after,
.gallery-swiper .swiper-button-prev:after {
    font-size: 20px;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Preloader */
#preloader {
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF9232, #FFCD5C);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #E67C1C, #E6B34A);
}

/* Selection */
::selection {
    background: #FF9232;
    color: white;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #FF9232;
    outline-offset: 2px;
}

/* Image Lazy Loading */
img {
    transition: opacity 0.3s ease-in-out;
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform-origin: top;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: scaleY(0);
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: scaleY(1);
}

/* Counter Animation */
.counter-number {
    font-variant-numeric: tabular-nums;
}

/* Hero Main Dish Glow */
.hero-main-dish > div > div:first-child {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-float-dish {
        width: 80px !important;
        height: 80px !important;
    }
    
    .hero-main-dish {
        width: 200px !important;
        height: 200px !important;
    }
}

/* Print Styles */
@media print {
    #navbar,
    #footer,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .steam-effect,
    .hero-float-dish,
    .spice-particle {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .bg-white\/60 {
        background: rgba(255, 255, 255, 0.9);
    }
    
    .bg-white\/10 {
        background: rgba(255, 255, 255, 0.3);
    }
}
