/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
    margin: 0;
}

header {
    background-color: #1e73be;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

header h1 a {
    color: white;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 10px;
}

nav input {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

nav button {
    padding: 8px 15px;
    background-color: #fff;
    color: #1e73be;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
    min-height: 60vh;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer a {
    color: #ddd;
    text-decoration: none;
    margin: 0 10px;
}

/* Directory Listing Styles */
.business-card {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.business-card h3 {
    margin-top: 0;
}

.business-card h3 a {
    color: #1e73be;
    text-decoration: none;
}

.business-card .meta {
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #1e73be;
    text-decoration: none;
}

/* Homepage Styles (overrides/additions) */
.hero {
    background: #1e73be;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero .search-box {
    margin-top: 2rem;
}

.hero input {
    padding: 12px;
    width: 300px;
    border: none;
    border-radius: 4px;
}

.hero button {
    padding: 12px 25px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.grid-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.icon-placeholder {
    width: 50px;
    height: 50px;
    background: #eee;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
