/*/////////////////////////////////////// CSS Reset ////////////////////////////////////////*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*//////////////////////////////////////// CSS Variables ////////////////////////////////////////*/

:root {
    --color-beige: #f2efea;
    --color-brown: #413124;
    --color-black: #151611;
    --font-title: 'Chloe', sans-serif;
    --font-paragraph: 'sofia-pro', sans-serif;
}

/*//////////////////////////////////////// Base Styles ////////////////////////////////////////*/

body {
    font-family: var(--font-paragraph);
    color: var(--color-brown);
    line-height: 1.6;
    overflow-x: hidden;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h4, h5 {
	font-family: var(--font-title)
}

/*//////////////////////////////////////// Header ////////////////////////////////////////*/

.header {
    position: absolute;
    width: 100%;
    height: 150px;
    z-index: 1000;
    display: grid;
    grid-template-columns: 200px 1fr 250px;
    align-items: center;
    padding: 0 97px;
    background: transparent;
}

.header .logo {
    width: 45px;
    height: 65px;
}

.header .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 100px;
    justify-content: right;
    align-items: center;
}

.nav a {
    color: var(--color-beige);
    font-size: 25px;
    font-weight: 300;
    letter-spacing: 0.1px;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.7;
}

.contact-btn {
    border: 1px solid var(--color-beige);
    border-radius: 500px;
    padding: 15px 30px;
    color: var(--color-beige);
    font-size: 25px;
    font-weight: 300;
    transition: background-color 0.3s, color 0.3s;
    justify-self: end;
}

.contact-btn:hover {
    background-color: var(--color-beige);
    color: var(--color-brown);
}

/*//////////////////////////////////////// Hero Section ////////////////////////////////////////*/

.hero {
    position: relative;
    width: 100%;
    height: 950px;
    background-color: var(--color-black);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.5;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    position: relative;
    color: var(--color-beige);
    font-size: 200px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 115px;
	text-align: center;
}

.hero-title span {
    display: block;
}

/*//////////////////////////////////////// About Section ////////////////////////////////////////*/

.about {
    background-color: var(--color-beige);
    padding: 100px 0;
	height: 950px;
	display: flex;
}

.about-grid {
    display: grid;
    grid-template-columns: 6, 1fr;
	grid-gap: 20px;
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 279px;
    gap: 80px;
}

.about-title {
    align-content: center;
    padding-top: 0;
	grid-column-start: 1;
	grid-column-end: 2;
	margin-top: auto;
	margin-bottom: auto;
}

.about-title h2 {
	font-size: 150px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-brown);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    line-height: 250px;
}

.about-content {
    align-content: start;
    padding-top: 0;
	grid-column-start: 3;
	grid-column-end: 7;
	margin-top: auto;
	margin-bottom: auto;
}

.about-content p {
    font-size: 20px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: 0.1px;
    color: var(--color-brown);
	margin-right: 50px;
}

.contact-btn-about {
    border: 1px solid var(--color-brown);
    border-radius: 500px;
    padding: 16px 40px;
    color: var(--color-brown);
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.1px;
    margin-top: 30px;
    width: fit-content;
    transition: background-color 0.3s, color 0.3s;
}

.contact-btn-about:hover {
    background-color: var(--color-brown);
    color: var(--color-beige);
}

/*//////////////////////////////////////// Hashtag Bar ////////////////////////////////////////*/

.hashtag-bar {
    background-color: var(--color-brown);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
}

.hashtag-scroll {
    display: flex;
    gap: 80px;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.hashtag-scroll span {
    color: var(--color-beige);
    font-size: 20px;
    font-weight: 200;
    letter-spacing: 0.1px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
	}
}
/*//////////////////////////////////////// Work Section ////////////////////////////////////////*/
	
.work {
    position: relative;
    width: 100%;
    height: 900px;
    background-color: var(--color-brown);
    display: grid;
    place-items: left;
    overflow: hidden;
}

.work-title {
    font-size: 150px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-beige);
    text-align: left;
    line-height: 150px;
	margin-left: auto;
	margin-right: auto;
	max-width: 1400px;
    margin-bottom: 80px;
	margin-top: 50px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 200px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.work-item {
    display: grid;
    gap: 120px;
}

