/* Directory Grid */
.bdp-directory {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Search and Filters */
.bdp-search-form {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.bdp-search-form input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.bdp-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.bdp-filters select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 150px;
}

/* Business Cards */
.bdp-businesses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.bdp-business-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bdp-business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bdp-business-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.bdp-business-content {
    padding: 15px;
}

.bdp-business-name {
    font-size: 1.2em;
    margin: 0 0 10px;
    color: #333;
}

.bdp-business-location {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.bdp-business-description {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.bdp-business-contact {
    font-size: 0.9em;
    color: #666;
}

.bdp-business-contact a {
    color: #007bff;
    text-decoration: none;
}

.bdp-business-contact a:hover {
    text-decoration: underline;
}

/* Single Business Page */
.bdp-single-business {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.bdp-business-header {
    margin-bottom: 30px;
}

.bdp-business-title {
    font-size: 2em;
    margin: 0 0 10px;
    color: #333;
}

.bdp-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.bdp-image-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.bdp-image-gallery img:hover {
    transform: scale(1.05);
}

.bdp-business-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.bdp-main-content {
    line-height: 1.6;
}

.bdp-sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.bdp-services {
    margin: 20px 0;
}

.bdp-services h3 {
    margin-bottom: 15px;
}

.bdp-services ul {
    list-style: none;
    padding: 0;
}

.bdp-services li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.bdp-faq {
    margin: 30px 0;
}

.bdp-faq-item {
    margin-bottom: 20px;
}

.bdp-faq-question {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.bdp-faq-answer {
    color: #555;
    line-height: 1.6;
}

/* Pagination */
.bdp-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.bdp-pagination a,
.bdp-pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.bdp-pagination a:hover {
    background: #f8f9fa;
}

.bdp-pagination .current {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bdp-business-details {
        grid-template-columns: 1fr;
    }
    
    .bdp-filters {
        flex-direction: column;
    }
    
    .bdp-filters select {
        width: 100%;
    }
}
