/* assets/css/about.css */

/* Hero Section */
.about-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--moonflow-gradient);
    opacity: 0.1;
    z-index: -1;
}

.about-hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/api/placeholder/1920/600') center/cover;
    z-index: -1;
    opacity: 0.1;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Gallery */
.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(116, 58, 213, 0.1);
}

.team-card-header {
    height: 180px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    border-image: linear-gradient(to left, #743ad5, #7F227C) 1;
    border-bottom: 3px solid;
}

.team-avatar {
    width: 30%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 250px;
}

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

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--moonflow-gradient);
    color: white;
    font-size: 3rem;
}

.team-card-body {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.5rem;
    margin: 0;
    color: var(--moonflow-purple);
}

.team-nickname {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.team-position {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
}

.team-bio {
    font-size: 0.9rem;
    color: #6c757d;
}

.team-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--moonflow-purple);
    font-size: 1.2rem;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.team-social-link:hover {
    background: var(--moonflow-gradient);
    color: white;
    transform: translateY(-2px);
}

.cardheader {
    height: 100%;
    width: 100%;
    background-color: var(--moonflow-purple);
}

.profile-card-4 .card-img-block {
    position: relative;
}
.profile-card-4 .card-img-block {
    float: left;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-image: linear-gradient(to left, #743ad5, #7F227C) 1;
    border-bottom: 3px solid;
}

.profile-card-4 .card-body {
    position: relative;
    padding-top: 4rem;
}

.profile-card-4 .profile {
    border-radius: 50%;
    position: absolute;
    top: -72px;
    left: 50%;
    width: 130px;
    border: 3px solid rgba(255, 255, 255, 1);
    margin-left: -70px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .about-hero {
        padding: 3rem 0;
        text-align: center;
    }
    
    .about-hero img {
        margin-top: 2rem;
    }
    
    .team-card-header {
        height: 200px;
    }
}

/* Email Link Styling */
.team-email {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.team-email:hover {
    color: var(--moonflow-purple);
}

.team-email i {
    font-size: 0.8rem;
}



.img-fixed-size {
    width: 100%;
    height: 200px; /* Höhe anpassen, wie benötigt */
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        padding: 1rem;
    }

    .carousel-item .col-12, .carousel-item .col-md-6, .carousel-item .col-md-4 {
        flex: 0 0 80%;
        max-width: 80%;
        margin: 0 auto; /* Zentriert die Bilder */
    }

    .img-fixed-size {
        height: 150px; /* Höhe für mobile Geräte anpassen */
    }

    .card {
        margin-bottom: 15px;
    }
}