@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #0b1c2d;
    overflow-x: hidden;
}

/*--NAV--*/

nav img {
    height: 60px;
    margin-left: 20px;
    display: block;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000027;
}

#nav-links {
    display: flex;
    align-items: center;
    margin: auto 0;

}

#logoButton {
    display: flex;
    align-items: center;
}

.thisPage{
    color: #ffffff;
    text-shadow: 0 0 10px white;
    scale: 1.2;
}

#nav-links a {
    display: inline-block;
    font-weight: 600;
    padding: 25px 40px 20px;
    color: white;
    transform: scale(1);
    text-decoration: none;
    transition: transform 0.3s ease;
}

#nav-links a:not(.thisPage):hover {
    display: inline-block;
    color: #ffffff;
    text-shadow: 0 0 10px white;
    transform: scale(1.2);
    transition: transform 0.3s ease;

}

#hamburger {
    display: none;
    text-decoration: none;
    color: white;
    font-size: 40px;
}

@media screen and (max-width: 768px) {

    #hamburger {
        display: block;
        width: 100%;
        padding: 20px;
        text-align: center;
        font-size: 50px;
    }

    #menu {
        flex-direction: column;
        align-items: center;
    }

    #logoButton {
        display: none;
    }

    #nav-links {
        display: flex;
        max-height: 0px;
        font-size: 30px;
        flex-direction: column;
        width: 100%;
        margin: 0;
        overflow: hidden;
        transition: max-height 0.5s;
    }

    #menu.open #nav-links {
        max-height: 500px;
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        transition: max-height 0.5s;
    }


    #nav-links a {
        width: 100%;
        text-align: center;
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/*--HOMEPAGE--*/

#frontPage1 {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../imgs/frontpage1.jpg') no-repeat center/cover;
    background-position: 80% center;
}

#frontPageImage1 {
    display: none
}

#frontPage1 h1 {
    font-family: "Playfair Display", serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    transition: transform 0.3s ease;
    padding: 50px 100px;
    max-width: 90%;
    color: white;
    font-size: 150px;
    letter-spacing: 2px;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.05));
}

@media screen and (max-width: 1200px) {
    #frontPage1 h1 {
        font-size: 100px;
        padding: 40px 70px;
    }
}

@media screen and (max-width: 768px) {
    #frontPage1 {
        height: 90vh;
        background-position: 65% center;
    }

    #frontPage1 h1 {
        font-size: 65px;
        padding: 30px 35px;
        width: 85%;
    }
}

#frontPage1 h1:hover {
    box-shadow: 0 0 10px #888888;
    transform: translate(-50%, -50%) scale(1.2);
    transition: transform 0.3s ease;

}

@media screen and (max-width: 768px) {
    #frontPage1 h1:hover {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/*----- ABOUT ME PAGINA -----*/

#am1 {
    display: flex;
    min-height: 90vh;
}

#am1img {
    width: 50%;
}

#am1img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 0 25px 0;
}

#am1text {
    width: 50%;
    background: linear-gradient(135deg, #f2f6fb, #dbe7f5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    color: #0b1c2d;
    border-radius: 0 0 0 25px;
}

#am1text h1 {
    font-family: "Playfair Display", serif;
    font-size: 70px;
    margin-bottom: 30px;
}

#am1text p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 25px;
}

#GALLERY {
    background: linear-gradient(160deg, #00112b, #0b1c2d, #000814);
    padding: 80px 90px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

#GALLERY h1 {
    font-family: "Playfair Display", serif;
    color: white;
    font-size: 90px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 35px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 25px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

#galleryContainer {
    columns: 3;
    column-gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 25px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

#galleryContainer img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
    border-radius: 18px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

#galleryContainer img:nth-child(1),
#galleryContainer img:nth-child(6),
#galleryContainer img:nth-child(7),
#galleryContainer img:nth-child(19) {
    width: 100%;
}

#galleryContainer img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

@media screen and (max-width: 768px) {
    #am1 {
        flex-direction: column;
    }

    #am1img,
    #am1text {
        width: 100%;
    }

    #am1img img {
        height: 500px;
    }

    #am1text {
        padding: 40px 25px;
    }

    #am1text h1 {
        font-size: 50px;
    }

    #am1text p {
        font-size: 18px;
    }

    #GALLERY {
        padding: 50px 30px;
    }

    #GALLERY h1 {
        font-size: 55px;
        margin-bottom: 35px;
    }

    #galleryContainer {
        columns: 1;
        gap: 20px;
    }

    #galleryContainer img,
    #galleryContainer img:nth-child(1),
    #galleryContainer img:nth-child(6),
    #galleryContainer img:nth-child(7),
    #galleryContainer img:nth-child(19) {
        width: 100%;
        height: auto;
    }
}

