﻿/* ===== HEADER STYLES ===== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    z-index: 2000; /* higher than map */
    overflow: visible; /* prevents logo flashing */
}



/* Top Header Section */
.top-header {
    background: rgb(0,32,96);
    padding: 10px 20px;
    border-bottom: 1px solid #222;
    transition: opacity 0.3s ease;
}

/* Hide content when collapsed */
.site-header.collapsed .top-header {
    opacity: 0;
    display:none;
    pointer-events: none;
}

/* ================= TOGGLE BUTTON ================= */

.header-toggle {
    position: absolute;
    right: 20px;
    top: -12px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 2100;
}

/* ================= LOGOS ================= */

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.5) contrast(1.0);
}

.header-logo-2 {
    margin-left: 54px;
    height: 122px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.5) contrast(1.0);
}

.header-logo-3 {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.5) contrast(1.0);
}
.header-logo-3 {
    transform: translateX(-21px); /* move left */
}



#dst {
    height: 54px;
    width: 220px;
    padding-bottom: 10px;
}

/* ================= TEXT ================= */

.dst_heading {
    font-size: 20px;
    line-height: 0.6;
}

#micro_heading {
    font-style: italic;
    font-size: 17px;
}

.header-center {
    flex: 1;
    margin-top: 20px;
}

.header-title {
    margin-top: -13px;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}


/* Button */
.header-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

/* Arrow Design */
.arrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-135deg); /* UP arrow */
    transition: transform 0.3s ease;
}

/* Rotate when collapsed */
body.header-collapsed .arrow {
    transform: rotate(45deg); /* DOWN arrow */
}


/* ===== NAV LINK SPACING FIX ===== */
.navbar-nav 
{
    gap: 25px; 
}

    .navbar-nav .nav-item
    {
        margin: 0 0 0 0; /* Optional fine-tuning */
    }

    .navbar-nav .nav-link {
        color: #fff !important;
        font-weight: 700;
        font-size:14px;
        padding: 8px 0; /* Keep vertical padding only */
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active
    {
        color: #fcb900 !important;
    }

/* --- Mobile --- */
@media (max-width: 991px) {
    .top-header {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        height: 50px;
    }

    .header-title {
        font-size: 1rem;
        margin-top: 10px;
    }

   
   
}


@media (min-width: 1200px) and (max-width: 1400px) {
    .top-header {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        height: 70px;
    }

    .header-title {
        font-size: 1.2rem;
        margin-top: 10px;
    }

    .header-logo-2 {
        height: 75px;
        width: auto;
        object-fit: contain;
        filter: brightness(1.5) contrast(1.0);
    }

    #dst {
        height: 60px;
        width: 202px;
        padding-bottom: 10px;
        padding-left: 0px;
    }
}


@media (min-width: 800px) and (max-width: 1200px) {
    .top-header {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        height: 50px;
    }

    .header-title {
        font-size: 0.8rem;
        margin-top: 10px;
    }

    .header-logo-2 {
        height: 55px;
        width: auto;
        object-fit: contain;
        filter: brightness(1.5) contrast(1.0);
    }

    #dst {
        height: 50px;
        width: 150px;
        padding-bottom: 10px;
        padding-left: 0px;
    }
}

@media (min-width: 400px) and (max-width: 800px) {
    .top-header {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        height: 30px;
    }

    .header-title {
        font-size: 0.4rem;
        margin-top: 8px;
    }

    .header-logo-2 {
        height: 40px;
        width: auto;
        object-fit: contain;
        filter: brightness(1.5) contrast(1.0);
    }

    #dst {
        height: 30px;
        width: 100px;
        padding-bottom: 10px;
        padding-left: 0px;
    }
}


/* ===== FOOTER (Compact Version) ===== */
footer {
    background: rgb(0,32,96);
    color: #ccc;
    padding: 35px 0 15px;   /* reduced from 60px */
    font-size: 0.9rem;      /* smaller base font */
}

/* Headings */
footer h5 {
    color: #fcb900;
    font-weight: 600;
    font-size: 1rem;        /* reduced */
    margin-bottom: 12px;    /* reduced spacing */
}

/* Links */
footer a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 0.9rem;
}

footer a:hover {
    color: #fcb900;
}

/* Logo Title */
.footer-logo h3 {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;      /* reduced */
    margin-bottom: 10px;
}

/* Paragraph spacing */
.footer-logo p {
    font-size: 1rem;
    line-height: 1.2;
}

/* Map size reduced */
.footer-map iframe {
    height: 140px;         /* reduced from 180px */
}

/* Address text */
.footer-address {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    padding-top: 12px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #aaa;
}

/* Remove extra spacing in list */
footer ul {
    padding-left: 0;
}

footer ul li {
    margin-bottom: 6px;   /* tighter spacing */
}

/* Social icons (if used) */
.social-icons a {
    color: #ccc;
    margin-right: 12px;
    font-size: 1rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #fcb900;
}

/* ===== Responsive ===== */

/* Mobile */
@media (max-width: 767px) {

    footer {
        text-align: center;
        padding: 30px 15px 15px;
    }

    .footer-map iframe {
        height: 120px;   /* even smaller on mobile */
    }

    .footer-logo,
    footer .col-md-4 {
        margin-bottom: 20px;
    }
}
/* ===== NAVBAR BRAND STYLING ===== */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

/* Wrapper centers everything */
.brand-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Two logos side by side */
.brand-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* space between logos */
}

/* Logo styling for readability */
.brand-logo {
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* Specific sizes to maintain proportions */
.logo-moefcc {
    height: 80px; /* MOEFCC logo slightly smaller (wider text) */
    width: 300px;
    
}

.logo-wii {
    height: 80px; /* WII logo slightly taller for visual balance */
    width: auto;
    
}
/* Tagline text below logos */
.brand-subtext {
    font-size: 1.2rem;
    color: #f8f8f8;
    margin-top: 1px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.3px;
}

/* Navbar look */
.navbar {
    /*    background: linear-gradient(90deg, #0b3d0b, #145214, #0b3d0b);*/
    background: #198754 ;
    padding: 0.6rem 1rem;
}

/* Optional hover effect for tagline */
.navbar-brand:hover .brand-subtext {
    color: #ffc107;
}
/* ===== SEARCH BOX STYLING ===== */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-input {
    width: 180px;
    height: 30px;
    border-radius: 20px;
    border: 1px solid #555;
    background-color: #ccc;
    color: #fff;
    padding: 5px 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

    .search-input::placeholder {
        color: #aaa;
    }

    .search-input:focus {
        outline: none;
        border-color: #fcb900;
        background-color: #ccc;
        box-shadow: 0 0 6px rgba(252, 185, 0, 0.5);
    }



/* Search icon button */
.btn-search {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    padding: 6px;
    transition: color 0.3s ease;
}

    .btn-search:hover {
        color: #fcb900;
    }

/* Responsive adjustments */
@media (max-width: 991px) {
    .search-input {
        width: 100%;
        margin-bottom: 8px;
    }

    .search-container {
        flex-direction: column;
        align-items: stretch;
    }
}
