* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dell-blue: #0076ce;
    --dell-gray: #f1f1f1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

header {
    background: linear-gradient(135deg, var(--dell-blue) 0%, #005a9e 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

nav {
    background-color: #2c3e50;
    padding: 0.6rem 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu {
    display: flex;
    list-style: none;
    gap: 0.35rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.menu li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Alle A-Z knoppen: ronde cirkel */
.menu li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    color: white !important;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.menu li a:hover {
    background: var(--dell-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,118,206,0.4);
}

.menu li a.active {
    background: linear-gradient(135deg, #e8630a 0%, #c4500a 100%);
    border-color: #e8630a;
    box-shadow: 0 2px 8px rgba(232,99,10,0.5);
}

/* Home knop: blauw gevuld */
.menu li a.home-button {
    background: linear-gradient(135deg, var(--dell-blue) 0%, #005a9e 100%);
    font-size: 1rem;
}

.menu li a.home-button:hover {
    background: linear-gradient(135deg, #005a9e 0%, #004578 100%);
}

.menu li a.home-button.active,
.menu li a.home-button.active:hover {
    background: linear-gradient(135deg, #e8630a 0%, #c4500a 100%) !important;
    border-color: #e8630a;
    box-shadow: 0 2px 8px rgba(232,99,10,0.5);
}

/* Contact knop: blauw gevuld */
.menu li a.contact-button {
    background: linear-gradient(135deg, var(--dell-blue) 0%, #005a9e 100%);
    font-size: 1rem;
}

.menu li a.contact-button:hover {
    background: linear-gradient(135deg, #005a9e 0%, #004578 100%);
}

.menu li a.contact-button.active,
.menu li a.contact-button.active:hover {
    background: linear-gradient(135deg, #e8630a 0%, #c4500a 100%) !important;
    border-color: #e8630a;
    box-shadow: 0 2px 8px rgba(232,99,10,0.5);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    min-height: 710px;
}

main h2 {
    color: #0076ce;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

main p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Item cards styling */
.items-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.item-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.item-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.item-card p {
    color: #34495e;
    line-height: 1.6;
}

/* Item list styling (versie met bolletjes) */
.item-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.item-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    padding-left: 0;
    position: relative;
}

/* Bolletje als eerste flex-item via ::before */
.item-list li::before {
    content: '●';
    color: var(--dell-blue);
    font-size: 1rem;
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
}

.item-list li > a:not(.btn-bekijk) {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.item-list li > a:not(.btn-bekijk):hover {
    color: var(--dell-blue);
    transform: translateX(5px);
}

footer {
    text-align: center;
    padding: 1.2rem;
    background-color: #2c3e50;
    color: lightgray;
    margin-top: 2rem;
    font-size: 0.8rem;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: none;
    color: gray;
}

/* Page content styles */
.page-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 300px);
}

.page-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.back-button {
    display: inline-block !important;
    padding: 1rem 2rem !important;
    padding-left: 2.5rem !important;
    background: linear-gradient(135deg, var(--dell-blue) 0%, #005a9e 100%) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(0, 118, 206, 0.3) !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.back-button::before {
    content: '←' !important;
    position: absolute !important;
    left: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    color: white !important;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 118, 206, 0.5);
    background: linear-gradient(135deg, #005a9e 0%, var(--dell-blue) 100%);
}

.back-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 118, 206, 0.4);
}

.content-iframe {
    width: 100%;
    flex: 1;
    border: none;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Scrollbar styling voor het menu */
nav::-webkit-scrollbar {
    height: 8px;
}

nav::-webkit-scrollbar-track {
    background: #1a252f;
}

nav::-webkit-scrollbar-thumb {
    background: var(--dell-blue);
    border-radius: 4px;
}

/* Homepage styling */
.homepage-content {
    max-width: 900px;
    margin: 0 auto;
}

.homepage-content h2 {
    color: var(--dell-blue);
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--dell-blue) 0%, #005a9e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-section {
    text-align: center;
    margin-bottom: 1em;
}

.intro-section p {
    font-size: 1.0rem;
    color: #555;
    margin-bottom: 1rem;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.info-box h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-box p {
    color: #555;
    line-height: 1.6;
}

.getting-started {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--dell-blue);
}

.getting-started h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.getting-started ol {
    margin-left: 2rem;
    color: #555;
}

.getting-started li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.edit-info {
    background-color: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    text-align: left;
}

.edit-info p {
    margin: 0;
    color: #856404;
}

.edit-info code {
    background-color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #d63384;
}

/* Contact page styling */
.contact-page {
    max-width: 900px;
    margin: 0 auto;
}

.contact-page h2 {
    color: var(--dell-blue);
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--dell-blue) 0%, #005a9e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.contact-form-section {
    background: linear-gradient(135deg, var(--dell-gray) 0%, #e3e3e3 100%);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--dell-blue);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form-section h3 {
    color: var(--dell-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contact-form {
    max-width: 600px;

}

.form-group {
    margin-bottom: 0.7rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.15rem 0.3rem;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    background-color: white;
    resize: none;
}

.form-group textarea {
    padding: 1rem;
    min-height: 40px;  /* Minimale hoogte voor textarea */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--dell-blue);
    box-shadow: 0 0 0 3px rgba(0, 118, 206, 0.1);
}

.form-group input[type="file"] {
    padding: 0.3rem;
    cursor: pointer;
}

.form-group .file-info {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.submit-button {
    background: linear-gradient(135deg, var(--dell-blue) 0%, #005a9e 100%);
    color: white;
    padding: 0.5rem 1.0rem;	/* <-- DIT bepaalt de hoogte en breedte */
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 118, 206, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 118, 206, 0.4);
    background: linear-gradient(135deg, #005a9e 0%, var(--dell-blue) 100%);
}

.submit-button:active {
    transform: translateY(0);
}

/* Alert messages */
.alert {
    padding: 1rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* reCAPTCHA styling */
.g-recaptcha {
    margin-top: 0.5rem;
    transform: scale(0.85);
    transform-origin: 0 0;
}

/* ── Bekijk-knop naast downloadlinks ── */
.btn-bekijk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #0076ce;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    vertical-align: middle;
    flex-shrink: 0;
    transition: transform 0.8s ease 0.4s, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 2px 4px rgba(39,174,96,0.3);
    position: relative;
    cursor: pointer;
}

.btn-bekijk:hover {
    background: #0076ce;
    transform: translateY(-1px) scaleX(-1);
    box-shadow: 0 4px 8px rgba(39,174,96,0.4);
}

/* Tooltip 'Bekijk bestand' bij hover */
.btn-bekijk::after {
    content: 'Bekijk bestand';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0s ease;
    z-index: 10;
}

.btn-bekijk:hover::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(-1);
    transition: opacity 0.15s ease 0.2s, transform 1.3s ease 0.2s;
}

/* ── Zip viewer pagina ── */
#zip-viewer-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #2c3e50;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

#zip-viewer-bar .btn-terug {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--dell-blue) 0%, #005a9e 100%);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: bold;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,118,206,0.3);
    position: relative;
    animation: blink-terug 2.5s step-start infinite;
}

@keyframes blink-terug {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

#zip-viewer-bar .btn-terug:hover {
    background: linear-gradient(135deg, #005a9e 0%, #004578 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,118,206,0.4);
    animation: none; /* Stop knipperen bij hover */
}

/* Tooltip 'Terug' bij hover */
#zip-viewer-bar .btn-terug::after {
    content: 'Terug';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 10;
}

#zip-viewer-bar .btn-terug:hover::after {
    opacity: 1;
}

#zip-viewer-bar .viewer-filename {
    color: #ecf0f1;
    font-size: 0.85rem;
    opacity: 0.75;
    font-style: italic;
}

#zip-viewer-content {
    max-width: 960px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

#zip-viewer-content img {
    max-width: 100%;
    height: auto;
}

/* Document counter */
.document-counter {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.counter-box {
    background: linear-gradient(135deg, var(--dell-blue) 0%, #005a9e 100%);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 118, 206, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 118, 206, 0.4);
}

.counter-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.3rem;
    font-family: 'Playfair Display', serif;
}

.counter-label {
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
