/* assets/css/project-detail.css */

.project-hero {
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    text-align: center;
}

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

.project-title {
    font-size: 3rem;
    color: var(--moonflow-purple);
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.project-hero-image {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1)
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery */
.project-gallery {
    position: relative;
    z-index: 2;
}

.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);
    object-fit: contain;
}

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

.gallery-item img {
    transition: transform 0.3s ease;
    object-fit: contain;
    aspect-ratio: 16 / 9;
    height: 120px;
}

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

/* Project Description */
.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Social Links */
.project-social h3 {
    color: var(--moonflow-purple);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icons {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    padding: 0 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    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;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

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


/* Partners */
.project-partners h3 {
    color: var(--moonflow-purple);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.partner-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.partner-name {
    font-size: 1.2rem;
    color: var(--moonflow-purple);
    margin-bottom: 0.5rem;
}

.partner-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.partner-social {
    display: flex;
    gap: 0.8rem;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .project-title {
        font-size: 2rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-gallery {
        margin-top: 1rem;
    }
}

/* Lightbox Anpassungen */
.lb-data .lb-caption {
    font-family: inherit;
    font-size: 1rem;
}


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

@media (max-width: 760px) {
    .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-6, .carousel-item .col-md-6, .carousel-item .col-md-4 {
        flex: 0 0 80%;
        max-width: 80%;
        margin: 0 auto 1.1rem auto; /* Zentriert die Bilder */

    }

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

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

/* Partner Cards */
.partner-card {
    height: 100%;
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    padding-bottom: 50px;
}


.partner-logo {
    /* height: 150px; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-content {
    padding: 1.5rem;
}

.partner-name {
    font-size: 1.3rem;
    color: var(--moonflow-purple);
    margin-bottom: 0.5rem;
}

.partner-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}


.card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}