/* Basisstijl voor de hele pagina */
body {
    font-family: 'myriad-pro', sans-serif;
    line-height: 1.2;
    margin: 0;
    padding: 1;
    text-align: center;
    overflow-y: auto;
    background-color: #141414;
    color: #e0e0e0;
}

h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

/* Hero sectie */
.hero-section {
    position: relative;
    height: 80vh;
    max-width: 100vw;
    background-image: url('Landing-page/koningsdag.jpg');
    background-size: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 120%;
    background-color: #141414;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-top: 0px;
    overflow: visible;
}

/* Gradient aan de onderkant van de hero sectie */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Hoe hoog de overgang is, pas aan naar wens */
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0) 0%, #141414 100%);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px; /* Zorgt ervoor dat de afgeronde hoeken behouden blijven */
}


/* Logo */
.logo {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 150px;
    z-index: 100;
    transition: opacity 0.3s ease-in-out; /* Vloeiende overgang voor opacity */
}

/* Zwart logo (standaard zichtbaar) */
#timelix-logo {
    opacity: 1; /* Zwart logo is zichtbaar */
}

/* Wit logo (in eerste instantie onzichtbaar) */
#timelix-white {
    opacity: 0; /* Wit logo begint onzichtbaar */
}

button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: auto;
}

button svg {
    width: 20px; /* Verklein de breedte van het icoon */
    height: 20px; /* Verklein de hoogte van het icoon */
}

/* Foto-container */
.photo-container, .photo-container-2 {
    display: grid;
    grid-template-rows: minmax(auto, 380px);
    margin-left: 80px; /* margin blijft voor scrollen */
    width: 100vw;
    max-width: 100%;
    padding: 5px;
    gap: 5px;
    overflow-x: auto;
    position: relative;
    scrollbar-width: none;
    margin-top: -90px;
}

/* Afbeeldingen */
.photo-row img, .photo-row-2 img {
    width: 200px;
    height: 275px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-origin: center;
    position: relative;
    display: block;
}

/* Hover effect */
.photo-row img:hover, .photo-row-2 img:hover {
    transform: scale(1.4) translateX(10%); /* Translate zorgt ervoor dat de afbeelding verschuift zonder af te snijden */
    z-index: 3;
}

/* Rijen */
.photo-row, .photo-row-2 {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    position: relative;
    scroll-behavior: smooth;
    overflow: visible; /* Zorg ervoor dat de overflow zichtbaar blijft */
}

/* Verbergen van scrollbar */
.photo-row::-webkit-scrollbar, .photo-row-2::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    scrollbar-color: transparent;
}

.photo-row::-webkit-scrollbar-thumb, .photo-row-2::-webkit-scrollbar-thumb {
    background: transparent; 
}

.photo-row::-webkit-scrollbar-track, .photo-row-2::-webkit-scrollbar-track {
    background: transparent; 
}

.Title-row {
    position: relative;
    top: -25px;
    text-align: left;
    font-weight: bold;
    font-size: 1.1em;
    margin-left: 100px;
    margin-bottom: 15px;
    overflow: visible;
}

.Title-row2 {
    position: relative;
    top: -35px;
    text-align: left;
    font-weight: bold;
    font-size: 1.1em;
    margin-left: 100px;
    margin-top: 5px;
    margin-bottom: 20px;
    overflow: visible;
    line-height: 0.1em;
}

/* Over Mij sectie */
.over-mij h2 {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 30px;
}

.over-mij {
    display: grid;
    grid-template-columns: 200px 400px; /* Vaste breedte voor afbeelding, rest voor tekst */
    max-width: 600px;
    margin: 10px auto;
    gap: 30px; /* Geen ruimte tussen de afbeelding en de tekst */
    text-align: left;
    align-items: center; /* Verticaal uitlijnen in het midden */
    margin-top: 0px;
}

.profile-image {
    width: 100%; /* Afbeelding vult de volledige breedte van zijn kolom */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 2);
}

.over-mij-content {
    max-width: 100%; /* Laat de tekst de ruimte gebruiken die beschikbaar is */
    margin: 0; /* Geen extra marges */
}

/* Testimonials sectie */
#testimonials h2 {
    font-size: 24px;
    font-weight: bold;
}

#testimonials {
    background-color: #141414;
    color: #e0e0e0;
    padding: 40px 20px;
}

