:root {
    --sf-pro: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --primary-color: #2563eb;
    --background-color: #f8fafc;
    --text-color: #1e293b;
    
    /* Subtielere shift kleuren */
    --shift-1-color: #22c55e80; /* Ochtend - groen */
    --shift-2-color: #3b82f680; /* Middag - blauw */
    --shift-3-color: #8b5cf680; /* Nacht - paars */
    --shift-4-color: #f1f5f9;   /* Vrij - lichtgrijs */
}

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

body {
    font-family: var(--sf-pro);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: white;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #64748b;
    font-size: 1.2rem;
}

.controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    align-items: start;
    background-color: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.controls select,
.controls input[type="checkbox"] {
    width: 100%;
    padding: 0.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: white;
    color: #1e293b;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.controls select:hover,
.controls select:focus {
    border-color: #94a3b8;
    outline: none;
}

.controls label {
    display: block;
    margin-bottom: 0.25rem;
    color: #64748b;
    font-size: 0.85rem;
}

.holiday-selector {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.holiday-selector label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.65rem;
    cursor: pointer;
}

.holiday-selector input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.share-button {
    display: flex;
    gap: 2rem;
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 1rem;
}

.share-button button {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

#shareBtn {
    background-color: var(--primary-color);
    color: white;
}

#downloadBtn {
    background-color: #059669;
    color: white;
}

#printBtn {
    background-color: #6366f1;
    color: white;
}

#shareBtn:hover {
    background-color: #1d4ed8;
}

#downloadBtn:hover {
    background-color: #047857;
}

#printBtn:hover {
    background-color: #4f46e5;
}

.share-confirm {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    display: none;
    animation: fadeIn 0.3s ease-out;
    z-index: 1000;
}

.share-confirm.visible {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translate(-50%, 1rem); 
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, 0); 
    }
}

@media (max-width: 1200px) {
    .controls {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .controls {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .share-button {
        flex-direction: column;
    }
    
    .share-button button {
        width: 100%;
    }
}

.legend {
    background-color: white;
    padding: 1rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: fit-content;
}

.legend-item span {
    width: 1rem;
    height: 1rem;
    border-radius: 6px;
}

.shift-1 { background-color: var(--shift-1-color); }
.shift-2 { background-color: var(--shift-2-color); }
.shift-3 { background-color: var(--shift-3-color); }
.shift-4 { 
    background-color: var(--shift-4-color) !important; 
}

#calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.month-grid {
    display: grid;
    grid-template-columns: 30px repeat(7, 1fr); /* Extra kolom voor weeknummer */
    gap: 4px;
    width: 100%;
    min-width: fit-content; /* Zorgt dat de grid niet krimpt */
}

.week-number {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px; /* Vaste breedte voor weeknummers */
}

.month {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.month-header {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.day-header {
    text-align: center;
    font-weight: 500;
    padding: 0.5rem;
    min-width: 32px; /* Zelfde minimum breedte als dagen */
}

.day {
    aspect-ratio: 1;
    min-width: 32px; /* Minimum breedte voor dagen */
    padding: 0.5rem;
    text-align: center;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
}

.day:hover {
    transform: scale(1.05);
}

.info {
    margin-top: 3rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info h2 {
    margin-bottom: 1rem;
}

/* Voeg deze nieuwe class toe */
.day-header-spacer {
    /* Lege ruimte boven weeknummers */
}

.holiday {
    position: relative;
    border: 1px solid rgba(239,68,68,0.3) !important;
    z-index: 0; /* Zorgt dat de basis laag onder de arcering komt */
}

.holiday::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        45deg,
        rgba(239,68,68,0.08),
        rgba(239,68,68,0.08) 3px,
        transparent 3px,
        transparent 6px
    );
    border-radius: 6px;
}

@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }
    
    .controls {
        flex-direction: column;
        padding: 0 1rem;
        gap: 1rem;
    }

    .year-selector,
    .crews-selector,
    .pattern-selector,
    .crew-selector,
    .holiday-selector,
    .share-button {
        width: 100%;
    }

    select {
        width: 100%;
        max-width: none;
        padding: 0.8rem;
        font-size: 16px; /* Voorkomt inzoomen op iOS */
    }

    .holiday-selector {
        margin-top: 0;
        justify-content: flex-start;
    }

    .share-button {
        margin-top: 0;
    }

    #shareBtn {
        width: 100%;
        padding: 0.8rem;
    }

    /* Kalender aanpassingen voor mobiel */
    .month {
        padding: 0.5rem;
        margin: 0 -0.5rem;
        border-radius: 0;
        overflow-x: hidden;
    }

    .month-grid {
        grid-template-columns: repeat(7, 1fr); /* Verwijder weeknummer kolom */
        gap: 2px;
        width: 100%;
        min-width: 0;
    }

    .day {
        min-width: 0;
        aspect-ratio: 1;
        padding: 0.25rem;
        font-size: 0.8rem;
    }

    .day-header {
        padding: 0.25rem;
        font-size: 0.8rem;
        min-width: 0;
    }

    .week-number,
    .day-header-spacer {
        display: none; /* Verberg weeknummers op mobiel */
    }

    .legend {
        position: sticky;
        top: 0;
        z-index: 100;
        background: white;
        margin: 0 0 1rem 0;
        padding: 0.5rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
    }

    .legend-item {
        font-size: 0.8rem;
        gap: 0.25rem;
    }

    .legend-item span {
        width: 0.8rem;
        height: 0.8rem;
    }

    /* Zorg dat de kalender niet onder de legenda schuift */
    #calendar {
        padding-top: 0.5rem;
    }

    /* Voeg een fade effect toe wanneer de legenda sticky wordt */
    .legend::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        right: 0;
        height: 8px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.05), transparent);
        pointer-events: none;
    }

    /* Feestdagen lijst aanpassing */
    .holidays-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .holiday-item {
        padding: 0.5rem;
    }
}

