/*====================================================================
  GLOBAL STYLES AND UTILITIES
====================================================================*/

:root {
    --primary-font: 'Playfair Display', serif;
    --secondary-font: 'Playfair Display', serif;
    --text-color-dark: #222;
    --text-color-dark-rgb: 34, 34, 34;
    --text-color-light: #efe9dd;
    --text-color-light-rgb: 239, 233, 221;
    --background-color: #efe9dd;
    --background-color-rgb: 239, 233, 221;
    --divider-color: #e0e0e0;
    --divider-color-rgb: 224, 224, 224;
    --accent-color: #d1cebd;
    --accent-color-rgb: 209, 206, 189;
    --header-bg-hex: #d1cebd;
    --header-bg-rgb: 209, 206, 189;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--secondary-font);
    color: var(--text-color-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 {
    font-family: var(--primary-font);
    font-weight: 700;
    color: var(--text-color-dark);
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }

.decorative-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background-color: var(--divider-color);
    margin: 4rem auto;
    min-width: 300px;
}

/* ================================================================
   UNIFIED BUTTON STYLE
================================================================ */

.button,
.back-to-top,
.contact-submit-btn,
.link-button {
    position: relative;
    display: inline-block;
    font-family: var(--secondary-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color-light);
    text-decoration: none;
    padding: 0.4rem 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-top: 10px;
}

/* Animated underline */
.button::after,
.back-to-top::after,
.contact-submit-btn::after,
.link-button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--text-color-light);
    transition: width 0.3s ease;
}

/* Hover effect */
.button:hover,
.back-to-top:hover,
.contact-submit-btn:hover,
.link-button:hover {
    color: var(--text-color-light);
}

.button:hover::after,
.back-to-top:hover::after,
.contact-submit-btn:hover::after,
.link-button:hover::after {
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;

}

.cta-buttons .button {
    font-size: 1.1rem;
}

/*====================================================================
  HEADER AND NAVIGATION
====================================================================*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 1.5rem 1rem 0.5rem;
    background-color: rgba(var(--header-bg-rgb), 0);
    backdrop-filter: blur(1px);
    z-index: 2000; /* VERHOOGD naar 2000 om boven ALLES te staan, ook de portfolio selector */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

header:hover {
    background-color: rgba(var(--header-bg-rgb), 0.3);
}

header.scrolled {
    background-color: rgba(var(--header-bg-rgb), 0);
}

.logo-container {
    margin-left: -0.7rem;
    margin-top: -1rem;
}

.logo-container .logo {
    height: 83px;
    width: auto;
    filter: invert(1);
    transition: filter 0.3s ease;
}

header.scrolled .logo-container .logo,
header:hover .logo-container .logo {
    filter: invert(0);
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    background-color: rgba(var(--header-bg-rgb), 0);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color-light);
    font-weight: 500;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ddd;
}

header:hover .nav-menu a,
header.scrolled .nav-menu a {
    color: var(--text-color-dark);
}

header:hover .nav-menu a:hover,
header.scrolled .nav-menu a:hover {
    color: #888;
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-color-light);
    transition: color 0.3s ease;
    position: relative;
    z-index: 2000;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

header:hover .hamburger,
header.scrolled .hamburger,
.hamburger.active {
    color: var(--text-color-dark);
    text-shadow: none;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--header-bg-rgb), 0.5);
    z-index: 900;
}

.language-switch {
    display: none;
}

/*====================================================================
  HERO SECTION
====================================================================*/

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: var(--text-color-light);
    background-color: transparent;
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-text-container {
    position: absolute;
    z-index: 2;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

.hero-text-container.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-text-container h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--text-color-light);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.hero-text-container h2 {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-color-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
}

.hero-text-container.text-box {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 1.5rem;
    color: var(--text-color-dark);
}

.hero-text-container.text-box h1,
.hero-text-container.text-box h2 {
    color: var(--text-color-dark);
    text-shadow: none;
}

.hero-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    object-fit: cover;
}

.hero-slider img.active {
    opacity: 1;
}

.section {
    padding: 4rem 0;
}

.photography-paragraph {
    text-align: center;
}

/*====================================================================
  QUOTE SECTION
====================================================================*/

.quote-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text-color-light);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.quote-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.quote-section blockquote,
.quote-section cite {
    position: relative;
    z-index: 1;
    font-style: italic;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/*====================================================================
  BOOKING SECTION
====================================================================*/

.booking-section {
    background-color: var(--accent-color);
    color: var(--text-color-light);
    text-align: center;
}

.booking-section p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/*====================================================================
  TAILORED APPROACH SECTION
====================================================================*/

.tailored-section {
    text-align: center;
}

.tailored-section h2 {
    margin-bottom: 1rem;
}

.tailored-section p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.tailored-section a.button {
    color: var(--text-color-dark);
}

.tailored-section a.button::after {
    background-color: var(--text-color-dark);
}


/* Custom CSS for the Booking Steps section */
.booking-steps-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background-color: var(--background-color);
    text-align: center;
}

