*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Gold accent line animation */
.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4b76e, transparent);
    margin: 0 auto 2rem;
    animation: goldExpand 1s ease-out forwards;
}

@keyframes goldExpand {
    from { width: 0; opacity: 0; }
    to { width: 60px; opacity: 1; }
}

/* Scroll reveal base states — content is VISIBLE by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animated states — only applied via JS when in viewport */
.reveal.animated {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left.animated {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-right.animated {
    opacity: 0;
    transform: translateX(40px);
}

/* Reduced motion — disable animations entirely */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(4, 13, 26, 0.92) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(200, 164, 94, 0.1);
}

.nav-scrolled .text-white/70 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Image hover parallax feel */
.group img {
    will-change: transform;
}

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

::-webkit-scrollbar-track {
    background: #040d1a;
}

::-webkit-scrollbar-thumb {
    background: #1b3a6e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c8a45e;
}
