main {
    padding-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centreert alles op de pagina horizontaal */
    width: 100%;
}
h1 {
    text-shadow: var(--text-shadow);
    font-size: 2rem;
    color: var(--lightgroen);
    margin-bottom: 0.5em;
}
.hoofd-artikel {
    padding: 10px;
    text-align: center;
    margin-top: 1rem;
}
/* Optioneel: Specifieke vertraging voor de h1 binnen de zoom-container */
.search-container .fade-in {
    animation-delay: 0.4s;
}
.zoom-effect {
    /* 'both' zorgt ervoor dat de begin-keyframes al gelden tijdens de delay,
       en 'forwards' houdt de eindstatus vast */
    animation: zoomIn 1.3s cubic-bezier(0.25, 1, 0.5, 1) both;
    animation-delay: 0.2s;

    /* Optioneel: gpu-versnelling inschakelen voor extra vloeiend resultaat op mobiel/desktop */
    will-change: transform, opacity;
}

.fade-in {
    /* 'both' zorgt dat de h1 onzichtbaar (opacity: 0) blijft tijdens de delay */
    animation: fadeIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) both;

    /* Vloeiende hardware-versnelling */
    will-change: opacity, transform;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(25px); /* Begint iets lager voor een subtiele 'float' omhoog */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Zorg dat de section zelf goed gecentreerd staat */
.section.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centreert alle directe kinderen horizontaal */
}

/* Centreert de zoekkaart zelf */
.search-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 550px;
    position: relative;
    margin: 0 auto; /* 👈 DIT CENTREERT DE ZOEKCONTAINER */
}

.sub-titel {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--zwart);
    margin-bottom: 10px;
    text-align: center;
}

.instructie {
    font-size: 0.95rem;
    color: var(--donkergrijs);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.4;
}

.info {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--donkergrijs);
    font-style: italic;
    text-align: center;
}
        h2 {
            margin-top: 0;
            color: #2c3e50;
            font-size: 1.5rem;
            margin-bottom: 20px;
            text-align: center;
        }

        .language-selector {
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .language-selector label {
            font-size: 0.9rem;
            font-weight: 600;
            color: #475569;
        }

        .language-dropdown {
            width: 100%;
            padding: 10px 14px;
            font-size: 0.95rem;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            outline: none;
            background-color: #ffffff;
            color: #334155;
            cursor: pointer;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .language-dropdown:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
        }

        .input-wrapper {
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 12px 16px;
            font-size: 1rem;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .search-input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
        }

        .suggestions-list {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            margin-top: 5px;
            max-height: 250px;
            overflow-y: auto;
            box-shadow: 0 10px 15px rgba(0,0,0,0.1);
            z-index: 1000;
            display: none;
            list-style: none;
            padding: 0;
        }

        .suggestion-item {
            padding: 12px 16px;
            cursor: pointer;
            border-bottom: 1px solid #f1f5f9;
            color: #334155;
            font-size: 0.95rem;
        }

        .suggestion-item:last-child {
            border-bottom: none;
        }

        .suggestion-item:hover {
            background-color: #f8fafc;
            color: #2563eb;
        }

        .selected-result {
            margin-top: 25px;
            padding: 20px;
            background-color: #eff6ff;
            border: 1px solid #bfdbfe;
            border-radius: 8px;
            color: #1e3a8a;
            font-size: 1.1rem;
            display: none;
            text-align: center;
        }

        /* Foto styling */
        .vogel-foto-wrapper {
            margin-top: 15px;
            display: none;
        }

        .vogel-foto {
            max-width: 100%;
            height: auto;
            max-height: 300px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            object-fit: cover;
        }

        /* Container voor actieknopen */
        .button-group {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 15px;
            flex-wrap: wrap;
        }

        .details-btn, .copy-btn {
            padding: 8px 16px;
            font-size: 0.9rem;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .details-btn {
            color: #2563eb;
            background-color: #ffffff;
            border: 1px solid #2563eb;
        }

        .details-btn:hover {
            background-color: #2563eb;
            color: #ffffff;
        }

        .copy-btn {
            color: #059669;
            background-color: #ffffff;
            border: 1px solid #059669;
        }

        .copy-btn:hover {
            background-color: #059669;
            color: #ffffff;
        }

        .copy-btn.copied {
            background-color: #10b981;
            color: #ffffff;
            border-color: #10b981;
        }

        .details-box {
            margin-top: 15px;
            padding: 12px;
            background-color: #ffffff;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            text-align: left;
            font-size: 0.95rem;
            color: #334155;
            display: none;
        }

        .details-box p {
            margin: 6px 0;
        }
.info a {
    color: #000000; /* Maakt de tekst zwart */
    text-decoration: underline; /* Voegt de onderstreping toe */
}

/* Optioneel: Stijl voor wanneer je er met de muis overheen beweegt */
.info a:hover {
    color: #333333; /* Iets lichter zwart/donkergrijs bij hover */
}
@media (min-width: 600px) {
    main {
    padding-top: 6rem;
    }

    h1 {
    font-size: 2.4rem;
    }

   .hoofd-artikel {
    padding: 5px;

    margin-top: 1rem;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media (min-width: 768px) {
        main {
    padding-top: 6rem;
    }



   .hoofd-artikel {
    padding: 5px;

    margin-top: 1rem;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media (min-width: 992px) {

        main { padding-top: 5rem; }


   .hoofd-artikel {
    padding: 5px;

    margin-top: 1rem;
    }

    .breadcrumb {
        margin-top: 5px;
        font-size: 16px;
        gap: 6px;
    }

    .breadcrumb a { padding: 8px 14px; }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        padding: 0 20px;
        gap: 10px;
    }

    .folders-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        max-width: 100%;
        margin: 0 auto;
        gap: 20px;
        padding: 20px;
    }

    .folder {
        max-width: 220px;
        width: auto;
    }



}

/* groot beeld (large laptops and desktops, 1200px and up) */
@media (min-width: 1200px) {
            main {
    padding-top: 5rem;
    }



   .hoofd-artikel {
    padding: 5px;

    margin-top: 2rem;
    }
}
