/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   WRAPPER
========================= */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    z-index: 1000;
}

/* =========================
   INNER HEADER (TALLER)
========================= */
.nav-inner {
    max-width: 1400px;
    margin: auto;
    padding: 32px 32px; /* ⬅ increased */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================
   LOGO (BIGGER)
========================= */
.nav-logo a {
    color: #fff;
    font-size: 26px; /* ⬅ increased */
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* =========================
   TOGGLE (BIGGER)
========================= */
.nav-toggle {
    display: none;
    font-size: 32px; /* ⬅ increased */
    color: #fff;
    cursor: pointer;
}

.nav-toggle .close {
    display: none;
}

.nav-toggle.active .open {
    display: none;
}

.nav-toggle.active .close {
    display: inline;
}

/* =========================
   MENU (DESKTOP)
========================= */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 40px; /* ⬅ more spacing */
}

.nav-item {
    position: relative;
}

.nav-item > a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px; /* ⬅ increased */
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0; /* ⬅ increased height */
}

.nav-item > a:hover {
    color: red;
}

/* =========================
   ARROW (BIGGER)
========================= */
.arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #fff;
    transition: transform 0.3s ease, border-top-color 0.3s ease;
}

/* =========================
   DROPDOWN (TALLER)
========================= */
.dropdown {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #000;
    min-width: 280px; /* ⬅ wider */
    display: none;
    padding: 14px 0;
    z-index: 1000;
}

.dropdown li a {
    display: block;
    padding: 22px 30px; /* ⬅ taller */
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}

.dropdown li a:hover {
    background: red;
}

/* DESKTOP HOVER */
.has-dropdown:hover > .dropdown {
    display: block;
}

.has-dropdown:hover .arrow {
    transform: rotate(180deg);
    border-top-color: red;
}

.site-main {
    padding-top: 112px; /* desktop navbar height */
}

/* =========================
   MOBILE
========================= */
@media (max-width: 992px) {

    .site-main {
        padding-top: 80px; /* mobile navbar height */
    }

    /* Toggle visible */
    .nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap; /* 🔥 prevent stacking */
    }

    .nav-logo {
        flex: 1;
        min-width: 0;
    }

    .nav-logo a {
        font-size: 16px;      /* ⬅ slightly smaller for mobile */
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 12px;
        font-size: 26px;
        cursor: pointer;
        position: fixed;   /* ✅ THIS IS MISSING */
        top: 28px;         /* align with header */
        right: 32px;
        z-index: 1101;
    }

    /* FULL HEIGHT MENU */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        padding-top: 140px; /* ⬅ more top space */
        display: none;
        overflow-y: auto;
        z-index: 1100; 
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-top: 1px solid #222;
    }

    .nav-item > a {
        padding: 26px 32px; /* ⬅ bigger touch area */
        font-size: 20px;
        width: 100%;
        justify-content: space-between;
    }

    /* MOBILE DROPDOWN */
    .dropdown {
        position: static;
        width: 100%;
        display: none;
        background: #111;
        padding: 0;
    }

    .dropdown li a {
        padding: 22px 40px; /* ⬅ taller */
        font-size: 17px;
    }

    .has-dropdown.active .dropdown {
        display: block;
    }

    .has-dropdown.active .arrow {
        transform: rotate(180deg);
        border-top-color: red;
    }
}
