/* ===============================
   CONTACT PAGE STYLING
================================= */

/* Wrapper voor formulier en contactcards */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;           /* cards naast elkaar op desktop, onder elkaar op mobiel */
    gap: 3rem;
    justify-content: center;
    padding: 2rem 1rem;
    align-items: flex-start;
}
.card-form,
.card-contact {
    max-width: 900px;   /* blijft zoals het is */
    width: auto;         /* niet 100%, zodat margin kan werken */
    margin: 2rem auto;   /* horizontaal centreren */
}

/* ===============================
   FORMULIER CARD
================================= */
.card-form {

    padding: 2rem;
    border-radius: var(--radius);
    box-shadow:
        0 10px 20px rgba(0,0,0,0.7),
        0 4px 10px rgba(0,0,0,0.7);
    font-size: 1.3rem;
    max-width: 900px;
    width: 100%;
    backdrop-filter: blur(7px);
}

.card-form h3 {
    margin-bottom: 1rem;
    color: #f5f3ee;
    text-align: center;
}

/* Formuliervelden */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.contact-form input,
.contact-form textarea,
.dropdown-toggle {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--radius);
    border: 1px solid rgb(218, 195, 153);
    background: rgba(82, 75, 52, 0.85);
    font-size: 1.3rem;
    color: white;
}

.contact-form textarea {
    resize: vertical;
    min-height: 300px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.dropdown-toggle::placeholder {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Dropdown styling */
.custom-dropdown {
    position: relative;
    width: 100%;
    border: 1px solid rgb(218, 195, 153);
    border-radius: var(--radius);
    background: rgba(82, 75, 52, 0.85);
    margin-bottom: 1rem;
}

.dropdown-toggle {
    width: 100%;
    padding: 0.8rem;
    cursor: pointer;
    text-align: left;
    position: relative;
}

.dropdown-toggle::after {
    content: "▾";
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: black;
    list-style: none;
    padding: 0;
    margin-top: 0.3rem;
    border-radius: 8px;
    border: 1px solid rgb(218, 195, 153);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    display: none;
    z-index: 999;
}

.dropdown-menu li {
    padding: 0.6rem 1rem;
    cursor: pointer;
    color: white;
}

.dropdown-menu li:hover {
    background: rgba(82, 72, 52, 0.88);
}

/* ===============================
   CONTACTGEGEVENS CARD
================================= */
.card-contact {

    padding: 2rem;
    border-radius: var(--radius);
    box-shadow:
        0 10px 20px rgba(0,0,0,0.7),
        0 4px 10px rgba(0,0,0,0.7);
    font-size: 1.3rem;
    max-width: 900px;
    width: 100%;
    backdrop-filter: blur(7px);
}

.card-contact h3 {
    margin-bottom: 0.75rem;
    color: #3A2A1A;
}

.card-contact p {
    line-height: 1.5;
}

/* Map responsive maken */
.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
}

/* ===============================
   WHATSAPP CARD (optioneel)
================================= */
.whatsapp-card {
    background: rgba(67, 60, 37, 0.85);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    width: 220px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin: 2rem auto; 
}

.whatsapp-card img {
    width: 60px;
    margin-top: 1rem;
    cursor: pointer;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 1024px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .card-form,
    .card-contact {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .whatsapp-card {
        align-self: center;
        margin-top: 1.5rem;
    }
}
