* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        linear-gradient(120deg, rgba(75, 151, 88, 0.07) 0 1px, transparent 1px 100%),
        linear-gradient(145deg, #F5F1ED 0%, #fbf7f0 46%, #eef6eb 100%);
    background-size: 42px 42px, auto;
    color: #2f261f;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

ul {
    display: flex;
    align-items: center;
    gap: 5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: 0.9s;
}

a:hover {
    font-size: 2.8vh;
    font-weight: 600;
}

.navigatie a:hover {
    font-size: 1.2rem;
    transform: translateY(-2px);
}

header {
    height: 5.5rem;
    background-color: #EDE7DF;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    padding: 0 1rem;
    border-bottom: 1px solid #E5E1DC;
    top: 0;
    z-index: 20;
    box-shadow: 0 10px 22px rgba(134, 115, 94, 0.08);
}

.logo-link {
    position: absolute;
    left: 0;
    display: inline-flex;
    align-items: center;
}

.logo {
    width: 9rem;
    height: 5.5rem;
    display: block;
}

.navigatie {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 25.5rem 0 9rem;
}

.navigatie ul {
    gap: clamp(1.25rem, 3vw, 5rem);
}

.menu-knop {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background-color: #d4a373;
    box-shadow: 0 8px 18px rgba(134, 115, 94, 0.16);
    cursor: pointer;
}

.menu-knop span {
    display: block;
    width: 1.35rem;
    height: 2px;
    margin: 0 auto;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-knop.open span:nth-child(1) {
    transform: translateY(0.44rem) rotate(45deg);
}

.menu-knop.open span:nth-child(2) {
    opacity: 0;
}

.menu-knop.open span:nth-child(3) {
    transform: translateY(-0.44rem) rotate(-45deg);
}

.line1 {
    display: block;
    background-color: black;
    width: 0.5px;
    height: 2.5rem;
}

.button1 {
    background-color: #D4A373;
    color: #fff;
    width: 17%;
    min-width: 13rem;
    height: 4.5vh;
    border: 1px solid #4B9758;
    border-radius: 10px;
    position: absolute;
    right: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.button1:hover {
    background-color: #fff;
    color: #D4A373;
    transform: translateY(-2px);
}

.header-actions {
    position: absolute;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-actions .button1,
.header-actions .button-offerte {
    box-sizing: border-box;
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: 2.9rem;
    padding: 0 1.15rem;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
}

.header-actions .button1 {
    position: relative;
    inset: auto;
    border: 1px solid rgba(212, 163, 115, 0.45);
    background: linear-gradient(135deg, #D4A373 0%, #b9824e 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(143, 98, 54, 0.2);
}

.header-actions .button1::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -55%;
    width: 42%;
    height: 180%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(18deg);
    transition: left 0.45s ease;
}

.header-actions .button1:hover {
    background: linear-gradient(135deg, #e0b07d 0%, #c18d58 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(143, 98, 54, 0.28);
    font-size: 0.95rem;
}

.header-actions .button1:hover::before {
    left: 125%;
}

.header-actions .button-offerte {
    border: 1px solid rgba(23, 63, 29, 0.22);
    background: linear-gradient(135deg, #173f1d 0%, #4B9758 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(23, 63, 29, 0.2);
}

.header-actions .button-offerte:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #214f27 0%, #5aa767 100%);
    color: #fff;
    font-size: 0.95rem;
}


.menu-knop {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background-color: #D4A373;
    cursor: pointer;
}

.menu-knop span {
    display: block;
    width: 1.35rem;
    height: 2px;
    margin: 0 auto;
    background-color: #fff;
    transition: 0.3s;
}

.menu-knop.open span:nth-child(1) {
    transform: translateY(0.44rem) rotate(45deg);
}

.menu-knop.open span:nth-child(2) {
    opacity: 0;
}

.menu-knop.open span:nth-child(3) {
    transform: translateY(-0.44rem) rotate(-45deg);
}

.held {
    width: min(1400px, calc(100% - 2rem));
    min-height: 420px;
    margin: 1rem auto 0;
    display: flex;
    align-items: center;
    padding: 4rem;
    border-radius: 38px;
    background:
        linear-gradient(90deg, rgba(23, 63, 29, 0.88), rgba(23, 63, 29, 0.46)),
        url("../../home/img/gardendreams-flatroof-veranda-tuinkamer-avond-1_17.jpg") center / cover;
    color: #fff;
    box-shadow: 0 26px 58px rgba(57, 39, 24, 0.16);
    animation: fadeUp 0.9s ease both;
}

.held div {
    max-width: 700px;
}

.held span {
    display: inline-flex;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.held h1 {
    margin: 0;
    font-family: 'Poltawski Nowy', serif;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.05;
}

.held p {
    max-width: 620px;
    margin: 1rem 0 1.4rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.7;
}

.held a,
.actie a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.35rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #D4A373, #f0c18f);
    color: #2f261f;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(212, 163, 115, 0.24);
}

.held a:hover,
.actie a:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 40px rgba(212, 163, 115, 0.32);
}

.galerij-intro {
    width: min(1040px, calc(100% - 2rem));
    margin: 3.5rem auto 1.4rem;
    text-align: center;
    animation: fadeUp 0.9s ease both;
}

.galerij-intro span {
    display: inline-flex;
    margin-bottom: 0.85rem;
    padding: 0.48rem 0.9rem;
    border-radius: 999px;
    background: rgba(75, 151, 88, 0.1);
    color: #32713c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.galerij-intro h2 {
    margin: 0;
    color: #2f261f;
    font-family: 'Poltawski Nowy', serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.06;
}

.galerij-intro p {
    max-width: 720px;
    margin: 1rem auto 0;
    color: #6f665f;
    line-height: 1.75;
}

.galerij {
    width: min(1380px, calc(100% - 2rem));
    margin: 2rem auto 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    grid-auto-flow: dense;
    gap: 1rem;
}

.galerij-kaart {
    position: relative;
    min-height: 270px;
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #173f1d;
    box-shadow: 0 18px 38px rgba(49, 37, 25, 0.14);
    animation: fadeUp 0.9s ease both;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.galerij-kaart.breed {
    grid-column: span 2;
}

.galerij-kaart.hoog {
    grid-row: span 2;
    min-height: 560px;
}

.galerij-kaart img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.55s ease;
}

.galerij-kaart::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 36%, rgba(23, 63, 29, 0.86));
    pointer-events: none;
}

.galerij-kaart figcaption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    color: #fff;
}

.galerij-kaart strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.2;
}

