/* === CONTACT.PHP STYLING === */

.contact {
    padding: 2rem 1rem;
    background: var(--kleur-achtergrond);
}

.contact .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: block;
}

.contact h2 {
    font-size: 1.8rem;
    color: var(--kleur-basis-donker);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 400;
}

.contact > .container > p {
    text-align: center;
    font-size: 1rem;
    color: var(--kleur-tekst);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* === CONTACT GRID - MOBIEL 1 KOLOM === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Contact info card */
.contact-info {
    background: var(--kleur-tekst-licht);
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 8px 20px var(--schaduw);
}

.contact-info h3 {
    color: var(--kleur-basis-donker);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(93,31,20,0.1);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item strong {
    display: block;
    color: var(--kleur-basis-donker);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--kleur-knop);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--kleur-knop-secondair);
}

/* Contact form */
.contact-form {
    background: var(--kleur-tekst-licht);
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 8px 20px var(--schaduw);
}

/* Messages */
.success-message {
    background: rgba(76,175,80,0.15);
    border-left: 4px solid #4CAF50;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.error-message {
    background: rgba(244,67,54,0.15);
    border-left: 4px solid #F44336;
    color: #c62828;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Form groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--kleur-basis-donker);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--kleur-basis);
    border-radius: 8px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    color: var(--kleur-tekst);
    background: var(--kleur-achtergrond);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--kleur-knop);
    box-shadow: 0 0 0 3px rgba(160,82,45,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(51,51,51,0.5);
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--kleur-knop);
    color: var(--kleur-tekst-licht);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--kleur-knop-secondair) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px var(--schaduw-donker) !important;
}

.submit-btn:active {
    transform: translateY(0) !important;
}

/* === TABLET 768px+ === */
@media (min-width: 768px) {
    .contact {
        padding: 4rem 2rem;
    }
    
    .contact .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .contact h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .contact > .container > p {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        padding: 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 2.5rem;
    }
    
    .submit-btn {
        width: auto;
        padding: 1rem 3rem;
    }
}

/* === DESKTOP 1024px+ === */
@media (min-width: 1024px) {
    .contact h2 {
        font-size: 2.5rem;
    }
    
    .contact-info h3 {
        font-size: 1.4rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
    }
}

/* === ANIMATIES === */
.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
