* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden; /* Allow vertical scrolling, prevent horizontal */
    overflow-y: auto; /* Ensure vertical scrolling is enabled */
    display: flex;
    flex-direction: column;
}

:root {
    --warm-purple: #8364e8;
    --dark-text: #0f1021;
    --gradient: linear-gradient(to right, #d397fa, #8364e8);
}

/* Container styles moved to responsive section below */

/* Nav styles moved to responsive section below */

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 1.5rem;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: absolute;
    right: 0;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--warm-purple);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Nav-list styles moved to responsive section below */

.nav-list li.active {
    background-color: white;        /* achtergrondkleur actief */
    border-radius: 100px;           /* zelfde ronding als buttons */
    padding: 0.5rem 1rem;           /* consistent met je .button */
}

.nav-list li.active a {
    color: var(--warm-purple);      /* tekstkleur actief */
}

.nav-list li.active .icons {
    filter: brightness(0) saturate(100%) invert(0.3) sepia(1) saturate(2) hue-rotate(240deg); /* Makes icons purple for active state */
}

/* Button styles moved to responsive section below */

.button:hover {
    text-decoration: none;
    border: none;
    border-radius: 100px;
    background-color: #b3a0f1;
    color: var(--warm-purple);
}

.button:active {
    text-decoration: none;
    color: var(--warm-purple);
    background-color: var(--warm-purple);
    transform: scale(0.95);
    transition: all 0.1s ease;
}

/* Button a styles moved to responsive section below */

.button a:hover {
    text-decoration: none;
    color: var(--warm-purple);
}

.filson-regular {
    font-family: "filson-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.filson-medium {
    font-family: "filson-pro", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.filson-bold {
    font-family: "filson-pro", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* Icons styles moved to responsive section below */

.icons:hover {
    filter: brightness(0) saturate(100%) invert(1) hue-rotate(180deg); /* Changes to a different color on hover */
}

/* Logo styles moved to responsive section below */

/* P styles moved to responsive section below */

/*
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
*/

/* Main styles moved to responsive section below */
#evelop-word {
    width: clamp(400px, 80vw, 1000px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 0 clamp(1rem, 4vw, 2rem) 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Base responsive improvements */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
}

/* Responsive typography */
:root {
    --font-size-base: clamp(14px, 2.5vw, 16px);
    --font-size-nav: clamp(14px, 2vw, 12px);
    --font-size-large: clamp(18px, 4vw, 24px);
}

/* Responsive navigation */
.nav {
    max-width: fit-content;
    margin: 0;
    font-size: var(--font-size-nav);
}

.nav-list {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: clamp(1rem, 4vw, 2.5rem);
    padding: 0.2rem;
    color: white;
    background-color: var(--warm-purple);
    border-radius: 100px;
    flex-wrap: wrap;
    justify-content: center;
}

.button {
    text-decoration: none;
    border: none;
    padding: clamp(0.4rem, 2vw, 0.5rem) clamp(0.8rem, 3vw, 1rem);
    border-radius: 100px;
    background-color: var(--warm-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.3rem, 2vw, 0.5rem);
    white-space: nowrap;
}

.button a {
    text-decoration: none;
    color: white;
    display: flex;
    gap: clamp(0.3rem, 2vw, 0.5rem);
    align-items: center;
    font-size: var(--font-size-nav);
    cursor: pointer;
    width: 100%;
    height: 100%;
}

/* Responsive icons */
.icons {
    width: clamp(12px, 3vw, 15px);
    height: clamp(12px, 3vw, 15px);
    filter: brightness(0) saturate(100%) invert(1);
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
    pointer-events: none; /* Allow clicks to pass through to the parent anchor */
    display: block;
}

/* Responsive logo */
.logo {
    width: clamp(30px, 6vw, 40px);
    height: auto;
    position: absolute;
    left: 0;
}

/* Responsive main content */
main {
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: clamp(2rem, 8vw, 6rem) clamp(1rem, 4vw, 4rem);
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    text-align: left;
}

/* Responsive text */
p {
    font-family: "new-order", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--dark-text);
    margin: 0;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.5;
    text-align: left;
    max-width: 500px;
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 1rem;
}

/* CTA Button Styles */
.cta-button {
    display: inline-block;
    padding: 0.55rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: "filson-pro", sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 2vw, 16px);
    transition: all 0.3s ease;
    border: 2px solid #5768ff;
    text-align: center;
    min-width: 140px;
}

