/* Team Page Styles */

.team-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 20px;
    color: white;
}

.team-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.back-btn {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-5px);
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: slideUp 0.6s ease-out backwards;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.team-member-card:nth-child(1) {
    animation-delay: 0s;
	
}

.team-member-card:nth-child(2) {
    animation-delay: 0.1s;
}

.team-member-card:nth-child(3) {
    animation-delay: 0.2s;
}

.team-member-card:nth-child(4) {
    animation-delay: 0.3s;
}

.team-member-card:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member-card:hover {
    border-color: rgba(255, 107, 107, 0.5);
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
}

.owner-card {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
    border: 2px solid rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.05);
}

.owner-card:hover {
    border-color: rgba(255, 107, 107, 0.7);
    background: rgba(255, 107, 107, 0.15);
    box-shadow: 0 20px 50px rgba(255, 107, 107, 0.3);
}

.member-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(78, 205, 196, 0.2) 100%);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.member-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.plus-icon {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 300;
}

.template-card:hover .plus-icon {
    color: rgba(78, 205, 196, 0.6);
    transform: scale(1.2) rotate(90deg);
}

.member-info {
    padding: 30px;
}

.member-info h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.member-info .role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.member-info .description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.template-card .member-info h2,
.template-card .member-info .role,
.template-card .member-info .description {
    color: rgba(255, 255, 255, 0.4);
}

.template-card:hover .member-info h2,
.template-card:hover .member-info .role {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-page {
        padding: 40px 15px;
    }

    .team-header h1 {
        font-size: 36px;
    }

    .team-header p {
        font-size: 16px;
    }

    .team-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .owner-card {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .team-page {
        padding: 30px 10px;
    }

    .team-header h1 {
        font-size: 28px;
    }

    .team-header {
        margin-bottom: 50px;
    }

    .member-image {
        height: 250px;
    }

    .member-placeholder {
        height: 200px;
    }

    .plus-icon {
        font-size: 60px;
    }

    .member-info {
        padding: 20px;
    }

    .member-info h2 {
        font-size: 18px;
    }
}
