/* Multicolor flashing effect */
.flashing {
    font-weight: bold;
    animation: flash-multicolor 1.2s infinite linear;
}
@keyframes flash-multicolor {
    0% { color: #F2B111; }
    20% { color: #e74c3c; }
    40% { color: #27ae60; }
    60% { color: #2980b9; }
    80% { color: #f39c12; }
    100% { color: #F2B111; }
}
/* Event card image covers 70% of card height, all cards same height */
.event-card {
    height: 400px;
    display: flex;
    flex-direction: column;
}
.event-card .card-img-top {
    height: 70%;
    object-fit: cover;
    width: 100%;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
.event-card .card-body {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
/* Highlight event card on hover */
.event-card {
    transition: box-shadow 0.2s, transform 0.2s;
}
.event-card:hover {
    box-shadow: 0 8px 24px rgba(199, 147, 14, 0.25), 0 1.5px 8px rgba(0,44,91,0.12);
    transform: translateY(-2px) scale(1.02);
    z-index: 2;
}
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f8f9fa;
    color: #002C5B;
}

.header {
    background: #002C5B;
    color: #F2B111;
    padding: 40px 0 20px 0;
    text-align: center;
}

.header h1 {
    font-size: 3rem;
    margin: 0;
    letter-spacing: 2px;
}

.header p {
    font-size: 1.3rem;
    margin-top: 10px;
    color: #fff;
}

.hero {
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    background: url('assets/wvu-campus.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,44,91,0.4);
}

.hero-text {
    position: relative;
    color: #F2B111;
    font-size: 2.5rem;
    font-weight: bold;
    z-index: 1;
    text-shadow: 2px 2px 8px #002C5B;
}

.section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,44,91,0.08);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.section h2 {
    color: #002C5B;
    margin-bottom: 16px;
}

.button {
    background: #F2B111;
    color: #002C5B;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 20px;
}
.button:hover {
    background: #e0a800;
}

.footer {
    background: #002C5B;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    margin-top: 40px;
    font-size: 1rem;
}

/* Highlight navbar links on hover */
.navbar-nav .nav-link.fw-bold:hover, .navbar-nav .nav-link.fw-bold.active {
    background-color: #F2B111;
    color: #002C5B !important;
    border-radius: 0.25rem;
    transition: background 0.2s, color 0.2s;
}

/* Make gallery images square */
#gallery img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 300px;
    cursor: pointer;
}

@media (max-width: 700px) {
    .hero {
        height: 220px;
    }
    .hero-text {
        font-size: 1.3rem;
    }
    .section {
        margin-top: -30px;
        padding: 20px 8px;
    }
    .header h1 {
        font-size: 2rem;
    }
}
