/* Navbar Styles */
.navbar {
    background-color: #f1eee9; /* Background from logo*/
    height: 75px; /* Fixed height for the navbar */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Align items with space between */
    width: 100%;
    position: fixed; /* Fix the navbar at the top */
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure the navbar stays on top */
    box-shadow: none; /* Remove shadow */
    border: none; /* Remove border */
    padding: 0 20px; /* Horizontal padding */
    box-sizing: border-box; /* Include padding in the total width calculation */
}

.navbar-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

/* Styles for the banner image */
.banner-image {
    max-width: 100%;  /* Ensures the image does not grow beyond the container width */
    height: auto;  /* Maintains aspect ratio */
    max-height: 60px;  /* Prevents the image from exceeding a specific height, adjust as needed */
}

/* Navbar Logo */
.navbar-logo {
    color: #1e0e01; /* Text color from the mink's fur color */
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
}

/* Navbar Menu */
.nav-menu {
    list-style: none;
    display: flex; /* Display the nav items on larger screens */
    gap: 30px;
    margin: 0;
    align-items: center; /* Align items vertically */
}

/* Nav Items */
.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #333; /* Dark text for better contrast */
    font-size: 1.1em;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #f2545b; /* Red hover effect for better visibility */
}

/* Hamburger Menu Button */
.navbar-toggle {
    display: none; /* Hide by default on larger screens */
    flex-direction: column;
    cursor: pointer;
    height: 75px; /* Same height as navbar */
    width: 75px; /* Fixed width to create a square section */
    align-items: center;
    justify-content: center;
    background-color: #2d344b; /* Deep blue for the button background */
    border: none;
    position: absolute; /* Set absolute positioning */
    right: 20px; /* Align it within the padding of the navbar */
    top: 0;
    z-index: 1100; /* Make sure it stays above other elements */
}

.bar {
    background-color: #ffffff; /* White color to contrast with the blue background */
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Change hamburger to 'X' when open */
.navbar-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(7.5px, 7.5px);
}

.navbar-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7.5px, -7.5px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Hide the menu by default on mobile */
        flex-direction: column;
        align-items: center;  /* Center menu items horizontally */
        justify-content: center; /* Center menu items within container */
        background-color: #ffffff;
        position: absolute;
        top: 75px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        margin: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex; /* Show the menu when active */
    }

    .nav-item {
        margin: 15px 0; /* Add spacing between items */
    }

    .navbar-toggle {
        display: flex; /* Display hamburger button on mobile */
    }
}
