﻿@import '../_variables.css?v3';
@import '../_reuse-custom.css?v4';


/* ==================================== Bootstrap Override ==================================== */
.dropdown-item.active, .dropdown-item:active {
    text-decoration: underline;
    text-decoration-thickness: 4px;
    color: var(--primary-color);
    background: none;
}

.btn.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 7px 27px;
    border-radius: 20px;
    font-size: 1.1rem;
}

    .btn.btn-primary:hover {
        background-color: var(--primary-color-dark);
        border-color: var(--primary-color-dark);
    }

    .btn.btn-primary:focus {
        box-shadow: 0 0 0 0.25rem #d9b7ba;
    }

/**/
.btn.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 7px 27px;
    border-radius: 20px;
    border-width: 2px;
    font-size: 1.1rem;
}

    .btn.btn-outline-primary:hover {
        background-color: var(--primary-color-dark);
        color: white;
    }

    .btn.btn-outline-primary:focus {
        box-shadow: 0 0 0 0.25rem #d9b7ba;
    }
/**/

.btn.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 7px 27px;
    border-radius: 20px;
    font-size: 1.1rem;
}

    .btn.btn-secondary:hover {
        background-color: var(--secondary-color-dark);
    }

    .btn.btn-secondary:focus {
        box-shadow: 0 0 0 0.25rem #b4caff;
    }

.btn.btn-outline-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    padding: 7px 27px;
    border-radius: 20px;
    border-width: 2px;
    font-size: 1.1rem;
}

    .btn.btn-outline-secondary:hover {
        background-color: var(--secondary-color-dark);
        color: white;
    }

    .btn.btn-outline-secondary:focus {
        box-shadow: 0 0 0 0.25rem #b4caff;
    }

.btn.btn-transparent {
    border-color: white;
    color: white;
    padding: 7px 27px;
    border-radius: 20px;
    border-width: 2px;
    font-size: 1.1rem;
}

    .btn.btn-transparent:hover {
        background-color: #ffffff3b;
    }

    .btn.btn-transparent:focus {
        box-shadow: 0 0 0 0.25rem #ffffff57;
    }

.btn.btn-link {
    color: var(--secondary-color);
    text-decoration: none;
}

    .btn.btn-link:hover {
        color: var(--secondary-color-dark);
    }

.btn.btn-link-red {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
}

    .btn.btn-link-red:hover {
        color: var(--primary-color-dark);
    }

.list-no-bullet {
    list-style: none; /* removes default bullets */
    padding-left: 0; /* removes default indentation */
    font-size: 0.85rem;
    line-height: 0;
}

    .list-no-bullet li {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
    }

        .list-no-bullet li i {
            margin-right: 0.5rem; /* space between icon and text */
        }

.validation-message {
    color: red;
    font-size: 0.875rem; /* slightly smaller */
    margin-top: 0; /* remove default spacing */
    padding: 0; /* optional */
}
/* ==================================== END: Bootstrap Override ==================================== */

.modal-header-custom {
    background-color: var(--red-custom);
    color: white;
    padding: 0.25rem 1rem; /* adjust padding as needed */
    font-weight: 500; /* optional: make the title stand out */
    border-bottom: 1px solid rgba(0,0,0,0.125); /* optional: standard modal border */
}


/* ==================================== General ==================================== */
.mt-n1 {
    margin-top: -1.5rem !important;
}

.img-custom {
    border-radius: 25px;
    box-shadow: 0px 6px 15px 2px #0000001a;
}

.card.card-custom {
    border-style: none;
    border-radius: 20px;
    box-shadow: 0px 6px 15px 2px #00000017;
}

.card-title-custom {
    font-size: 0.9rem !important; /* override Bootstrap */
    color: var(--secondary-color) !important; /* blue */
    margin-bottom: 0.5rem;
    display: flex; /* for icon + text alignment */
    align-items: center;
}

    .card-title-custom i {
        margin-right: 0.5rem; /* space between icon and text */
        color: inherit; /* use same blue as text */
    }

    .card-title-custom img {
        margin-right: 0.5rem; /* space between logo and text */
    }

