/* ========= Root Color Variables ========= */
:root {
    /* Primary Colors */
    --primary-gold: #ffdb43;
    --primary-gold-dark: #b8962e;
    --primary-dark-blue: #1a214a;
    
    /* Accent Colors */
    --accent-brown: #8E5E46;
    
    /* Text Colors */
    --text-light: #fff;
    --text-dark: #1a1a2e;
    
    /* Shadow Color */
    --shadow: rgba(0, 0, 0, 0.8);
}

/* Basis styling */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Cabin Sketch', sans-serif;
    background-color: var(--primary-dark-blue);
    color: var(--text-light);
    min-height: 100vh;
}

.gold-text {
    color: var(--primary-gold);
}

/* Intro scherm */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-dark-blue);
    z-index: 100;
    opacity: 1;
    transition: opacity 1.5s ease-out;
}

.intro-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-title {
    font-size: 10rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-gold);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    padding: 0 2rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    to {
        text-shadow: 0 0 40px rgba(212, 175, 55, 0.7);
    }
}

/* Drawer scherm */
.drawer-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--primary-dark-blue);
    opacity: 0;
    transition: opacity 1s ease-in;
}

.drawer-screen.visible {
    opacity: 1;
}

.drawer-content {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.5s;
}

.drawer-screen.visible .drawer-content {
    opacity: 1;
    transform: translateY(0);
}

.drawer-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px var(--shadow);
}

.open-drawer-btn {
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}
.open-drawer-btn img {
    width: 400px;
    height: auto;
}

.open-drawer-btn:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.open-drawer-btn:active {
    transform: scale(0.98);
}

