
/* projecten */

/* Reset negative positioning for projecten page */
.jo-footer {
    margin-top: 0 !important;
}

.foto {
    position: static !important;
    top: 0 !important;
    left: 0 !important;
    margin: 20px auto !important;
    display: block !important;
}

.container {
    position: static !important;
    top: 0 !important;
    margin: 20px auto !important;
}


.carousel-container {
    width: 100%;
    max-width: 900px;
    margin: 50px auto 30px auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-slide:hover {
    transform: scale(1.02);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.nav-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 20px;
}

.nav-button.next {
    right: 20px;
}

.nav-button svg {
    width: 24px;
    height: 24px;
    stroke: #333;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
    font-size: 24px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }

    .nav-button {
        width: 50px;
        height: 50px;
    }

    .nav-button.prev {
        left: 10px;
    }

    .nav-button.next {
        right: 10px;
    }

    .slide-title {
        font-size: 18px;
    }
}
/* Prevent horizontal scroll */
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    background-color: #EDEDED;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    background-color: #EDEDED;
    position: relative;
    min-height: 100vh;
}

body > * {
    max-width: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

main {
    margin: 130px 50px 0 50px;
    position: relative;
    padding-bottom: 20px;
    /* Verwijderd: min-height: 1000px; */
}


h1 {
    text-align: center;
}

h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 30px;
    color: #222;
    margin-top: 0;
    margin-bottom: 20px;
    margin-left: 0;
}

/* Header styles */
.header {
    width: 100%;
    height: 100px;
    margin: 0;
    border-bottom: 2px solid #888;
    overflow: hidden;
    background: none;
    position: relative;
}

.header-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100px;
    z-index: 0;
    background: url('data:image/svg+xml;utf8,<svg width="1440" height="100" viewBox="0 0 1440 100" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1440" height="100" fill="%238A8A8A"/><g opacity="0.13"><ellipse cx="120" cy="50" rx="90" ry="35" fill="black"/><ellipse cx="300" cy="40" rx="40" ry="40" fill="black"/><ellipse cx="500" cy="60" rx="60" ry="30" fill="black"/><ellipse cx="700" cy="30" rx="80" ry="40" fill="black"/><ellipse cx="900" cy="60" rx="50" ry="30" fill="black"/><ellipse cx="1100" cy="40" rx="70" ry="35" fill="black"/><ellipse cx="1300" cy="60" rx="60" ry="30" fill="black"/><ellipse cx="400" cy="80" rx="30" ry="15" fill="black"/><ellipse cx="800" cy="80" rx="30" ry="15" fill="black"/><ellipse cx="1000" cy="80" rx="30" ry="15" fill="black"/><ellipse cx="1400" cy="20" rx="30" ry="15" fill="black"/></g></svg>');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    opacity: 1;
    clip-path: polygon(0 0, 65% 0, 55% 100%, 0% 100%);
}

.header-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: transparent;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100px;
    justify-content: flex-start;
}

img.logo {
    height: 64px;
    width: auto;
    display: block;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

.header-name {
    font-size: 1.45rem;
    color: #222;
    letter-spacing: 4px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 300;
    margin-top: 2px;
    display: flex;
    align-items: center;
    height: 100px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 2;
    position: static;
    height: 100px;
    background: transparent;
}

.header-nav a {
    text-decoration: none;
    color: #222;
    font-size: 1.35rem;
    letter-spacing: 2.5px;
    font-family: 'Montserrat', Arial, sans-serif;
    transition: color 0.2s;
    font-weight: 300;
    display: flex;
    align-items: center;
    height: 100px;
    white-space: nowrap;
}

.header-nav a:hover {
    color: #757575;
}


/* Footer */
.jo-footer {
    background: #ffffff !important;
    padding: 60px 40px 40px 40px;
    width: 100%;
    border-top: 1px solid #e0e0e0;
    margin-top: -850px;
    position: relative;
    z-index: 100;
}

.jo-footer-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.jo-logo {
    margin-bottom: 50px;
}

.jo-logo img {
    height: 80px;
    width: auto;
}

.jo-contact-info {
    margin-bottom: 50px;
}

.jo-contact-info p {
    margin: 10px 0;
    color: #000;
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 400;
}

.jo-contact-info a {
    color: #000;
    text-decoration: none;
}

.jo-social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.jo-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid #000;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.jo-social-links a:hover {
    background: #000;
}