.cta-button.primary {
    background-color: #5768ff;
    color: white;
}

.cta-button.primary:hover {
    background-color: #5768ff;

}

.cta-button.secondary {
    background-color: white;
    color: #5768ff;
}

.cta-button.secondary:hover {
    background-color: #5768ff;
    color: white;

}

/* ========================================
   DESKTOP LARGE SCREENS
   ======================================== */

/* Large desktop screens */
@media screen and (min-width: 1200px) {
    
    #evelop-word {
        width: clamp(600px, 70vw, 1200px);
        margin-bottom: 2rem;
    }
    
    p {
        font-size: clamp(16px, 1.5vw, 20px);
        max-width: 600px;
    }
}

/* Extra large screens */
@media screen and (min-width: 1600px) {
    
    #evelop-word {
        width: clamp(800px, 60vw, 1400px);
    }
    
    p {
        font-size: clamp(18px, 1.2vw, 22px);
        max-width: 700px;
    }
}

/* ========================================
   MOBILE BREAKPOINTS
   ======================================== */

/* Large tablets and small desktops */
@media screen and (max-width: 1024px) {
    .nav-list {
        gap: clamp(0.8rem, 3vw, 1.5rem);
    }
    
    .button {
        padding: clamp(0.3rem, 1.5vw, 0.4rem) clamp(0.6rem, 2.5vw, 0.8rem);
    }
}

/* Tablets */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .header {
        justify-content: center;
        align-items: center;
    }
    
    .nav-list {
        gap: clamp(0.5rem, 2vw, 1rem);
        padding: 0.1rem;
    }
    
    .button {
        padding: clamp(0.25rem, 1vw, 0.35rem) clamp(0.5rem, 2vw, 0.7rem);
    }
    
    main {
        align-items: center;
        text-align: center;
        padding: clamp(1.5rem, 6vw, 3rem) clamp(1rem, 3vw, 1.5rem);
    }
    
    #evelop-word {
        width: clamp(300px, 60vw, 500px);
        margin: 0 auto clamp(1rem, 3vw, 1.5rem) auto;
    }
    
    p {
        text-align: center;
        max-width: 400px;
    }
}

/* Mobile phones */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: white;
        transition: left 0.3s ease;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 2rem;
        width: 100%;
        max-width: 300px;
        background-color: transparent;
        box-shadow: none;
        list-style: none;
    }
    
    .button {
        width: 100%;
        justify-content: flex-start;
        border-radius: 0;
        background-color: transparent;
        border: none;
    }
    
    .button a {
        justify-content: flex-start;
        width: 100%;
        color: #5768ff;
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: lowercase;
        gap: 1rem;
    }
    
    .button:hover {
        background-color: #f2f3ff;
    }
    
    /*
    .button:hover a {
        background-color: #5768ff;
    }
        */
    
    .button.active {
        background-color: transparent;
    }
    
    .button.active a {
        color: #5768ff;
        font-weight: 700;
    }
    
    .button.active .icons {
        filter: brightness(0) saturate(100%) invert(0.3) sepia(1) saturate(2) hue-rotate(240deg);
    }
    
    .icons {
        filter: brightness(0) saturate(100%) invert(0.3) sepia(1) saturate(2) hue-rotate(240deg);
        width: 20px;
        height: 20px;
        pointer-events: none; /* Allow clicks to pass through to the parent anchor */
        display: block;
    }
    
    .header {
        padding: 1rem 0;
     
    }
    
    main {
        align-items: center;
        text-align: center;
        padding: clamp(1rem, 5vw, 2rem) clamp(0.75rem, 2vw, 1rem);
    }
    
    #evelop-word {
        width: clamp(200px, 80vw, 400px);
        margin: 0 auto clamp(0.5rem, 3vw, 1rem) auto;
    }
    
    p {
        font-size: clamp(12px, 2.5vw, 16px);
        max-width: 300px;
        text-align: center;
        margin: 0 0 clamp(1.5rem, 3vw, 2rem) 0;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
    }
}

