/* Global Styles */
:root {
    --primary-color: #013369;
    --secondary-color: #D50A0A;
    --accent-color: #FFB612;
    --light-color: #f4f4f4;
    --dark-color: #333;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    width: 100%;
    height: auto;
}

h1, h2, h3 {
    margin-bottom: 15px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.logo span {
    color: var(--accent-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    font-weight: bold;
    padding: 10px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(1, 51, 105, 0.8), rgba(1, 51, 105, 0.8)), url('images/stadium.svg') no-repeat center center/cover;
    height: 60vh;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styling */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

/* Teams Section */
.teams-section {
    background-color: #fff;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.team-card ul li {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.team-card ul li:last-child {
    border-bottom: none;
}

/* Players Section */
.players-section {
    background-color: var(--primary-color);
    color: #fff;
}

.players-section h2 {
    color: #fff;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.player-card {
    background-color: #fff;
    color: var(--dark-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.player-card img {
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent-color);
}

.player-card h3 {
    color: var(--primary-color);
    padding: 15px 15px 5px;
}

.player-card p {
    padding: 0 15px 15px;
}

/* Stats Section */
.stats-section {
    background-color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

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

table th {
    background-color: var(--primary-color);
    color: #fff;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.records-list li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.records-list li:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-links h3, .footer-disclaimer h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-disclaimer p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 0.9rem;
    }
}

@media (max-width: 500px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .hero {
        height: 50vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .teams-grid, .players-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}