/* ==========================================
   CSS FÜR CASE STUDY: DANCE HUMAN DANCE
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    color: #333333;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* --- BACK TO HOME BUTTON --- */
.back-navigation-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px 10px 24px;
    display: flex;
    justify-content: flex-start;
}

.back-home-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c7662;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-home-link svg {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.back-home-link:hover {
    color: #3e332a;
}

.back-home-link:hover svg {
    transform: translateX(-5px);
}

/* --- HEADER BANNER --- */
.case-study-header {
    width: 100%;
}

.header-banner {
    background-color: #F3E5D8;
    position: relative;
    padding: 50px 40px;
    height: 140px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.header-banner h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    color: #3e332a;
    z-index: 2;
}

.header-curves {
    position: absolute;
    right: -10%;
    top: -20%;
    width: 300px;
    height: 200px;
    border: 1px solid rgba(114, 98, 85, 0.25);
    border-radius: 50%;
    z-index: 1;
}

.header-curves::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 20px;
    width: 280px;
    height: 180px;
    border: 1px solid rgba(114, 98, 85, 0.15);
    border-radius: 50%;
}

.header-bottom-border {
    height: 1px;
    background-color: #d1bba4;
    width: 100%;
}

/* --- SECTIONS --- */
.cs-section {
    margin-bottom: 70px;
}

.cs-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.cs-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    color: #8c7662;
    white-space: nowrap;
}

.cs-title-line {
    flex-grow: 1;
    height: 1px;
    background-color: #d1bba4;
    margin: 0 25px;
}

.cs-section-number {
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #d1bba4;
    letter-spacing: 1px;
}

.cs-section-content p {
    font-size: 15.5px;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.cs-section-content strong {
    font-weight: 600;
    color: #3e332a;
}

/* --- GALLERY & IMAGES --- */
.images-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 35px 0;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e6ded6; /* Feine Linie um das Bild */
    box-shadow: 0 4px 12px rgba(114, 98, 85, 0.08); /* Sanfter Schatten für Tiefe */
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.02); /* Minimaler Zoom-Effekt beim Drüberschweben */
}

.image-caption {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #8c7662;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
}

/* --- BUTTONS --- */
.download-action-container {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.newButton {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #b59f8c;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.newButton:hover {
    background-color: #726255;
    transform: translateY(-2px);
}

/* --- LEICHTER FOOTER --- */
.light-footer {
    margin-top: 100px;
    padding-top: 30px;
    width: 100%;
}

.footer-top-border {
    height: 1px;
    background-color: #e6ded6;
    width: 100%;
    margin-bottom: 25px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #3e332a;
}

.footer-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #8c827a;
}

.footer-copyright {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    color: #b5aba4;
    margin-top: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #5d534c;
    transition: color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: #b59f8c;
    transform: scale(1.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-banner h1 {
        font-size: 32px;
    }

    .cs-section-title {
        font-size: 22px;
    }

    .images-gallery {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* --- LIGHTBOX (GROSSANSICHT) --- */

/* Cursor-Hinweis auf den Galerie-Bildern */
.gallery-item img {
    cursor: zoom-in; /* Zeigt eine Lupe an, wenn man über das Bild fährt */
}

/* Das Hintergrund-Overlay */
.lightbox {
    display: none; /* Standardmäßig unsichtbar */
    position: fixed;
    z-index: 9999; /* Immer ganz oben */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 26, 23, 0.95); /* Sehr dunkles, warmes Braun-Schwarz */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    cursor: zoom-out; /* Klick irgendwohin schließt das Bild */
}

/* Das Bild in der Großansicht */
.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    /* Schöne, weiche Animation beim Öffnen */
    animation: zoomIn 0.25s ease-out;
}

/* Bildunterschrift im Lightbox-Modus */
.lightbox-caption {
    margin-top: 15px;
    color: #e6ded6;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    text-align: center;
    max-width: 80%;
}

/* Schließen-Button (Das 'X' oben rechts) */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #e6ded6;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #b59f8c;
}

/* Animations-Effekt */
@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}