/* === CONTACT PAGINA SPECIFIEKE STYLING === */

/* --- Hero --- */
.contact-hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0c4a6e;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: url('../img/contact.png') no-repeat left bottom;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
}

.contact-hero .container {
    position: relative;
    z-index: 10;
}

.hero-tag {
    display: inline-block;
    background: #0284c7;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-brand {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.hero-intro {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0.5rem auto;
    line-height: 1.7;
}

/* --- Intro --- */
.intro-box {
    max-width: 900px;
    margin: -4rem auto 4rem;
    background: var(--white);
    padding: 3rem 4rem;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-top: 6px solid #0284c7;
    text-align: center;
}

.intro-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin: 0;
}

/* --- Section Titles & Text --- */
.section-title { 
    text-align: center; 
    margin-bottom: 2rem; 
    font-size: 2.25rem; 
    color: #0c4a6e;
}

.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* --- Direct Contact Section --- */
.section-direct-contact { padding: 6rem 0; }

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 3rem auto;
}

.contact-method {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    border: 2px solid #e0f2fe;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: #0284c7;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-method h3 {
    font-size: 1.35rem;
    color: #0c4a6e;
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    font-size: 1.25rem;
    color: #0284c7;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #0369a1;
    transform: scale(1.05);
}

.response-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0;
}

.response-info p {
    font-size: 1.05rem;
    color: #0c4a6e;
    margin: 0.5rem 0;
}

/* --- Form Styling --- */
/* Honeypot field - onzichtbaar voor mensen, maar bots vullen dit vaak in */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #0c4a6e;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #e0f2fe;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    text-align: center;
    margin-top: 1rem;
}

.btn-submit {
    padding: 1.25rem 3rem;
    background: #0284c7;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.3);
}

.btn-submit:hover {
    background: #0369a1;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(2, 132, 199, 0.4);
}

/* --- Location Section --- */
.section-location { padding: 6rem 0; }

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto;
}

.location-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid #e0f2fe;
}

.location-card h3 {
    font-size: 1.5rem;
    color: #0c4a6e;
    margin-bottom: 1.5rem;
}

.address p {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0.25rem 0;
}

.address .note {
    font-style: italic;
    color: #64748b;
    margin-top: 0.5rem;
}

.area-list {
    list-style: none;
    padding: 0;
}

.area-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--gray-700);
}

.area-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0284c7;
    font-weight: 800;
    font-size: 1.2rem;
}

.location-note {
    background: #f0f9ff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0;
}

.location-note p {
    font-size: 1.05rem;
    color: #0c4a6e;
    margin: 0;
}

/* --- Services Section --- */
.section-services { padding: 6rem 0; background: #f8fafc; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #e0f2fe;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #0284c7;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1rem;
    color: #0c4a6e;
    margin: 0;
}

