/* Navigation Styles */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: transparent;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(25, 25, 44, 0.85); /* Updated to match theme with transparency */
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Brand Logo Styles */
.navbar-brand {
    font-family: 'Marcellus', serif;
    font-size: 2rem;
    color: var(--secondary-color) !important;
    letter-spacing: 3px;
    position: relative;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-brand:hover::after {
    width: 100%;
}

/* Navigation Links */
.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-color) !important;
    padding: 0.5rem 1.2rem !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 70%;
    opacity: 1;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Mobile Toggle Button */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: none;
    position: relative;
    border-bottom: 2px solid var(--secondary-color);
    transition: all 300ms linear;
}

.navbar-toggler-icon::after, 
.navbar-toggler-icon::before {
    width: 24px;
    position: absolute;
    height: 2px;
    background-color: var(--secondary-color);
    top: 0;
    left: 0;
    content: '';
    z-index: 2;
    transition: all 300ms linear;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(45deg);
    background-color: var(--secondary-color);
    height: 2px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: translateY(8px) rotate(-45deg);
    background-color: var(--secondary-color);
    height: 2px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(25, 25, 44, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem;
        margin: 1rem -1rem -1rem;
        border-radius: 10px;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
    }

    .nav-link::before {
        left: 1rem;
        transform: none;
        opacity: 0;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        width: calc(100% - 2rem);
        opacity: 1;
    }
} 