@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&display=swap');


.brinth-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #0d0d0d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 1px 6px #000;
    flex-wrap: wrap;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-logo {
    height: 40px;
    margin-right: 15px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.95em;
    padding: 8px 12px;
    transition: color 0.3s ease;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #b08132;
}

.nav-link.active::after,
.nav-link:hover::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #3b2608;
    /*b08132*/
    border-radius: 2px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #121212;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 0 15px #00000066;
    min-width: 180px;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: #ccc;
    font-size: 0.95em;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #1a1a1a;
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* LOGIN FORM */
.navbar-login {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.navbar-login input {
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #444;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 0.9em;
}

.navbar-login input:focus {
    outline: none;
    border-color: #3b2608;
}

.login-group {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    /* 👈 Add this line */

    align-items: center;
}

.navbar-login button {
    padding: 6px 18px;
    border-radius: 5px;
    background-color: #3b2608;
    color: #fff;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.navbar-login button:hover {
    background-color: #3b2608;
}

.forgot-pass {
    margin-top: 4px;
    font-size: 0.75em;
    color: #aaa;
    text-decoration: underline;
    text-align: center;
}

/* Overlay covering half screen */
.login-error-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 12, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Box with message */
.login-error-box {
    background: #1c1c1c;
    padding: 25px 40px;
    border-radius: 15px;
    box-shadow: 0 0 15px #5d3e2d;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 1em;
    color: #f8f8f8;
    max-width: 400px;
    width: 80%;
}

/* ===== MOBILE NAVBAR ONLY ===== */
.mobile-nav {
    display: none;
    position: fixed;         /* 👈 Make it fixed */
    top: 0;                  /* 👈 Stick to top */
    left: 0;
    right: 0;
    z-index: 9999;           /* 👈 Stay above other elements */
}


.mobile-nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: #0d0d0d;
}

.mobile-nav .nav-logo {
    height: 40px;
}

.mobile-menu-btn {
    font-size: 2em;
    color: #fff;
    cursor: pointer;
}

/* Slide Menu */
.mobile-menu-slide {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background-color: #0d0d0d;
    color: #fff;
    padding: 25px;
    transition: right 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    font-family: 'Cinzel Decorative', serif;
}

.mobile-menu-slide.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-close-btn {
    font-size: 1.8em;
    color: #fff;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mobile-menu-links a,
.mobile-dropdown span {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95em;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover,
.mobile-dropdown span:hover {
    color: #b08132;
}

/* Dropdown inside */
.mobile-dropdown .dropdown-items {
    display: none;
    flex-direction: column;
    padding-left: 15px;
}

.mobile-dropdown.open .dropdown-items {
    display: flex;
}

.mobile-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-login input,
.mobile-login button {
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 0.9em;
}

.mobile-login input {
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #444;
}

.mobile-login button {
    background-color: #3b2608;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.mobile-login button:hover {
    background-color: #5a3a0e;
}

.forgot-pass {
    font-size: 0.75em;
    color: #aaa;
    text-align: center;
    margin-top: -5px;
    text-decoration: underline;
}

/* RESPONSIVE SWITCH */
@media (max-width: 1024px) {
    .brinth-navbar {
        display: none;
    }

    .mobile-nav {
        display: block;
    }
}