/*----- PORTFOLIO PAGINA -----*/

#pfPage {
    background: linear-gradient(135deg, #000814, #00112b, #0b1c2d, #102a63);
    min-height: 100vh;
    padding-bottom: 80px;
}

#pf1 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.glass {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

#pf1 .glass {
    width: 80%;
    padding: 60px;
    text-align: center;
    color: white;
}

#pf1 p,
#contact1Text > p,
.pfCard p {
    font-weight: 800;
    letter-spacing: 2px;
}

#pf1 h1,
#contact1Text h1 {
    font-family: "Playfair Display", serif;
    font-size: 100px;
    margin: 10px 0;
}

#pf1 h2,
#contact1Text h2 {
    font-size: 22px;
    font-weight: 400;
}

#pf2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.pfCard {
    overflow: hidden;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 25px;
    transition: transform 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.pfCard:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.pfCard img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.pfCard section {
    padding: 30px;
}

.pfCard h2 {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    margin: 8px 0;
}

.pfCard h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

/*----- CONTACT PAGINA -----*/

#contactPage {
    background: linear-gradient(135deg, #000814, #00112b, #0b1c2d, #102a63);
    min-height: 100vh;
    padding: 80px 50px;
}

#contact1 {
    min-height: 80vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
}

#contact1Text,
#contact1Form {
    width: 45%;
    padding: 45px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contactGegevens {
    margin-top: 45px;
}

.contactGegevens p {
    font-size: 20px;
    margin: 20px 0;
}

.contactGegevens h3 {
    font-weight: 800;
    margin-top: 20px;
    margin-bottom: 5px;
}

#contact1Form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact1Form input,
#contact1Form textarea {
    width: 100%;
    padding: 18px;
    color: white;
    font-size: 17px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    outline: none;
}

#contact1Form input::placeholder,
#contact1Form textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

#contact1Form textarea {
    height: 180px;
    resize: none;
}

#contact1Form button {
    padding: 18px;
    font-weight: 800;
    color: #0b1c2d;
    background-color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#contact1Form button:hover {
    transform: scale(1.04);
}

@media screen and (max-width: 768px) {
    #pf1 {
        padding: 50px 20px;
    }

    #pf1 .glass {
        width: 100%;
        padding: 35px 20px;
    }

    #pf1 h1,
    #contact1Text h1 {
        font-size: 55px;
    }

    #pf1 h2,
    #contact1Text h2 {
        font-size: 18px;
    }

    #pf2 {
        grid-template-columns: 1fr;
        padding: 0 25px;
    }

    .pfCard img {
        height: 260px;
    }

    #contactPage {
        padding: 50px 20px;
    }

    #contact1 {
        flex-direction: column;
    }

    #contact1Text,
    #contact1Form {
        width: 100%;
        padding: 30px;
    }
}

/*----- HOBBY'S PAGINA -----*/

/*CARROUSEL*/



.card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%);
    padding: 50px 100px;
    color: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.05));
    width: 70%;
    height: 75%;
    opacity: 0;
    display: none;

}

.card.active {
    display: block;
    animation: carouselAnimation 0.6s ease;
    opacity: 1;
    transform: translate(-50%, -50%);
}

@keyframes carouselAnimation {
    from {
        opacity: 0;
        transform: translate(-45%, -50%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.card img {
    display: flex;
    height: 500px;
    width: 350px;
    object-fit: cover;
    float: left;
    margin: auto;
    align-items: center;
    margin: 50px 20px 50px 0px;
    border-radius: 18px;
}

.card h2 {
    font-size: 40px;
    margin: 50px 0 50px 0;
    text-align: center;
}




#carousselContainer {
    background: linear-gradient(160deg, #102a63, #0b1c2d, #00112b);
    min-height: 100vh   ;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 999;
    border-radius: 15px;
}

.prev {
    left: 20px;
    transform: translateY(-50%) scale(1);
    transition: transform 0.3s ease;
}

.next {
    right: 20px;
    transform: translateY(-50%) scale(1);
    transition: transform 0.3s ease;
}

.prev:hover,
.next:hover {
    text-shadow: 0 0 10px white;
    transform: translateY(-50%) scale(1.2);
    transition: transform 0.3s ease;
}

@media screen and (max-width: 768px) {
    .card {
        width: 80%;
        height: auto;
        padding: 30px;
    }

    .card img {
        float: none;
        width: 100%;
        height: 260px;
        margin: 0 0 20px 0;
    }

    .card h2 {
        margin: 20px 0;
    }

    .prev,
    .next {
        font-size: 30px;
        padding: 10px;
    }
}
