.navbar {
    position: static; /* Changed from fixed to static to scroll with page */
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    min-height: 140px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.navbar-brand {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.nav-logo {
    height: 70px;
    width: auto;
}

.nav-link {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: #16292F !important;
    text-transform: uppercase;
    padding: 10px 15px;
}

.nav-link:hover {
    color: #666 !important;
}

.navbar-toggler {
    border: none;
    transition: opacity 0.3s ease; /* Smooth hide/show */
}

.navbar-toggler:focus {
    outline: none;
}

.navbar-toggler i {
    font-size: 1.5rem;
    color: #16292F;
}

.d-none.d-lg-flex {
    flex: 1;
    display: flex;
    align-items: center;
}

.d-none.d-lg-flex.me-auto {
    justify-content: flex-start;
}

.d-none.d-lg-flex.ms-auto {
    justify-content: flex-end;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed; /* Kept fixed for mobile menu overlay */
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    padding: 60px 20px 20px;
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #16292F;
    cursor: pointer;
}

.mobile-nav {
    text-align: center;
    width: 100%;
}

.mobile-nav a {
    display: block;
    color: #16292F;
    padding: 15px;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.mobile-nav a:hover {
    background: rgba(169, 160, 141, 0.1);
}

/* Mobile View Tweaks */
@media (max-width: 991px) {
    .navbar {
        min-height: 80px;
    }

    .navbar .container {
        justify-content: center;
        position: relative;
    }

    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar-toggler {
        position: absolute;
        left: 15px; /* Keep it on the left */
    }

    .mobile-menu.active ~ .navbar .navbar-toggler {
        opacity: 0; /* Hide burger when menu is open */
    }

    .d-none.d-lg-flex {
        display: none;
    }
}