/* Custom Styles for Hygge Coffee */

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

/* Custom Animations */
@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; /* Start hidden for animation */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal Utility (used by JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Navbar Scroll Effect */
.nav-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-default {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Form Styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #800020;
    box-shadow: 0 0 0 2px rgba(128, 0, 32, 0.2);
}

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Selection Color */
::selection {
    background: #800020;
    color: #fff;
}
