@font-face {
    font-family: 'Agipo';
    src: url('font/agipo-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Victor Serif';
    src: url('font/VictorSerifTrial-RegularItalic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.italic {
    font-style: italic;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #C45800;
    font-family: Georgia, serif;
    position: relative;
}

#paper-texture {
    position: fixed;
    inset: -100px;
    pointer-events: none;
    background-image: url('textures/texture2_small.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: 0.25;
    mix-blend-mode: overlay;
    z-index: 999;
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
}

.nav-link {
    color: #1d1d1d;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Agipo', sans-serif;
    font-size: 14px;
}


.home-title {
    font-size: 14px;
    font-style: normal;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    display: flex;
    justify-content: center;
    padding: 24px;
}

a, a:visited, a:hover, a:active {
    color: #1d1d1d; /* Of welke kleur je wilt */
}

.preorder-btn {
    background-color: white;
    color: #1d1d1d;
    padding: 12px 32px;
    text-decoration: none;
    font-family: 'Agipo', sans-serif;
    font-size: 14px;
    transition: background-color 0.2s;
}

.preorder-btn:hover {
    background-color: #f0f0f0;
}

/* Spinning Book */
.spinning-book-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000;
}

.spinning-book {
    position: relative;
    width: 600px;
    height: auto;
    min-height: 400px; /* Voorkom layout shift */
}

.book-video {
    width: 100%;
    height: auto;
    display: block;
}

.book-placeholder,
.book-gif {
    width: 100%;
    height: auto;
}

/* About Overlay */
.about-overlay {
    position: fixed;
    inset: 0;
    background-color: #C45800;
    z-index: 900;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
}

.about-overlay.hidden {
    display: none;
}

.about-content {
    max-width: 700px;
    width: 100%;
    position: relative;
    color: #1a1a1a;
    font-family: 'Agipo', sans-serif;
    font-size: 14px;
}

.about-large {
    font-size: 32px;
    font-family: 'Victor Serif', Georgia, serif;
    font-style: italic;
    line-height: 1.5;
    max-width: 800px;
    margin: 200px auto 0;
}

.about-small {
    font-size: 18px;
    line-height: 1.7;
    max-width: 800px;
    margin: 100px auto 0;
    padding-bottom: 100px;
}

.about-small p {
    margin-bottom: 20px;
}

.about-contact {
    text-align: left;
    margin: 60px auto 0px;
}

.contact-btn {
    background-color: white;
    color: #1d1d1d;
    padding: 12px 32px;
    text-decoration: none;
    font-family: 'Agipo', sans-serif;
    font-size: 14px;
    transition: background-color 0.2s;
}

.contact-btn:hover {
    background-color: #f0f0f0;
}

.about-draggable img {
    max-width: 350px;
}

/* Draggable Items */
.draggable-item {
    position: absolute;
    cursor: move;
    user-select: none;
    will-change: transform;
}

.draggable-item.dragging {
    cursor: grabbing;
}

.draggable-item img {
    pointer-events: none;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.3));
    display: block;
    height: auto;
}

/* Grote afbeeldingen (loubna, yong, faisal) */
.draggable-item img[src*="loubna"],
.draggable-item img[src*="yong"],
.draggable-item img[src*="faisal"],
.draggable-item img[src*="tshirt"] {
    max-width: 400px;
}

/* Middelgrote afbeeldingen (renee, bonnetjes, tshirt) */
.draggable-item img[src*="renee"],
.draggable-item img[src*="bon-"]
 {
    max-width: 250px;
}

/* Quotes */
.draggable-item img[src*="quote-"] {
    max-width: 400px;
}

/* Background items */
.background-item {
    pointer-events: none;
    cursor: default;
}
/* Video Container */
.video-container {
    background-color: black;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    width: 400px;
    height: 225px;
    position: relative;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    display: block;
}

.fullscreen-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid white;
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Agipo', sans-serif;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: auto;
    z-index: 10;
}

.video-container:hover .fullscreen-btn,
.video-container:active .fullscreen-btn {
    opacity: 1;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* BOEK RESPONSIVE */
    .spinning-book {
        width: 300px;
    }
    
    .book-video {
        width: 100%;
    }
    
    /* Kleinere afbeeldingen op mobiel */
    .draggable-item img[src*="loubna"],
    .draggable-item img[src*="yong"],
    .draggable-item img[src*="faisal"],
    .draggable-item img[src*="tshirt"] {
        max-width: 200px;
    }
    
    .draggable-item img[src*="renee"],
    .draggable-item img[src*="bon-"] {
        max-width: 150px;
    }
    
    .draggable-item img[src*="quote-"] {
        max-width: 200px;
    }
    
    .about-draggable img {
        max-width: 180px;
    }
    
    /* About overlay - voorkom horizontaal scrollen */
    .about-overlay {
        overflow-x: hidden;
        overflow-y: auto;
        padding: 20px;
    }
    
    /* About content aanpassingen */
    .about-large {
        font-size: 24px;
        margin: 100px auto 0;
        padding: 0 10px;
    }
    
    .about-small {
        font-size: 16px;
        margin: 60px auto 0;
        padding: 0 10px 100px;
    }
    
    /* Kleinere video container op mobiel */
    .video-container {
        width: 280px;
        height: 158px;
    }
    
    /* About draggable items verbergen op mobiel om horizontaal scrollen te voorkomen */
    .about-draggable {
        display: none;
    }
    
    /* Kleinere navigatie padding op mobiel */
    .top-nav {
        padding: 16px;
    }
    
    .bottom-nav {
        padding: 16px;
    }
    
    .nav-link,
    .preorder-btn,
    .contact-btn {
        font-size: 12px;
        padding: 10px 20px;
    }
}