h6.card-title.header-custom{
    font-size: 0.9rem; /* smaller than default h6 */
}

.bg-white-custom {
    background-color: var(--white-custom);
}

.bg-white {
    background-color: white;
}


.bg-gradient-custom {
    background-image: radial-gradient(circle, #ffffff, #cacada, #9499b6, #5a6c94, #084373);
}

.bg-transparent-custom {
    background-color: rgba(255,255,255,0.9);
}

.bg-translucid-custom {
    /*background-color: rgba(0,0,0,0.55);*/
    background: rgba(0, 0, 0, 0.6); /* translucent black overlay */
    color: #fff; /* white text */
    padding: 0.5rem 1rem; /* space around text */
    border-radius: 1rem; /* rounded bubble shape */
    display: inline-block; /* shrink-wrap text */
    backdrop-filter: blur(40px); /* subtle frosted effect (optional) */
}

.bg-lightgray {
    background-color: lightgray !important;
}

/* ==================================== END: General ==================================== */

/* ========================= Layout: Side Menu ==========================*/
.navbar-nav-title {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.btn.btn-sidemenu {
    color: var(--white-custom);
    padding: 0 10px 0 20px;
    border-radius: 25px;
    font-size: 1.4rem;
    background-color: var(--red-custom);
    box-shadow: 1px 1px 5px 2px #0000007d;
    transform: translate(-30px, 20%);
    transition: all .30s ease;
    position: absolute;
}

    .btn.btn-sidemenu:hover {
        background-color: var(--primary-color-dark);
        color: white;
    }

    /* This relocates the vertical menu button activator only when the content is active. */
    .btn.btn-sidemenu.active-content {
        transform: translate(160px, 50%);
        padding: 0 10px;
        font-size: 1rem;
    }


.side-navbar {
    width: 190px;
    height: 100vh;
    position: fixed;
    margin-left: -300px;
    padding-top: 6.5rem;
    padding-bottom: 3rem;
    background-color: var(--dark-blue-custom);
    transition: 0.4s;
    box-shadow: 3px 0 8px 3px #0000005e;
    overflow-y: auto;
    z-index: 2;
}

/* ==================================== Layout.cshtml ===================================== */
.fixed-top-custom {
    box-shadow: 0px 3px 10px 4px #00000021;
    transition: background .7s ease;
}

.navbar-slim {
    padding-top: 0;
    padding-bottom: 0;
    transition: all .3s ease;
}

#section_header div.container-fluid {
    background-color: white;
}

#section_header nav.navbar button.navbar-toggler:focus, #section_header nav.navbar button.navbar-toggler:focus-visible {
    box-shadow: 0 0 0 0;
}

#section_header .navbar-nav .nav-link {
    color: var(--black-custom);
}

#section_header .navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 4px;
}

#section_footer {
    color: var(--black-custom);
}
/* ==================================== END: Layout.cshtml ===================================== */



/* ==================================== Index.cshtml ===================================== */
.header-custom {
    color: var(--primary-color-dark);
    font-weight: bold;
}

.header-custom-white {
    color: white;
}

.subheader-custom-white {
    color: var(--white-custom);
}

#section_divisions .card.card-custom a.btn {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

#section_hero.index .carousel-transbox, #section_hero.logistics .carousel-transbox, #section_hero.distribution .carousel-transbox, #section_hero.storage .carousel-transbox, #section_hero.employment .carousel-transbox, #section_hero.login .carousel-transbox, #section_hero.opportunities .carousel-transbox, #section_hero.terms .carousel-transbox, #section_hero.error .carousel-transbox, #section_hero.news .carousel-transbox {
    filter: brightness(0.8);
}

#carousel-rest .carousel-transbox {
    opacity: 0.4;
}

#carousel-rest .carousel-item {
    background-color: var(--secondary-color);
}

#section_testimonials div.container-fluid > div.row, #section_testimonials div.bg-left, #section_top_features div.container-fluid > div.row, #section_top_features div.bg-left {
    background-color: var(--red-custom);
}

#section_testimonials div.bg-right i.bi, #section_top_features div.bg-right i.bi {
    color: var(--primary-color);
    font-size: 2.5rem;
}

