@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

/* ===== VARIABLES & RESET ===== */
:root {
    --primary: #828488;
    /* School gray */
    --primary-dark: #6a6d71;
    --primary-light: #9a9da0;
    --accent: #e63946;
    /* For highlights */
    --text-dark: #333;
    --text-light: #f8f9fa;
    --bg-light: #f9f9f9;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

section {
    padding: 5rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title span {
    color: var(--primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0.5rem auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background: var(--accent);
}

.btn-accent:hover {
    background: #c1121f;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.5rem 0;
    background: var(--primary);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.navbar .menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.navbar .menu a {
    color: var(--text-light);
    text-decoration: none;
    align-items: center;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .menu a:hover {
    color: var(--text-light);
}

.navbar .menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.navbar .menu a:hover::after {
    width: 100%;
}

.navbar .menu .btn {
    background: white;
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    margin-left: 1rem;
}

.navbar .menu .btn:hover {
    background: var(--text-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    border-bottom: none;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content li {
    list-style: none;
    padding: 10px;

}

.dropdown-content a {
    display: block;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}

.dropdown-content a:hover {
    color: var(--primary);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.icons {
    display: flex;
    gap: 1rem;
}

.icons i {
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    color: white;
}

.icons i:hover {
    color: var(--text-light);
}

#menu-btn {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 8rem;
    background: url('teamphoto2.JPG');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===== BANNER SECTION ===== */
.banner-section {
    background: var(--bg-light);
}

.banner-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.banner:hover {
    transform: translateY(-5px);
}

.banner img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner:hover img {
    transform: scale(1.05);
}

.banner .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
}

.banner .content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* ===== NEWS SECTION ===== */
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card .content {
    padding: 1.5rem;
}

.news-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.news-card p {
    color: #666;
    margin-bottom: 1rem;
}

/* ===== SPORTS SECTION ===== */
.sports-section {
    background: var(--bg-light);
}

.sports-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.sport-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.sport-card:hover {
    transform: translateY(-5px);
}

.sport-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.sport-card h3 {
    padding: 1rem;
    font-size: 1.2rem;
}

/* ===== ROSTER SECTION ===== */
.roster-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.player-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.player-card:hover {
    transform: translateY(-5px);
}

.player-photo {
    width: 100%;
    height: 300px;
    background: #ddd;
    background-size: cover;
    background-position: center;
}

.player-details {
    padding: 1.5rem;
}

.player-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.player-details .info {
    margin-bottom: 0.3rem;
    color: #666;
}

.bio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bio-modal.active {
    opacity: 1;
    visibility: visible;
}

.bio-modal .modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--bg-light);
}

.table-container {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

thead {
    background: var(--primary);
    color: white;
}

th,
td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

tbody tr:hover {
    background: #f5f5f5;
}

/* ===== VIDEOS SECTION ===== */
.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video video {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-box h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: white;
}

.footer-box a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-box a:hover {
    color: white;
    padding-left: 5px;
}

.footer-box a i {
    margin-right: 0.5rem;
}

.credit {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .navbar .menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .navbar .menu a {
        color: white;
    }

    .navbar .menu.active {
        left: 0;
    }

    #menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .section-title h1 {
        font-size: 2rem;
    }

    .hero {
        padding-top: 6rem;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}