/* Custom Styles for Shiatsu-Suzuki */

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

/* Base Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Animation */
.hero-content {
    animation: fadeInUp 1s ease-out forwards;
}

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

/* Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(249, 245, 250, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(91, 44, 111, 0.1);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Mobile Menu Animation */
.mobile-menu-open .mobile-link {
    animation: slideIn 0.4s ease-out forwards;
    opacity: 0;
}

.mobile-menu-open .mobile-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu-open .mobile-link:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu-open .mobile-link:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

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

/* 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;
    }
    
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .reveal-up,
    .reveal-left,
    .reveal-right {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