.services-cta {
    background: linear-gradient(135deg, #fef3c7 0%, #fef08a 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0;
}

.services-cta p {
    font-size: 1.1rem;
    color: #92400e;
    margin: 0.5rem 0;
}

/* --- Company Info Section --- */
.section-company-info { padding: 6rem 0; }

.company-details {
    max-width: 800px;
    margin: 3rem auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid #e0f2fe;
}

.company-detail {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e0f2fe;
}

.company-detail:last-child {
    border-bottom: none;
}

.company-detail .label {
    font-weight: 600;
    color: #0c4a6e;
}

.company-detail .value {
    color: var(--gray-700);
    text-align: right;
}

/* --- Final CTA --- */
.section-final-cta { 
    padding: 8rem 0; 
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
}

.section-final-cta h2 {
    font-size: 2.5rem;
    color: #0c4a6e;
    margin-bottom: 1.5rem;
}

.cta-intro {
    font-size: 1.15rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto 1rem;
}

.cta-actions { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 2rem; 
    margin: 3rem 0 0; 
}

.btn-primary {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: #0284c7;
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    background: #0369a1;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(2, 132, 199, 0.4);
}

.btn-whatsapp {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: white;
    color: #0284c7;
    border: 2px solid #0284c7;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #0284c7;
    color: white;
    transform: translateY(-3px);
}

/* --- Background utilities --- */
.bg-light { background: #f8fafc; }

/* --- Modal Styling --- */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease 0.2s both;
}

.modal-icon.error {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.modal-content h3 {
    font-size: 1.75rem;
    color: #0c4a6e;
    margin-bottom: 1rem;
}

.modal-content.error h3 {
    color: #dc2626;
}

.modal-content p {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-close {
    padding: 1rem 2.5rem;
    background: #0284c7;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.3);
}

.modal-content.error .btn-close {
    background: #dc2626;
}

.modal-content.error .btn-close:hover {
    background: #b91c1c;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Verberg auto op mobiel */
    .contact-hero::after {
        display: none;
    }
    
    .intro-box {
        padding: 2rem;
        margin-top: -2rem;
    }
    
    .contact-methods,
    .location-grid,
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-method {
        padding: 2rem 1.5rem;
    }
    
    .method-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-method h3 {
        font-size: 1.15rem;
    }
    
    .contact-link {
        font-size: 1.05rem;
        word-break: break-all;
    }
    
    .location-card {
        padding: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 2rem;
    }
    
    .section-final-cta h2 {
        font-size: 1.75rem;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-whatsapp {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .company-detail {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .company-detail .value {
        text-align: left;
        word-break: break-word;
    }
    
    .modal-content {
        padding: 2rem;
        width: 95%;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .modal-content h3 {
        font-size: 1.5rem;
    }
    
    .modal-content p {
        font-size: 1rem;
    }
}/* === CONTACT HERO === */
.contact-hero {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center; /* Voeg deze toe voor horizontale centrering */
    text-align: center;
    width: 100%;
}

/* Achtergrond foto */
.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/contact.png') no-repeat center 40%;
    background-size: cover;
    z-index: 1;
    pointer-events: none;
}

/* Overlay */
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)); /* Iets donkerder voor betere leesbaarheid */
    z-index: 2;
}

.contact-hero-content {
    max-width: 900px;
    width: 100%; /* Zorg dat hij de volle breedte pakt om te kunnen centreren */
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 6rem 1.5rem;
}

/* De Badge */
.contact-hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    background: var(--primary-blue);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 147, 200, 0.25);
}

/* De Titel */
.contact-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.contact-hero-content h1 span {
    color: #ffffff;
    font-size: inherit;
    font-weight: inherit;
}

/* De Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* === Mobiel: Fix voor achtergrond en centrering === */
@media (max-width: 768px) {
    .contact-hero { 
        min-height: 450px; /* Iets hoger op mobiel is vaak mooier */
    }
    
    .contact-hero::after { 
        /* Zorg dat de afbeelding zichtbaar blijft */
        background-attachment: scroll; 
        background-position: center center;
        width: 100%;
        display: block !important;
    }

    .contact-hero-content {
        padding: 4rem 1rem;
        text-align: center; /* Forceer centrering */
    }

    .contact-hero-content h1 { 
        font-size: 2.25rem; 
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        text-align: center;
    }

    .contact-hero-content .hero-badge { 
        display: none; /* Badge verbergen op mobiel zoals gevraagd */
    }
}

/* Mobiel: Verberg badge en pas grootte aan */
@media (max-width: 768px) {
    .contact-hero { min-height: 400px; }
    .contact-hero-content .hero-badge { display: none; }
    .contact-hero-content h1 { font-size: 2.25rem; }
    .contact-hero::after { background-position: center; }
}
/* Final CTA Sectie centrering */
.section-final-cta { 
    padding: 8rem 0; 
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontale centrering van de hele inhoud */
    justify-content: center;
    text-align: center;
}

.section-final-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zorgt dat h2 en p in het midden staan */
    width: 100%;
}

.cta-actions { 
    display: flex; 
    justify-content: center; /* Centreert de knoppen horizontaal */
    align-items: center;     /* Lijn de knoppen verticaal uit met elkaar */
    gap: 2rem; 
    margin: 3rem 0 0; 
    width: 100%;
}

/* Mobiele fix voor knoppen onder elkaar */
@media (max-width: 768px) {
    .cta-actions {
        flex-direction: column; /* Zet knoppen onder elkaar op mobiel */
        gap: 1rem;
    }
    
    .cta-actions .btn-primary, 
    .cta-actions .btn-whatsapp {
        width: 100%; /* Knoppen vullen de breedte op mobiel */
        max-width: 300px; /* Maar niet té breed */
    }
}