/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f6f6f6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.3em;
    font-style: italic;
    color: #e0e7ff;
}

/* Navigation Styles */
nav {
    background-color: #1e40af;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #3b82f6;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    padding: 40px 0;
}

section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    color: #1e40af;
    margin-bottom: 20px;
    font-size: 2em;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 10px;
}

h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

/* Quick Links Grid */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.link-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 25px;
    border-radius: 8px;
    text-decoration: none;
    color: #1e3a8a;
    border: 2px solid #3b82f6;
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    border-color: #1e40af;
}

.link-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.link-card p {
    color: #475569;
    font-size: 0.95em;
}

/* School Lists */
.school-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.school-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #e0e7ff;
    transition: all 0.3s ease;
}

.school-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.2);
}

.school-card h3 {
    color: #1e40af;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.school-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.school-links a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.school-links a:hover {
    background-color: #1e40af;
}

.school-links a.disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.school-links a.website {
    background-color: #6b7280;
}

.school-links a.website:hover {
    background-color: #4b5563;
}

/* Sport Categories */
.sport-category {
    margin-bottom: 30px;
    padding: 20px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 5px solid #3b82f6;
}

.sport-category h3 {
    color: #1e40af;
    margin-bottom: 15px;
}

.sport-schools {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.sport-schools a {
    padding: 10px;
    background: white;
    color: #1e40af;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
}

.sport-schools a:hover {
    background: #3b82f6;
    color: white;
    border-color: #1e40af;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background-color: #1e40af;
    color: white;
    font-weight: bold;
}

tr:hover {
    background-color: #f0f9ff;
}

/* Lists */
ul {
    margin: 20px 0;
    padding-left: 30px;
}

li {
    margin-bottom: 10px;
}

/* Links */
a {
    color: #3b82f6;
}

a:hover {
    color: #1e40af;
}

/* Footer */
footer {
    background-color: #1e3a8a;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #93c5fd;
    text-decoration: none;
}

footer a:hover {
    color: #dbeafe;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }

    .tagline {
        font-size: 1.1em;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
    }

    nav .container {
        position: relative;
    }

    .link-grid,
    .school-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 20px;
    }

    h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 150px;
    }

    header h1 {
        font-size: 1.5em;
    }

    .tagline {
        font-size: 1em;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.note {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

.note p {
    margin: 0;
    color: #92400e;
}
