/**
 * Breadcrumb and design fixes for ASEAN-Connect platform
 * This CSS file addresses alignment issues with breadcrumbs and reduces color variety
 */

/* Fix breadcrumb alignment and styling */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: #0078d4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #005a9e;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #666;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #999;
    padding: 0 0.5rem;
}

/* Consistent page header styling */
.page-header {
    background-color: #f5f9ff;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header-content {
    padding-left: 1rem;
    border-left: 4px solid #0078d4;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 700px;
    margin-bottom: 1rem;
}

/* Reduce color variety */
.business-category, .category-tag {
    background-color: #f0f7ff;
    color: #0078d4;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.btn-primary, .btn-action {
    background-color: #0078d4;
    border-color: #0078d4;
}

.btn-primary:hover, .btn-action:hover {
    background-color: #005a9e;
    border-color: #005a9e;
}

.btn-outline-primary {
    color: #0078d4;
    border-color: #0078d4;
}

.btn-outline-primary:hover {
    background-color: #0078d4;
    color: #fff;
}

/* Consistent card styling */
.business-card, .category-card, .exhibition-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: #fff;
    border: none;
}

.business-card:hover, .category-card:hover, .exhibition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Business detail page specific fixes */
.business-detail-header {
    padding: 2rem 0 1rem;
}

.business-detail-header .breadcrumb {
    margin-bottom: 1.5rem;
}

.business-detail-header .business-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Category detail page specific fixes */
.category-icon {
    color: rgba(0, 120, 212, 0.2);
}