/* 🔗 INTERNAL LINKING: Breadcrumb Navigation Component */

.atlas-breadcrumb {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.atlas-breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.atlas-breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 5px;
}

.atlas-breadcrumb-item {
    display: flex;
    align-items: center;
    color: #6c757d;
    transition: color 0.3s ease;
}

.atlas-breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: #ced4da;
    font-weight: bold;
    font-size: 16px;
}

.atlas-breadcrumb-item a {
    color: #cc0000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 8px;
    border-radius: 5px;
}

.atlas-breadcrumb-item a:hover {
    color: #ff0000;
    background: rgba(204, 0, 0, 0.1);
    text-decoration: none;
}

.atlas-breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
}

.atlas-breadcrumb-item.active span {
    padding: 5px 8px;
    background: rgba(204, 0, 0, 0.1);
    border-radius: 5px;
    color: #cc0000;
}

/* Breadcrumb Icons */
.atlas-breadcrumb-item i {
    margin-right: 5px;
    font-size: 12px;
}

.atlas-breadcrumb-home {
    background: rgba(204, 0, 0, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    color: #cc0000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.atlas-breadcrumb-home:hover {
    background: rgba(204, 0, 0, 0.2);
    transform: translateY(-1px);
    color: #cc0000;
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .atlas-breadcrumb {
        padding: 10px 0;
    }
    
    .atlas-breadcrumb .container {
        padding: 0 15px;
    }
    
    .atlas-breadcrumb-list {
        font-size: 12px;
    }
    
    .atlas-breadcrumb-item:not(:last-child)::after {
        margin: 0 5px;
        font-size: 14px;
    }
    
    .atlas-breadcrumb-home {
        padding: 6px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .atlas-breadcrumb-list {
        font-size: 11px;
    }
    
    .atlas-breadcrumb-item a,
    .atlas-breadcrumb-item span {
        padding: 3px 6px;
    }
    
    .atlas-breadcrumb-home {
        padding: 5px 8px;
        font-size: 11px;
    }
}

/* Animated entrance */
@keyframes breadcrumbSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.atlas-breadcrumb {
    animation: breadcrumbSlideIn 0.3s ease-out;
}

/* Schema.org structured data helper classes */
/* SEO structured data support - handled in HTML attributes */

/* Accessibility improvements */
.atlas-breadcrumb-item a {
    outline: none;
}

.atlas-breadcrumb-item a:focus {
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.3);
    outline: 2px solid transparent;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .atlas-breadcrumb {
        background: linear-gradient(135deg, #2c3e50, #34495e);
        border-bottom-color: #4a5568;
    }
    
    .atlas-breadcrumb-item {
        color: #a0aec0;
    }
    
    .atlas-breadcrumb-item:not(:last-child)::after {
        color: #718096;
    }
    
    .atlas-breadcrumb-item a {
        color: #e53e3e;
    }
    
    .atlas-breadcrumb-item a:hover {
        color: #fc8181;
        background: rgba(229, 62, 62, 0.2);
    }
    
    .atlas-breadcrumb-item.active {
        color: #e2e8f0;
    }
    
    .atlas-breadcrumb-item.active span {
        background: rgba(229, 62, 62, 0.2);
        color: #fc8181;
    }
    
    .atlas-breadcrumb-home {
        background: rgba(229, 62, 62, 0.2);
        color: #fc8181;
    }
    
    .atlas-breadcrumb-home:hover {
        background: rgba(229, 62, 62, 0.3);
        color: #fc8181;
    }
}
