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

.bdp-search-bar {
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bdp-search-bar input[type="text"],
.bdp-search-bar select {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.bdp-search-bar button {
    padding: 12px 24px;
    background: var(--bdp-primary, #2563eb);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s;
}

.bdp-search-bar button:hover {
    background: var(--bdp-secondary, #1d4ed8);
}

.bdp-category-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.bdp-category-filter a {
    padding: 8px 16px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.bdp-category-filter a:hover,
.bdp-category-filter a.active {
    background: #2563eb;
    color: white;
}

.bdp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.bdp-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.bdp-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.bdp-card-logo {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.bdp-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
}

.bdp-card-title a {
    color: inherit;
    text-decoration: none;
}

.bdp-card-title a:hover {
    color: var(--bdp-primary, #2563eb);
}

.bdp-card-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.6;
}

.bdp-card-meta {
    font-size: 13px;
    color: #9ca3af;
}

.bdp-card-meta div {
    margin-bottom: 6px;
}

.bdp-card-meta strong {
    color: #4b5563;
}

.bdp-single {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.bdp-single-header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.bdp-single-logo {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    object-fit: contain;
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
}

.bdp-single-info {
    flex: 1;
}

.bdp-single-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.bdp-single-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bdp-single-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.bdp-single-contact-item strong {
    min-width: 80px;
    color: #6b7280;
}

.bdp-single-contact-item a {
    color: #2563eb;
    text-decoration: none;
}

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

.bdp-single-description {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.bdp-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.bdp-form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111827;
}

.bdp-form-group {
    margin-bottom: 20px;
}

.bdp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.bdp-form-group input[type="text"],
.bdp-form-group input[type="email"],
.bdp-form-group input[type="url"],
.bdp-form-group input[type="tel"],
.bdp-form-group select,
.bdp-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.bdp-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.bdp-form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    cursor: pointer;
}

.bdp-btn-primary {
    background: var(--bdp-primary, #2563eb);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.bdp-btn-primary:hover {
    background: var(--bdp-secondary, #1d4ed8);
}

.bdp-btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.bdp-message {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.bdp-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.bdp-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.bdp-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.bdp-pagination a,
.bdp-pagination span {
    padding: 10px 16px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

.bdp-pagination a:hover {
    background: #2563eb;
    color: white;
}

.bdp-pagination span.current {
    background: #2563eb;
    color: white;
    font-weight: 600;
}

/* Modern Single Business Page Styles */
.bdp-single-modern {
    min-height: 100vh;
    --bdp-primary: #667eea;
    --bdp-secondary: #764ba2;
    --bdp-gradient-from: #667eea;
    --bdp-gradient-to: #764ba2;
    background: linear-gradient(135deg, var(--bdp-gradient-from) 0%, var(--bdp-gradient-to) 100%);
}

/* Tab System */
.bdp-tab-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.bdp-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.bdp-tab-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.bdp-tab-btn.active {
    background: white;
    color: var(--bdp-primary, #667eea);
}

.bdp-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: white;
}

.bdp-tab-content {
    position: relative;
    min-height: 300px;
}

.bdp-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.bdp-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bdp-hero-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bdp-gradient-from, #667eea) 0%, var(--bdp-gradient-to, #764ba2) 100%);
    color: white;
}

.bdp-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.bdp-hero-logo {
    flex-shrink: 0;
}

.bdp-hero-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.bdp-hero-text {
    flex: 1;
    min-width: 300px;
}

.bdp-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.bdp-hero-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bdp-category-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.bdp-main-container {
    max-width: 1200px;
    margin: -40px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 1;
}

.bdp-card-modern {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.bdp-card-modern:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.bdp-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #1f2937;
}

.bdp-contact-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bdp-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s ease;
}

.bdp-contact-item:hover {
    background: #f3f4f6;
    color: #2563eb;
    transform: translateX(4px);
}

.bdp-contact-icon {
    display: flex;
    align-items: center;
    color: var(--bdp-primary, #2563eb);
}

.bdp-contact-text {
    font-weight: 500;
}

.bdp-address p {
    margin: 8px 0;
    color: #6b7280;
    font-size: 15px;
}

.bdp-ai-info {
    border: 2px solid #e0e7ff;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.bdp-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bdp-primary, #2563eb);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bdp-ai-content {
    color: #4b5563;
    line-height: 1.8;
    font-size: 14px;
}

.bdp-main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bdp-card-modern h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #111827;
}

.bdp-content {
    color: #4b5563;
    line-height: 1.9;
    font-size: 16px;
}

.bdp-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 20px 0;
    color: #111827;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.bdp-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    color: #1f2937;
}

.bdp-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 12px 0;
    color: #374151;
}

.bdp-content strong {
    font-weight: 600;
    color: #1f2937;
}

.bdp-content em {
    font-style: italic;
    color: #4b5563;
}

.bdp-content p {
    margin-bottom: 15px;
}

.bdp-content a {
    color: var(--bdp-primary, #2563eb);
    text-decoration: underline;
    transition: color 0.2s;
}

.bdp-content a:hover {
    color: var(--bdp-secondary, #1d4ed8);
}

.bdp-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bdp-news-item {
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.bdp-news-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.bdp-news-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.bdp-news-item h3 a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s;
}

.bdp-news-item h3 a:hover {
    color: #2563eb;
}

.bdp-news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.bdp-news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
}

.bdp-news-date svg {
    color: #9ca3af;
}

.bdp-news-excerpt {
    color: #6b7280;
    margin-bottom: 12px;
    line-height: 1.7;
}

.bdp-read-more {
    display: inline-block;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.bdp-read-more:hover {
    color: #1d4ed8;
    transform: translateX(4px);
}

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

.bdp-section-subtitle {
    color: #6b7280;
    font-size: 15px;
    margin: 8px 0 0 0;
}

.bdp-business-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.bdp-business-link:hover {
    color: #1d4ed8;
}

.bdp-news-header {
    margin-bottom: 12px;
}

.bdp-news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.bdp-news-source {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
}

.bdp-news-source svg {
    color: #9ca3af;
}

.bdp-news-source a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.bdp-news-source a:hover {
    color: #1d4ed8;
}

.bdp-news-actions {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.bdp-view-business {
    display: inline-block;
    color: #6b7280;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.bdp-view-business:hover {
    color: #2563eb;
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .bdp-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .bdp-hero-title {
        font-size: 36px;
    }
}

/* Social Media Links */
.bdp-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bdp-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s ease;
}

.bdp-social-link:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.bdp-social-link svg {
    color: var(--bdp-primary, #2563eb);
    flex-shrink: 0;
}

.bdp-social-link span {
    font-weight: 500;
}

/* Opening Hours */
.bdp-opening-hours {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bdp-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.bdp-hours-item:last-child {
    border-bottom: none;
}

.bdp-hours-day {
    font-weight: 600;
    color: #374151;
}

.bdp-hours-time {
    color: #6b7280;
    font-size: 14px;
}

.bdp-closed {
    color: #dc2626;
    font-weight: 600;
}

/* Share Buttons */
.bdp-share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bdp-share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bdp-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bdp-share-facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.bdp-share-facebook:hover {
    background: #1877f2;
    color: white;
}

.bdp-share-twitter {
    border-color: #1da1f2;
    color: #1da1f2;
}

.bdp-share-twitter:hover {
    background: #1da1f2;
    color: white;
}

.bdp-share-linkedin {
    border-color: #0077b5;
    color: #0077b5;
}

.bdp-share-linkedin:hover {
    background: #0077b5;
    color: white;
}

.bdp-share-whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.bdp-share-whatsapp:hover {
    background: #25d366;
    color: white;
}

/* Gallery Display */
.bdp-gallery-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.bdp-gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    background: #f9fafb;
}

.bdp-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.bdp-gallery-image a {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .bdp-grid {
        grid-template-columns: 1fr;
    }

    .bdp-single-header {
        flex-direction: column;
    }

    .bdp-single-logo {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .bdp-search-bar {
        flex-direction: column;
    }

    .bdp-search-bar input,
    .bdp-search-bar select,
    .bdp-search-bar button {
        width: 100%;
    }

    .bdp-hero-title {
        font-size: 28px;
    }

    .bdp-hero-logo img {
        width: 120px;
        height: 120px;
    }

    .bdp-card-modern {
        padding: 20px;
    }

    .bdp-share-buttons {
        flex-direction: column;
    }

    .bdp-share-btn {
        justify-content: center;
    }

    .bdp-gallery-display {
        grid-template-columns: repeat(2, 1fr);
    }

    .bdp-tab-btn {
        font-size: 13px;
        padding: 10px 15px;
    }

    .bdp-tab-navigation {
        flex-direction: column;
        gap: 5px;
    }
}