.galerij-kaart span {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.35;
}

.galerij-kaart:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 54px rgba(49, 37, 25, 0.22);
}

.galerij-kaart:hover img {
    transform: scale(1.06);
    filter: saturate(1.12) contrast(1.06);
}

.actie {
    width: min(980px, calc(100% - 2rem));
    margin: 1rem auto 0;
    padding: 2rem;
    border: 1px solid rgba(75, 151, 88, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    text-align: center;
    box-shadow: 0 18px 38px rgba(49, 37, 25, 0.09);
    animation: fadeUp 0.9s ease both;
}

.actie h2 {
    margin: 0;
    font-family: 'Poltawski Nowy', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.actie p {
    margin: 0.8rem auto 1.2rem;
    color: #6f665f;
    line-height: 1.7;
}

.footer {
    background-color: #173f1d;
    margin-top: 6rem;
    padding: 1rem 1.7rem 0.85rem 1.7rem;
}

.footer-title {
    margin: 0;
    text-align: center;
    color: #f3eee5;
    font-family: 'Poltawski Nowy', serif;
    font-size: 1.8rem;
}

.footer-line {
    display: block;
    width: 92%;
    height: 1px;
    background-color: #f3eee5;
    margin: 1rem auto 1.3rem auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.2rem;
}

.logo-footer {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: cover;
}

.footer-heading,
.footer-contact p,
.footer-links a,
.footer-social a,
.footer-copy {
    color: #f3eee5;
    font-family: 'Poltawski Nowy', serif;
}

.footer-heading {
    margin: 0 0 0.8rem 0;
    font-size: 1.6rem;
    font-weight: 400;
    opacity: 0.86;
}

.footer-contact {
    max-width: 20rem;
}

.footer-contact p {
    margin: 0 0 0.7rem 0;
    font-size: 1.20rem;
    opacity: 0.86;
}

.footer-small {
    max-width: 18rem;
    line-height: 1.45;
    font-size: 1.05rem;
    opacity: 0.74;
}

.footer-links {
    min-width: 11rem;
    padding-top: 0.2rem;
}

.footer-links a {
    display: block;
    margin: 0 0 0.8rem 0;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0.86;
    transition: opacity 0.3s ease, transform 0.3s ease, font-weight 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    transform: scale(1.04);
    font-weight: 600;
    font-size: 1.5rem;
}

.footer-social {
    min-width: 11rem;
    padding-top: 0.2rem;
}

.footer-social a {
    display: block;
    margin: 0 0 0.8rem 0;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0.86;
    transition: opacity 0.3s ease, transform 0.3s ease, font-weight 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
    transform: scale(1.04);
    font-weight: 600;
    font-size: 1.5rem;
    color: #D4A373;
}

.footer-social {
    border-left: 1px solid rgba(243, 238, 229, 0.3);
    padding-left: 2rem;
}

.footer-copy {
    margin: 0.7rem 0 0 0;
    text-align: center;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    opacity: 0.65;
}

.footer-copy a {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.footer-copy a:hover {
    color: #D4A373;
    font-size: 1rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    ul {
        gap: 2rem;
    }

    .button1 {
        width: auto;
        right: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 900px) {
    header {
        justify-content: space-between;
        min-height: 5.5rem;
    }

    .logo-link {
        position: static;
        z-index: 31;
    }

    .logo {
        width: 7.5rem;
        height: 4.5rem;
    }

    .menu-knop {
        display: flex;
        position: relative;
        z-index: 31;
    }

    .navigatie {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1rem;
        right: 1rem;
        width: auto;
        padding: 1.25rem;
        border-radius: 1.5rem;
        background: rgba(237, 231, 223, 0.98);
        box-shadow: 0 18px 30px rgba(134, 115, 94, 0.18);
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.3s;
        z-index: 30;
    }

    .navigatie.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navigatie ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .line1 {
        width: 100%;
        height: 1px;
    }

    .button1 {
        position: static;
        width: 100%;
        min-width: 0;
        height: 3.25rem;
    }

    .held {
        min-height: 430px;
        padding: 3rem 2rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-small {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .held {
        width: calc(100% - 1rem);
        min-height: 470px;
        padding: 2.2rem 1.25rem;
        border-radius: 26px;
    }

    .galerij {
        width: calc(100% - 1rem);
        margin: 2rem auto;
        grid-template-columns: 1fr;
    }

    .galerij-kaart,
    .galerij-kaart.breed,
    .galerij-kaart.hoog {
        grid-column: auto;
        grid-row: auto;
        min-height: 330px;
    }

    .actie {
        width: calc(100% - 1rem);
        padding: 1.35rem;
    }

    .held a,
    .actie a {
        width: 100%;
    }

    .logo-footer {
        width: 9rem;
        height: 9rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 1rem 1.2rem 0.8rem 1.2rem;
    }

    .footer-title {
        font-size: 1.5rem;
    }

    .footer-line {
        width: 90%;
        margin: 0.8rem auto 1.2rem auto;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .logo-footer {
        width: 7rem;
        height: 7rem;
    }

    .footer-contact {
        max-width: 18rem;
    }

    .footer-heading {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .footer-contact p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .footer-small {
        max-width: 18rem;
        font-size: 0.95rem;
    }

    .footer-links,
    .footer-social {
        min-width: 0;
        width: 100%;
        padding-top: 0;
    }

    .footer-links a,
    .footer-social a {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .footer-links a:hover,
    .footer-social a:hover {
        font-size: 1.2rem;
    }

    .footer-social {
        border-left: none;
        border-top: 1px solid rgba(243, 238, 229, 0.3);
        padding-left: 0;
        padding-top: 1.2rem;
        margin-top: 0;
    }

    .footer-copy {
        font-size: 0.85rem;
        margin-top: 0.6rem;
    }
}