/*
Breadcrumb Component Styles - RODA
Replaces Sanja's CSS for breadcrumb functionality
*/

/* Breadcrumb Page Title Section */
.breadcrumb-page-title {
    background: linear-gradient(135deg, #2c3e50, #34495e, #4a5568);
    padding: 60px 0 40px 0;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

/* Animated background particles */
.breadcrumb-page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: breadcrumbParticleFloat 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes breadcrumbParticleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

.breadcrumb-page-title .container {
    position: relative;
    z-index: 2;
}

/* Page Title Content */
.breadcrumb-page-title h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.breadcrumb-page-title h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e53e3e, #c53030);
    border-radius: 2px;
}

/* Description text */
.breadcrumb-page-title .text-muted {
    color: #a0aec0 !important;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Breadcrumb Navigation */
.breadcrumb-page-title .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-page-title .breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-page-title .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #a0aec0;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 8px;
    transition: color 0.3s ease;
}

.breadcrumb-page-title .breadcrumb-item.active {
    color: #a0aec0;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Breadcrumb Links */
.breadcrumb-link {
    color: #cbd5e0 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.breadcrumb-text {
    position: relative;
    display: inline-block;
    padding: 4px 0;
}

.breadcrumb-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e53e3e, #c53030);
    transition: width 0.3s ease;
    border-radius: 1px;
}

/* Hover Effects */
.breadcrumb-link:hover {
    color: #e53e3e !important;
    text-shadow: 0 0 8px rgba(229, 62, 62, 0.3);
}

.breadcrumb-link:hover .breadcrumb-underline {
    width: 100%;
}

.breadcrumb-link:hover + .breadcrumb-item::before {
    color: #e53e3e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumb-page-title {
        padding: 40px 0 30px 0;
        margin-top: 80px;
    }
    
    .breadcrumb-page-title h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .breadcrumb-page-title .text-muted {
        font-size: 1rem;
    }
    
    .breadcrumb-page-title .breadcrumb {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .breadcrumb-page-title .breadcrumb-item + .breadcrumb-item::before {
        font-size: 1rem;
        margin-right: 4px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-page-title {
        padding: 30px 0 20px 0;
        margin-top: 60px;
    }
    
    .breadcrumb-page-title h1 {
        font-size: 1.75rem;
        margin-bottom: 8px;
    }
    
    .breadcrumb-page-title h1::after {
        width: 40px;
        height: 2px;
    }
    
    .breadcrumb-link {
        font-size: 0.9rem;
    }
    
    .breadcrumb-page-title .breadcrumb-item.active {
        font-size: 0.9rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .breadcrumb-page-title {
        background: linear-gradient(135deg, #1a202c, #2d3748, #4a5568);
    }
    
    .breadcrumb-page-title h1 {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
}

/* Animation for page load */
.breadcrumb-page-title {
    animation: breadcrumbFadeIn 0.8s ease-out;
}

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

/* Focus states for accessibility */
.breadcrumb-link:focus {
    outline: 2px solid #e53e3e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .breadcrumb-page-title {
        background: #000;
    }
    
    .breadcrumb-page-title h1 {
        color: #fff;
        text-shadow: none;
    }
    
    .breadcrumb-link {
        color: #fff !important;
    }
    
    .breadcrumb-link:hover {
        color: #ff6b6b !important;
    }
}
