/* Jobs Page Styles */
.jobs-main {
    width: 100vw;
    height: 100vh;
    background-image: url('../jobs_neu.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Header offset */
    padding-left: 10%; /* Offset from the left edge */
}

/* Dark overlay to make the text pop */
.jobs-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.jobs-floating-window {
    position: relative;
    margin-top: 150px; /* Push it down away from the navigation */
    z-index: 2;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255,107,0,0.2);
    border-radius: 20px;
    padding: 30px 25px; /* Slightly less padding to save vertical space */
    max-width: 420px; /* Made slightly wider again */
    text-align: center;
    color: #fff;
    transform: translateX(100vw);
    opacity: 0;
    animation: slideInFromRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInFromRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.jobs-headline {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
}

.jobs-headline .accent {
    color: var(--accent-color);
}

.jobs-text {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.jobs-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}

.jobs-benefits li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.jobs-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .jobs-main {
        justify-content: flex-start; /* Do not push to bottom automatically */
        padding-left: 0;
        padding-top: 80px; 
        padding-bottom: 20px; 
        height: auto;
        min-height: 100vh;
        flex-direction: column;
    }
    .jobs-floating-window {
        position: relative; 
        margin: 0 auto;
        margin-top: 350px; /* Hardcoded exact distance from top */
        padding: 20px 20px;
        width: 90%;
        max-width: none;
        max-height: 50vh; /* Leave top half for the image */
        overflow-y: auto; 
        background: rgba(10, 10, 10, 0.4); /* Much more transparent */
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255,255,255,0.1);
    }
    .jobs-headline {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .jobs-text {
        font-size: 1rem;
        margin-bottom: 15px;
    }
}
