/* ============================================
   SHINING STAR LODGE NO 303
   Premium Dark Luxury Stylesheet
   ============================================ */

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

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

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 162, 39, 0.3);
    color: #FDF7F7;
}

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

::-webkit-scrollbar-track {
    background: #0D0907;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C9A227, #8B1A1A);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #E5C555, #A52222);
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #C9A227, #E5C555);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #C9A227 !important;
}

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

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #C9A227;
    transition: width 0.3s ease;
}

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

/* --- Form Inputs --- */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.3);
}

input::placeholder,
textarea::placeholder {
    color: rgba(184, 132, 132, 0.4);
}

/* --- Button Focus States --- */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #C9A227;
    outline-offset: 2px;
}

/* --- Image Hover Effects --- */
img {
    max-width: 100%;
    height: auto;
}

/* --- Gold Shimmer Effect --- */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* --- Decorative Star Pattern --- */
.star-pattern {
    background-image: radial-gradient(circle, rgba(201, 162, 39, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* --- Print Styles --- */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
