
/*---------body---------*/
body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #000;
    scroll-behavior: smooth; /* modern browsers only */
}

/*---------header---------*/
header {
    background-color: #7c044b;
    color: #f8c507;
    text-align: center;
}

.header-background {
    width: 100%;
    position: relative;
    height: 885px;
    background-image: url('../img/terheijdenseweg.jpg');
    background-size: cover;
    background-position: center;
}

.header-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(124, 4, 75, 0.5);
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f8c507;
    text-align: center;
    z-index: 2;
}

/*---------navbar---------*/
#navbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between; /* Logo links, links in het midden, knop rechts */
    align-items: center; 
    gap: 23px;
    padding: 0 20px;
    background-color: #7c044b;
    z-index: 999;
    height: 90px;
}

/* Logo */
#navbar .navbar-logo img {
    height: 90px;
    width: auto;
    display: block;
}

/* Navigatielinks in het midden naast elkaar */
#navbar .navbar-menu {
    display: flex;
    gap: 20px; /* ruimte tussen de links */
}

/* Standaard stijl voor alle links */
#navbar a {
    display: flex;
    align-items: center;
    color: #f8c507;
    text-decoration: none;
    font-weight: bold;
    padding: 0 10px;
    transition: color 0.3s ease;
    font-family: 'Garamond', serif;
    font-size: 22px;
}

/* Hover-effect */
#navbar a:hover {
    text-decoration: underline;
    color: #fff700; /* iets feller geel */
}

/*---------main---------*/
main {
    margin-left: 330px;
    margin-right: 330px;
    padding: 30px;
}

/*---------cards---------*/
.cards-container {
    margin: 30px 0;
    /* gap: 30px; */ /* modern browsers only */
}

.cards-container .card:nth-child(4),
.cards-container .card:nth-child(5) {
    grid-column: span 1;
}

.card {
    border: 8px solid #7c044b; /* fallback for rgba */
    padding: 24px;
    margin: 18px 0;
    background-color: #f8c507;
    color: #7c044b;
    box-shadow: 3px 3px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 6px 6px 20px rgba(0,0,0,0.3);
}

.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.card-details.open {
    max-height: 1500px;
}

.read-more-btn, .read-more-all {
    margin-top: 15px;
    background-color: #f8c507;
    color: #7c044b;
    border: 4px solid #7c044b; /* fallback for rgba */
    padding: 9px 15px;
    cursor: pointer;
    font-weight: bold;
    font-size: medium;
    transition: background-color 0.3s;
}

/*---------tables---------*/
.table-card {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff9c4; 
}

.table-card th, .table-card td {
    border: 1px solid #ccc; /* fallback for rgba */
    padding: 12px 18px;
    text-align: left;
}

.table-card th {
    background-color: #7c044b;
    color: #ffeb3b;
    font-weight: bold;
}

.table-card td {
    color: #333;
    background-color: #e4e4e4;
    font-family: 'Garamond', serif;
    font-size: 24px;
}

.table-card tr:nth-child(even) td {
    background-color: #fff;
}

.table-card tr:hover td {
    background-color: #fff59d;
}

/*---------images---------*/
.overview-img {
    text-align: center;
    margin: 22px 0 37px 0;
}

.overview-img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.img-caption {
    color: #ffffff;
    margin-top: 12px;
}
.side-img {
    float: left;
    width: 350px;
    height: 400px; 
    margin-right: 35px;
    margin-bottom: 10px;
}

/*---------footer---------*/
footer {
    background-color: #7c044b;
    color: #f8c507;
    padding: 30px;
    text-align: center;
}

/*---------sections---------*/
section {
    position: relative;
    padding: 60px 0;
}
#section1, #section2, #section3, #section4, #section5, #section6 {
    padding-top: 75px;
}
/*---------card titles---------*/
.card-title {
    position: relative;
    padding-bottom: 8px;
}

.card-title::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #7c044b; /* fallback */
    background-color: rgba(124, 4, 75, 0.2);
    margin-top: 8px;
    margin-bottom: 8px;
    box-shadow: 0 0 6px rgba(124, 4, 75, 0.1);
}

/*---------simple cards---------*/
.simple-card {
    line-height: 1.6;
    margin: 30px 0;
    color: #333;
}

.simple-card h2 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.simple-card h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #7c044b;
}

.simple-card p {
    margin-bottom: 20px;
}

.simple-card ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.simple-card li {
    margin-bottom: 12px;
}
/*---------faq chat---------*/
.faq-chat {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #7c044b; /* fallback for rgba */
    border: 1px solid rgba(124,4,75,0.2);
    border-radius: 8px;
    background-color: #fdfdfd;
}

/*---------faq list---------*/
.faq-list ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.faq-list li {
    margin-bottom: 10px;
    padding: 8px;
    background-color: #f8f8f8;
    border-left: 4px solid #7c044b; /* fallback for rgba */
    border-left: 4px solid rgba(124,4,75,0.6);
    border-radius: 4px;
}

/*---------chat box---------*/
.chat-box {
    display: flex;
    flex-direction: column;
}

#chat-input {
    padding: 10px 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#chat-send {
    padding: 8px 12px;
    color: #f8c507;
    background-color: #7c044b;
    border: 4px solid #7c044b;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

#chat-send:hover {
    color: #e0b106;
    background-color: #7c044b;
    border-color: #e0b106;
}

.chat-output {
    margin-top: 15px;
    padding: 10px;
    min-height: 100px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    overflow-y: auto;
}

/*---------typography---------*/
body, p, li, a {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 18px;
    font-weight: 600;
}

h3 {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #7c044b;
    font-weight: 600;
}

h4 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 500;
}

a {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
}