#section_testimonials div.bg-right img {
    background-color: white;
    border-radius: 50%;
    width: 50%;
    border: 8px solid var(--skyblue-custom);
    transform: translate(50%, -36%);
}

#section_news {
    background-color: var(--red-custom);
}

    #section_news img.img-fluid {
        transform: translate(0, -13%);
    }

    #section_news .card-custom a {
        position: absolute;
        bottom: 1rem;
    }


    #section_news .card-custom i.bi.red {
        font-size: 1.6rem;
        color: var(--primary-color-dark);
    }
/* ==================================== END: Index.cshtml ===================================== */
/* ======================================= Logistics.cshtml =================================== */
#section_breadcrumb nav ol li.active {
    color: var(--primary-color);
    font-weight: bold;
}

#section_breadcrumb nav ol li a {
    color: var(--secondary-color);
}

#section_cta {
    background-color: var(--white-custom);
}

#section_information i.bi, #section_information_1 i.bi, #section_information_2 i.bi {
    color: var(--red-custom);
    font-size: 1.5rem;
}

#section_information h5, #section_information_1 h5, #section_information_2 h5 {
    color: var(--red-custom);
}
/* ======================================= END: Logistics.cshtml =================================== */


/* ============================== News.cshtml =============================== */
#section_information_news .img-custom {
    box-shadow: none;
    margin-bottom: 1rem;
    border-radius: 12px;
}

#section_information_news .card-custom i.bi.red {
    font-size: 1.6rem;
    color: var(--primary-color-dark);
}

#section_information_news .card-custom a {
    position: absolute;
    bottom: 1rem;
}

#section_information_news h5.card-title {
    color: var(--primary-color-dark);
}

#section_information_news p.date {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

#section_information_news ul.pagination a.page-link {
    color: var(--primary-color-dark);
}

#section_information_news ul.pagination li.page-item.disabled a.page-link {
    color: #6c757d;
}

#section_information_news ul.pagination li.page-item.active a.page-link {
    color: white;
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
}

#section_information_news .card.card-custom {
    border-radius: 12px;
}
/* ============================== END: News.cshtml =============================== */

/* ============================== Page Layout =============================== */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* ensures footer sticks to bottom */
}

/* Content grows to fill space between header and footer */
.content {
    flex: 1;
    padding-top: 0px; /* height of header */
}

/* Fixed header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1030;
    height: 80px; /* set a consistent height */
}

/* Footer at bottom */
.site-footer {
    flex-shrink: 0;
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
}

/* ============================== END: Page Layout =============================== */

/* ============================== Login.cshtml =============================== */
.header-custom-red {
    color: var(--red-custom);
}

.header-custom-blue {
    color: var(--secondary-color);
}

#section_security .sub-container-comp {
    box-shadow: 0px 6px 15px 2px #00000057;
    background-image: url('/assets/images/internals/security-signin.webp');
    background-position: center;
    /*background-repeat: no-repeat;*/
    background-size: cover;
}

    #section_security .sub-container-comp.signin {
        background-image: url('/assets/images/internals/security-signin.webp');
    }

    #section_security .sub-container-comp.signup {
        background-image: url('/assets/images/internals/security-signup.webp');
    }

    #section_security .sub-container-comp .div-login {
        border: solid;
        border-color: white;
        border-width: 0.15rem;
        border-radius: 25px;
    }

#section_security .sub-container-form {
    box-shadow: 0px 6px 15px 2px #00000057;
}

#section_security a.security-link.signin {
    color: var(--secondary-color);
}

    #section_security a.security-link.signin:hover {
        color: var(--secondary-color-dark);
    }

#section_security a.security-link.signup {
    color: var(--white-custom);
}

    #section_security a.security-link.signup:hover {
        color: white;
    }
/* ============================== END: Login.cshtml =============================== */

/* =========================== EOM ============================= */
.container.container-certificate {
    background-color: white;
    box-shadow: 0px 6px 15px 2px #00000057;
}

.subcontainer-certificate {
    border-color: goldenrod;
    border-width: 0.6rem;
    border-style: double;
}
/* =========================== END: EOM ============================= */
