/* Outer Limits Bar — Custom Styles */

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #faf9f7;
}
::-webkit-scrollbar-thumb {
    background: #9d174d;
    border-radius: 3px;
}

/* Navigation transitions */
.nav-text {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
}

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

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

/* Sticky nav background */
.nav-scrolled {
    background: rgba(250, 249, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(157, 23, 77, 0.1);
}

.nav-scrolled .nav-text {
    color: #1a1a1a;
}

.nav-scrolled .nav-link {
    color: #6b6b6b;
}

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

/* Menu item hover effect */
.menu-item {
    position: relative;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #9d174d;
    transition: width 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.6s ease;
}

.img-zoom:hover {
    transform: scale(1.03);
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #9d174d;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Print */
@media print {
    nav, #mobileMenuBtn, #mobileMenu {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
