/* Shared styles for the unified header / footer / modal (loaded after each page's own <style>) */
#site-top .hover-lift, #site-bottom .hover-lift { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
#site-top .hover-lift:hover, #site-bottom .hover-lift:hover { transform: translateY(-6px); box-shadow: 0 25px 30px -5px rgba(15, 23, 42, 0.1), 0 10px 15px -5px rgba(15, 23, 42, 0.04); }

#site-top .hover-glow, #site-bottom .hover-glow { transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
#site-top .hover-glow:hover, #site-bottom .hover-glow:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 0 25px rgba(185, 28, 28, 0.4); }

#site-top .btn-press, #site-bottom .btn-press { transition: transform 0.15s ease; }
#site-top .btn-press:active, #site-bottom .btn-press:active { transform: scale(0.96); }

#site-top nav { transition: all 0.4s ease-in-out; }
#site-top nav.scrolled {
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    background-color: rgba(255, 255, 255, 0.98) !important;
    height: 5.5rem !important;
}
@media (min-width: 768px) { #site-top nav.scrolled { height: 6rem !important; } }

#site-top #brand-logo { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
html[dir="ltr"] #site-top #brand-logo { transform-origin: left center; }
html[dir="rtl"] #site-top #brand-logo { transform-origin: right center; }
#site-top nav.scrolled #brand-logo { transform: scale(1.15); }

#site-top .modal-enter, #site-bottom .modal-enter { animation: modalIn 0.3s ease-out forwards; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
