/* Header styles */
header {
    width: 100%;
}

/* Title section styles */
.header-title {
    padding: 1rem;
    text-align: center;
}

/* Navbar styles */
.navbar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    display: flex;
    align-items: center;
    flex-direction: row; 
    padding: 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Dropdown styles */
.navbar-item.has-dropdown {
    position: relative;
}

.navbar-dropdown {
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9999;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Position the dropdown relative to its parent */
.navbar-item.has-dropdown:hover .navbar-dropdown {
    display: block;
    top: auto;
    left: auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 20px; 
}

.navbar-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-item {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.navbar-item:hover {
    color: #ff6b00;
}

.navbar-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.navbar-link:hover {
    color: #ff6b00;
}

.navbar-item.has-dropdown {
    position: relative;
    z-index: 1000; /* Higher z-index for the dropdown container */
}

.navbar-dropdown .navbar-item {
    padding: 0.75rem 1rem;
    display: block;
    white-space: nowrap;
}

.navbar-dropdown .navbar-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.has-dropdown:hover .navbar-dropdown {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-dropdown .navbar-item {
    color: #ffffff;
    transition: all 0.2s ease;
}

.navbar-dropdown .navbar-item .tag {
    float: right;
    margin-left: 1rem;
}

.tag {
    background-color: #28a745;
    color: black;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 8px;
    font-size: 0.8em;
}

.button.is-primary {
    background-color: #ff6b00;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.button.is-primary:hover {
    background-color: #ff8533;
}

.logo img {
    max-height: 40px;
}

.navbar-start {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.navbar-brand {
    margin-right: 20px; 
}

.brand-wrapper, .logo-wrapper {
    display: inline-flex; 
}

.navbar-item {
    display: inline-flex;
    align-items: center;
}

.navbar-end {
    margin-left: auto;
} 