/* Custom styles for Seiko Sushi & Nikkei */

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

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

::-webkit-scrollbar-track {
    background: #0A1117;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E5C158;
}

/* Selection color */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 {
        transition-delay: 0.1s;
    }
    
    .reveal-delay-2 {
        transition-delay: 0.2s;
    }
    
    .reveal-delay-3 {
        transition-delay: 0.3s;
    }
}

/* Mobile menu transition */
#mobile-menu {
    animation: fadeIn 0.3s ease;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Gold accent line animation */
.gold-line {
    position: relative;
    overflow: hidden;
}

.gold-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, #E5C158);
    transition: width 0.3s ease;
}

.gold-line:hover::after {
    width: 100%;
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Navbar glass effect when scrolled */
nav.scrolled {
    background: rgba(10, 17, 23, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Input focus glow */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Prevent layout shift */
img {
    height: auto;
}

/* Mobile responsiveness adjustments */
@media (max-width: 768px) {
    .font-cinzel {
        font-size: 1.5rem;
    }
    
    .font-cinzel.text-4xl {
        font-size: 2rem;
    }
    
    .font-cinzel.text-5xl {
        font-size: 2.25rem;
    }
}

/* Print styles */
@media print {
    nav,
    button,
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
