/* ===== ALGEMEEN ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Kleurenpalet */
    --primary-color: #182B42;
    --secondary-color: #38679E;
    --accent-color: #5BA6FF;
    --text-color: #333333;
    --light-color: #F5F5F5;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;

    /* Lettertypen */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER MET HANDTEKENING & TAALSWITCHER ===== */
header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    position: relative; /* Voor absolute positionering van handtekening */
    width: 100%;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    position: relative; /* Voor absolute positionering van handtekening */
}

/* Handtekening links */
.signature {
    position: absolute;
    top: 0;
    left: 20px;
    width: 140px;
    height: 140px;
    z-index: 10;
}

.signature img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
}

/* Logo en subtitle */
.logo {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

/* Navigatie met taalswitcher */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

nav a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Taalswitcher stijlen */
.lang-switcher {
    margin-left: 20px;
}

.lang-switcher a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 5px;
}

.lang-switcher a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* ===== HERO SECTIE ===== */
.hero {
    position: relative;
    padding: 100px 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) opacity(0.4);
    display: block;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

/* Page header */
.page-header {
    background-color: var(--white);
    padding: 40px 0;
    margin-bottom: 40px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* ===== ABOUT INTRO MET GRIJS KADER ===== */
.about-intro {
    padding: 60px 0;
    background-color: #f5f5f5;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
    border: 4px solid #cccccc;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: grayscale(100%); */
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PORTFOLIO ===== */
.portfolio-section {
    padding: 20px 0;
}

.portfolio-category {
    margin-bottom: 60px;
}

.portfolio-category h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.portfolio-category > p {
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Featured sectie */
.featured {
    padding: 40px 0;
    background-color: var(--white);
}

.featured h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.featured-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.featured-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.featured-item h3 {
    padding: 15px 20px 5px;
    font-family: var(--heading-font);
    color: var(--primary-color);
}

.featured-item p {
    padding: 0 20px 20px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* ===== OVER MIJ ===== */
.about-section {
    padding: 20px 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-extras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.extras-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.extras-item h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.extras-item ul {
    list-style: none;
}

.extras-item li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light-color);
    color: var(--text-color);
}

.extras-item li:last-child {
    border-bottom: none;
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 20px 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info {
    flex: 1;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info h2 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #DDD;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.form-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.form-note code {
    background-color: var(--light-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

.follow-text {
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .header-top {
        gap: 10px;
    }
    .signature {
        width: 50px;
        height: 50px;
    }
    nav ul {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .about-content {
        flex-direction: column;
    }
    .about-image {
        order: -1;
    }
    .contact-content {
        flex-direction: column;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .portfolio-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .about-extras {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .logo {
        font-size: 1.5rem;
    }
    .signature {
        width: 40px;
        height: 40px;
        left: 10px;
    }
    nav ul {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }
    .lang-switcher {
        margin-left: 0;
        margin-top: 10px;
    }
    .page-header h1,
    .portfolio-category h2,
    .contact-form h2,
    .contact-info h2 {
        font-size: 1.8rem;
    }
}

.flag-icon {
    width: 16px;
    height: 12px;
    margin-right: 5px;
    vertical-align: middle;
    border-radius: 2px;
}

.lang-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

/* ===== ANIMATIES (optioneel) ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.portfolio-item,
.featured-item {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.portfolio-item:nth-child(1),
.featured-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2),
.featured-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3),
.featured-item:nth-child(3) { animation-delay: 0.3s; }

/* ===== PRINT STIJLEN ===== */
@media print {
    header, footer, nav, .btn, .social-links {
        display: none !important;
    }
    body {
        background-color: white;
    }
    .container {
        max-width: 100%;
        padding: 0;
    }
}