.booking-steps-section .section-title {
    margin-bottom: 4rem;
}

.booking-steps-section .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.15; /* Subtiele doorschijnendheid */
    clip-path: polygon(0 0, 100% 20%, 100% 80%, 0% 100%);
    /* Effect van clipping */
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.step-card {
    background-color: rgba(var(--text-color-light-rgb), 0.7);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.step-card h3 {
    font-size: 1.5rem;
    color: var(--text-color-dark);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-color-dark);
    font-size: 1rem;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: background-color 0.3s ease;
}

.step-icon {
    width: 30px;
    height: 30px;
    fill: var(--text-color-dark);
}

.step-card:hover .icon-container {
    background-color: var(--accent-color);
}

/* Animations and Hover Effects */
/* fadeInUp */
.step-card.animated {

    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.step-card.animated.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:nth-child(1).animated { transition-delay: 0s; }
.step-card:nth-child(2).animated { transition-delay: 0.2s; }
.step-card:nth-child(3).animated { transition-delay: 0.4s; }

/* scaleUp Hover Effect */
.step-card[data-hover-effect="scaleUp"]:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* borderGlow Hover Effect */
.step-card[data-hover-effect="borderGlow"] {
    position: relative;
    overflow: hidden;
}

.step-card[data-hover-effect="borderGlow"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 0 15px var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card[data-hover-effect="borderGlow"]:hover::before {
    opacity: 1;
}

/* pulse Hover Effect */
.step-card[data-hover-effect="pulse"]:hover {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.step { animation: fadeInUp 0.6s ease-out forwards; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.4s; }


.step:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/*====================================================================
  ABOUT ME SECTION
====================================================================*/

.about-me-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.about-me-items {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-me-item {
    display: flex;
    align-items: center;
    gap: 7rem;
}

.about-me-item:nth-child(even) {
    flex-direction: row-reverse;
}

.about-me-image-container {
    flex: 1;
    text-align: center;
}

.about-me-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-me-text {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.about-me-text h3 {
    position: relative;
}

.about-me-text h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin-top: 0.5rem;
    text-align: right;
}

.about-me-item:nth-child(even) .about-me-text h3::after {

    margin-right: auto;
}

/*====================================================================
  CLIENT QUOTES SLIDER
====================================================================*/

.quotes-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quotes-slider .quote-slide {
    display: none;
    font-size: 1.2rem;
    font-style: italic;
    min-height: 150px;
}

.quotes-slider .quote-slide:first-child {
    display: block;
}

.quotes-slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.quotes-slider-nav button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--accent-color);
    padding: 0;
    outline: none;
}

/*====================================================================
  PORTFOLIO PAGE
====================================================================*/

.page-heading {
    text-align: center;
}

.portfolio-selector-fixed {
    position: relative;
    font-size: 1.8rem;
    padding-top: 60px;
    padding-bottom: 20px;
    left: 25%;
    width: 50%;
    z-index: 1100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
    backdrop-filter: blur(0.5px);
}

.portfolio-category-selector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-category-carousel {
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    position: relative;
}

.portfolio-category-list {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.portfolio-category-item {
    flex: 0 0 50.33%;
    text-align: center;
    padding: 0.5rem 1rem;
    font-family: var(--primary-font);
    color: var(--accent-color);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease, font-weight 0.3s ease, text-shadow 0.3s ease;
    white-space: nowrap;
    font-weight: 1000;
}

.portfolio-category-item.active {
    color: var(--text-color-light);
    opacity: 1;
    font-weight: 700;
    transform: scale(1.5);
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 2);
    backdrop-filter: blur(2px);
    overflow: visible;
}

.portfolio-category-item:hover {
    opacity: 0.9;
    text-shadow: 5px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Unified Arrow Styles */
.portfolio-category-prev,
.portfolio-category-next,
.gallery-prev,
.gallery-next {
    background: rgba(0,0,0,0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    color: #fff;
    width: 45px;
    height: 45px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Pijlen via Font Awesome */
.portfolio-category-prev::after,
.gallery-prev::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f104"; /* fa-angle-left */
    font-size: 2rem;
}

.portfolio-category-next::after,
.gallery-next::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f105"; /* fa-angle-right */
    font-size: 2rem;
}

.portfolio-category-prev:hover,
.portfolio-category-next:hover,
.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(0,0,0,0.6);
    color: #ddd;
    transform: scale(1.15);
}

.portfolio-category-prev.hidden,
.portfolio-category-next.hidden,
.gallery-prev.hidden,
.gallery-next.hidden {
    display: none;
}

.gallery-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sub-nav-container {
    text-align: center;
    margin-bottom: 2rem;
}

.sub-nav-container button {
    background-color: transparent;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
    color: #333;
}

.sub-nav-container button:hover,
.sub-nav-container button.active {
    text-decoration: underline;
}

.gallery-section {
    text-align: center;
}

.gallery-nav a {
    text-decoration: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.lightbox .lb-dataContainer {
    font-family: var(--secondary-font);
}

.lightbox .lb-number {
    font-size: 0.8rem;
}

.lightbox .lb-details {
    font-size: 1rem;
}

/*====================================================================
  HIGHLIGHT SECTION
====================================================================*/

.portfolio-highlight-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(var(--header-bg-rgb), 0.0);
}

.portfolio-highlight-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.portfolio-highlight-image.active {
    opacity: 1;
}

.portfolio-highlight-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 80%;
}

.portfolio-highlight-title {
    font-size: 4rem;
    margin: 0;
    font-family: var(--secondary-font);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 2);
    color: #ffffff;
}

