/* Algemene instellingen */
html {
    scroll-behavior: smooth; /* Zorgt voor een vloeiende scroll */
}


/* Introductiepagina */
.intro {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Volledige hoogte van het scherm */
    text-align: center;
    background:rgba(0, 0, 0, 0.6);
    position: relative;
}

.intro-content {
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
}

.intro h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.intro p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.intro-button {
    background-color: #D4AF37;
    color: #121212;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.intro-button:hover {
    background-color: #f0c050;
}

/* Fade-in effect for the intro content */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Contact Form Styling */
.contact-section {
    padding: 4rem 2rem;
    background-color: #000000;
    color: #f0f0f0;
    text-align: center;
}

/* Form styling */
.form-group {
    margin-bottom: 15px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #D4AF37;
    background: #121212;
    color: #f0f0f0;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    background-color: #D4AF37;
    color: #121212;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

button[type="submit"]:disabled {
    background-color: #555555;
    cursor: not-allowed;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    .intro h1 {
        font-size: 2.5rem;
    }

    .intro p {
        font-size: 1rem;
    }

    .intro-button {
        font-size: 1rem;
    }
}

.contact-section {
    max-width: 600px;
    margin: 50px auto;
    background-color: #00000083;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    color: #D4AF37;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    color: #f0f0f0;
    margin-bottom: 8px;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D4AF37;
    border-radius: 6px;
    background-color: #ffffff;
    color: #000000;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #D4AF37;
    color: #121212;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #f0c050;
    transform: scale(1.05);
}

#captcha-error {
    color: red;
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    visibility: hidden; 
}


/* Algemene stijl voor de form group */
.form-group {
    margin: 20px 0;
    font-size: 1em;
    color: #D4AF37;
}

/* Verberg de standaard checkbox */
.custom-checkbox input[type="checkbox"] {
    display: none;
}

/* Stijl voor de aangepaste checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 35px;
    font-size: 1em;
    color: #D4AF37;
}

/* De 'checkmark' (aangepaste checkbox) */
.custom-checkbox .checkmark {
    position: absolute;
    left: 0;
    top: 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px solid #D4AF37;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
}

/* Animatie bij hover */
.custom-checkbox:hover .checkmark {
    box-shadow: 0 0 10px 3px rgba(212, 175, 55, 0.5);
}

/* Animatie voor het vinkje */
.custom-checkbox input:checked ~ .checkmark {
    background-color: #D4AF37;
    border-color: #D4AF37;
    animation: pulse 0.4s ease;
}

/* Vinkje */
.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #121212;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Toon het vinkje als de checkbox is aangevinkt */
.custom-checkbox input:checked ~ .checkmark::after {
    display: block;
}

/* Pulse animatie bij het aanvinken */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 10px 4px rgba(212, 175, 55, 0);
    }
    100% {
        transform: scale(1);
    }
}

/* Stijl voor de link in de tekst */
/* Zorgt voor ruimte tussen de tekst en de link */
.custom-checkbox a {
    margin-left: 4px; /* Extra ruimte tussen de tekst en de link */
    color: #D4AF37;
    text-decoration: none;
}

.custom-checkbox a:hover {
    text-decoration: underline;
}

