﻿/* ======================================================================
   NA WEBSITE THEME v3 â€” Animations & Micro-interactions
   ====================================================================== */

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#wrapwrap .btn {
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
#wrapwrap .btn:active {
    transform: scale(0.97) !important;
}

/* â”€â”€ Nav stagger â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes nawFadeDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

header#top .navbar-brand {
    animation: nawFadeDown 0.35s ease-out !important;
}

header#top #top_menu > li.nav-item {
    animation: nawFadeDown 0.35s ease-out backwards !important;
}
header#top #top_menu > li.nav-item:nth-child(1) { animation-delay: 0.04s !important; }
header#top #top_menu > li.nav-item:nth-child(2) { animation-delay: 0.08s !important; }
header#top #top_menu > li.nav-item:nth-child(3) { animation-delay: 0.12s !important; }
header#top #top_menu > li.nav-item:nth-child(4) { animation-delay: 0.16s !important; }
header#top #top_menu > li.nav-item:nth-child(5) { animation-delay: 0.20s !important; }
header#top #top_menu > li.nav-item:nth-child(6) { animation-delay: 0.24s !important; }
header#top #top_menu > li.nav-item:nth-child(7) { animation-delay: 0.28s !important; }

/* â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#wrapwrap .card,
#wrapwrap .s_card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease !important;
}

/* â”€â”€ Images â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#wrapwrap section img.img-fluid {
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* â”€â”€ Focus ring â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#wrapwrap a:focus-visible,
#wrapwrap button:focus-visible,
#wrapwrap .btn:focus-visible {
    outline: 2px solid var(--naw-primary) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 5px rgba(var(--naw-primary-rgb), 0.1) !important;
}

/* â”€â”€ Reduced motion â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
