/* General Navbar Styling */
.navbar {
    display: flex;
    align-items: center;
    background-color: #000000; /* Background color */
    justify-content: space-between;
    padding: 10px 30px;
    position: relative; /* Changed from fixed to relative */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    color: white;
    height: auto;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

/* Navbar Brand Styling */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: bold;
}

/* Navbar Links Container */
.navbar-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

/* Navbar Links Item */
.navbar-links li {
    display: inline-block;
}

/* Navbar Links Styling */
.navbar-links a {
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    font-weight: 500;
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Navbar Button Styling */
.btn-buy-now {
    background-color: #f0e68c;
    color: #2d2d2d;
    border: 2px solid #f0e68c;
    padding: 12px 25px;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Align Button with Navbar Links */
.navbar-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-links .btn-buy-now {
    align-self: center;
}

/* Navbar Links Hover Effect */
.navbar-links a:hover {
    color: #2d2d2d;
    background-color: #f0e68c;
    padding: 0px 10px;
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-links a {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }
    .navbar-links {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 1px !important;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 2px !important;
        border-radius: 0 0 10px 10px;
        box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
    }

    .navbar-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .btn-buy-now {
        margin-top: 10px;
        margin-bottom: 10px;
        width: 43%;
        font-size: 23px;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.8rem;
    }

    .btn-buy-now {
        padding: 10px 20px;
        font-size: 23px;
        width: 43%;
    }

    .navbar {
        padding: 15px 20px;
    }
}
