<!--
Globales Menü, wird via PHP später in alle Seiten eingebunden
-->
<nav class="nav">
    <div class="nav__left">
        <a href="index.php" class="nav_logo">
	        <img src="images/logos/logo_full.png" alt="Logo" style="height: 50px">
	    </a>
    </div>

    <!-- Mobile navbar mit Burger-Symbol -->
    <button id="mobile-nav" aria-label="Menü öffnen">
        ☰
    </button>

    <ul id="mobile-nav" class="nav__mobile-menu">
        <li><a href="auth/login.php">Anmelden</a></li>
        <li><a href="content/mathe.php">Mathe</a></li>
        <li><a href="content/physik.php">Physik</a></li>
    </ul>

    <!-- normale Navbar (Desktop) -->
    <div class="nav__center">
        <div class="nav__item nav__dropdown">
            <button class="nav__dropdown-toggle">Sprachen</button>
            <div class="nav__dropdown-menu">
                <a href="content/deutsch.php">Deutsch</a>
                <a href="content/englisch.php">Englisch</a>
                <a href="content/franzoesisch.php">Französisch</a>
                <a href="content/latein.php">Latein</a>
                <a href="content/literatur.php">Literatur</a>
            </div>
        </div>
        <div class="nav__item nav__dropdown">
            <button class="nav__dropdown-toggle">MINT</button>
            <div class="nav__dropdown-menu">
                <a href="content/mathematik.php">Mathematik</a>
                <a href="content/biologie.php">Biologie</a>
                <a href="content/chemie.php">Chemie</a>
                <a href="content/physik.php">Physik</a>
                <a href="content/informatik.php">Informatik</a>
                <a href="content/astronomie.php">Astronomie</a>
            </div>
        </div>
        <div class="nav__item nav__dropdown">
            <button class="nav__dropdown-toggle">Gesellschaft & Werte</button>
            <div class="nav__dropdown-menu">
                <a href="content/geschichte.php">Geschichte</a>
                <a href="content/erdkunde.php">Erdkunde</a>
                <a href="content/sozialkunde.php">Sozialkunde</a>
                <a href="content/wirtschaftskunde.php">Wirtschaftskunde</a>
                <a href="content/religion.php">Religion</a>
                <a href="content/ethik.php">Ethikunterricht</a>
                <a href="content/philosophie.php">Philosophie</a>
                <a href="content/psychologie.php">Psychologie</a>
                <a href="content/kunst.php">Kunst</a>
                <a href="content/musik.php">Musik</a>
                <a href="content/theater.php">Theater</a>
            </div>
        </div>
        <div class="nav__item nav__dropdown">
            <button class="nav__dropdown-toggle">Technik & Praxis</button>
            <div class="nav__dropdown-menu">
                <a href="content/technik.php">Technik</a>
                <a href="content/werken.php">Werken</a>
                <a href="content/hauswirtschaft.php">Hauswirtschaft</a>
                <a href="content/sport.php">Sport</a>
            </div>
        </div>
    </div>

    <div class="nav__right">
        <a href = "content/profile.php" class="nav_item nav__link">Profil</a>
        <div class="nav__search">
        <?php
            include_once 'search.php';
        ?>
        </div>
	    <a href = "auth/login.php" class="nav__item nav__button">Anmelden</a>
	    <a href = "auth/register.php" class="nav__item nav__button">Registrieren</a>
    </div>
</nav>