/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #D1CFC9;
    color: #1C2E4A;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(209, 207, 201, 0.95);
    backdrop-filter: blur(10px);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
}

.logo {
    font-size: 1.25rem;
    color: #1C2E4A;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #1C2E4A;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #A68A71;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('img/edited_soft_transition.jpg');
    background-size: cover;
    background-position: 75% center;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    padding-top: 5rem;
}

.hero-text-box {
    max-width: 32rem;
    background: rgba(44, 62, 80, 0.85);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 1.5rem;
}

.hello {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.name {
    color: #C1B5A8;
    font-size: 3.75rem;
    font-style: italic;
    font-family: Georgia, serif;
    line-height: 1.2;
}

.tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #C1B5A8;
    color: #1C2E4A;
}

.btn-primary:hover {
    background: #A68A71;
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #1C2E4A;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-icon {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.25rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(0.5rem);
    }
}

/* Scrolling Banner */
.scrolling-banner {
    position: relative;
    overflow: hidden;
    background: #2C3E50;
    padding: 1rem 0;
}

.banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-banner 20s linear infinite;
}

.banner-content span {
    display: inline-block;
    color: white;
    font-size: 1.5rem;
    font-family: Georgia, serif;
    margin: 0 3rem;
}

@keyframes scroll-banner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Over Mij Section */
#over-mij {
    padding: 6rem 0;
    background: #D1CFC9;
}

.over-mij-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    align-items: center;
}

.profile-image-container {
    display: flex;
    justify-content: center;
}

.profile-image-frame {
    width: 380px;
    height: 480px;
    border-radius: 50%;
    border: 20px solid #A68A71;
    overflow: hidden;
}

.profile-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.over-mij-text {
    margin-left: -3rem;
}

.over-mij-text h2 {
    font-size: 3.75rem;
    font-family: Georgia, serif;
    margin-bottom: 2rem;
    color: #1C2E4A;
}

.text-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.text-box p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #1C2E4A;
    margin-bottom: 1rem;
}

.expanded-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.expanded-content.active {
    max-height: 1000px;
}

.expanded-content p {
    margin-top: 1rem;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #1C2E4A;
    font-size: 1.125rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: color 0.3s;
}

.read-more:hover {
    color: #A68A71;
}

.read-more .chevron {
    transition: transform 0.3s;
}

.read-more.active .chevron {
    transform: rotate(180deg);
}

/* Mijn Werk Section */
#mijn-werk {
    padding: 8rem 0;
    background: #1C2E4A;
    position: relative;
    overflow: hidden;
}

#mijn-werk::before {
    content: '';
    position: absolute;
    top: 5rem;
    left: 5rem;
    width: 16rem;
    height: 16rem;
    background: #C1B5A8;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

#mijn-werk::after {
    content: '';
    position: absolute;
    bottom: 5rem;
    right: 5rem;
    width: 20rem;
    height: 20rem;
    background: #A68A71;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

#mijn-werk h2 {
    font-size: 4.5rem;
    font-family: Georgia, serif;
    text-align: center;
    margin-bottom: 5rem;
    color: white;
    position: relative;
    z-index: 10;
}

.portfolio-carousel {
    position: relative;
    z-index: 10;
}

.project-card {
    margin: 0 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.project-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-family: Georgia, serif;
    font-size: 1.25rem;
    color: #1C2E4A;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: rgba(28, 46, 74, 0.7);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-link {
    background: none;
    border: none;
    color: #A68A71;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 1rem;
}

.project-link:hover {
    color: #1C2E4A;
}

/* Slick Carousel Customization */
.slick-prev,
.slick-next {
    z-index: 20;
    width: 40px;
    height: 40px;
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

.slick-prev:before,
.slick-next:before {
    font-size: 40px;
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    padding: 1rem;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 1rem;
    margin: 2rem 0;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    background: #1C2E4A;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.modal-close:hover {
    background: #A68A71;
}

.modal-body {
    padding: 3rem;
}

#modal-title {
    font-size: 3rem;
    font-family: Georgia, serif;
    color: #1C2E4A;
    margin-bottom: 2rem;
    padding-right: 3rem;
}

.modal-gallery {
    margin-bottom: 2rem;
}

.gallery-main {
    position: relative;
    background: #f5f5f5;
    border-radius: 0.75rem;
    overflow: hidden;
}

.modal-image-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(28, 46, 74, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.modal-image-close:hover {
    background: #A68A71;
}

#modal-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    display: block;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-prev:disabled,
.gallery-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-prev:not(:disabled):hover,
.gallery-next:not(:disabled):hover {
    background: white;
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.gallery-counter {
    text-align: center;
    margin: 1rem 0;
    color: #666;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    border-color: #A68A71;
    transform: scale(1.1);
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-description p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #1C2E4A;
    white-space: pre-line;
}

/* Contact Section */
#contact {
    padding: 6rem 0;
    background: linear-gradient(to bottom right, #A68A71, #C1B5A8);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 4.5rem;
    font-family: Georgia, serif;
    color: white;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info,
.contact-form-container {
    background: rgba(243, 239, 231, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1.5rem;
}

.contact-info h3,
.contact-form-container h3 {
    font-size: 1.875rem;
    font-family: Georgia, serif;
    color: #1C2E4A;
    margin-bottom: 2rem;
}

.info-items {
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-box {
    width: 3rem;
    height: 3rem;
    background: #C1B5A8;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box svg {
    color: #1C2E4A;
}

.label {
    font-weight: 600;
    color: #1C2E4A;
    margin-bottom: 0.25rem;
}

.value {
    color: rgba(28, 46, 74, 0.8);
}

.value a {
    color: rgba(28, 46, 74, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.value a:hover {
    color: #A68A71;
    text-decoration: underline;
}

.social-media h4 {
    font-size: 1.25rem;
    font-family: Georgia, serif;
    color: #1C2E4A;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 3rem;
    height: 3rem;
    background: #C1B5A8;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: #A68A71;
}

.social-icon svg {
    color: #1C2E4A;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: #1C2E4A;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(193, 181, 168, 0.4);
    border: none;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(28, 46, 74, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(28, 46, 74, 0.5);
}

.form-group textarea {
    resize: none;
}

.btn-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #2C3E50;
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #1C2E4A;
}

/* Footer */
footer {
    padding: 1.5rem;
    text-align: center;
    background: #1C2E4A;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        gap: 1rem;
    }

    nav a {
        font-size: 0.875rem;
    }

    .name {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .over-mij-grid {
        grid-template-columns: 1fr;
    }

    .profile-image-frame {
        width: 280px;
        height: 360px;
        border-width: 15px;
    }

    .over-mij-text {
        margin-left: 0;
    }

    .over-mij-text h2 {
        font-size: 2.5rem;
    }

    #mijn-werk h2 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-header h2 {
        font-size: 2.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    #modal-title {
        font-size: 2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-text-box {
        padding: 1.5rem;
    }

    .name {
        font-size: 2rem;
    }
}