/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
}

/* Scroll reveal — progressive enhancement, hidden by default and shown via JS */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(32px);
    }
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Marquee */
.marquee-track {
    animation: marquee 30s linear infinite;
}

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

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

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

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

/* Mobile menu */
.mobile-nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #f5b8b4;
}

/* Menu cards */
.menu-card {
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f5b8b4, #ea7070);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-card:hover::before {
    opacity: 1;
}

/* Geometric decorative elements */
.geo-circle {
    border-radius: 50%;
}

.geo-square {
    border-radius: 4px;
}

/* Selection */
::selection {
    background: #f5b8b4;
    color: #360d0d;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #f5b8b4;
    outline-offset: 4px;
    border-radius: 4px;
}

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

::-webkit-scrollbar-track {
    background: #360d0d;
}

::-webkit-scrollbar-thumb {
    background: #8c2525;
    border-radius: 4px;
}

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