/* Team Page Styles */

.team-page {
    background: #f8f9fa;
}

/* Team Header */
.team-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
    margin-top: -80px;
    padding-top: 180px;
    text-align: center;
}

.team-header .page-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.team-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* Team Members Grid */
.team-members {
    padding: 80px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.team-member-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.member-photo {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-member-card:hover .member-image {
    transform: scale(1.05);
}

.member-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
}

.member-placeholder a {
    color: white;
    text-decoration: none;
}

.member-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.status-active {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

.status-available {
    background: rgba(23, 162, 184, 0.9);
    color: white;
}

.status-busy {
    background: rgba(255, 193, 7, 0.9);
    color: #212529;
}

.member-info {
    padding: 25px;
}

.member-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.member-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-name a:hover {
    color: #007bff;
}

.member-role {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.member-experience {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.experience-years,
.member-nationality {
    display: flex;
    align-items: center;
    gap: 6px;
}

.member-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.specialty-tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.specialty-more {
    background: #007bff;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.member-languages {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.languages-label {
    font-weight: 500;
}

.member-actions {
    text-align: center;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* No Team Members */
.no-team-members {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-team-members h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #495057;
}

/* Team Stats */
.team-stats {
    padding: 80px 0;
    background: #f8f9fa;
}

.team-stats h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    text-align: center;
}

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

.stat-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
}

/* Call to Action */
.team-cta {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
    text-decoration: none;
}

/* Captain Card Component Styles */
.captain-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.captain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.captain-card-compact .captain-photo {
    height: 200px;
}

.captain-card-full .captain-photo {
    height: 250px;
}

.captain-photo {
    position: relative;
    overflow: hidden;
}

.captain-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.captain-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.captain-info {
    padding: 20px;
}

.captain-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.captain-name a {
    color: #2c3e50;
    text-decoration: none;
}

.captain-name a:hover {
    color: #007bff;
}

.captain-role {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 10px;
}

.captain-details {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.captain-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 10px;
}

.captain-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.captain-languages {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.captain-actions {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-header .page-title {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .member-experience {
        align-items: flex-start;
    }
}