/* ========== CUSTOM STYLES ========== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* ========== NAVBAR ========== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .font-display a:not(.bg-teal-600) {
    color: #334155;
}

#navbar.scrolled .font-display.font-semibold.text-white.bg-teal-600 {
    background: #0d9488;
    color: white;
}

/* ========== HERO ========== */
.hero-float-1 {
    animation: float1 6s ease-in-out infinite;
}
.hero-float-2 {
    animation: float2 7s ease-in-out infinite;
}
.hero-float-3 {
    animation: float3 5s ease-in-out infinite;
}
.hero-float-4 {
    animation: float4 8s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(3deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(6deg); }
    50% { transform: translateY(-10px) rotate(6deg); }
}
@keyframes float4 {
    0%, 100% { transform: translateY(0px) rotate(-4deg); }
    50% { transform: translateY(-6px) rotate(-4deg); }
}

/* ========== MENU CARDS ========== */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ========== GALLERY ========== */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.02);
}

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { transition: none; opacity: 1; transform: none; }
    .hero-float-1, .hero-float-2, .hero-float-3, .hero-float-4 { animation: none; }
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    #navbar {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
    }
}
