/* Algemene stijlen voor de contactpagina */
.contact-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #ffcf53;
}

.contact-section h1 {
    font-size: 3rem;
    color: #d1321b;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contact-section .dishes-subtitle {
    font-size: 1.4rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Container voor het formulier */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.contact-form-container h2 {
    font-size: 2rem;
    color: #d1321b;
    margin-bottom: 30px;
    text-align: center;
}

/* Formulier stijlen */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Input veld styling */
.input-container {
    position: relative;
    width: 100%;
}

.modern-input {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border-radius: 10px;
    border: 2px solid #ccc;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: #f9f9f9;
}

.modern-input:focus {
    border-color: #d1321b;
    background-color: #fff;
}

.modern-label {
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
    transition: 0.3s;
}

/* Label stijlen als de input focus heeft of ingevuld is */
.modern-input:focus + .modern-label,
.modern-input:not(:placeholder-shown) + .modern-label {
    top: -20px;
    font-size: 0.8rem;
    color: #d1321b;
}

/* Submit knop */
button[type="submit"] {
    padding: 12px 30px;
    background-color: #d1321b;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
    align-self: center;
}

button[type="submit"]:hover {
    background-color: #a12615;
    transform: scale(1.05);
}

/* Responsive aanpassingen */
@media screen and (max-width: 768px) {
    .contact-section h1 {
        font-size: 2.5rem;
    }

    .contact-form-container {
        padding: 30px;
    }

    .contact-form {
        gap: 15px;
    }
}
