﻿
/* ===== Header Base ===== */
header {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    border-bottom: none;
}

/* ===== Logo ===== */
.logo-main a {
    display: inline-flex;
    align-items: center;
    margin: 2rem;
}

.logo-main img {
    max-height: 80px;
    width: auto;
    display: block;
    margin-right: 5px;
}


/*  Light mode (default) → NORMAL color */
/*#siteLogoText {
    filter: none;
}*/

/*  Dark mode → make text WHITE */
/*[data-theme="dark"] #siteLogoText {
    filter: brightness(0) invert(1);
}*/


/* ===== Right Icons ===== */
.right-icon-main {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-right: 2rem;
    padding: 0;
}

    .right-icon-main li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
/*      color: #1A3D59;*/
        text-decoration: none;
        transition: color 0.2s ease, transform 0.2s ease;
    }

/*[data-theme="dark"] .right-icon-main li a svg {
    color: white;
}*/

.right-icon-main li a svg {
    width: 25px;
    height: 25px;
    color: #1A3D59;
}

        /* ===== Hover Effects ===== */
        .right-icon-main li a:hover {
            color: #1A3D59;
            transform: scale(1.1);
        }

        /* ===== Accessibility / Focus ===== */
        .right-icon-main li a:focus {
            outline: none;
            color: #1A3D59;
        }


/*  ====== navbar modal =======*/

.navbar-menu {
    height: 100vh;
    position: relative;
    background-image: url(/Content/Images/Footer-bg.png);
    background-repeat: no-repeat;
    background-size: 970px 750px;
    background-position: top right;
    overflow: hidden;
}

.logo-dark a {
    display: inline-flex;
    align-items: center;
}

.nav-header {
    display: flex;
    padding: 2rem;
    justify-content: space-between;
}

    .nav-header ul.icons {
        display: flex;
        list-style-type: none;
        margin-right: 8rem;
    }

ul.icons a {
    color: #1A3D59;
}

ul.icons li {
    margin-right: 1rem;
}

.modal-menu li.nav-item {
    margin-bottom: -40px;
}


/* Accessibility Panel */

.accessibility {
    position: relative;
    display: inline-block;
}

    .accessibility svg {
        cursor: pointer;
        transition: transform 0.3s ease, fill 0.3s ease;
    }

.accessibility-panel {
    display: none;
    position: fixed; 
    top: 80px; 
    right: 20px; 
    background-color: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(105, 191, 175, 0.4);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 0 12px rgba(105, 191, 175, 0.3);
    min-width: 180px;
    z-index: 999;
    animation: fadeIn 0.3s ease forwards;
}

    .accessibility-panel.active {
        display: block;
    }

    .accessibility-panel h4 {
        color: #69BFAF;
        font-size: 14px;
        font-weight: 400;
        margin-bottom: 10px;
        text-align: center;
        font-family: "Figtree", sans-serif;
    }

.font-controls,
.theme-controls {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.fontScaler,
.themeToggle {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    border: 1px solid rgba(105, 191, 175, 0.5);
    border-radius: 5px;
    padding: 4px 8px;
    transition: all 0.3s ease;
    font-family: "Figtree";
}

    .fontScaler:hover,
    .themeToggle:hover {
        background-color: #69BFAF;
        color: #000;
        box-shadow: 0 0 8px rgba(105, 191, 175, 0.7);
    }


/* Theme */
:root[data-theme="dark"] body {
    background: black !important;
    color: #fff !important;
}

:root[data-theme="light"] body {
    background: white !important;
    color: #000 !important;
}


/* Search Box */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

    .search-overlay.active {
        display: flex;
    }

/* Wrapper positions input + close button */
.search-wrapper {
    position: relative;
    width: 60%;
    max-width: 600px;
}

/* Search Box */

.search-box {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 16px;
}

.search-btn {
    flex: 1;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: -135px;
    right: -80px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #000;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    line-height: 25px;
    text-align: center;
}


.search-suggestions {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

    .search-suggestions li {
        padding: 10px;
        cursor: pointer;
    }

        .search-suggestions li:hover {
            background: #f5f5f5;
        }
