/* Default state for menu toggle: hidden */
.menu-toggle {
    display: none;
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
    /* Show hamburger menu on mobile */
    .menu-toggle {
        display: block;
        font-size: 28px;
        background: none;
        border: none;
        cursor: pointer;
        color: #E0E0E0; /* Set icon color to be visible */
        order: 3; /* Position after nav */
    }

    /* Adjust logo text size for mobile */
    .logo-text {
        font-size: 1.8rem;
    }

    /* Hide original nav and prepare it for mobile view */
    header .container nav {
        display: none;
        position: absolute;
        top: 61px; /* Header height */
        left: 0;
        right: 0;
        width: 100%;
        background-color: #1E1E1E; /* Match header background */
        box-shadow: 0 3px 5px rgba(0,0,0,0.2);
        flex-direction: column;
        align-items: center;
    }

    /* This class is toggled by JS to show the menu */
    header .container nav.is-open {
        display: flex;
    }

    header .container nav ul {
        flex-direction: column;
        width: 100%;
    }

    header .container nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #333;
    }

    header .container nav ul li:last-child {
        border-bottom: none;
    }

    header .container nav ul li a {
        padding: 15px 0;
        display: block;
        width: 100%;
    }
}