.portfolio-highlight-description {
    font-size: 1.2rem;
    margin: 0;
    font-family: var(--secondary-font);
}

/*====================================================================
  SCROLL DOWN ARROW
====================================================================*/

.scroll-down-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 9;
    animation: bounce 2s infinite;
}

.scroll-down-arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transition: border-color 0.3s ease;
}

.scroll-down-arrow:hover::after {
    border-color: #ddd;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) translateX(-50%) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) translateX(-50%) rotate(45deg);
    }
}

/*====================================================================
  CONTACT SECTION
====================================================================*/
.contact-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-color-light);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to top */
    padding-top: 2rem; /* Space from top edge */
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.contact-section h1,
.contact-section h2,
.contact-section p {
    position: relative;
    z-index: 1;
    opacity: 1;

    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    width: 80%; /* Constrain width for readability */
    max-width: 800px; /* Limit max width */
    margin: 0 auto; /* Center horizontally */
    margin-top: 3%;
}

.contact-section h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-color-light);
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color-light);
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem; /* Space between text and form */
    color: var(--text-color-light);
}

.contact-form-container {
    display: block; /* Remove flex to avoid centering */
    width: 100%; /* Full width for container */
    text-align: left; /* Align content to the left */
}

.contact-form-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 5%;
/* Remove auto margins */
    padding: 1rem;
    color: var(--text-color-light);
    background-color: rgba(var(--background-color-rgb), 0);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 50%; /* Constrain width */
    max-width: 30%; /* Limit max width */
    margin-left: 15%; /* Position on left half */
}

.contact-form-content input,
.contact-form-content textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--divider-color);
    border-radius: 5px;
    font-family: var(--secondary-font);
    font-size: 1rem;
    background-color: var(--text-color-light);
    color: var(--text-color-dark);
}

.contact-form-content input::placeholder,
.contact-form-content textarea::placeholder {
    color: #888;
}

.contact-form-content textarea {
    min-height: 150px;
    resize: vertical;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-section h1,
    .contact-section h2,
    .contact-section p {
        width: 90%;
    }

    .contact-form-wrapper {
        width: 90%;
        max-width: 90%;
        margin-left: 2%;
    }

    .contact-form-container {
        padding: 0;
    }
}
/* Custom Signature Styles */
.signature-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    width: 50%;
    left: 25%;
}

.signature-logo {
    position: absolute;
    top: -60%; /* Kept higher as requested */
    z-index: 10;
    width: 300px;
    filter: invert(1);
    transform: translateY(10px); /* Bottom slightly below text */
}

.signature-text-wrapper {
    position: absolute;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the wrapper horizontally */
    width: 100px; /* Matches logo width */
    font-size: 4rem;
    z-index: 5;
}

.signature-firstname {
    text-align: right; /* Aligns text to the right */
    left: 50%
}

.signature-lastname {
    margin-left: var(--lastname-offset, 100px); /* Unchanged, adjust if needed */
    text-align: left; /* Aligns text to the left */
}
.signature-text-wrapper {
    --firstname-offset: -20px; /* Adjust to move first name more/less to the right */
    --lastname-offset: 300px; /* Adjust to move last name more/less to the left */
}
/*====================================================================
  FOOTER
====================================================================*/

footer {
    background-color: var(--header-bg-hex);
    color: var(--text-color-dark);
    padding: 2rem 0;
    text-align: center;
}

footer .logo {
    height: 150px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin: 1rem 0;
    font-size: 1.4rem;
}

