{% load static %} 

:root {
    --primary-color: #fd0202;
    --primary-hover: #E50101;
    --secondary-color: #DAA520;
    --text-color: #000000;
    --light-text: #ffffff;
    --text: #626262;
    --accent: #000;
    --light: #999999;
    --dark: #202020;
    --border: #ebebeb;
    --background: #ffffff;
    --body-background: #DAA520;
}

body {
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--body-background);
    background-image: var(--background-texture);
    background-blend-mode: multiply;
}

.container-main {
    /* background-color: var(--background); */
    background-color: #ffffff1a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.bg--yellow{
    background-color: var(--secondary-color);
}
.bg--white{
    background-color: #ffffff9c !important;
}
.txt-color--text{
    color: var(--text);
}
.txt-color--accent{
    color: var(--accent);
}
.txt-color--dark{
    color: var(--dark);
}
.txt-color--light{
    color: var(--light-text);
}
.card{
    background: unset;
}
.txt-H-color-primary{
    color: var(--primary-color);
}

/*  to be used for titles/h tags that have black color text */
.section-title { 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    /* left: 0; */
    /* width: -webkit-fill-available; */
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}
/* End  */

/* button css */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 700;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}


        
.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: var(--text-color);
}
/* end */
/* Toast Notifications */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* transform: translateX(-50%) translateY(100px); */
    background: var(--primary-hover);
    color: var(--light-text);
    padding: 1rem 2rem;
    border-radius: 5px;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1100;
    /* display: flex;
    align-items: center; */
    gap: 1rem;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-close {
    position: absolute;
    right: 2px;
    top: 0;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
}


.scroll-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: var(--background);
    padding: 1px 6px;
    border-radius: 50px;
    cursor: pointer;
    display: none;
    z-index: 4;
}

.scroll-button:hover {
    background-color: var(--body-background);
}

.scroll-button:hover a {
    color: var(--text-color);
}

.scroll-button a {
    text-decoration: none;
    color: var(--text-color);
}

.scroll-button a i {
    font-size: 20px !important;
}

#scroll-to-top.show-button {
    display: block;
}

/* ==== footer ========== */
.footer {
    background-color: var(--text-color);
    color: var(--light-text);
    padding: 15px 0;
    margin-top: 40px;
    text-align: center;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
}
/* === end =========== */

/* ======== Details Pages Breadcrumbs ========== */
.hero-breadcrumbs nav{
    margin-left: 20px;
}
.hero-breadcrumbs li.first{
    font-weight: 800;
}
.breadcrumb-item.active{
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Optional: Restrict max width based on screen size */
@media (max-width: 768px) {
    .breadcrumb-item.active{
        max-width: 200px;
    }
}
@media (max-width: 576px) {
    .breadcrumb-item.active{
        max-width: 150px;
    }
}
@media (max-width: 400px) {
    .breadcrumb-item.active{
        max-width: 100px;
    }
}
/* ====== End =================== */

@media (max-width: 992px) {
    
    .navbar-collapse {
        background-color: white;
        padding: 15px;
        border-radius: 5px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

} 