/* === NAVBAR STYLES === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px; 
    z-index: 9999;
    background: transparent;
    padding: 0.4rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    position: relative; 
}

/* LOGO LINK (text container) */
.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    position: relative; 
    z-index: 2; 
}

.logo:hover {
    color: #ff4c4c;
}

/* LOGO IMAGE */
.logo img {
    position: absolute; 
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 200px; 
    width: auto;
    display: block;
    z-index: 1;
    margin-top: 10px;
}

.logo-icon {
    font-size: 1.8rem;
    color: #ff4c4c;
    margin-top: 10px;
}

/* NAV LINKS aligned right */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 20px;
    margin-left: auto;
    z-index: 2; 
}

.nav-links span {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}

.nav-links a,
.nav-links button {
    color: #ffffff;
    font-size: 1.7rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.nav-links a:hover,
.nav-links button:hover {
    color: #ff4c4c;
    text-shadow: 0 0 10px #ff4c4c;
    transform: scale(1.1);
}

.primary-btn {
    background-color: #ff4c4c;
    color: #fff !important;
    text-shadow: none;
    border: none;
    transition: background-color 0.3s ease;
}

.primary-btn:hover {
    background-color: #e63b3b;
    box-shadow: 0 0 12px #e63b3b;
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid #ff4c4c;
    color: #ff4c4c !important;
}

.secondary-btn:hover {
    background-color: #ff4c4c;
    color: #fff !important;
    box-shadow: 0 0 12px #ff4c4c;
}

.logout-btn {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 50%;
    padding: 0.5rem;
    font-size: 1rem;
}

.logout-btn:hover {
    background-color: #ff4c4c;
    color: #fff;
    border-color: #ff4c4c;
    box-shadow: 0 0 10px #ff4c4c;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-left: 0;
    }

    .navbar {
        height: auto; 
        padding: 1rem;
    }

    .logo img {
        position: relative; 
        top: auto;
        transform: none;
        height: 80px; 
    }
}
