/* Navigation Styles */

/* Navbar Container */
.navbar-container {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 95%;
    max-width: 80rem;
    margin: 0 auto;
    border-radius: 1rem;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s ease;
    height: 4rem;
}

/* Navbar States */
.navbar-scrolled {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.navbar-default {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.1);
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.navbar-logo img {
    height: 4rem;
    width: auto;
    object-fit: contain;
}

/* Desktop Menu */
.navbar-menu-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
}

@media (min-width: 768px) {
    .navbar-menu-desktop {
        display: flex;
    }
}

.navbar-menu-item {
    transition: color 0.3s ease;
}

.navbar-menu-item:hover {
    color: #fdd100;
}

.navbar-menu-item.active {
    color: #fdd100;
    text-decoration: underline;
    text-underline-offset: 0.5rem;
    text-decoration-color: rgba(253, 209, 0, 0.7);
}

/* Contact Button */
.navbar-contact {
    display: none;
}

@media (min-width: 768px) {
    .navbar-contact {
        display: inline-block;
    }
}

/* Mobile Menu Button */
.navbar-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: white;
    transition: color 0.3s ease;
}

.navbar-mobile-toggle:hover {
    color: #fdd100;
}

@media (min-width: 768px) {
    .navbar-mobile-toggle {
        display: none;
    }
}

.navbar-mobile-toggle svg {
    height: 1.75rem;
    width: 1.75rem;
}

/* Mobile Menu Overlay */
.navbar-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: scale(1);
    transition: all 0.2s ease;
}

.navbar-mobile-overlay.hidden {
    opacity: 0;
    transform: scale(0.95);
}

/* Mobile Menu Close Button */
.navbar-mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: white;
    transition: color 0.3s ease;
}

.navbar-mobile-close:hover {
    color: #fdd100;
}

.navbar-mobile-close svg {
    height: 2rem;
    width: 2rem;
}

/* Mobile Menu Links */
.navbar-mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
}

.navbar-mobile-menu-item {
    transition: color 0.3s ease;
}

.navbar-mobile-menu-item:hover {
    color: #fdd100;
}

.navbar-mobile-menu-item.active {
    color: #fdd100;
}

.navbar-mobile-contact {
    padding-top: 1.5rem;
}

.navbar-mobile-contact .btn {
    width: 100%;
    justify-content: center;
}

/* Transitions */
.navbar-transition-enter {
    transition: all 0.2s ease-out;
}

.navbar-transition-enter-start {
    opacity: 0;
    transform: scale(0.95);
}

.navbar-transition-enter-end {
    opacity: 1;
    transform: scale(1);
}

.navbar-transition-leave {
    transition: all 0.2s ease-in;
}

.navbar-transition-leave-start {
    opacity: 1;
    transform: scale(1);
}

.navbar-transition-leave-end {
    opacity: 0;
    transform: scale(0.95);
}

/* Hide elements with x-cloak */
[x-cloak] {
    display: none !important;
}
