@font-face {
    font-family: 'malney';
    src: url('../Fonts/MalneyRegularDemo-q2L1x.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'westsac';
    src: url('../Fonts/Westsac-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Edificio';
    src: url('../Fonts/Edificio.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CCSPalmore';
    src: url('../Fonts/CCSPalmore.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --brand-red: #D6492D;
    --brand-blue: #1A3A8A;
    --brand-beige: #F6EDD8;
    --brand-yellow: #EDC442;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--brand-beige);
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1320px;
}

/* Navbar */
nav {
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 10px 40px;
    margin: 1rem 80px;
    background-color: #ffffff;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

nav.nav-fixed {
    position: fixed;
    animation: slideDown 0.4s ease forwards;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

nav.nav-hiding {
    position: fixed;
    animation: slideUp 0.4s ease forwards;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

@keyframes slideDown {
    from { transform: translateY(calc(-100% - 2rem)); }
    to { transform: translateY(0); }
}

@keyframes slideUp {
    from { transform: translateY(0); }
    to { transform: translateY(calc(-100% - 2rem)); }
}

nav .navbar-left,
nav .navbar-right {
    display: flex;
    align-items: center;
    gap: 80px;
}

nav a {
    color: #000;
    text-decoration: none;
    font-weight: 300;
}

nav a.nav-btn {
    background-color: var(--brand-red);
    color: var(--brand-beige);
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

nav a.nav-btn:hover {
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background-color: #ffffff;
    min-width: 260px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 12px 0;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 30px;
}

.nav-dropdown:hover .nav-dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(20px);
}

.nav-dropdown-content a {
    color: #000;
    padding: 12px 32px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    text-align: center;
}

.nav-dropdown-content a:hover,
.nav-dropdown-content a.is-active {
    background-color: var(--brand-beige);
    color: var(--brand-red);
}

nav .logo {
    height: 40px;
    width: auto;
    display: block;
}

.hamburger {
    display: none;
}

/* Page content */
.aanbod-page {
    padding-bottom: 0;
}

.aanbod-page-content {
    padding: 140px 0 0;
}

.aanbod-page-wrap {
    max-width: 1000px;
}

.aanbod-page-content h1 {
    font-family: 'CCSPalmore', sans-serif;
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: normal;
    color: var(--brand-blue);
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1.1;
    text-align: center;
}

.aanbod-text-intro {
    max-width: 820px;
    margin: 0 auto 48px;
}

.aanbod-text-intro--left {
    max-width: 100%;
    margin: 0 auto 48px;
}

.aanbod-text-intro--left h1 {
    text-align: left;
}

.aanbod-text-intro--left .aanbod-text-columns {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.aanbod-text-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.aanbod-text-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aanbod-text-column p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--brand-blue);
    font-weight: 400;
}

.aanbod-image-wrap {
    padding-bottom: 80px;
}

.aanbod-image-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.aanbod-image-row img {
    width: 100%;
    aspect-ratio: 553 / 369;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Contact Section */
.section-contact--aanbod {
    position: relative;
    min-height: auto;
    background: none;
    background-color: var(--brand-beige);
    padding: 48px 40px 80px;
    margin-top: 0;
}

.aanbod-page-illustration {
    position: absolute;
    top: -35px;
    left: max(24px, calc(50% - 550px));
    width: 130px;
    height: auto;
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 1199.98px) {
    .aanbod-page-illustration {
        left: max(24px, calc(50% - 420px));
    }
}

@media (max-width: 991.98px) {
    .aanbod-page-illustration {
        left: max(24px, calc(50% - 340px));
        width: 110px;
    }
}

.contact-section-inner {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-contact--aanbod .contact-content {
    width: 100%;
    max-width: 500px;
    margin: 0;
}

.section-contact--aanbod .contact-content h2 {
    color: var(--brand-blue);
}

.section-contact--aanbod .contact-content p {
    color: var(--brand-blue);
}

.section-contact {
    position: relative;
    min-height: 80vh;
    background-image: url('../Fotos/contact.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    text-align: center;
}

.contact-content {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    background-color: var(--brand-beige);
    padding: 50px 40px;
    border-radius: 20px;
}

.contact-content h2 {
    font-family: 'CCSPalmore', sans-serif;
    font-size: 32px;
    color: #000;
    margin-bottom: 20px;
    font-weight: normal;
}

.contact-content p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: 300;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .form-field {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid transparent;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    background-color: #fff;
    color: #000;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 15px;
}

.contact-form select:invalid {
    color: #333;
}

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

.contact-form textarea {
    border-radius: 20px;
    resize: vertical;
    min-height: 120px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(26, 58, 138, 0.35);
    box-shadow: 0 0 0 3px rgba(26, 58, 138, 0.12);
}

.contact-form .form-field.has-error input,
.contact-form .form-field.has-error select,
.contact-form .form-field.has-error textarea {
    border-color: #b42318;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.contact-form .form-error {
    display: none;
    margin-top: 6px;
    padding: 0 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.3;
    color: #b42318;
}

.contact-form .form-field.has-error .form-error {
    display: block;
}

.contact-form .form-status {
    display: none;
    padding: 12px 16px;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.contact-form .form-status.is-visible {
    display: block;
}

.contact-form .form-status.is-success {
    background-color: rgba(0, 136, 71, 0.12);
    color: #075f34;
}

.contact-form .form-status.is-error {
    background-color: rgba(180, 35, 24, 0.12);
    color: #8f1d14;
}

.contact-form .honeypot-field,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-form button {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 10px;
    padding: 10px;
    align-self: center;
}

.contact-form button:disabled {
    cursor: wait;
    opacity: 0.6;
}

/* Footer */
footer {
    background-color: var(--brand-beige);
    padding: 20px 0;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.footer-item img {
    width: 20px;
    height: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-200 {
    transition-delay: 0.2s;
}

@media (max-width: 767.98px) {
    nav {
        flex-wrap: wrap;
        padding: 15px 25px;
        margin: 1rem 20px;
        gap: 0;
        border-radius: 30px;
        justify-content: space-between;
    }

    nav .logo {
        height: 35px !important;
        order: 1;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
        width: 30px;
        height: 30px;
        order: 2;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #000;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav .navbar-left,
    nav .navbar-right {
        display: none !important;
        width: 100%;
        flex-direction: column;
        gap: 15px;
        order: 3;
        text-align: center;
    }

    nav .navbar-left {
        padding-top: 20px;
    }

    nav .navbar-right {
        padding-top: 15px;
        padding-bottom: 20px;
    }

    nav.menu-open .navbar-left,
    nav.menu-open .navbar-right {
        display: flex !important;
    }

    .nav-dropdown {
        display: block;
    }

    .nav-dropdown-content {
        display: none !important;
    }

    .aanbod-text-intro {
        max-width: 100%;
        margin-bottom: 32px;
    }

    .aanbod-text-columns {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
    }

    .aanbod-image-row {
        grid-template-columns: 1fr;
    }

    .aanbod-image-wrap {
        padding-bottom: 48px;
    }

    .aanbod-page-illustration {
        display: none;
    }

    .section-contact--aanbod {
        padding: 32px 20px 60px;
    }

    .contact-section-inner {
        max-width: 100%;
    }

    .aanbod-page-content {
        padding: 120px 0 48px;
    }

    .footer-content {
        gap: 30px;
        flex-direction: column;
    }
}
