/* ── PAGE HEADER ── */
.page-header {
    margin-top: 60px;
    background: var(--nav-bg);
    padding: 48px 20%;
    border-bottom: 1px solid rgba(184,148,63,0.15);
}
.page-header-label {
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); font-weight: 500; margin-bottom: 8px;
}
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 40px; color: var(--dark); font-weight: 700;
}
.page-header p {
    font-size: 15px; color: var(--text-muted); margin-top: 10px;
    font-weight: 300; max-width: 500px; line-height: 1.6;
}

/* ── CONTACT LAYOUT ── */
.contact-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 80px 100px;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 80px;
    align-items: start;
}

/* ── INFO CARDS LEFT ── */
.contact-info { display: flex; flex-direction: column; gap: 24px; }

.info-card {
    background: var(--white);
    border: 1px solid rgba(184,148,63,0.12);
    border-radius: 18px;
    padding: 32px 36px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.3s;
    animation: fadeUp 0.5s ease both;
}

.info-card:nth-child(1) { animation-delay: 0.05s; }
.info-card:nth-child(2) { animation-delay: 0.12s; }
.info-card:nth-child(3) { animation-delay: 0.19s; }

.info-card:hover {
    box-shadow: 0 16px 48px rgba(184,148,63,0.1);
    transform: translateY(-3px);
}

.info-icon {
    width: 52px; height: 52px; flex-shrink: 0;
    border-radius: 14px;
    background: rgba(184,148,63,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}

.info-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px; font-weight: 600;
    color: var(--dark); margin-bottom: 6px;
}

.info-content p, .info-content a {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.7; font-weight: 300;
    text-decoration: none;
    transition: color 0.2s;
}

.info-content a:hover { color: var(--gold); }

.info-content .highlight-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 16px; font-weight: 500;
    color: var(--gold); margin-top: 4px;
}

.hours-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 4px 20px;
    margin-top: 4px;
}

.hours-grid span { font-size: 13px; color: var(--text-muted); }
.hours-grid .day { font-weight: 500; color: var(--text); }

/* ── FORM RIGHT ── */
.contact-form-wrap {
    position: sticky;
    top: 100px;
    animation: fadeUp 0.5s 0.1s ease both;
}

.form-card {
    background: var(--white);
    border: 1px solid rgba(184,148,63,0.15);
    border-radius: 20px;
    padding: 44px 40px;
    box-shadow: 0 8px 40px rgba(184,148,63,0.08);
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px; font-weight: 700;
    color: var(--dark); margin-bottom: 6px;
}

.form-sub {
    font-size: 13px; color: var(--text-muted);
    margin-bottom: 32px; line-height: 1.5;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(184,148,63,0.2);
    border-radius: 10px;
    background: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    background: var(--white);
}

.form-group textarea { height: 120px; line-height: 1.6; }

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b8943f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    cursor: pointer;
}

.btn-send {
    width: 100%;
    background: var(--gold);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    font-family: 'DM Sans', sans-serif;
    margin-top: 8px;
}

.btn-send:hover { background: var(--gold-light); transform: translateY(-2px); }

.form-privacy {
    font-size: 11px; color: var(--text-muted);
    text-align: center; margin-top: 16px; line-height: 1.6;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Flash Messages */
.flash-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 90vw; /* ✅ Max breedte op kleine schermen */
    animation: slideIn 0.3s ease-out;
}

.flash-success {
    border-left: 4px solid #c5a572;
}

.flash-icon {
    width: 32px;
    height: 32px;
    background: #c5a572;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0; /* ✅ Voorkomt dat icon krimpt */
}

.flash-text {
    flex: 1;
    color: #2c2c2c;
    font-size: 15px;
    word-wrap: break-word; /* ✅ Lange woorden wrappen */
}

.flash-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0; /* ✅ Voorkomt dat close button krimpt */
}

.flash-close:hover {
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.flash-message.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(400px);
    }
}



/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .page-header { padding: 40px 32px; }
    .contact-body { padding: 48px 32px 80px; gap: 48px; }
}

@media (max-width: 768px) {
    .page-header { margin-top: 68px; padding: 32px 20px; }
    .page-header h1 { font-size: 30px; }

    .contact-body {
        grid-template-columns: 1fr;
        padding: 32px 20px 80px;
        gap: 32px;
    }

    .contact-form-wrap { position: static; }
    .form-card { padding: 28px 20px; border-radius: 16px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .info-card { padding: 24px 20px; }

    .flash-message {
        top: 10px;
        right: 10px;
        left: 10px; /* ✅ Ook left voor center */
        min-width: auto;
        max-width: calc(100vw - 20px);
        padding: 14px 18px;
    }

    .flash-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .flash-text {
        font-size: 14px;
    }

    .flash-close {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

}


@media (max-width: 480px) {
    .flash-message {
        top: 10px;
        right: 10px;
        left: 10px;
        padding: 12px 16px;
        gap: 10px;
    }

    .flash-icon {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .flash-text {
        font-size: 13px;
    }

    @keyframes slideIn {
        from {
            transform: translateY(-100px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes fadeOut {
        to {
            opacity: 0;
            transform: translateY(-100px);
        }
    }
}
