/* style.css - Verbeterde versie */

/* Reset en basis stijlen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003366;
    --secondary-color: #FF6600;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --grey-light: #f0f0f0;
    --grey: #dddddd;
    --text-color: #333333;
    --border-radius: 6px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-bg);
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header stijlen */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    margin-bottom: 30px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: block;
    text-decoration: none;
}

.logo img {
    max-width: 240px;
    height: auto;
}

/* Navigatie */
nav {
    margin-top: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

nav li {
    margin: 0 10px 5px;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

nav a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.language-switch a {
    background-color: var(--grey-light);
    font-weight: 600;
}

.language-switch a:hover {
    background-color: var(--secondary-color);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Main content */
main {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--grey-light);
    padding-bottom: 10px;
}

h2 {
    font-size: 1.8rem;
    margin-top: 30px;
}

h3 {
    font-size: 1.4rem;
    margin-top: 25px;
}

p {
    margin-bottom: 20px;
}

ul, ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--grey);
}

table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

table tr:nth-child(even) {
    background-color: var(--grey-light);
}

table tr:hover {
    background-color: #e6f0ff;
}

.price-table .discount {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Form styles */
form {
    max-width: 700px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--grey);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--white);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

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

.form-check {
    display: flex;
    align-items: flex-start;
    margin-top: 5px;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check label {
    flex: 1;
    font-weight: normal;
}

button, .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

button:hover, .btn:hover {
    background-color: #004c99;
    transform: translateY(-2px);
}

.required::after {
    content: " *";
    color: #e74c3c;
}

/* Card container for benefits, FAQ etc. */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    border-top: 4px solid var(--primary-color);
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Footer styles */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #9cc3e8;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #1a4d80;
    color: #9cc3e8;
    font-size: 14px;
}

/* Utility classes */
.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #e55a00;
}

.accent {
    color: var(--secondary-color);
}

.highlight-box {
    background-color: #f0f7ff;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: var(--border-radius);
}

/* Step styling voor werkwijze page */
.step-container {
    margin: 30px 0;
}

.step {
    display: flex;
    margin-bottom: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    min-width: 50px;
    font-weight: bold;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.step-content {
    padding: 20px;
    flex-grow: 1;
}

.step-title {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* FAQ styling */
.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--grey);
    padding-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-answer {
    margin-left: 0;
}

/* Responsive design */
@media (max-width: 992px) {
    h1 {
        font-size: 1.9rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .card-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .logo img {
        max-width: 200px;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav li {
        margin: 0 5px 10px;
    }
    
    h1 {
        font-size: 1.7rem;
    }
    
    main {
        padding: 20px;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        width: 100%;
        padding: 10px;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }
    
    button, .btn {
        width: 100%;
    }
    
    .footer-section {
        flex: 100%;
    }
}

/* Print styles */
@media print {
    header, footer, .btn, .menu-toggle {
        display: none;
    }
    
    body, main {
        background-color: white;
        color: black;
        box-shadow: none;
    }
    
    a {
        color: black;
        text-decoration: none;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
}
