/**************/
/* CSS REMEDY */
/**************/
*, *::after, *::before {
    box-sizing: border-box;
}

/*********************/
/* CUSTOM PROPERTIES */
/*********************/
:root {
    --color-text: #111;
    --color-text2: #eee;  
    --color-background2: #111;
    --color-background: #eee;
    --primary-color: #d83333;
    --accent-color: #008f39;
}

/****************/
/* JOUW STYLING */
/****************/
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333; 
    color: var(--color-text);
    background-color: var(--color-background);
}

#loader {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .loader-burger {
    width: 90px;
    height: auto;
    animation: spin 1.2s linear infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  #loader.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

header {
    background-color: var(--primary-color);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    flex: 1;
    text-align: center;
}

header h1 img {
    height: 28px;
}

#hamburger-menu {
    background: none;
    border: none;
    padding: 0;
}

#hamburger-menu img {
    width: 35px;
    height: auto;
}

nav ul {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #c44b41;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
}

nav ul li {
    padding: 15px 0;
    border-bottom: 2px solid #8d3a36;
}

nav ul li a {
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

nav ul.open {
    display: flex;
}

.hero {
    position: relative;
    text-align: center;
    color: #eee;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.bezorg-tabs {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    display: flex;
    background: white;
    overflow: hidden;
    z-index: 5;
}

.bezorg-tabs .tab {
    flex: 1;
    padding: 14px 0;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background: #f2f2f2;
    color: #333;
    border-bottom: 2px solid #ddd;
    cursor: pointer;
}

.bezorg-tabs .tab.active {
    background: white;
}

.zoekbalk {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 20px;
    width: 85%;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    text-align: center;
    z-index: 4;
}

.zoekbalk input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin: 10px 0;
    border: 1px solid #bbb;
    border-radius: 4px;
}

.zoekbalk button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
}

.werken-bij a,
.zelf-ondernemen a {
    display: inline-block;
    transition: transform .2s ease-in-out;
}

.werken-bij a:hover,
.zelf-ondernemen a:hover {
    transform: scale(1.15);
}

.werken-bij, .zelf-ondernemen, .ons-assortiment {
    padding: 40px;
    text-align: left;
}

.werken-bij {
    display: flex;
    flex-direction: column;
}

.werken-bij img {
    order: 1;
    width: 100%;
    border-radius: 6px;
    margin-bottom: 20px;
}

.werken-bij h2 {
    order: 2;
    margin-bottom: 10px;
}

.werken-bij p {
    order: 3;
    margin-bottom: 15px;
}

.werken-bij a {
    order: 4;
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 4px;
}

.zelf-ondernemen img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
}

.zelf-ondernemen a {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 4px;
}

.assortiment-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
}

.assortiment-slider {
    display: flex;
    gap: 2px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.assortiment-slider li {
    min-width: 50%;
    scroll-snap-align: center;
    text-align: center;
    padding: 0 5px;
}

.assortiment-slider img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.assortiment-slider h3 {
    color: var(--primary-color);
    margin: 10px 0 5px;
}

.assortiment-slider p {
    margin-bottom: 10px;
}

.assortiment-slider a {
    color: var(--primary-color);
    text-decoration: none;
}

.febo-vroeger {
    position: relative;
    text-align: center;
    color: rgb(255, 255, 255);
    overflow-x: hidden;
}

.febo-vroeger img {
    width: 100%;
    height: 500px;
    display: block;
    object-fit: cover;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
}

.lazy-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 4s ease, transform 4s ease;
    width: 100%;
    height: auto;
    display: block;
  }
  
  .lazy-card.reveal {
    opacity: 1;
    transform: translateY(0);
  }

article img {
    order: 1;
    width: 100%;
    border-radius: 6px;
    margin-bottom: 20px;
}

article {
    padding-left: 1em;
    padding-right: 1em;
}

article img:nth-of-type(3) {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }


.heden img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em 0;
}

.heden {
    padding: 20px;
    text-align: center;
}

.heden p {
    margin-bottom: 20px;
}

.heden h2 {
    color: #d83333;
}


#player {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 25px;
    text-align: left;
}

footer h2 {
    font-size: 22px;
    margin: 0 0 10px;
    font-weight: bold;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

footer ul li {
    margin-bottom: 8px;
}

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

footer img {
    width: 35px;
    height: 35px;
}

footer p {
    text-align: center;
    margin: 10px 0;
}

footer ul:has(img) {
    display: grid;
    grid-template-columns: repeat(3, auto);
    column-gap: 12px;
    row-gap: 12px;
    justify-content: start;
}

#hamburger-menu.pop {
    animation: pop 0.3s ease-out;
}

nav ul li a {
    display: block;
    padding: 10px 0;
    transition: transform .2s ease;
    transform-origin: left center;
}

nav ul li a:hover {
    transform: scale(1.15);
}


@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (prefers-color-scheme: dark) {
    :root {
      --color-background: var(--color-background2);
      --color-text: var(--color-text2);
    }
  }

  @media (min-width: 35em){


  
  }
