/* Variáveis de cores */
:root {
    --primary-color: #0d0d52;
    --secondary-color: #8a2be2;
    --accent-color: #ffd700;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --white: #fff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.info-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 30px;
    margin: 30px 10px 30px 10px;
}

.section-title {
    color: #0d0d52;
    border-bottom: 3px solid #ff6b6b;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Barra de navegação */
.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
} */

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

.navbar-brand {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.navbar-brand i {
    margin-right: 10px;
}

.menu-toggle {
    background: none;
    border: none;
    /* color: var(--white); */
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links .active a {
    color: var(--accent-color);
    font-weight: bold;
}

.nav-links .active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

/* Cabeçalho da página */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../Logo/futebol_F.jpg");
    background-size: cover;
    background-position: bottom;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Filtros */
.filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.filters input, .filters select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--white);
}

/* Grid de atletas */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.player-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.player-image {
    height: 300px;
    overflow: hidden;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.player-card:hover .player-image img {
    transform: scale(1.05);
}

.player-info1 {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.player-info1 h2 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.player-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.position, .team {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.position {
    background-color: var(--secondary-color);
    color: white;
}

.team {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.player-bio {
    margin-bottom: 15px;
    flex-grow: 1;
}

.player-details {
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 0.9rem;
}

.player-details p {
    margin-bottom: 8px;
}

/* Rodapé */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

/* Responsividade */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }

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

    .nav-links li {
        margin: 10px 0;
        margin-left: 0;
    }

    .filters {
        grid-template-columns: 1fr;
    }

    .players-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .player-card {
        flex-direction: column;
    }

    .player-image {
        height: 250px;
    }
}