.work-image {
    width: 375px;
    height: 375px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-item h3 {
    font-size: 25px;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--color-beige);
    line-height: 0px;
	margin-top: -70px;
}

.work-item p {
    font-size: 17px;
    font-weight: 300;
    color: var(--color-beige);
    line-height: 10px;
    margin-top: -150px;
}

.read-more-btn {
    background-color: var(--color-beige);
    border-radius: 500px;
    padding: 5px 0;
    width: 156px;
    color: var(--color-brown);
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.1px;
    text-align: center;
    margin-top: -200px;
	margin-bottom: 210px;
    transition: opacity 0.3s;
}

.read-more-btn:hover {
    opacity: 0.8;
}

/*//////////////////////////////////////// Goals & Skills Section ////////////////////////////////////////*/
	
.goals {
    position: relative;
    width: 100%;
    height: 1000px;
    background-color: var(--color-beige);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.goals-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 259px;
    gap: 80px;
}

.goals-content {
   display: grid;
    gap: 127px;
}

.goal-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 47px;
    align-items: start;
}

.goal-icon {
    width: 48px;
    height: 40px;
}

.goal-item p {
    font-size: 20px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: 0.1px;
    color: var(--color-brown);
    margin-top: -6px;
}

.goals-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.goals-title h2 {
    font-size: 150px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-brown);
    writing-mode: vertical-rl;
    text-align: right;
    line-height: 150px;
}

/*//////////////////////////////////////// Projects Section ////////////////////////////////////////*/
	
.projects {
    position: relative;
    width: 100%;
    height: 900px;
    background-color: var(--color-brown);
    display: grid;
    place-items: left;
    overflow: hidden;
}

.projects-title {
    font-size: 150px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-beige);
    text-align: left;
    line-height: 150px;
	margin-left: auto;
	margin-right: auto;
	max-width: 1400px;
    margin-bottom: 80px;
	margin-top: 50px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.projects-item {
    display: grid;
    gap: 120px;
}

.projects-image {
    width: 375px;
    height: 375px;
    overflow: hidden;
}

.projects-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects-item h3 {
    font-size: 25px;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--color-beige);
    line-height: 0px;
	margin-top: -70px;
}

.projects-item p {
    font-size: 17px;
    font-weight: 300;
    color: var(--color-beige);
    line-height: 10px;
    margin-top: -150px;
}

.read-more-btn-b {
    background-color: var(--color-beige);
    border-radius: 500px;
    padding: 12px 0;
    width: 156px;
    color: var(--color-brow);
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.1px;
    text-align: center;
    margin-top: -230px;
	margin-bottom: 230px;
    transition: opacity 0.3s;
}

.read-more-btn-b:hover {
    opacity: 0.3;
}

/*//////////////////////////////////////// Grid System Pictures Project////////////////////////////////////////*/
	
.grid-container {
   	display: grid;
    grid-template-columns: repeat(4, 1fr); 
    grid-gap: var(--grid-gap);
    width: 100%;
    max-width: 1400px;
    transform: rotate(var(--tilt-angle));
    margin: 40px 0;
	--tilt-angle: -7deg;
    --grid-gap: 20px;
}

.grid-background {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 50px 0;
	background-color: var(--color-brown);
	margin-top: -50px;
	margin-bottom: -50px;
}

.grid-item {
    background-color: var(--color-brown);
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(calc(var(--tilt-angle) * 0)) scale(1.2); 
}

/*//////////////////////////////////////// Other Section ////////////////////////////////////////*/
	
.other {
    position: relative;
    width: 100%;
    height: 900px;
    background-color: var(--color-beige);
    display: grid;
    place-items: left;
    overflow: hidden;
}

.other-title {
    font-size: 150px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-brown);
    text-align: left;
    line-height: 150px;
	margin-left: auto;
	margin-right: auto;
	max-width: 1400px;
    margin-bottom: 80px;
	margin-top: 50px;
}

.other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.other-item {
    display: grid;
    gap: 120px;
}

.other-image {
    width: 375px;
    height: 375px;
    overflow: hidden;
}

.other-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-item h3 {
    font-size: 25px;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--color-brown);
    line-height: 0px;
	margin-top: -70px;
}