/* Very small mobile phones */
@media screen and (max-width: 320px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .nav-list {
        max-width: 280px;
        padding: 1.5rem;
    }
    
    .button {
        padding: 0.8rem 1rem;
    }
    
    .button a {
        font-size: 0.9rem;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    main {
        align-items: center;
        text-align: center;
        padding: clamp(0.75rem, 4vw, 1.5rem) 0.5rem;
    }
    
    #evelop-word {
        width: clamp(180px, 85vw, 300px);
        margin: 0 auto clamp(0.5rem, 2vw, 1rem) auto;
    }
    
    p {
        font-size: clamp(11px, 2vw, 14px);
        max-width: 250px;
        text-align: center;
        margin: 0 0 clamp(1rem, 2vw, 1.5rem) 0;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 14px;
        min-width: 120px;
    }
}

/* ========================================
   ACCESSIBILITY & TOUCH IMPROVEMENTS
   ======================================== */

/* Improve touch targets */
@media (hover: none) and (pointer: coarse) {
    .button {
        min-height: 44px; /* Apple's recommended minimum touch target */
        min-width: 44px;
    }
    
    .button a {
        min-height: 44px;
        justify-content: center;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-list {
        border: 2px solid white;
    }
    
    .button:hover {
        background-color: #9b7ce8;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .button:active {
        transform: none;
        transition: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   LANDSCAPE ORIENTATION
   ======================================== */

@media screen and (max-height: 500px) and (orientation: landscape) {
    main {
        padding: clamp(1rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem);
        flex-direction: row;
        align-items: center;
        gap: clamp(1rem, 4vw, 2rem);
    }
    
    #evelop-word {
        width: clamp(200px, 40vw, 400px);
        margin: 0;
    }
    
    p {
        text-align: left;
        max-width: 200px;
        font-size: clamp(12px, 2vw, 16px);
    }
    
    .header {
        margin-bottom: 0.5rem;
    }
}

/* ========================================
   FOOTER STYLES
   ======================================== */

footer {
    background-color: var(--warm-purple);
    color: white;
    text-align: center;
    padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 1.5rem);
    margin-top: auto;
    font-family: "filson-pro", sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 2vw, 14px);
    line-height: 1.5;
    display: flex;
    flex-direction: center;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

footer p {
    margin: 0;
    color: white;
    font-size: clamp(12px, 2vw, 14px);
    text-align: center;
    max-width: none;
}

/* Footer logos container */
.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/* Evelop logo white */
.evelop-logo-white {
    width: clamp(30px, 6vw, 30px);
    height: auto;
    display: block;
    vertical-align: middle;
}

/* LinkedIn logo */
.linkedin-logo {
    width: clamp(28px, 5vw, 28px);
    height: auto;
    display: block;
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.linkedin-link {
    display: inline-block;
    text-decoration: none;
}

.linkedin-link:hover .linkedin-logo {
    opacity: 0.8;
}

/* Footer responsive adjustments */
@media screen and (max-width: 768px) {
    footer {
        padding: clamp(0.75rem, 2vw, 1.5rem) clamp(0.75rem, 3vw, 1rem);
    }
    
    .footer-logos {
        gap: 0.75rem;
    }
    
    .linkedin-logo {
        width: clamp(20px, 4vw, 22px);
    }
    
    footer p {
        font-size: clamp(11px, 1.8vw, 13px);
    }
}

@media screen and (max-width: 320px) {
    footer {
        padding: 0.5rem 0.75rem;
    }
    
    .footer-logos {
        gap: 0.5rem;
    }
    
    .linkedin-logo {
        width: clamp(18px, 3.5vw, 20px);
    }
    
    footer p {
        font-size: clamp(10px, 1.5vw, 12px);
    }
}

/* Work Project */

.bigproject {
    height: 100vh;
    width: 100vw;
    background-color: #f2f3ff;
}