/* Drawer SVG container */
.drawer {
    position: fixed;
    left: 3%;
    right: 3%;
    top: -110vh;
    width: auto;
    height: 107vh;
    z-index: 5;
    transition: top 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.drawer.open {
    top: 0;
    pointer-events: auto;
    z-index: 999;
}

.drawer img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.achtergrond-la {
    position: absolute;
    left: 6%;
    top: 0;
    bottom: 0;
    width: 89%;
    height: 81%;
    background: var(--accent-brown);
    z-index: 0;
    pointer-events: none;
}

.drawer-items {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.drawer-items h2 {
    color: white;
    text-shadow: 0 2px 10px var(--shadow);
    font-size: 2.5rem;
    font-family: 'Cabin Sketch', sans-serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.drawer-items h3 {
    color: var(--primary-gold);
    font-size: 8rem;
    text-shadow: 0 4px 15px var(--shadow);
    text-align: left;
    font-variant-numeric: tabular-nums;
    margin: 0;
    margin-top: 40px;
    margin-bottom: 40px;
}

.drawer.open .drawer-items {
    opacity: 1;
}

/* drawer item */
.drawer-item {
    width: 100%;
    max-width: 70vw;
    margin-bottom: 200px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

/* drawer item 1 */ 
.drawer-item-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 5rem; */
}

.drawer-item-1 img {
    top: 3%;
    max-width: 850px;
    width: 100%;
    display: block;
}
.drawer-item-1-text {
    margin: 3rem 0;
}
.drawer-item-1-text h2 {
    font-size: 3rem;
}

/*  drawer item 2 */
.drawer-item-2 {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 800px;
    align-items: center;
    margin-bottom: 200px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 90vh;
    position: relative;
}

.drawer-item-image {
    position: absolute;
    left: -10%;    
}

.drawer-item-image img {
    max-width: 700px;
    width: 450px;
    display: block;
}

.drawer-item-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 400px;
    right: 0%;
    gap: 5rem;
}

.content-text {
    height: auto;
    min-height: 3rem;
    display: flex;
    align-items: flex-start;
    text-align: left;
    flex-shrink: 0;
}

.content-counter {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 30px 0;
}

.drawer-item-content h3 {
    position: absolute;
    font-size: 6rem;
    font-weight: 700;
}

/* Drawer item 3  */
.drawer-item-3 {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin-bottom: 200px;
    gap: 0;
    position: relative;
    gap: 3rem;
}
.drawer-item-3 h2 {
    font-size: 3rem;
}
.drawer-item-3-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.drawer-item-3-text h2 {
    font-size: 2rem;
}
.drawer-item-3-text img {
    max-width: 20px;
    width: 100%;
    display: block;
    margin-top: -20px;
}

/* Drawer item 4 */
.drawer-item-4 img {
    max-width: 450px;
    margin-bottom: 50px;
    width: 100%;
    display: block;
    rotate: 10deg;
}

/* Drawer item 5 */
.drawer-item-5 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.item-5-top {
    max-width: 700px;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.item-5-middle {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.bergen-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.item-5-middle .bergen {
    max-width: 800px;
    width: 100%;
    display: block;
    left: 10%;
    margin-top: -20px;
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
}

.bergen-container:hover .bergen {
    opacity: 1;
}

.item-5-middle .bergen-hover {
    position: absolute;
    max-width: 300px;
    width: 100%;
    display: block;
    right: 10%;
    margin-top: -50px;
    opacity: 0;
    transition: all 0.3s ease;
}

.bergen-container:hover .bergen-hover {
    opacity: 1;
}


.item-5-bottom {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-left: 2rem;
}

.item-5-bottom-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    margin-top: -250px;
    /* padding-bottom: 0; */
    z-index: 2;
}

.item-5-bottom-24 {
    flex-shrink: 0;
    display: flex;
    z-index: 2;
}

.item-5-bottom-24 h1 {
    font-size: 10rem;
    margin: 0;
    color: var(--text-light);
    font-weight: 700;
    text-shadow: 0 4px 15px black;
    font-family: 'Cabin Sketch', sans-serif;
    letter-spacing: 2px;
    line-height: 1;
}

.item-5-bottom-mount {
    margin-top: 4rem;
    z-index: 2;
}

.item-5-bottom-mount h2 {
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* drawer item 6 */
.drawer-item-6 h3{
    font-weight: 700;
    -webkit-text-stroke: 2px var(--primary-gold);

}
.drawer-item-6 img {
    max-width: 500px;
    width: 100%;
    display: block;
    margin-top: -50px;
}

/* drawer item 7 */
.drawer-item-7-text{
    margin: -40px 0 50px 0;

}
.drawer-item-7 img {
    max-width: 600px;
    width: 100%;
    display: block;
}

/* drawer item 8 */
.drawer-item-8{
    text-align: center;
    margin-top: 50px;
    gap: 2rem;
}
.drawer-item-8 h2 {
    font-size: 3rem;
}

.drawer-item-8 img {
    max-width: 800px;
    width: 100%;
    display: block;
    margin-top: 50px;
}

/* drawer item 9 */
.drawer-item-9 {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.drawer-item-9 img {
    max-width: 400px;
    width: 100%;
    display: block;
}

/* drawer item 10 */
.drawer-item-10 h2 {
    font-size: 4rem;
}
.drawer-item-10 p {
    font-size: 3rem;
    margin-top: 30px;
}

/* Drawer item 11 - Discover button */
.drawer-item-11 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.discover-btn:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.discover-btn:active {
    transform: scale(0.98);
}


/* Hub and Spoke Menu */
.hub-spoke-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 100vh;
    background-image: url('../assets/algemeen/hub.svg');
    background-size: 500% 500%;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomIn 0.8s ease-out forwards;
}
    @keyframes zoomIn {
        from {
            background-size: 1000% 1000%;
        }
        to {
            background-size: 100% 100%;
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

.einde-btn {
    position: absolute;
    top: 2%;
    right: 2%;
    z-index: 100;
}
.einde-btn:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}



.hub {
    max-width: 800px;
    text-align: center;
    z-index: 2;
    position: absolute;
}

.hub h1 {
    font-size: 6rem;
    color: var(--primary-gold);
    text-shadow: 0 4px 15px var(--shadow);
    -webkit-text-stroke: 2px var(--primary-gold);
    font-weight: 700;
    margin-top: -100px;
    animation: fadeIn 0.6s ease-out 0.8s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.spoke-items {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spoke-item {
    position: absolute;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.spoke-item:hover .spoke-icon {
    transform: scale(1.2);
}


/* Geopolitiek */
.spoke-item:nth-child(1) {
    top: 22%;
    left: 72%;
    transform: translate(-50%, -50%);
    animation-delay: 1.0s;
}
/* Mens */
.spoke-item:nth-child(2) {
    top: 21%;
    left: 34%;
    transform: translate(-50%, -50%);
    animation-delay: 1.0s;
}
/* Milieu */
.spoke-item:nth-child(3) {
    top: 70%;
    left: 24%;
    transform: translate(-50%, -50%);
    animation-delay: 1.0s;
}
/* boot */
.spoke-item:nth-child(4) {
    width: 250px;
    top: 78%;
    left: 63%;
    transform: translate(-50%, -50%);
    animation-delay: 1.0s;
}

.spoke-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.spoke-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spoke-item p {
    color: white;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Scroll buttons */
.scroll-btn {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-gold), var(--primary-gold-dark));
    color: #1a1a2e;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    z-index: 50;
}

.scroll-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-to-top {
    top: 30px;
    left: 30px;
}

.scroll-to-bottom {
    top: 100px;
    left: 30px;
}

.drawer-screen.drawer-open .scroll-btn {
    display: flex;
}

.scroll-btn img {
    width: 40px;
    height: 40px;
}


/* Hub Return Button */
.hub-return-btn {
    position: absolute;
    top: 1rem;
    left: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.hub-return-btn:hover {
    transform: scale(1.2);
    rotate: 10deg;
}

.hub-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    position: relative;
    transition: opacity 0.3s ease;
}

.hub-icon-normal {
    opacity: 1;
}

.hub-icon-hover {
    opacity: 0;
}

.hub-return-btn:hover .hub-icon-normal {
    opacity: 1;
}

.hub-return-btn:hover .hub-icon-hover {
    opacity: 1;
    width: 120px;
    height: 120px;
    top: 3rem;
    left: -1rem;
    rotate: -10deg;
}


/* ========= Page Styling ========= */
.page-content {
    background: var(--primary-dark-blue);
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    position: relative;
    align-items: center;
    justify-content: center;
}
.page-content-main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.page-content-text {
    position: absolute;
    width: 800px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3rem 0;
    z-index: 2;
}
.page-content-text img {
    width: 40px;
}
.page-content h1 {
    text-align: center;
    font-size: 6rem;
    color: var(--primary-gold);
    text-shadow: 0 4px 15px var(--shadow);
    -webkit-text-stroke: 2px var(--primary-gold);
    font-weight: 700;
    margin: 4rem 0 2rem 0;
}

.page-content h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 4rem;
}

/* ========= Pagina Einde ========= */
.last-slide {
    position: relative;
}
.last-slide > img {
    position: absolute;
    max-width: 450px;
    width: 100%;
    display: block;
    top: 0%;
    z-index: 1;
}

.last-slide .hub-return-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    margin-top: 200px;
}

.last-slide .hub-icon {
    width: 500px;
    height: 500px;
}
.last-slide .hub-icon-hover {
    width: 500px;
    height: 500px;
    opacity: 0;
    position: absolute;
    transition: all 0.3s ease;
}

.last-slide .hub-return-btn:hover .hub-icon-hover {
    opacity: 0;
}  

/* ========= Urban Mining Page Styling ========= */

/* EUrban Mining */
.geopolitiek {
    background-image: url("../assets/geopolitiek/europa.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
}

/* Vlag */
.mining-item-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 2rem;
}

.mining-item-2-text {
    margin: 2rem 0;
    max-width: 700px;
}
.mining-item-2-flag {
    display: flex;
}
.mining-item-2 img {
    max-width: 500px;
    width: 100%;
    display: block;
}

/* China */
.mining-item-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mining-item-3 > img {
    max-width: 700px;
    width: 100%;
    display: block;
    text-align: center;
}

.mining-item-3-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
}

.mining-item-3-text {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.mining-item-3-text h2 {
    text-align: left;
}

.mining-item-3-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.mining-item-3-image img {
    max-width: 600px;
    width: 100%;
    display: block;
}

/* Neodymium */
.mining-item-4 {
    padding-top: 3rem;
}
.mining-item-4 img {
    max-width: 1000px;
    width: 100%;
    display: block;
    margin-top: -50px;
}

/* Grondstoffen */
.mining-item-5 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.mining-item-5-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mining-item-5-base {
    max-width: 100%;
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

.mining-item-5-stamp {
    position: absolute;
    max-width: 100%;
    width: 100%;
    z-index: 2;
    opacity: 0;
    top: -30%;
    left: 0;
    pointer-events: none;
}

.mining-item-5-stamp.stamp-animated {
    animation: stampStamp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0s forwards;
}

@keyframes stampStamp {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    40% {
        opacity: 0;
    }
    60% {
        opacity: 1;
        transform: scale(1.15) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}


/* Stop */
.mining-item-6 {
    position: relative;
}

.mining-item-6-text {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    padding: 3rem 0;
    max-width: 600px;
}

.mining-item-6 img {
    position: absolute;
    max-width: 1500px;
    width: 100%;
    left: 0%;
}

/* Critical RAW act */
.mining-item-7 {
    background-image: url("../assets/geopolitiek/europa.svg");
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    gap: 2rem;
}

.mining-item-7-titel {
    position: absolute;
    top: 0;
    width: 50%;
}
.mining-item-7-text {
    position: absolute;
    max-width: 500px;
    left: 10%;

}
.mining-item-7-text h2 {
    font-size: 2.5rem;
    text-align: left;
}
.mining-item-7-text p {
    font-size: 2rem;
    text-align: left;
}

.mining-item-7-image {
    position: absolute;
    top: 25%;
    right: 10%;
}
.mining-item-7-image img {
    max-width: 490px;
    width: 100%;
    display: block;
} 


/* ========= Mens Pagina ========= */

/* landen styling */
.land-container {
    position: relative;
    width: 100%;
    height: 500px;
}
.land-container-text {
    position: absolute;
    top: 50%;
    max-width: 450px;
    left: 20%;
    z-index: 2;
}
.land-container-gif {
    position: absolute;
    top: 26%;
    right: 35%;
    z-index: 2;
    width: 175px;
}

@keyframes fadeInItem {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mens-item-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 700px;
    gap: 3rem;
    padding: 2rem;
    opacity: 0;
}

.mens-item-1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100vw;
    position: relative;
    z-index: 0;
}


.mensen {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.mensen img{
    width: 100%;
    display: block;
    margin-top: auto;
    bottom: 0;
}

/* mens item 2 */
.mens-item-2 {
    padding-top: 3rem;
    position: relative;
}

.mens-item-2-text {
    position: absolute;
    max-width: 600px;
    margin-bottom: 2rem;
    top: 10%;
}
.mens-item-2-landen {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}
.chili {
    position: absolute;
    left: 5%;
}
.congo {
    position: absolute;
    top: 35%;
    left: 30%;
}
.china {
    position: absolute;
    right: -10%;
}

/* mens item 3 */
.mens-item-3 {
    max-width: 880px;
    margin: 0 auto;
}
.mens-item-3 h2{
    font-size: 5rem;
}

/* mens item 4 */
.mens-item-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-image: url("../assets/mens/congoKaart.svg");
    background-position: center 90%;
    background-size: 40%;
    background-repeat: no-repeat;
}
.mens-item-4 img {
    position: absolute;
    top: 0%;
    max-width: 500px;
    width: 100%;
    display: block;
}

.mens-item-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-image: url("../assets/mens/chiliKaart.svg");
    background-position: center 90%;
    background-size: 15%;
    background-repeat: no-repeat;
}

.mens-item-6 img {
    position: absolute;
    top: 0%;
    max-width: 350px;
    width: 100%;
    display: block;
}

/* mens item 8 */
.mens-item-8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-image: url("../assets/mens/chinaKaart.svg");
    background-position: center 90%;
    background-size: 60%;
    background-repeat: no-repeat;
}
.mens-item-8 img {
    position: absolute;
    top: 0%;
    max-width: 500px;
    width: 100%;
    display: block;
}

/* wrapper styling */
.mens-item-wrapper {
    position: relative;
    background-image: url("../assets/mens/achtergrond.svg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.mens-item-viewport {
    position: relative;
    z-index: 2;
}
.mens-item-text {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.mens-item-text h2 {
    font-size: 3rem;
    text-align: center;
}

/* mens item 11 */
.mens-item-10 {
    position: relative;
}
.mens-item-10-titel {
    position: absolute;
    top: 0%;
    left: 50%;    
    width: 50%;
    transform: translateX(-50%);
}

.mens-item-10-image {
    position: absolute;
    top: 25%;
    left: 0%;
    max-width: 300px;
}

.mens-item-10-image img {
    max-width: 250%;
    display: block;
}

.mens-item-10-text {
    position: absolute;
    top: 50%;
    right: 10%;
    max-width: 500px;
}
.mens-item-10-text h2 {
    font-size: 2.5rem;
    text-align: left;
}


/* ========= Milieu Pagina ========= */
.milieu-item-1 {
    position: relative;
}

.milieu-item-1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    aspect-ratio: 1;
    background-image: url("../assets/milieu/aardeDonker.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%);
    animation: rotateEarth 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateEarth {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.milieu-item-2 {
    position: relative;
    overflow: hidden;
}
.milieu-item-2-text {
    position: absolute;
    top: 15%;
    max-width: 750px;
}
.milieu-item-2 h2 {
    font-size: 2.5rem;
    text-align: center;
}
.milieu-item-2-aarde {
    position: absolute;
    bottom: -50%;
    left: 50%;
    max-width: 900px;
    width: 100%;
    display: block;
    animation: rotateEarth2 20s linear infinite;
}

@keyframes rotateEarth2 {
    from {
        transform: translateX(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

/* ontbossing */
.milieu-item-3 {
    gap: 2rem;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.milieu-item-3-titel {
    position: absolute;
    top: 0%;
    max-width: 500px;
}
.milieu-item-3-titel img {
    max-width: 300px;
    width: 100%;
    display: block;
}
.milieu-item-3-text {
    position: absolute;
    max-width: 400px;
    top: 55%;
    left: 15%;
}
.milieu-item-3-text h2 {
    font-size: 2.5rem;
    text-align: left;
}
.milieu-item-3-image {
    position: absolute;
    max-width: 400px;
    top: 35%;
    right: 25%;
}

/* aap */
.milieu-item-4 {
    max-width: 600px;
    margin: 0 auto;
}

.milieu-item-4 img {
    max-width: 400px;
    width: 100%;
    display: block;
    margin-top: 2rem;
}

/* energie */
.milieu-item-5 {
    position: relative;
}
.milieu-item-5-titel {
    position: absolute;
    top: 0%;
    max-width: 500px;
}
.milieu-item-5-text{ 
    position: absolute;
    top: 50%;
    left: 10%;
    max-width: 600px;
}
.milieu-item-5-text h2 {
    text-align: left;
}
.milieu-item-5-image {
    position: absolute;
    top: 30%;
    left: 60%;
}
.milieu-item-5-image img {
    max-width: 500px;
    width: 100%;
    display: block;
}

.milieu-item-6 img {
    max-width: 600px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

/* afval */
.milieu-item-7 {
    position: relative;
}
.milieu-item-7-titel {
    position: absolute;
    max-width: 500px;
    top: 0%;
}

.milieu-item-7-text {
    position: absolute;
    max-width: 700px;
    top: 25%;
}

.milieu-item-7-image {
    position: absolute;
    bottom: 0;
}

/* rivier */
.milieu-item-8 {
    position: relative;
}
.milieu-item-8-text {
    position: absolute;
    max-width: 700px;
    top: 20%;
}
.milieu-item-8-text h2 {
    font-size: 2.5rem;
}
.milieu-item-8-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100vw;
    bottom: 0;
}

.milieu-item-9 {
    align-items: center;
    gap: 2rem;
    display: flex;
    flex-direction: column;
}
.milieu-item-9-text {
    max-width: 800px;
}

.milieu-item-9-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.milieu-item-9-image .mining-item-5-stamp {
    position: absolute;
    top: 0%;
    transform: translate(-50%, -50%);
}

.milieu-item-10 {
    max-width: 750px;
    margin: 0 auto;
}

.milieu-item-11 {
    position: relative;
}
.milieu-item-11-text {
    position: absolute;
    max-width: 500px;
    top: 20%;
}
.milieu-item-11-image {
    position: absolute;
    bottom: 0;
    max-width: 100vw;
}



/* ========= Telefoon Pagina ========= */
.telefoon-item-1 .page-content-text {
    position: relative;
    width: auto;
    left: auto;
    transform: none;
    padding: 0;
}
.telefoon img {
    margin-top: 3rem;
    width: 100%;
}

.telefoon-item-2 {
    position: relative;
    background-image: url('../assets/telefoon/binnenkant.svg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 400px;
    min-height: 100vh;
}
.telefoon-item-2-text {
    position: absolute;
    max-width: 220px;
    top: 39%;
    left: 53.5%;
    transform: translateX(-50%);
    padding: 3rem 0;
    z-index: 2;
}
.telefoon-item-2-text h2 {
    color: var(--text-dark);
    font-size: 2rem;
}

.telefoon-item-wrapper {
    position: relative;
    width: 100%;
}

.telefoon-item-viewport {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.telefoon-item-viewport img {
    max-width: 400px;
    width: 100%;
    display: block;
}

.telefoon-klompjes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 5;
}

.klomp {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: all 0.6s ease-out;
    pointer-events: none;
}
.klomp img {
    max-width: 275px;
    width: 100%;
    display: block;
}


/* Klompjes animatie - uit midden naar hoeken */
.klomp-goud {
    animation: moveKlompGoud 1s ease-out 0s forwards;
    animation-delay: 0.3s;
}

.klomp-koper {
    animation: moveKlompKoper 1s ease-out 0s forwards;
    animation-delay: 0.4s;
}

.klomp-kobalt {
    animation: moveKlompKobalt 1s ease-out 0s forwards;
    animation-delay: 0.5s;
}

.klomp-neodymium {
    animation: moveKlompNeodymium 1s ease-out 0s forwards;
    animation-delay: 0.6s;
}

@keyframes moveKlompGoud {
    from {
        opacity: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.3);
    }
    to {
        opacity: 1;
        top: 15%;
        left: 18%;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes moveKlompKoper {
    from {
        opacity: 0;
        bottom: 50%;
        left: 50%;
        transform: translate(-50%, 50%) scale(0.3);
    }
    to {
        opacity: 1;
        bottom: 15%;
        left: 18%;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes moveKlompKobalt {
    from {
        opacity: 0;
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%) scale(0.3);
    }
    to {
        opacity: 1;
        top: 15%;
        right: 18%;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes moveKlompNeodymium {
    from {
        opacity: 0;
        bottom: 50%;
        right: 50%;
        transform: translate(50%, 50%) scale(0.3);
    }
    to {
        opacity: 1;
        bottom: 15%;
        right: 18%;
        transform: translate(0, 0) scale(1);
    }
}






/* Einde pagina - Video en overlay */
.einde-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    background-color: #000;
}

.einde-video-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.einde-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.einde-overlay .achtergrond-la {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../assets/algemeen/eindeLasvg.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.08;
    z-index: 19;
    pointer-events: none;
}

.einde-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.einde-overlay-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 600px;
    position: relative;
    z-index: 21;
}

.einde-overlay-content h1 {
    font-size: 3rem;
    margin: 0;
    color: #fff;
}

.einde-overlay-content p {
    font-size: 1.2rem;
    margin: 0;
    color: #ccc;
    line-height: 1.6;
}

.einde-overlay-btn {
    display: inline-block;
    margin-top: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.einde-overlay-btn img {
    max-width: 250px;
    width: 100%;
    display: block;
}

.einde-overlay-btn:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Resolution Modal Pop-up */
.resolution-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.resolution-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.resolution-modal-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.resolution-modal-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.resolution-modal-btn img {
    max-width: 900px;
    display: block;
}

.resolution-modal-btn:hover img {
    transform: scale(1.02);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .intro-title {
        font-size: 2.2rem;
    }
    
    .drawer-title {
        font-size: 2rem;
    }
    
    .einde-overlay-content h1 {
        font-size: 2rem;
    }
    
    .einde-overlay-content p {
        font-size: 1rem;
    }
}

/* Hide Vimeo controls bar */
#einde-vimeo {
    pointer-events: none;
}

#einde-vimeo.playing {
    pointer-events: auto;
}
