/* Custom Styles for Morgen's Kitchen */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #030714;
}
::-webkit-scrollbar-thumb {
    background: #1a2750;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* Gold button */
.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #030714;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #e4c047 0%, #c9a84c 100%);
}

.btn-gold:active {
    transform: translateY(0);
}

/* Outline button */
.btn-outline {
    background: transparent;
    color: #d4af37;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background: rgba(3, 7, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(3, 7, 20, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #d4af37 !important;
}

/* Mobile menu */
.mobile-link {
    font-family: 'Playfair Display', serif;
}

/* Stat cards */
.stat-card {
    background: rgba(17, 26, 60, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 1.25rem;
    padding: 1.5rem 2rem;
    transition: all 0.4s ease;
}

.stat-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-card.card-1 {
    animation: float1 6s ease-in-out infinite;
}

.stat-card.card-2 {
    animation: float2 6s ease-in-out infinite;
    animation-delay: -2s;
}

.stat-card.card-3 {
    animation: float3 6s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Menu cards */
.menu-card {
    background: rgba(17, 26, 60, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s ease;
}

.menu-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    background: rgba(17, 26, 60, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Scroll indicator */
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #d4af37, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal:not(.revealed) {
    opacity: 1;
    transform: translateY(30px);
}

/* Focus styles */
input:focus, textarea:focus {
    outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .stat-card {
        animation: none !important;
    }
}
