/* New Modern Header Styles */
.new-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 10px 0;
}

/* Header Top Section */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 10px;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 56.7px;
    width: 199.7px;
}

/* Auth Links */
.auth-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.auth-link {
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.2s;
}

.auth-link:hover {
    opacity: 0.7;
}

/* Pill Navigation */
.pill-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 550px;
    margin: 0 auto;
    padding: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
}

.pill-nav::before {
    content: '';
    position: absolute;
    background-color: #18cc97;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    left: var(--indicator-left, 0);
    width: var(--indicator-width, 0);
    height: var(--indicator-height, 0);
    top: 8px;
}

.nav-item {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    padding: 12px 28px;
    border-radius: 50px;
    transition: font-weight 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.nav-item:hover {
    opacity: 0.7;
}

.nav-item.active {
    color: #000000;
    font-weight: 500;
}

/* Body Padding for Fixed Header */
body {
    padding-top: 180px;
}

/* Profile Menu Styles */
.profile-menu {
    position: relative;
    display: inline-block;
}

.profile-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #000000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.profile-icon:hover {
    opacity: 0.7;
}

.profile-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    z-index: 1000;
    overflow: hidden;
}

.profile-dropdown.show-dropdown {
    display: block;
}

.profile-dropdown a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #000000;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.profile-dropdown a:last-child {
    border-bottom: none;
}

.profile-dropdown a:hover {
    background: #f9fafb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        padding: 0 20px 15px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-icon {
        width: 20px;
        height: 20px;
    }
    
    .auth-links {
        gap: 15px;
    }
    
    .auth-link {
        font-size: 14px;
    }
    
    .pill-nav {
        max-width: 100%;
        padding: 6px;
        margin: 0 20px;
    }
    
    .nav-item {
        font-size: 13px;
        padding: 10px 18px;
    }
    
    body {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    .pill-nav {
        flex-wrap: wrap;
        border-radius: 20px;
        gap: 5px;
    }
    
    .nav-item {
        font-size: 12px;
        padding: 8px 15px;
    }
}
