/* ============================================
   PRESTIGE DUITSE AUTO'S - STYLESHEET
   Kleurschema: Blauw & Zwart
   ============================================ */

/* Basis-kleuren en font */
:root {
    --primary-color: #0a2463; /* Donker blauw */
    --secondary-color: #247ba0; /* Helder blauw */
    --accent-color: #b2dbbf; /* Licht groen accent */
    --dark-color: #1a1a1a; /* Bijna zwart */
    --light-color: #f0f0f0; /* Licht grijs */
    --text-color: #333333;
}

/* Reset en algemeen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

/* ============================================
   HEADER & NAVIGATIE
   ============================================ */

header {
    background-color: var(--primary-color);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo:hover {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.contact-info {
    display: flex;
    gap: 30px;
    font-size: 14px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
}

/* Navigatiebalk */
nav {
    background-color: var(--dark-color);
    padding: 0;
}

nav ul {
    list-style: none;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

nav > ul > li {
    position: relative;
}

nav > ul > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

nav > ul > li > a:hover {
    background-color: var(--secondary-color);
}

/* Submenu (2e niveau) */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-color);
    flex-direction: column;
    min-width: 200px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

nav > ul > li:hover .submenu {
    display: flex;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.submenu li a:hover {
    background-color: var(--primary-color);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px;
}

section {
    margin: 40px 0;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
}

h2 {
    font-size: 24px;
    color: var(--dark-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

/* ============================================
   AFBEELDINGEN
   ============================================ */

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.05);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* ============================================
   VIDEO
   ============================================ */

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin: 30px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   TABELLEN
   ============================================ */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

table thead {
    background-color: var(--primary-color);
    color: white;
}

table th,
table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table tbody tr:hover {
    background-color: var(--light-color);
    transition: background-color 0.3s ease;
}

table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* ============================================
   LIJSTEN
   ============================================ */

ul, ol {
    margin: 20px 0 20px 40px;
}

ul li, ol li {
    margin-bottom: 10px;
}

ul li::marker {
    color: var(--secondary-color);
    font-weight: bold;
}

/* ============================================
   BUTTONS & LINKS
   ============================================ */

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 10px 5px 10px 0;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

/* ============================================
   FORMULIER
   ============================================ */

form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(36, 123, 160, 0.3);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px;
    margin-top: 60px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        padding: 10px 20px;
        gap: 15px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
        font-size: 12px;
    }

    nav ul {
        flex-wrap: wrap;
        padding: 0 20px;
    }

    nav > ul > li > a {
        padding: 10px 15px;
        font-size: 14px;
    }

    main {
        padding: 0 20px;
        margin: 20px auto;
    }

    section {
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 12px;
    }

    table th, table td {
        padding: 8px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================
   ANIMATIES
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-in-out;
}

.highlight {
    background-color: var(--accent-color);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

/* Hero section animatie */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 40px;
    text-align: center;
    border-radius: 8px;
    animation: fadeIn 0.8s ease-in-out;
}

.hero h1 {
    color: white;
    border-bottom: none;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}
