:root {
    --middle-width: 450px;
}

.header {
    height: 60px;
    z-index: 100;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.left-section {
    position: absolute;
    right: calc(50% + (var(--middle-width) / 2) + 120px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    width: auto;
    justify-content: flex-end;
    align-items: center;
}

.logo-holder {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.logo-holder a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Goldman', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    white-space: nowrap;
}

.logo-text .highlight {
    color: rgb(255, 187, 0);
}

.middle-section {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-buttons-holder {
    display: flex;
    flex-direction: row;
    overflow: visible;
    width: auto;
    justify-content: center;
    gap: 4px;
}

.menu-btn-wrapper {
    position: relative;
    display: inline-block;
}

.menu-btn {
    width: auto;
    padding: 0 16px;
    height: 60px;
    border: none; 
    background: transparent;
    color: #000000;
    font-size: 0.95rem;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 330;
    letter-spacing: 0.3px;
    outline: none;
    border-radius: 6px;
}

.menu-btn:hover, .menu-btn:focus {
    background: #f5f5f5;
    color: #000000;
}

/* Navigation Dropdowns */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    border-radius: 8px;
}

.menu-btn:hover + .nav-dropdown,
.nav-dropdown:hover {
    opacity: 1;
    visibility: visible;
}

/* Arrow pointer for nav dropdowns */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1));
}

.nav-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-dropdown-item:hover {
    background: #f8f8f8;
    color: #000;
}

.nav-dropdown-item:last-child {
    border-bottom: none;
}

.right-section {
    position: absolute;
    left: calc(50% + (var(--middle-width) / 2) + 180px);
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.login-holder {
    background: #000000;
    border: none; 
    cursor: pointer; 
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 8px;
}

.login-holder:hover {
    background: #333333;
    transform: translateY(-1px);
}

.login {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Login Dropdown */
.login-wrapper {
    position: relative;
}

.login-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    min-width: 150px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.login-holder:hover + .login-dropdown,
.login-dropdown:hover {
    opacity: 1;
    visibility: visible;
}

/* Arrow pointer for login dropdown */
.login-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1));
}

.login-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.login-dropdown-item:hover {
    background: #f8f8f8;
    color: #000;
}

.login-dropdown-item:last-child {
    border-bottom: none;
}


