/* Header styles for Nova Graphics */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.hea {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#logo {
    height: 50px;
    width: auto;
}

#gra {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

.buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.buttons a, .buttons button {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    background: #007bff;
    color: white;
}

.buttons a:hover, .buttons button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

#uer {
    background: #28a745 !important;
}

#uer:hover {
    background: #1e7e34 !important;
}

#home-link {
    background: #007bff !important;
}

#home-link:hover {
    background: #0056b3 !important;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: inherit;
}

hr {
    border: none;
    height: 1px;
    background: #ddd;
    margin: 10px 0 0 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    .hea {
        flex-wrap: wrap;
        position: relative;
    }
    
    #gra {
        font-size: 1.5rem;
        flex-grow: 0;
        order: 2;
    }
    
    #logo {
        height: 40px;
        order: 1;
    }
    
    .hamburger {
        display: block;
        order: 3;
    }
    
    .buttons {
        display: none;
        width: 100%;
        flex-direction: column;
        order: 4;
        margin-top: 15px;
        gap: 10px;
    }
    
    .buttons.active {
        display: flex;
    }
    
    .buttons a, .buttons button {
        width: 100%;
        text-align: center;
    }
}