.other-item p {
    font-size: 17px;
    font-weight: 300;
    color: var(--color-brown);
    line-height: 10px;
    margin-top: -150px;
}

.read-more-btn-w {
    background-color: var(--color-brown);
    border-radius: 500px;
    padding: 12px 0;
    width: 156px;
    color: var(--color-beige);
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.1px;
    text-align: center;
    margin-top: -230px;
	margin-bottom: 230px;
    transition: opacity 0.3s;
}

.read-more-btn-w:hover {
    opacity: 0.3;
}

/*//////////////////////////////////////// Scroll to Top Button ///////////////////////////////////////*/
	
.scroll-top {
    position: fixed;
    bottom: 113px;
    right: 58px;
    width: 74px;
    height: 74px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 999;
    transition: opacity 0.3s;
}

.scroll-top:hover {
    opacity: 0.7;
}

/*//////////////////////////////////////// Footer ////////////////////////////////////////*/
	
.footer {
    background-color: var(--color-brown);
    padding: 110px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 200px 1fr 400px;
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 201px;
    gap: 100px;
    align-items: start;
}

.footer-logo {
    width: 81px;
    height: 118px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-cta h4 {
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-beige);
    line-height: 35px;
    margin-bottom: 20px;
}

.footer-cta p {
    font-size: 20px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: 0.1px;
    color: var(--color-beige);
}

.footer-contact h5 {
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-beige);
    line-height: 40px;
    letter-spacing: 0.1px;
    margin-bottom: 30px;
}

.contact-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item svg {
    width: 16px;
    height: 16px;
}

.contact-item a {
    font-size: 20px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: 0.1px;
    color: var(--color-beige);
    transition: opacity 0.3s;
}

.contact-item a:hover {
    opacity: 0.7;
}

/*//////////////////////////////////////// Responsive Design ////////////////////////////////////////*/
	
@media (max-width: 1728px) {
    .header {
        padding: 0 50px;
    }
    
    .about-grid,
    .work-grid,
    .goals-grid,
    .footer-grid {
        padding-left: 50px;
        padding-right: 50px;
    }
    
    .work-title {
        padding-left: 50px;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 180px;
        line-height: 120px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-title h2 {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 120px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    
    .work-image {
        width: 100%;
        max-width: 462px;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .goals-title h2 {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 120px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    /* 1. Reset Hoogtes: Laat de inhoud de hoogte bepalen */
    .hero, .about, .work, .goals, .projects, .other {
        height: auto;
        padding: 80px 20px; /* Geef wat ademruimte boven en onder */
    }

    /* 2. Header & Navigatie */
    .header {
        position: relative; /* Niet meer over de foto heen op mobiel voor leesbaarheid */
        grid-template-columns: 1fr;
        padding: 40px 20px;
        background-color: var(--color-black);
    }

    .nav {
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: center;
    }

    .nav a {
        font-size: 20px;
    }

    /* 3. Typografie Schalen */
    .hero-title {
        font-size: 80px !important;
        line-height: 75px;
    }

    .about-title h2, .work-title, .goals-title h2, .projects-title, .other-title {
        font-size: 60px !important;
        line-height: 1;
        writing-mode: horizontal-tb; /* Altijd horizontaal op mobiel */
        transform: none;
        text-align: left;
        margin-bottom: 30px;
    }

    /* 4. Grid elementen herstellen (Geen negatieve marges meer) */
    .about-content, .work-item, .projects-item, .other-item {
        grid-column: 1 / -1; /* Gebruik de volle breedte */
    }

    .work-item p, .work-item h3, .read-more-btn, .read-more-btn-b, .projects-item p, .other-item p {
        margin-top: 0; /* Reset de negatieve marges van desktop */
        margin-bottom: 20px;
    }

    .work-image, .projects-image, .other-image {
        width: 100%; /* Afbeelding over de volle breedte */
        height: auto;
        aspect-ratio: 1/1;
    }

    /* 5. Footer fix */
    .footer-grid {
        grid-template-columns: 1fr;
        padding: 60px 20px;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
    }

    .contact-item {
        justify-content: center;
    }

    /* 6. Tilt-grid (afbeeldingen project) */
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 plaatjes naast elkaar op mobiel */
        transform: rotate(0deg); /* Haal de schuinte weg op mobiel voor rust */
    }
}