/* Club Page Styles */

.club-page {
    background: #f9f9f9;
}

/* Hero Section */
.club-hero {
    background: linear-gradient(135deg, #d70f20 0%, #005b85 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.club-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.club-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.club-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.club-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* About Section */
.club-about {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
}

.club-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.club-about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #d70f20;
    margin-bottom: 25px;
}

.club-about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.club-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(215, 15, 32, 0.05), rgba(0, 91, 133, 0.05));
    border-radius: 12px;
    font-weight: 600;
    color: #333;
}

.value-item i {
    font-size: 1.5rem;
    color: #d70f20;
}

.club-about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.club-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Team Section */
.club-team {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title-club {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: #222;
    margin-bottom: 15px;
}

.team-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

/* Filter Tabs */
.team-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #555;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #d70f20;
    color: #d70f20;
}

.filter-btn.active {
    background: linear-gradient(135deg, #d70f20, #005b85);
    border-color: transparent;
    color: white;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-photo {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.badge-bureau {
    background: linear-gradient(135deg, #d70f20, #a50c18);
    color: white;
}

.badge-coach {
    background: linear-gradient(135deg, #005b85, #003d5c);
    color: white;
}

.badge-juge {
    background: linear-gradient(135deg, #f9c23c, #e0a825);
    color: #333;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}

.team-role {
    font-size: 0.95rem;
    color: #d70f20;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Join Section */
.club-join {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(215, 15, 32, 0.05), rgba(0, 91, 133, 0.05));
    margin: 0 20px;
    border-radius: 20px;
}

.club-join h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.club-join p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.btn-join {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #d70f20, #005b85);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(215, 15, 32, 0.3);
}

.btn-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(215, 15, 32, 0.4);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .club-about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .club-hero h1 {
        font-size: 2rem;
    }
    
    .club-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title-club {
        font-size: 1.8rem;
    }
    
    .club-values {
        grid-template-columns: 1fr;
    }
    
    .team-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .team-photo {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .club-join {
        margin: 0;
        border-radius: 0;
    }
}
