/* Additional custom styles */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(201, 162, 39, 0.2);
    color: #0A1628;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAFAF8;
}
::-webkit-scrollbar-thumb {
    background: rgba(10, 22, 40, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 22, 40, 0.3);
}

/* Mobile menu overlay */
@media (max-width: 767px) {
    .mobile-menu {
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(20px);
    }
    .mobile-link {
        font-size: 1.75rem;
    }
}

/* Subtle hover for gallery images */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0);
    transition: background 0.3s ease;
    border-radius: inherit;
}
.gallery-item {
    position: relative;
}
.gallery-item:hover::after {
    background: rgba(10, 22, 40, 0.05);
}

/* Navbar scroll state */
nav.scrolled {
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.06);
}
