:root {
    --primary-color: #1E3A8A; /* Academic Blue */
    --secondary-color: #FACC15; /* Gold/Yellow */
    --bg-color: #F3F4F6;
    --text-color: #1F2937;
}

body {
    background-color: var(--bg-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    /* Protection: Disable text selection globally */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection inside form inputs/selects so they remain functional */
input, textarea, select {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--secondary-color) !important;
    letter-spacing: 1px;
}

.nav-link {
    color: white !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.card-module {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-bottom: 4px solid var(--secondary-color);
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    margin-top: 50px;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header-banner {
    background: linear-gradient(135deg, rgba(30,58,138,0.9), rgba(30,58,138,0.7)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
}

/* --- Mobile Friendly Media Queries --- */
@media (max-width: 768px) {
    .header-banner {
        padding: 40px 15px;
    }
    
    .header-banner h1 {
        font-size: 2.2rem;
    }
    
    .card-module {
        margin-bottom: 15px;
    }

    /* Make seating grids scale horizontally on small screens */
    .overflow-auto {
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
    }
    
    /* Ensure buttons stack nicely on mobile */
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start !important;
    }
    
    .d-flex.justify-content-between .btn {
        width: 100%;
    }
}