/* ============================================
   Badmintonner.nl - Modern CSS Stylesheet
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .site-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3d7a 100%);
    color: var(--white);
    padding: 4rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-description p {
    margin-bottom: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.hero-photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: var(--transition);
}

.hero-photo.lightbox-trigger {
    cursor: pointer;
}

.hero-photo.lightbox-trigger:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Quick Links Section */
.quick-links {
    padding: 4rem 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #1a3d7a;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #d68910;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-link {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3d7a 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 3rem 0;
}

.content-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.content-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Quote Box */
.quote-box {
    background: var(--light-color);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    font-style: italic;
}

.quote-box p {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery-cta {
    margin: 3rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3d7a 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.cta-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-box h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-box p {
    margin-bottom: 2rem;
    opacity: 0.95;
    font-size: 1.1rem;
}

.featured-gallery {
    margin-top: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Documentation Section */
.documentation-section {
    margin: 4rem 0;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-color);
}

.section-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.section-intro {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.document-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.video-card {
    border-top-color: #ff0000;
}

.video-card:hover {
    border-top-color: #cc0000;
}

.doc-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.video-card .doc-icon {
    color: #ff0000;
}

.doc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-english {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-dutch {
    background: #fff3e0;
    color: #f57c00;
}

.badge-summary {
    background: #f3e5f5;
    color: #7b1fa2;
}

.badge-questions {
    background: #e8f5e9;
    color: #388e3c;
}

.badge-video {
    background: #ffebee;
    color: #c62828;
}

.document-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.document-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Links Section */
.links-section {
    margin: 3rem 0;
}

.links-category {
    margin-bottom: 3rem;
}

.links-category h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.link-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.link-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.link-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.link-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Info Box */
.info-box {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border-left: 4px solid var(--secondary-color);
}

.info-box h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Grist Section */
.grist-section {
    margin: 3rem 0;
}

.grist-container {
    margin-top: 2rem;
}

.grist-iframe-wrapper {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    background: var(--white);
    border: 1px solid var(--light-color);
}

.grist-iframe-wrapper iframe {
    width: 100%;
    border: none;
    display: block;
    min-height: 600px;
}

/* GetGrist Link Box */
.grist-link-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.grist-link-box:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.grist-link-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    background: rgba(44, 90, 160, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.grist-link-content {
    flex: 1;
}

.grist-link-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.grist-link-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.grist-link-btn {
    flex-shrink: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.grist-placeholder {
    background: var(--light-color);
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
}

.grist-info i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.grist-note {
    color: var(--text-light);
    font-style: italic;
    margin: 1rem 0;
}

.code-example {
    background: var(--dark-color);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: left;
    overflow-x: auto;
}

.code-example code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Rules Section */
.rules-section {
    margin: 3rem 0;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.rules-list li strong {
    color: var(--primary-color);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-section h2,
.contact-info-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.contact-link:hover {
    color: #1a3d7a;
}

.contact-note {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

/* Form Message Styles */
.form-message {
    display: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Password Section */
.password-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.password-box {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.lock-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.password-box h1 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.password-box .subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.password-form {
    margin-top: 2rem;
}

.error-message {
    color: var(--accent-color);
    margin-top: 1rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Protected Content */
.protected-content {
    min-height: 60vh;
}

.protected-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.protected-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.protected-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.protected-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.protected-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.protected-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.logout-section {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-note {
    margin-top: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Albums Section */
.albums-section {
    margin: 3rem 0;
}

.albums-section .section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.albums-section .section-title i {
    color: var(--primary-color);
    font-size: 2rem;
}

.albums-section .section-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.album-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.album-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.album-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.album-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: var(--light-color);
}

.album-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.album-card:hover .album-image {
    transform: scale(1.1);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 90, 160, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-overlay i {
    color: var(--white);
    font-size: 2.5rem;
    transform: scale(0.8);
    transition: var(--transition);
}

.album-card:hover .album-overlay i {
    transform: scale(1);
}

.album-info {
    padding: 1.5rem;
}

.album-info h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 3.2rem;
}

.album-type {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.album-type i {
    color: var(--primary-color);
}

/* Workflow Info Section */
.workflow-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin: 3rem 0;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.workflow-icon {
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.workflow-content {
    flex: 1;
}

.workflow-content h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.workflow-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.workflow-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    transition: var(--transition);
}

.workflow-content a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.workflow-tip {
    background: rgba(243, 156, 18, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    margin-top: 1.5rem;
}

.workflow-tip em {
    color: var(--secondary-color);
    font-weight: 600;
    font-style: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .documents-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .grist-iframe-wrapper iframe {
        min-height: 500px;
        height: 500px;
    }

    .grist-link-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .grist-link-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .grist-link-content h3 {
        font-size: 1.2rem;
    }

    .grist-link-btn {
        width: 100%;
        justify-content: center;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
    }

    .section-icon {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .workflow-info-section {
        flex-direction: column;
        padding: 1.5rem;
    }

    .workflow-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .albums-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .album-info h3 {
        font-size: 1.1rem;
        min-height: auto;
    }

    .workflow-info-section {
        padding: 1.25rem;
    }

    .workflow-content h3 {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
    overflow: auto;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 95%;
    max-height: 95vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-caption {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 1rem;
    max-width: 90%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Prevent body scroll when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-content {
        max-width: 98%;
        padding: 1rem;
    }
    
    .lightbox-image {
        max-width: 100%;
        max-height: 75vh;
    }
    
    .lightbox-caption {
        margin-top: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        max-width: 95%;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }
}

/* Helper classes voor validatie - vervang inline styles */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Hero image overlay styles - vervang inline styles */
.hero-image {
    position: relative;
}

.hero-image figure {
    position: relative;
    margin: 0;
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    padding: 1.5rem 1rem 1rem 1rem;
    color: white;
    text-align: center;
}

.hero-image-overlay-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.hero-image-overlay-subtitle {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.9;
}

