/* 
    Main St Smokers - Custom Styles
    Bold Editorial Aesthetic
*/

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

body {
    /* Prevent layout shift */
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #FDFCF8;
}
::-webkit-scrollbar-thumb {
    background: #1a4226;
}
::-webkit-scrollbar-thumb:hover {
    background: #265932;
}

/* Editorial Typography Tweaks */
.font-serif {
    line-height: 1.1;
}

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Scroll Reveal Base State (Progressive Enhancement) */
.reveal {
    opacity: 1; /* Default visible for no-JS */
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* JS will add this class to trigger animation */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Navbar Glass Effect */
.nav-scrolled {
    background-color: rgba(15, 46, 29, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-transparent {
    background-color: transparent;
}

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}

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