html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background: #fffdf9;
    color: #4f4a43;
    line-height: 1.8;
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    color: #2f2a24;
    margin-top: 0;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1.05;
    font-weight: 600;
    margin-bottom: 28px;
}

h3 {
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 600;
}

h4 {
    font-size: 1.9rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 18px;
}

p {
    margin-top: 0;
    margin-bottom: 18px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    position: relative;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
}

.nav-logo a {
    text-decoration: none;
    color: #5a534b;
    transition: 0.2s;
}

.nav-logo a:hover {
    color: #a28354;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #5a534b;
    font-size: 14px;
    letter-spacing: 0.08em;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #a28354;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #2f2a24;
    padding: 0;
}

.hero {
    height: 88vh;
    min-height: 620px;
    background-image: url("images/FotoOmslag.JPEG");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 70px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.35));
}

.hero-text {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 42px 52px;
    border-radius: 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    max-width: 760px;
}

.hero-text h1 {
    color: #ffffff;
}

.hero-text h3 {
    color: #f8f4ec;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0;
}

.container,
.containerNotCenter {
    max-width: 1100px;
    margin: auto;
    padding: 90px 24px;
    scroll-margin-top: 40px;
}

.container {
    text-align: center;
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    max-width: 1000px;
    margin: auto;
}

.about img {
    width: 290px;
    height: 290px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 18px 40px rgba(106, 88, 59, 0.14);
    border: 8px solid #fcfaf5;
}

.about > div {
    max-width: 620px;
}

.aboutTitle {
    line-height: 1.05;
    margin-bottom: 24px;
}

.mission,
.myWork {
    background: #f6ecdb;
    border-radius: 36px;
    padding: 54px 58px;
    box-shadow: 0 8px 28px rgba(98, 84, 60, 0.06);
}

.forWho p,
.about p,
.mission p,
.myWork p,
.contact p,
.practical-item p,
.practical-note p {
    font-size: 17px;
    color: #5f584f;
}

.support-label {
    font-size: 14px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #a28354;
    margin-top: 34px;
    margin-bottom: 24px;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.support-list li {
    background: #faf4ea;
    border-radius: 28px;
    padding: 26px 24px;
    font-size: 17px;
    line-height: 1.5;
    min-height: 42px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 16px rgba(98, 84, 60, 0.05);
}

.practical-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 34px auto 0 auto;
}

.practical-item {
    background: #ffffff;
    border-radius: 32px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    border: 1px solid rgba(117, 100, 74, 0.08);
    box-shadow: 0 10px 30px rgba(98, 84, 60, 0.06);
    min-height: 220px;
}

.contact {
    text-align: center;
    padding: 10px 20px;
    background: #f6ecdb;
    margin-top: 30px;
    scroll-margin-top: 50px;
}

.contact h2 {
    margin-bottom: 20px;
}

footer {
    text-align: center;
    padding: 26px 20px 36px;
    font-size: 14px;
    color: #8a8177;
    background: #faf4ea;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        width: 220px;
        background: #fffdf9;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 20px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
        padding: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 12px;
        border-radius: 12px;
        letter-spacing: 0.02em;
        font-size: 15px;
    }

    .nav-links a:hover {
        background: #faf4ea;
    }

    .about {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }

    .practical-container {
        grid-template-columns: 1fr;
    }

    .support-list {
        grid-template-columns: 1fr;
    }

    .mission,
    .myWork {
        padding: 36px 28px;
    }

    .hero-text {
        padding: 32px 24px;
        margin: 0 20px;
    }
}


/* Event section styling */
.events {
    background: #faf4ea;
    padding: 60px 20px;
    margin-top: 30px;
    margin-bottom: 80px;
    scroll-margin-top: 50px;
    border-radius: 36px;
}
.events-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between the two event items */
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

.events h2 {
    text-align: center;
    width: 100%;
}

.event-item {
    flex: 1; /* Each item takes equal space */
    max-width: 45%; /* Limits width to prevent stretching */
    margin: 10px;
    padding: 15px;
    border-radius: 30px;
    text-align: center;
    background-color: #faf4ea;
}

.flyer-thumbnail {
    max-width: 70%;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
}

.flyer-thumbnail:hover {
    transform: scale(1.02);
}

/* Fullscreen modal styling */
.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    text-align: center;
    white-space: nowrap;
}

.fullscreen-content {
    max-width: 90%;
    max-height: 90%;
    margin-top: 5vh;
    display: inline-block;
    vertical-align: middle;
}

.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}