/* ============================================
   VERACITY NAV — Reflect Group (light variant)
   Structure + behaviour pairs with veracity-nav.js
   ============================================ */

/* ============================================
   DESKTOP NAVBAR
   ============================================ */
.navbar {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 100;
}

.navbar-wrap {
    width: 100%;
    padding: 0 7%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Primary menu */
.menu {
    display: flex;
    gap: 38px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li { position: relative; }

.menu a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #2b2430;
    text-decoration: none;
    transition: color 0.25s;
    padding: 28px 0;
    display: block;
}

.menu a:hover,
.menu .current-menu-item > a { color: #5d2a6e; }

/* Desktop dropdowns */
.menu .sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 110;
    padding: 10px 0;
}

.menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu .sub-menu li { width: 100%; }
.menu .sub-menu a {
    padding: 10px 22px;
    font-size: 1.3rem;
}
.menu .sub-menu a:hover {
    background: #f3f1f4;
    color: #5d2a6e;
}

/* ============================================
   HAMBURGER (mobile)
   ============================================ */
.hamburger {
    display: none;
    position: fixed;
    top: 15px;
    right: 6%;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 300;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2b2430;
    transition: all 0.3s ease;
}

.hamburger::before { top: 0; }
.hamburger span { top: 10px; }
.hamburger::after { top: 20px; }

.hamburger.active::before { top: 10px; transform: rotate(45deg); background: #fff; }
.hamburger.active span { opacity: 0; }
.hamburger.active::after { top: 10px; transform: rotate(-45deg); background: #fff; }

/* ============================================
   MOBILE OVERLAY MENU
   ============================================ */
.overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #2b2030 0%, #1d1622 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
    z-index: 200;
    overflow-y: auto;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 8%;
}

.menu-logo-box {
    margin-bottom: 5rem;
}
.menu-logo-box img {
    width: 200px;
    height: auto;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

.mobile-menu li { margin: 8px 0; }

.mobile-menu a {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.25s;
}
.mobile-menu a:hover { color: #d9c8e3; }

/* dropdown arrow (added by veracity-nav.js) */
.mobile-menu .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 12px;
    border-right: 2px solid #d9c8e3;
    border-bottom: 2px solid #d9c8e3;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    vertical-align: middle;
}
.mobile-menu .arrow.active { transform: rotate(225deg); }

/* mobile sub-menu (toggled by veracity-nav.js) */
.mobile-menu .sub-menu {
    list-style: none;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.mobile-menu .sub-menu a {
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
}

/* ============================================
   RESPONSIVE - 890px (nav flip)
   ============================================ */
@media screen and (max-width: 890px) {
    .menu { display: none; }
    .hamburger { display: block; }
}
