/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Navbar transition ── */
#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
#navbar.scrolled #nav-logo { color: #fff; }

/* ── Hero parallax-like subtle zoom on load ── */
#hero img {
    animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1); }
}

/* ── Gold accent line animation ── */
.gold-line {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #B8860B, #F59E0B);
    border-radius: 2px;
    transition: width 0.8s ease;
}
.gold-line.visible { width: 60px; }

/* ── Menu card hover ── */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* ── Smooth focus outlines ── */
a:focus-visible, button:focus-visible {
    outline: 2px solid #F59E0B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Mobile menu animation ── */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Selection color ── */
::selection {
    background: rgba(184, 134, 11, 0.2);
    color: #0a1628;
}
