/* Fix for header-area positioning on detail page */

/* Keep header absolute but ensure it's at the very top */
.header-area {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
}

/* Remove any margin/padding that might push the header down */
body {
    margin: 0;
    padding: 0;
}

/* Professional Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: 15px;
    padding-top: 0;
    position: relative;
}

.breadcrumb-nav .breadcrumb {
    background: #f8f9fa;
    padding: 12px 20px;
    margin: 0;
    font-size: 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb-nav .breadcrumb-item {
    color: #6c757d;
    display: flex;
    align-items: center;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #a0a0a0;
    border-right: 2px solid #a0a0a0;
    transform: rotate(45deg);
    margin: 0 12px;
    flex-shrink: 0;
}

.breadcrumb-nav .breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 2px 0;
}

.breadcrumb-nav .breadcrumb-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #2A64FA;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: #2A64FA;
}

.breadcrumb-nav .breadcrumb-item a:hover::after {
    width: 100%;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: #2A64FA;
    font-weight: 600;
}

/* Home icon for first breadcrumb */
.breadcrumb-nav .breadcrumb-item:first-child a::before {
    content: "🏠";
    margin-right: 6px;
    font-size: 16px;
    vertical-align: middle;
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding-top: 20px;
        margin-bottom: 20px;
    }
    
    .breadcrumb-nav .breadcrumb {
        font-size: 13px;
        padding: 10px 16px;
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 8px;
    }
    
    /* Hide home emoji on mobile */
    .breadcrumb-nav .breadcrumb-item:first-child a::before {
        display: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .breadcrumb-nav .breadcrumb {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .breadcrumb-nav .breadcrumb-item,
    .breadcrumb-nav .breadcrumb-item a {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .breadcrumb-nav .breadcrumb-item.active {
        color: #5882fc;
    }
}

/* Hero area should start from top */
.hero-two-area {
    padding-top: 0;
    margin-top: 0;
}

/* Overview area needs top padding to account for hero height */
.overview-area {
    position: relative;
    z-index: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .breadcrumb-section {
        top: 80px;
        padding: 10px 15px;
    }
    
    .breadcrumb-section .breadcrumb {
        font-size: 14px;
        padding: 6px 15px;
    }
}