﻿
/* Main content */
.main-content {
    flex: 1; /* take remaining space */
    margin-left: 0; /* will be shifted when sidebar opens */
    padding: 20px;
    transition: margin-left 0.3s;
    overflow-y: auto;
}

/* Shift content when sidebar is open */
.container.sidebar-open .main-content {
    margin-left: 200px; /* same as sidebar width */
}

.layout-container {
    display: flex;
    width: 100%;
}

.etrac-body-wrapper {
    /*background-color: lightgray;      display: flex;
    background: linear-gradient( rgba(255,255,255,0.6) 0%, rgba(255, 255, 255, 0.6) 100% );*/
    /*height: 60vh;*/
    width: 100%;
    overflow-y: auto;
    scroll-behavior: auto;
    scrollbar-width: none;
    margin: 0px 100px 0px 100px
    /*align-items: center;*/
}

.etrac-header {
    /*background-color: lightgray;*/
    width: 100%;
    /*padding: 15px 0 0 0;*/
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-logo {
}

    .header-logo img {
        width: 180px; /* adjust for perfect sizing */
        height: auto;
        margin-left: 20px;
    }

.header-bar {
    margin-left: 40px;
    flex-grow: 1;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 2px;
    letter-spacing: 1px;
}

/* BASE HEADER */
.alignment-bar {
    display: flex;
    align-items: center;
    height: 45px;
    background-color: #8c0019;
    padding: 0 15px;
}

    /* AUTHENTICATED USER */
    .alignment-bar.auth {
        justify-content: space-between; /* menu left, user right */
    }

    /* GUEST USER */
    .alignment-bar.guest {
        justify-content: center; /* center login/register */
    }

/* LEFT NAV MENU */
.nav-menu {
    display: flex;
    font-size: medium;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* RIGHT LOGIN SECTION */
.logout-section {
    display: flex;
    align-items: center;
}

.nav-item > a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.nav-item:hover > a {
    color: black;
}

.button-container {
    background-color: #a70e2d; /* Deep red */
    font-family: 'Georgia', serif;
    font-size: 22px;
    padding: 10px 30px;
    border: 5px solid #e5e1dc; /* Light border */
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* =========================
   DROPDOWN (Search)
========================= */

.nav_dropdown {
    position: relative;
}

/* dropdown panel */
.nav_dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #8c0019;
    padding: 8px 0;
    margin: 0;
    display: none;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
}

/* show dropdown on hover */
.nav_dropdown:hover > .nav_dropdown-menu {
    display: block;
}

/* each dropdown row */
.nav_dropdown-menu > li {
    position: relative; /* important for flyouts */
}

/* dropdown links */
.nav_dropdown-menu li a {
    color: white;
    padding: 10px 15px;
    display: block;
    text-align: left;
    white-space: nowrap;
    text-decoration: none;
}

    .nav_dropdown-menu li a:hover {
        background: #f1f1f1;
        color: #333;
    }

/* =========================
   SUBMENU (TAP Applications flyout)
========================= */

.nav-submenu {
    position: relative; /* anchor for submenu-right */
}

    /* optional indicator styling if you want */
    .nav-submenu > a {
        display: block;
    }

    /* flyout panel */
    .nav-submenu > .submenu-right {
        list-style: none;
        position: absolute;
        top: 0; /* align with the hovered row */
        left: 100%; /* open to the right */
        margin: 0;
        padding: 8px 0;
        display: none;
        min-width: 200px;
        background: #8c0019;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        z-index: 2000;
    }

        /* show flyout when hovering parent row or the flyout itself */
        .nav-submenu:hover > .submenu-right,
        .nav-submenu > .submenu-right:hover {
            display: block;
        }

/* flyout links */
.submenu-right li a {
    color: white;
    padding: 10px 15px;
    display: block;
    white-space: nowrap;
    text-decoration: none;
}

    .submenu-right li a:hover {
        background: #f1f1f1;
        color: #333;
    }


/* USER ICON */
.logout-icon {
    height: 28px;
    cursor: pointer;
}

/* HOVER MAIN MENU */
.nav-item:hover > a {
    color: black;
}

.submenu-right {
    position: absolute;
    top: 60%;
    left: 100%; /* 👉 pushes it to right side */
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 200px;
    background: #8c0019;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
}

    .submenu-right:hover {
        display: block;
    }

    .submenu-right .li:hover {
        background-color: #8c0019;
        color: #fff;
    }

.nav-submenu:hover .submenu-right {
    display: block;
}

.etrac-main-title {
    text-align: center;
    font-size: 120px;
    font-weight: 700;
    color: #8c0019;
    width: 25%;
    margin: 0px auto 10px auto;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.etrac-main-title::after {
    content: "";
    display: block;
    height: 4px;
    background-color: #8c0019;
    margin: 10px auto 0;
}

.etrac-subtitle {
    font-size: 26px;
    font-weight: 600;
    color: #5c4a37;
    margin-top: 25px;
}

.etrac-description {
    padding: 10px;
    margin: auto;
    max-width: 70%;
    color: #727272;
    font-weight: bolder;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

    .etrac-description a {
        color: #8c0019;
        font-weight: 600;
        text-decoration: underline;
    }

.etrac-buttons {
    margin-top: 25px;
    display: inline-flex;
    gap: 40px;
}

.etrac-btn {
    background-color: #8c0019;
    color: white;
    padding: 12px 50px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    border: 4px solid #b0122b;
    transition: 0.2s;
}

    .etrac-btn:hover {
        background-color: #b0122b;
        border-color: #8c0019;
        color: #ffff;
    }

.inline-link {
    color: #8c0019;
    text-decoration: underline;
    font-weight: 500;
}

    .inline-link:hover,
    .inline-link:focus {
        text-decoration-thickness: 2px;
        outline: none;
    }
/* Section container */
.landing-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 5px;
    align-items: stretch;
}

.feature-box {
    width: 20%;
    background: white;
    padding: inherit;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background-color: #B51233;
    border-radius: 50%;
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    margin: 0 auto;
}

    .feature-icon img {
        width: 100px;
        height: 100px;
    }

/* Divider line under icon */
.feature-divider {
    border-top: 1px solid #333;
}

/* Title link underline */
.feature-text h3 a {
    text-decoration: underline;
    color: #5d554a;
}

.feature-text p {
    /*font-size: 18px;
    line-height: 1.6;
    color: #50463f;*/
    /*padding: 0px 20px;*/
    color: #000000;
}

.btn-learn {
    background-color: #9E0B2F;
    color: white;
    display: inline-block;
    padding: 10px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

    .btn-learn:hover {
        background-color: #7c0926;
    }

.info-section {
    width: 100%;
    text-align: center;
    margin-top: 10%;
}

.info-title {
    background-color: #e1dfdc;
    padding: 12px;
    font-size: 20px;
    font-weight: bold;
    color: #6d655d;
    border-top: 2px solid #d3d0cd;
    border-bottom: 2px solid #d3d0cd;
    letter-spacing: 1px;
}

.icon-row {
    color: brown;
    font-weight: bolder;
    /*justify-content: space-between;
    background-color: #edeae8;*/
    display: flex;
    gap: 10%;
    justify-content: center;
    padding: 5px;
    margin-bottom: 0px;
    /*flex-wrap: wrap;*/
}

.icon-box {
    width: 95px;
    /* height: 95px; */
    border-radius: 50%;
    /* background-color: #d8d4cf; */
    /* display: flex; */
    justify-content: center;
    /* align-items: center; */
    cursor: pointer;
    transition: 0.3s;
}

    .icon-box:hover {
        background-color: #c8c4bf;
        transform: scale(1.07);
    }

    .icon-box img {
    }



/* Logoff section */
.logout-section {
    display: flex;
    align-items: center;
}

.logout-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}

    .logout-link:hover {
        text-decoration: underline;
    }

.logout-icon {
    width: 50px;
    height: 50px;
    margin-right: 6px;
}

/* Outer footer container */
.LandingFooterContainer {
    background-color: #3a2712; /* Matches screenshot */
    color: #fff;
    margin-top: auto;
}

/* Center content */
.LandingFooterInnerContainer {
    max-width: 74.4rem;
    margin: 0 auto;
    padding: 0px;
}

/* MENU SECTION */
.LandingFooter_Menu {
    display: flex;
}

/* Individual Menu Column */
.LandingFooter_Menu_col {
    list-style: none;
    width: 25%;
    padding-inline-start: 20px;
    justify-content: space-between;
    border-left: 1px solid rgba(255,255,255,0.3);
}

    /* Remove first column left border */
    .LandingFooter_Menu_col:first-child {
        border-left: none
    }

    .LandingFooter_Menu_col li {
        text-align: left;
    }

    .LandingFooter_Menu_col a {
        font-size: small;
        color: #fff;
        text-decoration: underline;
    }

/* BOTTOM SECTION */
.LandingFooter-bottom {
    padding: 0 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

/* Left logo block */
.LandingFooter-brand {
    display: flex;
    flex-direction: row;
    font-size: 14px;
    color: #fff;
}

.logo-placeholder {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.4;
}

/* Center copyright text */
.LandingFooter-copy {
    font-size: 14px;
    text-align: center;
    flex: 1;
    color: #fff;
}

/* Right icons */
.LandingFooter-icons {
    align-items: center;
    display: flex;
    gap: 20px;
    font-size: 20px;
}

    .LandingFooter-icons .icon {
        opacity: 0.85;
        cursor: pointer;
    }

        .LandingFooter-icons .icon:hover {
            opacity: 1;
        }


@media (max-width: 900px) {
    .landing-section {
        flex-direction: column;
        align-items: center;
    }
}

.Button_background {
    position: relative;
    width: 100%;
    /*background-image: linear-gradient( to bottom, rgba(255,255,255,0.8) 40%, rgba(255, 255, 255, 0.6) 100% ), url('/Images/EtracAIBackground.jpg');
    background-image: url('/Images/EtracAIBackground.jpg');*/
    background-image: url('/Images/DSC06179.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    margin-top: 10px;
    padding: 30px 0px 50px 0px;
}

.Header_background {
    position: relative;
    width: 100%;
}

.Home_background {
    position: relative;
    background-image: linear-gradient( to bottom, rgba(255,255,255,0.8) 40%, rgba(255, 255, 255, 0.6) 100% ), url('/Images/EtracAIBackground.jpg');
    /*background-image: url('/Images/EtracAIBackground.jpg');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
    /*.Home_background::after {
        content: "";
        position: absolute;
        inset: 0; 
        background: linear-gradient( rgba(255,255,255,0.6) 100%,
        rgba(255, 255, 255, 0.6) 100%
        );
        pointer-events: none;
        z-index: 0;
    }*/
    .Home_background > * {
        position: relative;
        z-index: 1;
    }

.Auth_background {
    background-color: lightgray;
}
