/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Basic layout styling */
body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}
/*BEGIN VAN DE HEADER---------------------------------------------------------------------------------*/
/* Header */
/* Header Content - Centering */
header {
    background-color: #f5f5f5;
    color: #333;
}

.slider {
    background-color: #ddd;
}

input:checked + .slider {
    background-color: #4CAF50;
}

header p {
    margin-top: 0.5em;
    font-size: 1.2em;
}
/*BEGIN VAN DE ZOEKBALK-----------------------------------------------------------------------------*/
/* Search Container */
.search-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 500px; /* Adjust width as needed */
    margin: 1em 0;
}

/* Search Bar Input */
#search-bar {
    width: 100%;
    padding: 0.75em 1.5em 0.75em 3em; /* Extra padding on the left for icon */
    padding-left: 3em; /* Room for the icon and solid background */
    border: 1px solid #888;
    border-radius: 25px;
    background-color: #ffffff;
    color: #504e4e;
    font-size: 1em;
    outline: none;
    transition: border 0.3s ease;
}

#search-bar::placeholder {
    color: #BBB;
}

/* Icon Background Section */
.search-container::before {
    content: '';
    position: absolute;
    left: 0;
    height: 100%;
    width: 2.5em; /* Width of the solid part for icon */
    background-color: #444; /* Light grey background for icon area */
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

/* Search Icon */
.search-icon {
    position: absolute;
    left: 0.8em; /* Center icon within solid section */
    color: #BBB;
    font-size: 1.2em;
    pointer-events: none;
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
}

/* Focus Style */
#search-bar:focus {
    border: 1px solid #76FF03; /* Neon green border on focus */
}

/* Search Bar Hover */
#search-bar:hover {
    border: 1px solid #781cf1;
}
/*EINDE VAN DE ZOEKBALK-------------------------------------------------------------------------*/
/*BEGIN VAN DE FILTERS---------------------------------------------------------------------------*/
.category-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1em;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #1F1F1F; /* Adjust for dark theme */
    color: #E0E0E0;
    border: none;
    padding: 0.5em 1em;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #76FF03; /* Neon green for active filter */
    color: #121212;
}
/*EINDE VAN DE FILTERS-----------------------------------------------------------------------------*/
/*EINDE VAN DE HEADER------------------------------------------------------------------------------*/
/* Product Lines Section */
.product-lines {
    padding: 2em;
}

.product-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    margin: 1em 0;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category {
    padding: 0.2em 0.5em;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    width: 10%;
    text-align: center;
}

/* Style the category labels based on data-category */
.product-line[data-category="fun"] .category {
    background-color: #f72faa; 
}

.product-line[data-category="images"] .category {
    background-color: #519619; 
}

.product-line[data-category="video"] .category {
    background-color: #f75d2f; 
}

.product-line[data-category="productivity"] .category {
    background-color: #67caf8; 
}

.product-line[data-category="design"] .category {
    background-color: #fc4362; 
}

.product-line[data-category="remote work"] .category {
    background-color: #fc8727; 
}

.product-line[data-category="writing"] .category {
    background-color: #668b00; 
}

.product-line[data-category="audio"] .category {
    background-color: #004e72; 
}

.product-line[data-category="vr / ar"] .category {
    background-color: #0391d3; 
}

.product-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    width: 20%;
}

.description {
    font-size: 1em;
    color: #666;
    width: 45%;
}

.visit-button {
    background-color: #a4ce27;
    color: white;
    padding: 0.5em 1em;
    border: none;
    text-decoration: none;
    border-radius: 50px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.visit-button:hover {
    background-color: #ff3de5;
}

/* Footer */
footer {
    background-color: #fff;
    color: #BBB;
    text-align: center;
    padding: 1em 0;
    margin-top: 2em;
}

footer .social-icons a {
    color: white;
    margin: 0 0.5em;
    text-decoration: none;
}

/* Stijl voor de Topknop */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #424242;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    display: none; /* Verbergen totdat de gebruiker scrolt */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  #scrollToTopBtn:hover {
    background-color: #555555;
  }

/* Responsive Design */
@media (max-width: 768px) {
    .product-line {
        flex-direction: column;
        text-align: center;
    }

    .product-name, .description {
        width: 100%;
        margin: 0.5em 0;
        margin-bottom: 0.5em;
    }

    .category {
        width:100%;
        height: 20px;
        font-size: 12px;
    }

    .visit-button {
        width: 50%;
        height: 30px;
        font-size: 20;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        padding: 2px;
    }

    .filter-btn {
        font-size: 0.9em;
        padding: 0.4em 0.8em;
    }

    .category-filters {
        justify-content: flex-start;
    }
}