/* === Base & Typography === */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: #C8961A;
    color: #0A1128;
}

/* === Navbar === */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C8961A;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(15, 28, 63, 0.08);
}

/* === Mobile Menu === */
.mobile-link {
    position: relative;
}

/* === Hero Animations === */
.hero-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-images {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

/* === Marquee === */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* === Section Reveal (progressive enhancement) === */
.section-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .section-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .section-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* === Form Focus States === */
input:focus,
textarea:focus {
    border-color: #C8961A !important;
}

/* === Button Hover Effects === */
button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* === Responsive adjustments === */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* === Smooth image loading === */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

::-webkit-scrollbar-track {
    background: #FDF8F0;
}

::-webkit-scrollbar-thumb {
    background: #0F1C3F;
    border-radius: 4px;
}

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