/* Breadcrumb styling for proper placement below navbar */
.container.mt-5.pt-4.mb-0 {
    background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.95)); /* White gradient */
    border-bottom: 1px solid rgba(0,0,0,0.03); /* Lighter border */
    padding-bottom: 0.5rem;
    padding-top: 0.5rem !important; /* Reduced top padding */
    margin-top: 67px !important; /* Reduced to bring it closer to navbar */
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02); /* Very subtle shadow */
}

/* Target all instances regardless of class order */
[class*="container"][class*="mt-5"][class*="pt-4"][class*="mb-0"] {
    margin-top: 67px !important;
}

/* Additional styles to ensure breadcrumb appears below navbar */
body {
    padding-top: 76px !important; /* Ensure consistent navbar offset */
}

.breadcrumb {
    padding: 0.3rem 0; /* Reduced padding */
    margin-bottom: 0;
    background-color: transparent;
    font-size: 0.85rem; /* Slightly smaller text */
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #333333; /* Darker text for better contrast on white */
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500; /* Slightly bolder */
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    position: relative;
}

.breadcrumb-item a:hover {
    color: #ffc800;
    text-decoration: none; /* Remove underline */
    background-color: rgba(255, 200, 0, 0.05); /* Very subtle yellow background on hover */
}

/* Remove the yellow accent under Home link by setting transform to 0 */
.breadcrumb-item:first-child a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0.4rem;
    width: calc(100% - 0.8rem);
    height: 2px;
    background-color: rgba(255, 200, 0, 0.5); /* Brand color accent */
    transform: scaleX(0); /* Hide it by default */
    transform-origin: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* But show it on hover */
.breadcrumb-item:first-child a:hover::after {
    background-color: rgba(255, 200, 0, 0.8); /* Stronger color on hover */
    transform: scaleX(1); /* Show on hover */
}

/* Add subtle animation for other breadcrumb items */
.breadcrumb-item:not(:first-child) a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0.4rem;
    width: calc(100% - 0.8rem);
    height: 2px;
    background-color: rgba(255, 200, 0, 0.5); /* Brand color accent */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.breadcrumb-item:not(:first-child) a:hover::after {
    transform: scaleX(1);
}

.breadcrumb-item.active {
    color: #555555; /* Darker than default for better readability */
    font-weight: 600; /* Make current page bolder */
    padding: 0.2rem 0.4rem;
    position: relative;
}

/* Add yellow accent under active page */
.breadcrumb-item.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0.4rem;
    width: calc(100% - 0.8rem);
    height: 2px;
    background-color: rgba(255, 200, 0, 0.5); /* Brand color accent */
    animation: fadeInYellowAccent 0.5s ease forwards;
}

@keyframes fadeInYellowAccent {
    from {
        opacity: 0;
        transform: scaleX(0.7);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Custom breadcrumb separator styling */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #cccccc; /* Lighter separator */
    font-weight: 300;
    padding: 0 0.3rem;
}

/* Remove the previous breadcrumb accent */
.breadcrumb::after {
    display: none;
}

/* Add a subtle brand element to the breadcrumb container */
.container.mt-5.pt-4.mb-0::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: rgba(255, 200, 0, 0.3);
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

/* Adjust masthead padding to flow better with the breadcrumb */
header.masthead {
    padding-top: 2rem !important;
    margin-top: -1px !important;
    position: relative;
} 