@charset "utf-8";
/* ============================================================
   GoodHope Freight — site chrome (top bar / header nav / footer)
   Extracted from index.html 2026-09. Shared by all pages.
   Load this stylesheet LAST so it overrides legacy page CSS.
   ============================================================ */

/* Brand variables (also used by footer rules) */
:root {
	--primary: #1a3e6f;
	--primary-dark: #0f2750;
	--primary-light: #2a56a0;
	--accent: #f39c12;
	--accent-dark: #e08e0b;
	--light-bg: #f8f9fa;
	--lighter-blue: #e8f4fd;
	--text-dark: #2c3e50;
	--text-light: #6c757d;
	--white: #ffffff;
	--border: #dee2e6;
	--success: #28a745;
	--topbar-bg: #0f2750;
}

/* Chrome typography (matches index.html body font) */
.top-bar,
.header-nav,
footer.footer {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== TOP BAR ===== */
.top-bar{
    position:relative;
    z-index:1000;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    flex-wrap:wrap;
    background:#0f2750;
    padding:10px 2rem;
    gap:26px;
    font-size:14px;
    transition: transform 0.3s ease;
}
.topbar-right{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:26px;
    flex-wrap:wrap;
}
.top-bar.hide-bar{
    transform: translateY(-100%);
}
.top-item{
    display:flex;
    align-items:center;
    gap:6px;
    color:#f8f8f8;
    text-decoration:none;
}
.icon-orange{
    color:#ff7800;
    font-size:16px;
}
.top-item:hover{
    color:#ff7800;
}
/* Search box */
.search-box{
    display:flex;
    margin-left:auto;
    margin-right:16px;
}
.search-box input{
    border:none;
    padding:5px 10px;
    outline:none;
    border-radius:2px;
}
.search-box button{
    background:#fff;
    border:none;
    cursor:pointer;
    padding:0 10px;
}
/* Language dropdown */
.lang-item{
    position:relative;
}
.lang-arrow{
    display:inline-block;
    width:0;
    height:0;
    border-left:4px solid transparent;
    border-right:4px solid transparent;
    border-top:4px solid #fff;
    margin-left:4px;
}
.lang-dropdown{
    position:absolute;
    top:100%;
    right:0;
    background:#fff;
    border:1px solid #ddd;
    min-width:100px;
    display:none;
    z-index:100;
}
.lang-dropdown a{
    display:block;
    padding:7px 12px;
    text-decoration:none;
    color:#000;
}
.lang-item:hover .lang-dropdown{
    display:block;
}
.lang-item.open .lang-dropdown{
    display:block;
}

/* ===== MAIN NAV ===== */
.header-nav{
    position:sticky;
    top:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#ffffff;
    padding:0 2rem;
    z-index:999;
    border-bottom:1px solid #eee;
}
.logo-wrap img{
    height:65px;
    display:block;
}
/* Desktop menu */
.nav-list{
    display:flex;
    list-style:none;
    align-items:center;
}
.nav-item{
    position:relative;
}
.nav-link{
    display:flex;
    align-items:center;
    color:#0f2750;
    text-decoration:none;
    padding:0 1.1rem;
    line-height:65px;
    white-space:nowrap;
    gap:6px;
}
.nav-item:hover .nav-link{
    background:#f5f5f5;
}
/* Dropdown arrow */
.arrow{
    width:0;
    height:0;
    border-left:5px solid transparent;
    border-right:5px solid transparent;
    border-top:6px solid #333;
    transition:0.2s;
}
.nav-item:hover .arrow{
    transform:rotate(180deg);
}
/* Dropdown grid layout */
.dropdown{
    position:absolute;
    left:0;
    top:100%;
    background:#fff;
    box-shadow:0 3px 12px rgba(0,0,0,0.12);
    display:none;
    padding:1rem;
}
.nav-item:hover .dropdown{
    display:grid;
}
.dropdown-shipping{
    grid-template-columns: repeat(2, 1fr);
    gap:0.6rem;
    width:max-content;
}
.dropdown-value{
    grid-template-columns: repeat(2, 1fr);
    gap:0.6rem;
    width:max-content;
}
.dropdown-solution{
    grid-template-columns: repeat(2, 1fr);
    gap:0.6rem;
    width:max-content;
}
.dropdown-about{
    grid-template-columns: repeat(1, 1fr);
    gap:0.6rem;
    width:max-content;
}
.dropdown-tools{
    grid-template-columns: repeat(2, 1fr);
    gap:0.6rem;
    width:max-content;
}
.dropdown-resources{
    grid-template-columns: repeat(1, 1fr);
    gap:0.6rem;
    width:max-content;
}
.dropdown a{
    color:#000;
    text-decoration:none;
    padding:0.4rem 0.8rem;
    white-space:nowrap;
}
.dropdown a:hover{
    background:#eee;
}
/* Get Quote button */
.quote-btn{
    background:#ff7800;
    color:#fff !important;
    text-decoration:none;
    padding:10px 24px;
    border-radius:30px;
    white-space:nowrap;
    margin-left:16px;
}
.quote-btn:hover{
    background:#e66a00;
}
/* Mobile hamburger button */
.menu-toggle{
    display:none;
    font-size:26px;
    background:none;
    border:none;
    cursor:pointer;
}

/* ===== FOOTER ===== */
.footer {
	background: var(--primary-dark);
	color: rgba(255, 255, 255, 0.8);
	padding: 80px 0 0;
}
.footer h5 {
	color: var(--white);
	font-size: 1.2rem;
	margin-bottom: 25px;
	font-weight: 700;
}
.footer p, .footer li {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.95rem;
	line-height: 1.8;
}
.footer ul {
	list-style: none;
	padding: 0;
}
.footer ul li {
	padding: 5px 0;
	margin-bottom: 0; /* neutralize legacy footer li margin */
}
.footer ul li a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 0.9rem;
}
.footer ul li a:hover {
	color: var(--accent);
	padding-left: 5px;
}
.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 15px;
}
.footer-contact-item i {
	color: var(--accent);
	margin-top: 5px;
	width: 20px;
}
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 25px 0;
	margin-top: 60px;
	text-align: center;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a {
	color: rgba(255, 255, 255, 0.6);
}
.social-links {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}
.social-links a {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: all 0.3s ease;
}
.social-links a:hover {
	background: var(--accent);
	color: var(--white);
	transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
/* Breakpoint: below 992px switch to mobile layout */
@media(max-width:992px){
    /* Hide the top bar entirely */
    .top-bar{
        display:none !important;
    }
    /* Show hamburger button, hide horizontal menu */
    .menu-toggle{
        display:block;
    }
    .nav-list{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#fff;
        flex-direction:column;
        align-items:flex-start;
        max-height:0;
        overflow:hidden;
        transition:max-height 0.3s;
        box-shadow:0 3px 5px rgba(0,0,0,0.1);
    }
    .nav-list.open{
        max-height:2000px;
    }
    .nav-link{
        width:100%;
        line-height:50px;
    }
    /* Mobile dropdowns become static */
    .dropdown{
        position:static;
        box-shadow:none;
        border-top:1px solid #ddd;
        width:100%;
    }
    .quote-btn{
        margin:12px 1.4rem;
    }
}
@media (max-width: 1366px) {
    .nav-link {
        padding: 0 0.7rem;
        font-size: 15px;
    }
}