/* Extra kleine schermen */
@media (max-width: 360px) {
    .day {
        font-size: 0.7rem;
        padding: 0.2rem;
    }

    .day-header {
        font-size: 0.7rem;
        padding: 0.2rem;
    }
}

.holidays-overview {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.holidays-overview h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.holidays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.holiday-item {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
    background-color: var(--background-color);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.holiday-item:hover {
    transform: translateX(5px);
}

.holiday-date {
    font-weight: 500;
    min-width: 90px;
}

.holiday-name {
    color: #666;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

#shareBtn, #downloadBtn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.75rem 1rem;
}

#downloadBtn {
    background-color: #059669; /* Groen voor onderscheid */
}

#shareBtn:hover, #downloadBtn:hover {
    transform: translateY(-1px);
}

#downloadBtn:hover {
    background-color: #047857;
}

.share-confirm {
    color: #28a745;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.share-confirm.visible {
    opacity: 1;
}

/* Print knop styling */
#printBtn {
    background-color: #6366f1;
}

#printBtn:hover {
    background-color: #4f46e5;
}

/* Print styling */
@media print {
    body {
        background: white;
        margin: 0;
        padding: 0;
    }

    .container {
        max-width: none;
        padding: 0;
        margin: 0;
    }

    /* Header aanpassingen */
    header {
        padding: 1rem 0;
        margin: 0;
        box-shadow: none;
        border-bottom: 1px solid #eee;
    }

    h1 {
        font-size: 1.2rem;
        background: none;
        -webkit-text-fill-color: #666;
        margin: 0;
    }

    .subtitle {
        display: none;
    }

    /* Verberg overbodige elementen */
    .controls button,
    .share-button,
    .legend,
    .info,
    .holidays-overview,
    .holiday-selector {
        display: none !important;
    }

    /* Toon huidige instellingen */
    .controls {
        border: none;
        box-shadow: none;
        padding: 0;
        margin-bottom: 2rem;
        display: block;  /* Verander flex naar block voor centrering */
        text-align: center;
    }

    .controls::before {
        content: attr(data-print-settings) " | Verschuiving: " attr(data-offset-weeks) " weken";
    }

    .controls::after {
        content: attr(data-holiday-settings);
        display: block;
        font-size: 1rem;
        color: #64748b;
        margin-top: 0.25rem;
    }

    /* Verberg alle controls behalve de instellingen tekst */
    .controls > *:not(::before):not(::after) {
        display: none;
    }

    /* Kalender aanpassingen */
    #calendar {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        page-break-inside: avoid;
    }

    .month {
        padding: 0.5rem;
        margin: 0;
        box-shadow: none;
        page-break-inside: avoid;
    }

    .month-header {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .day {
        font-size: 0.8rem;
        padding: 0.25rem;
    }

    .day-header {
        font-size: 0.8rem;
        padding: 0.25rem;
    }

    /* Subtielere maar duidelijkere kleuren voor print */
    .shift-1 { 
        background-color: #90EE90 !important; /* Lichtgroen */
        border: 1px solid #22c55e !important;
    }
    
    .shift-2 { 
        background-color: #ADD8E6 !important; /* Lichtblauw */
        border: 1px solid #3b82f6 !important;
    }
    
    .shift-3 { 
        background-color: #E6E6FA !important; /* Lichtpaars */
        border: 1px solid #8b5cf6 !important;
    }
    
    .shift-4 { 
        background-color: white !important;
        border: 1px solid #e2e8f0 !important;
    }

    /* Duidelijker patroon voor feestdagen */
    .holiday {
        border: 2px solid #ef4444 !important;
        background: repeating-linear-gradient(
            45deg,
            rgba(239,68,68,0.2),
            rgba(239,68,68,0.2) 4px,
            white 4px,
            white 8px
        ) !important;
    }

    /* Legenda aanpassingen voor print */
    .legend {
        display: flex !important;
        border-top: 1px solid #e2e8f0;
        padding-top: 1rem;
        margin-top: 1rem;
    }

    .legend-item span {
        border: 1px solid #64748b;
    }

    /* Zorg dat de dag nummers goed zichtbaar zijn */
    .day {
        color: black !important;
        font-weight: 500 !important;
    }

    /* Verberg labels maar toon legenda */
    .controls label,
    .controls select,
    .controls button,
    .share-button,
    .info,
    .holidays-overview,
    .holiday-selector {
        display: none !important;
    }

    .legend {
        display: flex !important;
        gap: 1rem;
        justify-content: center;
        padding: 0.5rem 0;
        margin: 0 0 0.5rem 0;
        background: none;
        box-shadow: none;
        font-size: 0.8rem;
    }

    .legend-item span {
        width: 0.8rem;
        height: 0.8rem;
    }

    /* Compactere layout voor één pagina */
    #calendar {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.2rem;
        margin-top: 0.5rem;
    }

    .month {
        padding: 0.3rem;
        margin: 0;
    }

    .month-header {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
        text-align: center;
    }

    .month-grid {
        gap: 1px;
    }

    .day {
        font-size: 0.7rem;
        padding: 0.15rem;
        min-width: unset;
    }

    .day-header {
        font-size: 0.7rem;
        padding: 0.15rem;
        min-width: unset;
    }

    /* Verwijder weeknummers voor meer ruimte */
    .week-number,
    .day-header-spacer {
        display: none !important;
    }

    .month-grid {
        grid-template-columns: repeat(7, 1fr);
    }

    /* Compactere header */
    header {
        padding: 0.5rem 0;
        margin-bottom: 0.3rem;
    }

    /* Compactere instellingen weergave */
    .controls {
        padding: 0.3rem 0;
        margin: 0 0 0.3rem 0;
        background: none;
    }

    /* Zorg dat alles op één pagina past */
    @page {
        margin: 1cm;
        size: A4 portrait;
    }

    /* Voorkom dat elementen worden afgebroken */
    .month {
        break-inside: avoid;
    }

    .holiday-example {
        border: 1px solid rgba(0,0,0,0.2);
        background: repeating-linear-gradient(
            45deg,
            rgba(0,0,0,0.05),
            rgba(0,0,0,0.05) 3px,
            transparent 3px,
            transparent 6px
        );
    }

    /* Verwijder de speciale achtergrondkleur voor vrije feestdagen in print */
    .holiday.shift-4 {
        background-color: white !important;
    }

    /* Andere bestaande print regels behouden */
    .main-nav,
    .share-button,
    .info,
    .holidays-overview {
        display: none;
    }
}

