@charset "utf-8";

/* Reset & Base */
.header-dark-wrapper {
    background-color: #111418; /* Dark background matching the image */
    color: #ffffff;
    font-family: "Microsoft YaHei", sans-serif;
    width: 100%;
    min-width: 1200px;
    border-bottom: 1px solid #333;
}

.header-container {
    width: 100%;
    max-width: 1400px; /* Adjust based on design needs */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px; /* Adjust height as needed */
    padding: 0 20px;
    box-sizing: border-box;
}

/* Left Section: Logos */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: -18px;
}

.header-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.header-logo-item:not(:last-child)::after {
    content: "";
    display: block;
    width: 1px;
    height: 30px;
    background-color: #444;
    margin-left: 20px;
}

.header-logo-img {
    height: 40px; /* Adjust based on actual image aspect ratios */
    width: auto;
}

.header-logo-text {
    font-size: 12px;
    line-height: 1.4;
    color: #ccc;
}

.header-logo-text strong {
    color: #fff;
    font-weight: bold;
}

/* Middle Section: Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ff8c00; /* Orange accent */
}

.nav-arrow {
    font-size: 10px;
    transition: transform 0.3s;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu (Simple implementation) */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 10px 0;
    min-width: 120px;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.nav-item:hover .nav-dropdown {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 8px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}

.dropdown-link:hover {
    background-color: #333;
    color: #ff8c00;
}

/* Right Section: Icons */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    color: #ccc;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
}

.icon-btn:hover {
    background-color: #333;
    color: #fff;
}

/* Style for icon button with text */
.icon-btn.with-text {
    width: auto;
    border-radius: 4px;
    padding: 0 10px;
    gap: 8px;
    font-size: 14px; /* Adjust font size for text */
}

.icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.nav-item.active > .nav-link {
    color: #e60012;
    font-weight: bold;
    /* 你想要的選中效果 */
}