/* Winston Residence Hall — Custom Styles */

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background-color: #0d0d0d; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #141414; }
::-webkit-scrollbar-thumb { background: #2e2e2e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #D4A853; }

/* Selection */
::selection { background: rgba(212, 168, 83, 0.3); color: #fff; }

/* Gold line accent */
.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #D4A853, #C9A227);
    border: none;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(46, 46, 46, 0.5);
}

/* Subtle gold border animation for cards on hover */
.card-glow {
    position: relative;
    overflow: hidden;
}
.card-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.15);
    pointer-events: none;
}
.card-glow:hover::after { opacity: 1; }

/* Image overlay gradient */
.img-overlay {
    position: relative;
}
.img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.4), transparent);
    pointer-events: none;
}
