:root {
    --accent-color: #007bff;
    --accent-hover-color: #0056b3;
    --border-color: rgba(255, 255, 255, 0.4);
    --border-color-light: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.hero-section {
    height: 100vh;
    display: flex;
}

.info-box {
    padding: 1.5rem;
    border-radius: 10px;
    color: white;
}

.top-banner {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 2rem;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.4s ease-in-out;
}

.top-banner.header-hidden {
    transform: translateY(-100%);
}

.logo {
    height: 45px;
    display: block; 
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banner-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-btn {
    background-color: transparent;
    border: none;
    color: #333;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}


.header-toggle-btn {
    font-size: 1.2rem;
    color: #555;
    text-decoration: none;
    padding: 0 0.5rem;
    transition: color 0.3s;
}

.header-toggle-btn:hover {
    color: #000;
}

#show-header-btn {
    position: fixed;
    top: 10px;
    right: 2rem;
    z-index: 1001; 
    opacity: 0;
    visibility: hidden;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 0.5rem 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: opacity 0.4s ease-in-out, visibility 0.4s;
}

#show-header-btn.visible {
    opacity: 1;
    visibility: visible;
}

#user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

#user-info:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

#user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

#user-display-name {
    font-weight: 500;
    color: #333;
}

#logout-button {
    color: #555;
    text-decoration: none;
    font-size: 0.9em;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 20px;
    transition: background-color 0.2s, color 0.2s;
}

#logout-button:hover {
    background-color: #e0e0e0;
    color: #000;
    border-color: #ccc;
}

.hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .top-banner {
        flex-direction: column;
        padding: 1rem; 
        gap: 1rem; 
    }

    .banner-right {
        justify-content: center;
        gap: 1rem; 
    }

    .nav-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    #show-header-btn {
        top: 5px;
        right: 1rem;
    }
}
