
/* Algemene Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Zorg ervoor dat de navbar ruimte laat voor de content */
/* Zorg ervoor dat de navbar ruimte laat voor de content */
main {
    padding-top: 100px;
    /* Navbar hoogte + extra ruimte */
}
/* Zorg dat titels niet te hoog staan */
h1 {
    margin-top: 40px;
    font-size: 36px;
    font-weight: bold;
}
h2 {
    margin-top: 20px;
    font-size: 28px;
}
/* Navbar Styling */
/* Navbar blijft gefixeerd bovenaan */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(36, 46, 77, 0.95);
    /* Zorg dat het niet te transparant is */
    backdrop-filter: blur(10px);
    padding: 15px;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
    /* Forceer zichtbaarheid */
    display: block !important;
    /* Zorg dat het niet verdwijnt */
}
/* Navbar blijft altijd zichtbaar */
nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
}
nav a:hover {
    color: #ffdf00;
    text-shadow: 0px 0px 10px rgba(255, 223, 0, 0.8);
}
/* Hero-sectie krijgt extra padding zodat navbar de content niet overlapt */
main.hero-section {
    padding-top: 100px;
}
/* Zorg dat de hero-sectie lager begint */
.hero-section {
    margin-top: 140px;
    /* Zorg voor voldoende ruimte onder de navbar */
    padding: 20px;
}
/* Alternatief: Alleen voor H1 op de indexpagina */
.hero-section h1 {
    margin-top: 30px;
    /* Extra marge alleen voor de titel */
}
/* Chatbox Container */
#chatbox { 
    width: 80%; 
    max-width: 450px; 
    height: 300px;
    overflow-y: auto;
    margin: auto; 
    padding: 20px; 
    border-radius: 15px; 
    background: rgba(255, 255, 255, 0.15); 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* Inputvelden */
input {
    width: 80%;
    padding: 12px;
    margin-top: 10px;
    border: 2px solid rgba(42, 196, 71, 0.4);
    border-radius: 8px;
    background: rgb(14, 159, 159);
    color: navy;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

/* Fancy glow effect bij focus */
input:focus {
    outline: none;
    border-color: #ffdf00;
    box-shadow: 0px 0px 10px rgba(255, 223, 0, 0.8);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
/* Knoppen */
button {
    padding: 12px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #ff8c00, #ffdf00);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

button:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #ffdf00, #ff8c00);
    box-shadow: 0px 0px 15px rgba(255, 223, 0, 0.8);
}

/* AI Response box */
#response { 
    margin-top: 20px; 
    font-size: 18px; 
    font-weight: bold;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* Fancy glow effect voor AI antwoorden */
#response::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #ff8c00, #ffdf00);
    margin-top: 10px;
}

/* Animatie voor fade-in zonder beweging naar beneden */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

nav {
    animation: fadeIn 0.8s ease-in-out;
}
body, #chatbox, #response {
    animation: fadeIn 1.2s ease-in-out;
}
