/* ======================
   Main Header
====================== */
.site-header {
    width: 100%;
    display: block;
}

/* ----------------------
   Top Section - White Background
----------------------- */
.header-top {
    background-color: #ffffff;
    height: 100px; /* Design height */
    display: flex;
    align-items: center;
}

/* Container */
.header-top .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ----------------------
   Left Side - Site Title + Logo
----------------------- */
.header-left {
    display: flex;
    align-items: center;
}

/* Spacing between logo and site title */
.header-left > :not(:last-child) {
    margin-right: 10px;
}

/* Site Title */
.header-left .site-title {
    font-size: 20px;
    margin: 0;
}

/* Logo */
.header-left .custom-logo {
    max-height: 50px;
    width: auto;
}

/* ----------------------
   Right Side - Signup + Main Menu
----------------------- */
.header-right {
    display: flex;
    align-items: center;
}

/* Spacing between signup link and menu */
.header-right > :not(:last-child) {
    margin-right: 20px;
}

/* Signup link */
.header-right .signup-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Top Menu - horizontal on desktop */
.header-right .top-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-right .top-menu li:not(:last-child) {
    margin-right: 15px;
}

.header-right .top-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* ----------------------
   Bottom Section - Dark Background (Full Menu)
----------------------- */
.header-bottom {
    background-color: #2F2F2F;
    height: 80px;
    display: flex;
    align-items: center;
}

/* Menu inside bottom header */
.header-bottom nav {
    width: 100%;
}

.header-bottom .top-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Spacing between bottom menu items */
.header-bottom .top-menu li:not(:last-child) {
    margin-right: 20px;
}

/* Links inside bottom menu */
.header-bottom .top-menu li a {
    color: #ffffff !important; /* Force white color */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

/* Hover state */
.header-bottom .top-menu li a:hover {
    color: #ffd700; /* Optional hover color */
}

/* Optional spacing between top and bottom */
.header-top + .header-bottom {
    margin-top: 0;
}

/* ======================
   Responsive Adjustments
====================== */
@media (max-width: 768px) {

    /* Top header stacking */
    .header-top {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .header-left,
    .header-right {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
    }

    /* Top menu and bottom menu vertical stacking */
    .header-right .top-menu,
    .header-bottom .top-menu {
        flex-direction: column;
        margin: 0;
        gap: 10px;
    }

    /* Remove horizontal spacing in mobile */
    .header-left > :not(:last-child),
    .header-right > :not(:last-child),
    .header-right .top-menu li:not(:last-child),
    .header-bottom .top-menu li:not(:last-child) {
        margin-right: 0;
    }
}
