/* Custom Styles for Kate's Place */

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

/* Typography Adjustments */
h1, h2, h3, h4 {
    font-weight: 400;
}

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Scroll Reveal Base State */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Only apply hidden state if JS isn't running or for initial load if preferred, 
   but per rules we keep it visible by default. We will toggle a class via JS. */
.js-enabled .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.js-enabled .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

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

::-webkit-scrollbar-thumb {
    background: #A7C4B8;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0F172A;
}

/* Navbar Glass Effect */
.nav-scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Button Focus States for Accessibility */
button:focus, a:focus {
    outline: 2px solid #A7C4B8;
    outline-offset: 2px;
}
