/* Scoped to body.college — base.css already sets margin, font-family,
   flex layout and min-height on the shared `body` selector for every
   page, so this file only needs to ADD the college-specific background,
   not redeclare the rest. Also matches the body.college scoping pattern
   used everywhere else in this file. */
body.college {
    background-image: url("../images/Raiders_Background.png");
    background-repeat: repeat;
    background-position: center;
}


body.college h1,
body.college h2 {
    color: white;
}

/* =========================================================
   COLLEGE PAGE - SEMINOLE RAIDERS NAVBAR
   ========================================================= */

body.college nav {
    background: #0B53B3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

body.college .nav-links a {
    color: white;
}

body.college .nav-links a:hover {
    color: white;
    background-color: #083E86;
    border-color: #F5C400;
}

body.college nav a.current {
    color: #F5C400 !important;
    text-decoration: underline;
}

/* Hamburger menu */
body.college .hamburger span {
    background: white;
}

body.college nav .logo-img {
    height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
    padding: 10px 0;
}



/* =========================================
   COLLEGE HERO
========================================= */

.college-hero {
    position: relative;
    min-height: 420px;
    margin-top: -20px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(3, 99, 242, 0.772),
            rgba(255, 255, 255, 0.488)
        ),
        url("../images/Raiders_Background.png")
        center / cover no-repeat;

    border: 4px solid white;
    box-sizing: border-box;

    color:var(--color-text-light);
}


.college-hero-content {
    width: min(1100px, 90%);
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 35px;
}

.college-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    
}


.college-logo:hover {
    transform: scale(1.2) rotate(10deg);
}




.college-hero h1 {
    margin: 0 0 10px;
    font-size: 3rem;
}

.college-hero p {
    margin: 0;
    font-size: 1.2rem;
}


.college-player-img {
    width: 250px;
    height: auto;
    border-radius: 12px;
    
}


/* =========================================
   GENERAL COLLEGE SECTIONS
========================================= */

.college-section {
    width: min(1100px, 90%);
    margin: 70px auto;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 0 0 8px;
    font-size: 2rem;
}

.section-heading p {
    margin: 0;
    color: var(--color-text-light);
}


/* =========================================
   SCHEDULE TABLE
========================================= */

.schedule-wrapper {
    width: 100%;
    overflow-x: auto;
}

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

.schedule-table th,
.schedule-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.schedule-table th {
    background: #111;
    color: white;
    font-weight: 600;
}

.schedule-table tbody tr {
    transition: background 0.2s ease;
}

.schedule-table tbody tr:hover {
    background: #f5f5f5;
}

.schedule-table td:nth-child(4),
.schedule-table td:nth-child(5) {
    font-weight: 600;
}


/* =========================================
   STATISTICS
========================================= */

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    padding: 30px 20px;
    text-align: center;

    background: #f5f5f5;
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    color: #666;
}


/* =========================================
   TOURNAMENT RESULTS
========================================= */

.tournament-card {
    margin-bottom: 30px;

    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;

    overflow: hidden;
}

.tournament-card h3 {
    margin: 0;
    line-height: 1.2;
}

.tournament-card p {
    margin: 8px 0 0;
    line-height: 1.2;
}

/* Tournament heading */

.tournament-header {
    padding: 22px 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #f5f5f5;
}

.tournament-header h3 {
    margin: 0 0 5px;
    font-size: 1.3rem;
}

.tournament-header p {
    margin: 0;
    color: #666;
}

.tournament-date {
    font-weight: 600;
    color: #555;
}


/* Round scores */

.round-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.result-item {
    padding: 20px;
    text-align: center;

    border-right: 1px solid #ddd;
}

.result-item:last-child {
    border-right: none;
}

.result-item span {
    display: block;
    margin-bottom: 6px;

    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
}

.result-item strong {
    font-size: 1.5rem;
}


/* Total score */

.result-item.total {
    background: #f8f8f8;
}


/* Tournament footer */

.tournament-footer {
    display: flex;
    gap: 40px;
    padding: 18px 25px;
}

.tournament-footer div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tournament-footer span {
    font-size: 0.8rem;
    color: #777;
    text-transform: uppercase;
}

.tournament-footer strong {
    font-size: 1.1rem;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .college-hero {
        min-height: 350px;
    }

    .college-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .college-logo {
        width: 110px;
        height: 110px;
    }

    .college-hero h1 {
        font-size: 2.2rem;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tournament-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .round-results {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-item:nth-child(2) {
        border-right: none;
    }

    .result-item:nth-child(-n + 2) {
        border-bottom: 1px solid #ddd;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .college-section {
        width: 92%;
        margin: 50px auto;
    }

    .college-hero h1 {
        font-size: 1.8rem;
    }

    .statistics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 20px 10px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

}
