/* =========================
   RESET
========================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #7300AD;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

/* =========================
   NAVIGATION (FULL WIDTH BAR)
========================= */

nav {
    width: 100%;
    background-color: #7300AD;
    box-shadow: 0 0 10px rgba(115,0,173,0.6);
}

/* Constrain nav content */
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    height: 56px;

    display: flex;
    align-items: center;
}

/* Logo */
.logo img {
    height: 34px;
    display: block;
}

/* Push menu to right */
.nav-right {
    margin-left: auto;
}


/* =========================
   MENU
========================= */

.menu {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    gap: 30px;

    white-space: nowrap;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    padding: 8px 12px;
    display: block;
    text-decoration: none;
    color: white;
}

.menu > li > a:hover {
    background-color: #808080;
    color: #7300AD;
}

/* =========================
   DROPDOWN
========================= */

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;

    background-color: #5e0090;
    border-radius: 6px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);

    display: none;
}

.dropdown.open > .dropdown-content {
    display: block;
}

.social-icon {
    width: 16px;       /* controls icon size */
    height: 16px;
    margin-right: 8px; /* spacing between icon and text */
    vertical-align: middle;
}

.dropdown-content a {
    display: block;
    padding: 12px 14px;
    text-decoration: none;
    color: white;

    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.dropdown-content a:hover {
    background-color: #808080;
    color: #7300AD;
}

/* =========================
   PAGE CONTENT WRAPPER
========================= */

.page-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Main banner image */
.responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Text blocks */
.text-block {
    background-color: #d3d3d3;
    border: 2px solid black;
    border-radius: 15px;
    padding: 15px 20px;
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.5;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

/* Footer */
.copyright {
    text-align: center;
     color: #ffffff !important;
    margin: 40px 0;
}

/* =========================
   MOBILE NAV
========================= */

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* Mobile breakpoint */
@media (max-width: 900px) {

    .nav-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 20px;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    .nav-right {
        width: 100%;
        display: none;
    }

    .nav-right.active {
        display: block;
    }

    /* 🔥 CRITICAL FIXES */

    .menu {
        flex-direction: column;
        gap: 0;
        margin-top: 10px;
        white-space: normal;   /* override nowrap */
    }

    .menu > li > a {
        padding: 12px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #5e0090;
    }

    body {
        overflow-x: hidden; /* prevent sideways scroll */
    }
}