/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif; /* Using a clean and modern font */
    line-height: 1.6;
    background-color: #f8f8f8; /* Subtle background color */
    color: #333; /* Dark gray text for readability */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    text-align: center
}

header nav ul {
    list-style: none;
    text-align: right;
    margin-top: 10px; /* Add some space between the logo and navigation */
}

header nav ul li {
    display: inline;
    margin-left: 30px;
}

header nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

header nav ul li a:hover {
    color: #333;
}

/* Search Area Styles */
.search-area {
    padding: 30px 0;
    text-align: center; /* Center the search bar */
}

#search-bar {
    width: 60%; /* Adjust the width as needed */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 25px; /* Rounded corners */
    font-size: 1rem;
}

/* Listings Area Styles */
.listings-area {
    padding: 20px 0;
}

.listings-area h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center
}

.listings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
}

/* Placeholder Styles for Business Listings (replace with actual content later) */
.listing {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center content within each listing */
}

.listing img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.listing h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.listing p {
    color: #555;
}
.hero {
    background-image: url("images/bucks-county-hero.jpg"); /* Replace with an actual image */
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 0;
    color: #fff; /* White text for contrast */
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    padding: 20px;
    border-radius: 5px;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff; /* Blue button */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0069d9; /* Darker blue on hover */
}

/* Categories Section Styles */
.categories {
    padding: 50px 0; /* Existing padding */
    border-bottom: 1px solid #eee; /* Add a subtle separator */
}

.categories h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px; /* Increased margin for better spacing */
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
}

.category {
    text-align: center;
}

.category img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-top: 10px;
}
.category i {
    font-size: 3rem; /* Adjust the size as needed */
    color: #333; /* Adjust the color as needed */
    margin-bottom: 10px;
}

.featured-businesses h2,
.categories h2 { 
    text-align: center; 
}
h2 {
    text-align: center;
}
.featured-business {
    text-align: center; /* Center all content within each featured business */
}
/* ... (previous CSS code) ... */

.contact {
    padding: 50px 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contact form {
    max-width: 600px; /* Adjust the width as needed */
    margin: 0 auto; /* Center the form */
}

.contact div {
    margin-bottom: 15px;
}

.contact label {
    display: block;
    margin-bottom: 5px;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact textarea {
    height: 150px;
}
/* ... (previous CSS code) ... */

.featured-grid {
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: space-around; /* Distribute space around items */
}
/* ... (previous CSS code) ... */

.filter-btn.active {
    background-color: #007bff; /* Example: highlight active button in blue */
    color: white;
}