/* Navigation Menu Styles */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.08);
    padding: 18px 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    padding: 12px 0;
    box-shadow: 0 4px 35px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 40px;
}

.brand-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-logo {
    font-size: 24px;
    font-weight: 700;
    color: #4a7c59;
    text-transform: lowercase;
    line-height: 1;
    margin-bottom: 2px;
}

.brand-subtitle {
    font-size: 11px;
    color: #666;
    font-weight: 400;
    line-height: 1;
}

.navbar-nav {
    align-items: center;
    gap: 8px;
}

.navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 20px !important;
    margin: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover {
    color: #4a7c59 !important;
    background: rgba(74, 124, 89, 0.08);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: #4a7c59 !important;
    background: rgba(74, 124, 89, 0.12);
    font-weight: 600;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #4a7c59;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 20px;
}

.btn-purchase {
    background: linear-gradient(135deg, #4a7c59, #6b9b7a) !important;
    color: white !important;
    border: none !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    border-radius: 25px !important;
    margin-left: 20px !important;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.25);
    transition: all 0.3s ease !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
}

.btn-purchase:hover {
    background: linear-gradient(135deg, #2d5016, #4a7c59) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(74, 124, 89, 0.35) !important;
}

.btn-purchase::after {
    display: none !important;
}

/* Mobile Menu Styles */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(74, 124, 89, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2845, 80, 22, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Dropdown */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        border-radius: 15px;
        margin-top: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(45, 80, 22, 0.15);
        border: 1px solid rgba(74, 124, 89, 0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 15px 20px !important;
        border-radius: 12px;
        display: block;
    }
    
    .btn-purchase {
        margin: 15px auto 0 auto !important;
        display: inline-block !important;
        width: auto !important;
    }
}

/* Smooth Animations */
.navbar-nav .nav-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav .nav-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav .nav-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav .nav-item:nth-child(4) { animation-delay: 0.4s; }
.navbar-nav .nav-item:nth-child(5) { animation-delay: 0.5s; }
.navbar-nav .nav-item:nth-child(6) { animation-delay: 0.6s; }
.navbar-nav .nav-item:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    
    .navbar-brand .logo {
        height: 40px;
    }
    
    .navbar.scrolled .navbar-brand .logo {
        height: 35px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-brand .logo {
        height: 35px;
    }
    
    .navbar-collapse {
        margin-top: 10px;
        padding: 15px;
    }
    
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 12px 15px !important;
    }
}
