/* nav.css */

/* Підключаємо шрифт Audiowide тільки для надпису LEGIO FEANOR */
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

/* Навбар */
.navbar {
    width: 100%;
    background: rgb(19 3 0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-custom-conteiner {
	--bs-gutter-x: 1.5rem;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 992px) {
.navbar .navbar-brand { 
	font-family: 'Audiowide', cursive; font-size: 1.7rem; 
	color: var(--gradient-main) !important; 
	text-shadow: 0 0 6px var(--black-bean) !important;
	text-transform: uppercase; 	
	text-decoration: none !important;
	margin-left: auto;
    margin-right: auto;
}
}
@media (min-width: 992px) {
.navbar .navbar-brand { 
	font-family: 'Audiowide', cursive; font-size: 1.7rem; 
	color: var(--gradient-main) !important; 
	text-shadow: 0 0 6px var(--black-bean) !important;
	position: absolute; 
	top: 50%;
	left: 50%; 
	transform: translate(-50%, -50%); 
	text-transform: uppercase; 	
	text-decoration: none !important;
}
}
/* Посилання меню */
.navbar-nav .nav-link {
    color: #fff !important; /* можна замінити на var(--licorice-2) якщо треба більш темний */
    transition: color 0.2s, text-shadow 0.2s !important;
	text-decoration: none !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--blood-red) !important;
    text-shadow: 0 0 4px var(--black-bean) !important;
	text-decoration: none !important;	
}

/* Dropdown меню */
.navbar-nav .dropdown-menu {
    background-color: var(--licorice-3) !important;
    border: 1px solid var(--black-bean) !important;
	text-decoration: none !important;
}

.navbar-nav .dropdown-item {
    color: #fff !important;
    transition: color 0.2s !important;
	text-decoration: none !important;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active {
    color: var(--blood-red) !important;
	text-decoration: none !important;
}
@media (max-width: 992px) {
.navbar-nav-mobile {
	display: flex !important;
	gap: 0.5rem !important;
	flex-direction: row !important;
}
.notifications-dropdown {
    position: relative; /* щоб абсолютне меню прив’язувалося саме до цього елемента */
}

/* Випадаюче меню профілю / повідомлень */
.dropdown-menu-custom {
    position: absolute;  /* випадає поверх, не впливає на потік */
    top: 100%;           /* під кнопкою */
    right: 0;            /* прикріплено до правого краю кнопки */
    min-width: 220px;    /* ширина меню */
    background-color: #2a1a12;  /* твій фон */
    border: 1px solid #444;     /* межа */
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.3);
    z-index: 1050;       /* щоб перекривало інші елементи */
}

/* Для hover / відкриття можна додати анімацію */
.dropdown-menu-custom.show {
    display: block;
    animation: dropdownFade 0.15s ease-in-out;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
}

/* ====== Футер у стилі навбару ====== */
footer.footer {
    width: 100%;
    background: rgb(19 3 0);
    /* тінь зверху */
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
    text-align: center; /* центр тексту */
    padding: 1rem 0;
}

footer.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* центр елементів */
    justify-content: center;
    gap: 1rem;
}

footer.footer .social-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center; /* соцкнопки по центру */
}

footer.footer .social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blood-red);
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

footer.footer .social-links a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--blood-red);
}

footer.footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}

/* Загальний стиль для виділених пунктів меню */
.dropdown-item.highlighted-profile,
.dropdown-header-admin.admin-header-highlight,
.dropdown-item.logout-highlight {
    font-weight: 600;
    color: #dc3545 !important;               /* Червоний колір тексту */
    background-color: #fff0f0;    /* Світлий червоний/рожевий фон */
    margin: 0.25rem 0;
    padding: 0.5rem;
}

/* Hover ефекти для пунктів */
.dropdown-item.highlighted-profile:hover,
.dropdown-header-admin.admin-header-highlight:hover,
.dropdown-item.logout-highlight:hover {
    background-color: #f8d7da;
    color: #a71d2a;
    text-decoration: none;
}

/* Додатково можна вирівняти іконки */
.dropdown-item i,
.dropdown-header-admin i {
    margin-right: 0.5rem;
}