/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Header */
header {
    background-color: #c0392b;
    color: white;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 40px;
    margin-right: 10px;
}

header .logo h1 {
    margin: 0;
    font-size: 24px;
    font-weight: normal;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/banner-image.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0;
    margin-top: 60px;
    /* Adjust for fixed header */
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* =================================================================== */
/* ===         VOLLEDIG BIJGEWERKTE ZOEKBALK STYLING (START)         === */
/* =================================================================== */

.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Lijn alles verticaal perfect uit */
    gap: 10px;
}

/* DE FIX: MAAK ALLE BLOKKEN UNIFORM */
.search-form>input[type="text"],
/* Gebruik > om conflicten te voorkomen */
.search-form .location-input-container,
.search-form .radius-container {
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    height: 20px;
    /* Forceer gelijke hoogte */
    box-sizing: content-box;
    /* Zorgt dat padding de hoogte niet beïnvloedt */
}

/* Specifieke breedtes voor de inputs */
.search-form>input[type="text"],
.search-form .location-input-container {
    width: 250px;
}

/* Styling voor de locatie-container specifiek */
.location-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Zorg dat de input binnen de container de volledige ruimte benut */
.location-input-container input {
    width: 100%;
    background: transparent;
    padding: 0;
    padding-right: 40px;
    /* Ruimte voor het icoon */
    height: 100%;
    border: none;
    font-size: 16px;
}

/* Positionering en stijl van het locatie-icoon */
.location-input-container .fa-crosshairs {
    position: absolute;
    right: 15px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.location-input-container .fa-crosshairs:hover {
    color: #c0392b;
}

/* DE FIX: MAAK DE SLIDER MOOI */
.radius-container {
    width: 220px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.radius-container label {
    font-size: 16px;
    white-space: nowrap;
}

.radius-container output {
    font-weight: bold;
}

/* Stijl de slider zelf */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

input[type="range"]:hover {
    opacity: 1;
}

/* Stijl de slider-knop (thumb) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #c0392b;
    /* Gebruik de Liemers Lokaal themakleur */
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid white;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #c0392b;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid white;
}

/* Zoekknop styling */
.search-form button {
    padding: 15px 30px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: white;
    cursor: pointer;
    height: 52px;
    /* Zorg voor exact gelijke hoogte */
}

/* =================================================================== */
/* ===         VOLLEDIG BIJGEWERKTE ZOEKBALK STYLING (EINDE)         === */
/* =================================================================== */


/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 0;
    background-color: white;
}

.cta-section h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.btn {
    background-color: #c0392b;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    display: inline-block;
}

/* Categories Section */
.categories {
    padding: 40px 0;
    background-color: white;
}

.categories .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.categories .category img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.categories .category h4 {
    font-size: 20px;
    margin: 0;
}

/* Business Exposure Section */
.business-exposure {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://i.imgur.com/mJ9r8pE.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.business-exposure h3 {
    font-size: 40px;
    margin-bottom: 20px;
}

.business-exposure p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* New Businesses Section */
.new-businesses {
    padding: 60px 0;
    text-align: center;
    background-color: white;
}

.new-businesses h3 {
    font-size: 36px;
    margin-bottom: 30px;
}

.filters {
    margin-bottom: 40px;
}

.filters button {
    background: #e0e0e0;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
}

.business-listings {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.listing {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 32%;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.listing img {
    width: 100%;
    height: auto;
}

.listing h4,
.listing p,
.listing .rating {
    padding: 0 15px;
    margin: 10px 0;
}

.listing .rating {
    color: #f39c12;
}

/* Partners Section */
.partners {
    background-color: #f4f4f4;
    padding: 40px 0;
}

.partners .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.partners img {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
}

/* Footer */
footer {
    background-color: #a52a2a;
    color: #f0e6e6;
    padding-top: 40px;
}

footer .container {
    display: flex;
    justify-content: space-between;
}

.footer-left {
    max-width: 40%;
}

.footer-left h4 {
    font-size: 24px;
    margin-top: 0;
}

.footer-right img {
    max-width: 100%;
    height: auto;
}

.footer-bottom {
    background-color: #8c2323;
    padding: 15px 0;
    margin-top: 40px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
}

.social-icons a {
    color: #f0e6e6;
    margin-left: 15px;
    font-size: 18px;
}