/* Specific styles for club index page */
:root {
    --club-color: #4f81bd; /* Primary blue color for club section */
}

.banner img {
    width: 100%;
    display: block;
}

.club-intro {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.club-link {
    color: var(--club-color);
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.club-link:hover {
    color: #3a6491;
}

.sports-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sport-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    animation: fadeIn 0.5s ease-out forwards;
}

.sport-icon {
    flex: 0 0 100px;
    margin-right: 20px;
}

.sport-icon img {
    width: 100px;
    height: 100px;
    border-radius: 10%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sport-icon img:hover {
    transform: scale(1.05);
}

.sport-details {
    flex: 1;
}

.sport-name {
    margin-bottom: 15px;
}

.sport-name a {
    font-size: 20px;
    font-weight: bold;
    color: var(--club-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sport-name a:hover {
    color: #3a6491;
}

.sport-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--club-color);
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
}

.action-button:hover {
    background-color: #3a6491;
    transform: translateY(-2px);
    color: white;
}

.no-sports {
    text-align: center;
    padding: 30px;
    font-size: 16px;
    color: #666;
}

/* Secondary Navigation - Club specific styling */
.club-secondary-nav {
    background-color: var(--club-color);
}

.club-secondary-nav .secondary-menu-toggle {
    background-color: var(--club-color);
    font-size: 13px;
    padding: 10px 15px;
}

.club-secondary-nav .secondary-nav-list a {
    font-size: 13px;
    padding: 8px;
}

.club-secondary-nav .secondary-nav-list a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.club-secondary-nav .secondary-nav-list a.active {
    background-color: rgba(0, 0, 0, 0.2);
}

.club-secondary-nav .submenu {
    background-color: rgba(79, 129, 189, 0.95);
}

/* Animation for sport items */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply staggered animation to sport items */
.sport-item:nth-child(1) { animation-delay: 0.1s; }
.sport-item:nth-child(2) { animation-delay: 0.2s; }
.sport-item:nth-child(3) { animation-delay: 0.3s; }
.sport-item:nth-child(4) { animation-delay: 0.4s; }
.sport-item:nth-child(5) { animation-delay: 0.5s; }
.sport-item:nth-child(6) { animation-delay: 0.6s; }
.sport-item:nth-child(7) { animation-delay: 0.7s; }
.sport-item:nth-child(8) { animation-delay: 0.8s; }
.sport-item:nth-child(9) { animation-delay: 0.9s; }
.sport-item:nth-child(10) { animation-delay: 1s; }
.sport-item:nth-child(11) { animation-delay: 1.1s; }
.sport-item:nth-child(12) { animation-delay: 1.2s; }
.sport-item:nth-child(13) { animation-delay: 1.3s; }
.sport-item:nth-child(14) { animation-delay: 1.4s; }
.sport-item:nth-child(15) { animation-delay: 1.5s; }

/* Responsive styles */
@media screen and (max-width: 768px) {
    .main-container {
        width: 100%;
        border: none;
    }
    
    .content {
        padding: 15px;
    }
    
    .sport-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 25px;
        margin-bottom: 25px;
    }
    
    .sport-icon {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        flex: 0 0 auto;
    }
    
    .sport-icon img {
        width: 100%;
        height: auto;
        max-height: 300px;
        border-radius: 8px;
        object-fit: contain;
    }
    
    .sport-actions {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .action-button {
        flex: 0 1 auto;
        min-width: 110px;
        margin: 5px;
        text-align: center;
    }
    
    .page-title h1 {
        font-size: 20px;
        text-align: center;
    }
    
    .breadcrumb {
        text-align: center;
    }
    
    .sport-name {
        width: 100%;
        text-align: center;
    }
}

/* Small mobile screens */
@media screen and (max-width: 480px) {
    .sport-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .action-button {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 100px;
    }
    
    .sport-icon img {
        max-height: 250px;
    }
}

/* Very small screens */
@media screen and (max-width: 360px) {
    .sport-actions {
        gap: 5px;
    }
    
    .action-button {
        min-width: 90px;
        padding: 7px 10px;
        font-size: 12px;
    }
    
    .sport-icon img {
        max-height: 200px;
    }
}