.jo-social-links a:hover svg {
    fill: #fff;
}

.jo-social-links svg {
    width: 28px;
    height: 28px;
    fill: #000;
    transition: fill 0.3s ease;
}

/* RESPONSIVE MEDIA QUERIES */

/* Tablets en kleinere laptops */
@media (max-width: 1024px) {
    .header-content {
        padding: 0 30px;
    }

    .header-nav {
        gap: 25px;
    }

    .header-nav a {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }

    .container {
        max-width: 35rem;
    }
    main {
        margin: 130px 30px 0 30px;
    }
}

/* Tablets portrait */
@media (max-width: 768px) {
    .header-content {
        padding: 0 20px;
        flex-direction: column;
        height: auto;
        min-height: 100px;
    }

    .header-logo {
        height: auto;
        padding: 15px 0;
    }

    .header-name {
        font-size: 1.2rem;
        letter-spacing: 2px;
        height: auto;
    }

    img.logo {
        height: 50px;
    }

    .header-nav {
        gap: 15px;
        height: auto;
        padding: 10px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-nav a {
        font-size: 0.9rem;
        height: auto;
        padding: 5px 10px;
    }

    .header {
        height: auto;
        min-height: 100px;
    }

    .header-bg {
        height: 100%;
    }

    main {
        margin: 130px 20px 0 20px;
        /* min-height: auto; */
    }

    .foto {
        width: 100%;
        max-width: 300px;
        height: 400px;
        position: relative;
        right: auto;
        top: auto;
        margin: 30px auto;
        display: block;
    }

    .foto img {
        height: 400px;
    }

    .container {
        position: relative;
        margin: 30px auto;
        max-width: 100%;
    }

    .clock {
        width: 200px;
        height: 200px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        margin: 30px 0;
    }

    h3 {
        margin-top: 0;
        margin-left: 0;
        font-size: 1rem;
    }

    button {
        margin-left: 0;
    }

    .player-content {
        flex-direction: column;
        gap: 2rem;
    }

    .cd {
        width: 10rem;
        height: 10rem;
    }

    .progress-container {
        width: 100%;
        max-width: 18rem;
    }

    .jo-footer {
        padding: 60px 20px;
    }

    .jo-logo img {
        height: 60px;
    }

    .jo-contact-info p {
        font-size: 12px;
    }

    .jo-social-links {
        gap: 20px;
    }

    .jo-social-links a {
        width: 50px;
        height: 50px;
    }

    .jo-social-links svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobiele telefoons */
@media (max-width: 480px) {
    .header-name {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .header-nav a {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    img.logo {
        height: 40px;
    }

    main {
        margin: 120px 15px 0 15px;
    }

    .foto {
        max-width: 100%;
        height: 350px;
    }

    .foto img {
        height: 350px;
    }

    .container {
        margin: 20px 10px;
    }

    .player-card {
        padding: 1.5rem 1rem;
    }

    .info-card {
        padding: 1rem 1.25rem;
    }

    .track-title {
        font-size: 1rem;
    }

    .cd {
        width: 8rem;
        height: 8rem;
    }

    .clock {
        width: 180px;
        height: 180px;
    }

    .control-buttons {
        gap: 1.5rem;
    }

    h3 {
        font-size: 0.9rem;
    }

    button {
        padding: 8px 20px;
        font-size: small;
    }

    .jo-footer {
        padding: 40px 15px;
    }

    .jo-logo img {
        height: 50px;
    }

    .jo-contact-info p {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .jo-social-links {
        gap: 15px;
    }

    .jo-social-links a {
        width: 45px;
        height: 45px;
    }

    .jo-social-links svg {
        width: 20px;
        height: 20px;
    }
}
