/*
Theme Name: Televergelijk
Theme URI: https://www.televergelijk.nl/
Author: Ahmed Albarzangi
Description: Basis WordPress theme voor televergelijk vergelijking met UIkit
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 0900vergelijk
*/

/* style.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/uikit@3.19.3/dist/css/uikit.min.css');

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
.uk-heading-medium,
.uk-heading-small,
.uk-text-lead,
.uk-label,
.uk-button,
.uk-card,
.uk-navbar,
.uk-subnav,
.uk-list {
    font-family: 'Poppins', sans-serif;
}

body {
    background: #FFF;
    color: #000;
    font-size: 16px;
    line-height: 1.6;
}

h1, .uk-heading-medium {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8em;
}

h2, .uk-heading-small {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.6em;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5em;
}

h4, h5, h6 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5em;
}

p, .uk-text-lead {
    font-size: 1rem;
    font-weight: 400;
}

.uk-label {
    font-weight: 500;
    font-size: 0.85rem;
}

.uk-button {
    font-weight: 600;
}

.uk-subnav > li > a {
    font-weight: 500;
    font-size: 0.95rem;
}

.uk-card-title {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive typografie */
@media (max-width: 640px) {
    h1, .uk-heading-medium {
        font-size: 1.8rem;
    }

    h2, .uk-heading-small {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4, h5, h6 {
        font-size: 1rem;
    }
    .uk-text-lead {
        font-size: 1rem;
    }

    body {
        font-size: 15px;
    }

    .uk-button {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }

    .uk-subnav > li > a {
        font-size: 0.9rem;
    }

    .uk-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .uk-card {
        padding: 1rem;
    }
}
.uk-logo img {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.uk-logo img {
    outline: 1px solid rgba(0, 0, 0, 0.05);
    outline-offset: -1px;
}

.uk-list .uk-badge {
    min-width: 30px;
    height: 30px;

    background: #fecf44;;
    color: #fff!important;
    font-size: 1.1rem;
   }

.uk-label-success {
    display: inline-block;
    min-width: 100px;              /* of bijv. 6.5em als je het op tekstbreedte baseert */
    text-align: center;
    padding: 0.3em 0.5em;
}

.uk-animation-fade {
    animation-duration: 0.3s;
}
.vergelijkingstabel thead {
    background-color: #ffcc00 !important;
    color: #000 !important;
}

.vergelijkingstabel thead th
{
    color: #000 !important;
}

.uk-button.active-link {
    background-color: #fecf44 !important;
    color: #000; /* optioneel, voor leesbaarheid */
}

.uk-button.yellow-bg {
    background-color: #fecf44 !important;
    color: #000 !important; /* Zwart voor leesbaarheid */
    border-color: #fecf44 !important; /* optioneel */
}

footer.uk-section-default a {
    color: #555;
    transition: color 0.3s ease;
}

footer.uk-section-default a:hover,
footer.uk-section-default a:focus {
    color: #7B993D; /* bijvoorbeeld je huisstijl kleur */
    outline: none;
}

footer .uk-flex > nav {
    display: flex;
    align-items: center;
}

footer .footer-bottom-menu {
    margin: 0;
    padding: 0;
    line-height: 1;
}

footer .footer-bottom-menu > li {
    margin: 0;
    padding: 0;
}

footer .footer-bottom-menu > li > a {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.5;
    display: inline-block;
}

/* Zorg dat de flexcontainer niet kleiner wordt dan zijn inhoud */
.uk-flex {
    min-width: 320px; /* of kleiner als je wil */
}

/* Voeg evt een max-width toe aan de container voor centrering */
.uk-container {
    max-width: 1200px; /* of wat passend is */
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px; /* of gebruik margin via UIkit, zoals uk-margin-small-left */
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-menu > li {
    display: flex;
    align-items: center;
}
footer.uk-section-default a:hover {
    text-decoration: underline;
}

@media (max-width: 639px) {
    .logo-mobile-spacing {
        margin-top: 12px;
    }
}

#alphabet-filter a.active {
    background-color: #fecf44;
    color: #000;
    font-weight: 600;
}
#alphabet-filter {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 8px 0px;
    scroll-behavior: smooth;
    position: relative;
}

#alphabet-filter::-webkit-scrollbar {
    display: none;
}

#alphabet-filter a {
    flex: 0 0 auto;
}

/* Fading overlays */
.alphabet-filter-wrapper::before,
.alphabet-filter-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 32px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.alphabet-filter-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, rgba(255,255,255,0));
    opacity: 1;
    transition: opacity 0.3s ease;
}

.alphabet-filter-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, rgba(255,255,255,0));
    opacity: 1;
    transition: opacity 0.3s ease;
}

.alphabet-filter-wrapper.hide-left::before {
    opacity: 0;
}

.alphabet-filter-wrapper.hide-right::after {
    opacity: 0;
}