/* Navbar Styles */
.pusteblume-navbar {
    background-color: #8d9c5d; /* Solid Green Theme Color */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050; /* Above everything */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px; /* Consistent height */
}

/* Container for Logo/Home */
.navbar-brand-container {
    display: flex;
    align-items: center;
}

.navbar-brand-icon {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.9); /* More opaque for better visibility */
    transition: color 0.3s ease;
}

.navbar-brand-icon:hover {
    color: #ffffff;
}

/* NEW: Container for Actions + Toggler */
.navbar-actions-container {
    display: flex;
    align-items: center;
    gap: 16px; /* Space between items */
}

/* NEW: Mobile Call Button */
.kita-btn-mobile {
    background-color: #e0e6d1; /* Light accent */
    color: #3e5f12; /* Dark green text */
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Circle */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.kita-btn-mobile:hover, .kita-btn-mobile:active {
    transform: scale(1.05);
    background-color: #ffffff;
    color: #3e5f12;
    text-decoration: none;
}

/* NEW: Desktop Contact Button */
.kita-btn-desktop {
    background-color: rgba(255, 255, 255, 0.2); /* Glassy effect */
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 24px; /* Pill shape */
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.kita-btn-desktop:hover {
    background-color: #ffffff;
    color: #3e5f12; /* Invert colors */
    border-color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Toggler Button */
.navbar-toggler {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1051; /* Keep above sidebar overlay */
    margin-left: 8px; /* Extra space from actions */
}

.toggler-icon {
    width: 30px;
    height: 3px;
    background-color: white;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.toggler-icon::before,
.toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.toggler-icon::before {
    transform: translateY(-10px);
}

.toggler-icon::after {
    transform: translateY(10px);
}

/* Toggler Animation (X Shape) */
.nav-open .toggler-icon {
    background-color: transparent;
}

.nav-open .toggler-icon::before {
    transform: rotate(45deg);
}

.nav-open .toggler-icon::after {
    transform: rotate(-45deg);
}

/* Navigation Menu Container */
.navbar-menu {
    position: fixed;
    background-color: #7c8b4f; /* Slightly darker/different green for contrast */
    padding-top: 60px; /* Space for fixed header */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
    overflow-y: auto;
}

/* Desktop: Off-Canvas Sidebar */
@media (min-width: 992px) {
    .navbar-menu {
        top: 0;
        right: 0;
        bottom: 0;
        width: 350px;
        transform: translateX(100%); /* Hidden by default */
        box-shadow: -4px 0 15px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center links vertically */
    }

    .nav-open .navbar-menu {
        transform: translateX(0); /* Slide in */
    }
}

/* Mobile: Dropdown Slide Down */
@media (max-width: 991.98px) {
    .navbar-menu {
        top: 60px; /* Below header */
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: 0; /* Hidden */
        overflow: hidden;
        background-color: #8d9c5d; /* Same as header */
        padding-top: 0;
        transform: none; /* Reset transform */
        transition: max-height 0.5s ease-in-out, padding 0.5s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-open .navbar-menu {
        max-height: 100vh; /* Allow it to grow */
        padding-bottom: 2rem;
    }
}

/* Navigation Links */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.nav-item {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-open .nav-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation for Items */
.nav-open .nav-item:nth-child(1) { transition-delay: 0.1s; }
.nav-open .nav-item:nth-child(2) { transition-delay: 0.2s; }
.nav-open .nav-item:nth-child(3) { transition-delay: 0.3s; }
.nav-open .nav-item:nth-child(4) { transition-delay: 0.4s; }
.nav-open .nav-item:nth-child(5) { transition-delay: 0.5s; }
.nav-open .nav-item:nth-child(6) { transition-delay: 0.6s; }

.nav-link {
    display: block;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
    border-left: 0 solid transparent;
}

/* Hover Effect: Modern Highlight */
.nav-link:hover, .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 6px solid #e0e6d1; /* Accent Color */
    padding-left: 2.5rem; /* Slight shift */
    color: #ffffff;
    text-decoration: none;
}

/* Backdrop Overlay for Desktop */
.navbar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1030;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-open .navbar-backdrop {
    opacity: 1;
    visibility: visible;
}