.social-icons a {
    color: var(--text-color-dark);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

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

@media (max-width: 992px) {
    .about-me-item {
        flex-direction: column;
        text-align: center;
    }

    .about-me-item:nth-child(even) {
        flex-direction: column;
    }

    .about-me-image-container img {
        box-shadow: none;
    }

    .about-me-text {
        text-align: center;
    }

    .about-me-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-me-item:nth-child(even) .about-me-text h3::after {
        right: auto;
    }

    .quote-section {
        background-attachment: scroll;
        min-height: 50vh;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        height: 100vh;
        width: 250px;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
        z-index: 2001; /* VERHOOGD: Zorg dat het menu BOVEN de portfolio selector (1100) komt */
        padding-top: 5rem;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }

    header {
        align-items: center;
        padding: 0.5rem 1.5rem;
        height: 80px;
    }

    .logo-container {
        margin: 0;
    }

    .logo-container .logo {
        height: 60px;
        margin-top: 0.5rem;
    }

    .hero-text-container {
        padding: 1rem;
    }

    /* FIXES PORTFOLIO MOBIEL */

    /* 1. Sub map (Categorie selector) */
    .portfolio-selector-fixed {
        position: relative; /* Zorg dat relative positionering geldt */
        font-size: 1.8rem;
        padding-top: 60px;
        padding-bottom: 20px;

        /* Reset de desktop positionering: was left 25%, width 50% */
        top: 80px; /* Behoud top positionering indien nodig, of pas aan naar wens */
        left: 0;
        width: 100%;

        z-index: 1100;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0);

        /* Zorg voor contrast zodat witte tekst leesbaar is op mobiel */

        backdrop-filter: blur(0.5px);

        padding-left: 0; /* Reset padding indien nodig */
        padding-right: 0;
        box-sizing: border-box;
    }

    /* Zorg dat de .container geen width beperkingen geeft hier */
    .portfolio-selector-fixed .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .portfolio-category-selector {
        width: 100%;
        position: relative; /* Nodig voor absolute pijltjes */
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 60px; /* Voldoende hoogte voor tekst over 2 regels */
        padding: 0;
    }

    /* Pijlen absoluut positioneren aan de randen */
    .portfolio-category-prev,
    .portfolio-category-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 50;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.5rem !important;
        background: transparent !important;
        color: #fff !important;
        border: none !important;
        display: flex; /* AANGEPAST: !important verwijderd zodat hidden werkt */
        justify-content: center;
        align-items: center;
    }

    /* NIEUW: Zorg dat verborgen pijlen ook echt verborgen zijn op mobiel */
    .portfolio-category-prev.hidden,
    .portfolio-category-next.hidden {
        display: none !important;
    }

    .portfolio-category-prev { left: 5px !important; }
    .portfolio-category-next { right: 5px !important; }

    .portfolio-category-carousel {
        width: 100% !important;
        max-width: 100%;
        margin: 0;
        flex: 1;
        overflow: hidden;
        position: relative;
    }

    .portfolio-category-list {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
    }

    .portfolio-category-item {
        /* Forceer 100% breedte voor mobiel, override desktop flex */
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1.3rem;
        line-height: 1.2;
        /* Padding links/rechts zodat tekst niet onder de pijlen komt */
        padding: 0.5rem 50px !important;
        white-space: normal !important; /* Laat tekst wrappen naar nieuwe regel indien nodig */
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    /* 2. Titel van galerij (Highlight) */
    .portfolio-highlight-text {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    .gallery-nav {
        width: 100%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 50px;
    }

    /* Pijlen voor galerij ook absoluut en wijder */
    .gallery-prev,
    .gallery-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px !important;
        height: 44px !important;
        font-size: 1.5rem !important;
        z-index: 10;
        background: rgba(255,255,255,0.2) !important;
        border-radius: 50%;
        display: flex; /* AANGEPAST: !important verwijderd zodat hidden werkt */
        justify-content: center;
        align-items: center;
    }

    /* NIEUW: Zorg dat verborgen pijlen ook echt verborgen zijn op mobiel */
    .gallery-prev.hidden,
    .gallery-next.hidden {
        display: none !important;
    }

    .gallery-prev { left: 0 !important; }
    .gallery-next { right: 0 !important; }

    .portfolio-highlight-title {
        font-size: 1.6rem;
        word-wrap: break-word;
        white-space: normal;
        /* Padding om overlap met pijlen te voorkomen */
        padding: 0 50px !important;
        line-height: 1.1;
    }

    .portfolio-highlight-description {
        font-size: 1.1rem;
        margin-top: 0.5rem;
        padding: 0 20px;
    }

    /* FIX VOOR FOOTER MOBIEL */
    footer .logo {
        height: auto;
        max-width: 90%;
        margin-bottom: 1rem;
    }

    footer {
        padding: 2rem 1rem;
    }
}