.navbar-custom {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.4);
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 2px 15px rgba(27, 94, 32, 0.6);
}

.navbar-brand-custom {
    transition: transform 0.3s ease;
}

.navbar-brand-custom:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 45px;
    margin-right: 12px;
    transition: transform 0.3s ease;
    border-radius: 50%;
    border: 2px solid #FFD54F;
    padding: 2px;
}

.navbar-brand-custom:hover .logo-img {
    transform: rotate(360deg);
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFD54F;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.nav-link-custom {
    color: white !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    transition: all 0.3s ease;
    padding: 6px 12px !important;
    font-size: 0.95rem;
}

.nav-link-custom::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #FFD54F;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-custom:hover::before {
    width: 100%;
}

.nav-link-custom:hover {
    color: #FFD54F !important;
    transform: translateY(-2px);
}

.btn-login {
    background: linear-gradient(135deg, #FFD54F 0%, #FFC107 100%);
    color: #1B5E20;
    font-weight: 600;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 213, 79, 0.4);
    font-size: 0.9rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 213, 79, 0.6);
    background: linear-gradient(135deg, #FFC107 0%, #FFD54F 100%);
}

.btn-profile {
    background: transparent;
    color: white;
    border: 2px solid #FFD54F;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
    margin-right: 10px;
    font-size: 0.9rem;
}

.btn-profile:hover {
    background: #FFD54F;
    color: #1B5E20;
    transform: translateY(-2px);
}

.btn-logout {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.navbar-toggler {
    border: 2px solid #FFD54F;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 213, 79, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFD54F' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    .logo-img {
        height: 45px;
        margin-right: 10px;
    }
    
    .brand-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .navbar-custom {
        padding: 0.8rem 0;
    }
    
    .navbar-collapse {
        background: rgba(27, 94, 32, 0.98);
        margin-top: 15px;
        border-radius: 15px;
        padding: 20px;
    }
    
    .nav-link-custom {
        margin: 5px 0;
        padding: 12px 20px !important;
        border-radius: 8px;
    }
    
    .nav-link-custom:hover {
        background: rgba(255, 213, 79, 0.1);
        transform: translateX(5px);
    }
    
    .nav-link-custom::before {
        display: none;
    }
    
    .ms-3 {
        margin-left: 0 !important;
        margin-top: 15px;
        flex-direction: column;
        width: 100%;
    }
    
    .btn-profile,
    .btn-login,
    .btn-logout {
        width: 100%;
        margin: 5px 0 !important;
        padding: 12px 20px;
    }
    
    .btn-profile:hover,
    .btn-login:hover,
    .btn-logout:hover {
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 40px;
        margin-right: 8px;
    }
    
    .brand-text {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .navbar-custom {
        padding: 0.6rem 0;
    }
}

@media (max-width: 400px) {
    .brand-text {
        font-size: 0.9rem;
        letter-spacing: 0px;
    }
    
    .logo-img {
        height: 35px;
        margin-right: 6px;
    }
}