/* Voeg toe aan de normale styling */
.holiday-example {
    position: relative;
    border: 1px solid rgba(239,68,68,0.3);
    background: repeating-linear-gradient(
        45deg,
        rgba(239,68,68,0.08),
        rgba(239,68,68,0.08) 3px,
        transparent 3px,
        transparent 6px
    );
}

/* Navigatie styling */
.main-nav {
    margin-top: 1rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.main-nav a:hover {
    background-color: var(--background-color);
}

.main-nav a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive aanpassing */
@media (max-width: 768px) {
    .main-nav ul {
        gap: 0.5rem;
    }
    
    .main-nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Print aanpassing */
@media print {
    .main-nav {
        display: none;
    }
}

/* Content pagina styling */
.content-page {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin: 2rem 0;
}

.rooster-info {
    margin-bottom: 2rem;
}

.rooster-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.rooster-info ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.rooster-info li {
    margin-bottom: 0.5rem;
}

.cta-button {
    text-align: center;
    margin-top: 3rem;
}

.button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Update modal styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto; /* Maakt scrollen mogelijk */
    padding: 20px; /* Ruimte aan zijkanten op mobiel */
}

.modal-content {
    position: relative;
    background-color: #f8fafc;
    margin: 2rem auto;
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.modal-form {
    margin-bottom: 1rem;
    width: 100%;
}

.form-group {
    margin-bottom: 0.75rem;
    width: 100%;
    background-color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-group h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input[type="number"] {
    width: 100px;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.modal-buttons button {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.modal-buttons .button {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.modal-buttons .button.secondary {
    background-color: #e2e8f0;
    color: var(--text-color);
}

.offset-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .offset-selector {
        width: 100%;
    }
    
    .offset-selector select {
        width: 100%;
    }
}

/* Modal uitbreidingen */
.modal h4 {
    color: var(--text-color);
    margin: 1rem 0 0.5rem 0;
    font-size: 1rem;
}

.shift-times, .overlap-times {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.time-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.time-input label {
    min-width: 120px;
}

.time-input input[type="time"] {
    padding: 0.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 100px;
}

.time-input input[type="number"] {
    padding: 0.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 70px;
}

.time-input span {
    color: #64748b;
    margin: 0 0.25rem;
}

@media (max-width: 768px) {
    .time-input {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1rem;
    }
    
    .time-input label {
        margin-bottom: 0.25rem;
    }

    .time-input input[type="time"],
    .time-input input[type="number"] {
        width: 100%;
        max-width: none;
    }

    .modal-buttons {
        position: sticky; /* Knoppen blijven zichtbaar tijdens scrollen */
        bottom: 0;
        background: white;
        padding-top: 1rem;
        margin-top: 1rem;
    }
}

.description-input {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.description-input .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.description-input label {
    font-weight: 500;
    color: #374151;
}

.description-input input[type="text"],
.description-input textarea {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    width: 100%;
    font-size: 0.875rem;
    background-color: white;
}

.description-input textarea {
    resize: vertical;
    min-height: 80px;
}

.description-input small {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Zorg dat de form-group de juiste breedte heeft */
.modal-form .form-group {
    width: 100%;
}

.status-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-input select {
    padding: 0.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 100%;
    max-width: 300px;
}

@media (max-width: 768px) {
    .status-input {
        width: 100%;
    }
}

/* Zorg dat alle select containers dezelfde structuur hebben */
.year-selector,
.crews-selector,
.pattern-selector,
.crew-selector,
.offset-selector {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Styling voor de klikbare titel */
h1 a {
    text-decoration: none;
    background: linear-gradient(45deg, var(--primary-color), #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}

h1 a:hover {
    opacity: 0.9;
}

/* WhatsApp button styling */
.whatsapp-btn {
    display: none !important; /* Standaard verborgen */
    background-color: #25D366 !important; /* WhatsApp groen */
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn:hover {
    background-color: #128C7E !important;
}

/* Toon WhatsApp knop alleen op mobiel */
@media (max-width: 768px) {
    .whatsapp-btn {
        display: flex !important;
    }
}

/* Update share button layout voor mobiel */
@media (max-width: 768px) {
    .share-button {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .share-button button {
        width: 100%;
    }
}

/* PDF knop styling */
#pdfBtn {
    background-color: #ef4444 !important; /* Lichter, minder schreeuwerig rood */
    color: white !important;
}

#pdfBtn:hover {
    background-color: #dc2626 !important; /* Iets donkerder bij hover */
}

/* Update share button gap voor extra knop */
.share-button {
    gap: 2rem;
}

@media (max-width: 768px) {
    .share-button {
        gap: 0.75rem;
    }
}

/* Contact form styling */
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form p {
    margin-bottom: 2rem;
    color: #64748b;
    text-align: center;
    font-size: 1.1rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #f8fafc;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    width: 100%;
    margin-top: 2rem;
}

.contact-form .submit-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form .submit-button:active {
    transform: translateY(0);
    box-shadow: none;
}

@media (max-width: 768px) {
    .contact-form {
        margin: 1rem;
        padding: 1.5rem;
    }
}