.testimonial-slider {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    font-style: italic;
    color: #000000;
    overflow: hidden;
    height: 350px;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    z-index: 200;
}

.testimonial-slider blockquote {
    height: auto;
    width: 600px;
    margin: 20px 0 !important;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 2);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transition: transform 1s ease-out, opacity 1s ease-out;
    transform: translateX(120%);
    flex-shrink: 0;
}

.testimonial-slider blockquote.active {
    opacity: 1;
    position: relative;
    transform: translateX(0);
}

.testimonial-slider blockquote.exit {
    transform: translateX(-120%);
    opacity: 0;
}


/* Contact sectie */
.contact h2 {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 20px;
}

.contact {
    padding: 40px 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #211f1f;
    color: #d6d6d6;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact button {
    padding: 12px;
    font-size: 1.2em;
    color: #ffffff;
    background-color: #2d2b2b;
    border: 1px solid white;
    border-radius: 5px;
    cursor: pointer;
}



/* Footer styling */
.footer {
    background-color: #141414;
    color: #ffffff;
    text-align: center;
    padding: 20px 10px;
    margin-top: 40px;
}

.footer p {
    margin: 0;
    font-size: 1.2em;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

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

@media screen and (max-width: 480px) {
    /* Hero-sectie */
    .hero-section {
        position: relative;
        height: 80vh;
        background-image: url('Landing-page/koningsdag.jpg');
        background-size: cover; /* Veranderd van 'center' naar 'cover' */
        background-position: 68% center;
        background-repeat: no-repeat;
        background-color: #141414;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        margin-top: 0px;
        overflow: visible;
    }

    .hero-section::after {
        height: 45%; /* Verhoog of verlaag de hoogte om de startpositie te manipuleren */
    }

    /* Foto-container */
    .photo-container, .photo-container-2 {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-left: 5px;
        gap: 5px;
        overflow-x: auto;
        padding: 5px;
        scrollbar-width: none;
    }

    /* Foto-rijen */
    .photo-row {
        gap: 8px;
        padding: 5px;
        margin-top: 10px;
        margin: 0;
        z-index: 2;
    }

       .photo-row-2 { 
        gap: 8px;
        padding: 5px;
        margin-top: 90px;
    }

    .photo-row img, .photo-row-2 img {
        width: 110px;
        height: 158px;
        border-radius: 4px;
        scroll-snap-align: center;
    }

    /* Hover-effect verwijderen voor mobiel */
    .photo-row img:hover, .photo-row-2 img:hover {
        transform: none;
        box-shadow: none;
    }

    .Title-row {
        position: relative;
        top: -68px;
        text-align: left;
        font-weight: bold;
        font-size: 1.1em;
        margin-left: 15px;
        margin-bottom: 15px;
        overflow: visible;
    }
    
    .Title-row2 {
        position: relative;
        top: 12px;
        text-align: left;
        font-weight: bold;
        font-size: 1.1em;
        margin-left: 15px;
        margin-top: 5px;
        margin-bottom: 20px;
        overflow: visible;
        line-height: 0.1em;
    }

    /* Over-mij-sectie */
    .over-mij {
        display: flex;
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-top: 20px;
    }

    .profile-image {
        width: 150px;
        margin: 0 auto;
        margin-top: 5px;
    }

    .over-mij-content {
        text-align: center;
        padding: 20px;
    }

    .over-mij h2 {
        position: relative;
        top: -300px;
    }

    .over-mij p {
        position: relative;
        text-align: left;
        margin-top: -80px;
    }

    /* Contact-sectie */
    .contact {
        padding: 15px;
        margin: 15px 10px;
        max-width: 100%;
        box-shadow: none;
    }

    .contact input, .contact textarea {
        font-size: 1em;
        padding: 8px;
    }

    .contact button {
        padding: 10px;
        font-size: 1em;
        background-color: #444;
    }

    /* Footer */
    .footer {
        padding: 10px;
        font-size: 0.9em;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    /* Testimonials */

    .testimonial-slider {
        height: 400px;
    }

    blockquote {
        max-width: 100%;
        max-height: 100%;
        padding: 15px;
        margin: 10px;
        background-color: #ffffff;
        border-radius: 8px;
        font-size: 0.9em;
    }
}