/* WebV2 Master - Navigation & Footer */
/* Brand: #3d1a6f (purple), #170a29 (dark), #fdb913 (yellow), #ed174c (red), #7d1d61 (med purple) */

/* ══════════════════════════════════
   NAVIGATION
   ══════════════════════════════════ */
.wv2-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    transition: all 0.3s ease;
}
.wv2-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

/* Logo */
.wv2-logo {
    flex-shrink: 0;
}
.wv2-logo img {
    height: 70px;
    transition: opacity 0.3s ease;
}
.wv2-logo .wv2-logo-color { display: none; }
.wv2-logo .wv2-logo-white { display: block; }

/* Scrolled state */
.wv2-scrolled {
    background: #fff;
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(61,26,111,0.1);
}
.wv2-scrolled .wv2-logo-white { display: none; }
.wv2-scrolled .wv2-logo-color { display: block; }
.wv2-scrolled .wv2-logo img { height: 36px; }
.wv2-scrolled .wv2-menu-link { color: #170a29; }
.wv2-scrolled .wv2-phone { color: #3d1a6f; }
.wv2-scrolled .wv2-hamburger span { background: #170a29; }

/* Menu */
.wv2-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.wv2-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.wv2-menu-link {
    display: block;
    padding: 0.75rem 1.15rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.wv2-menu-link:hover {
    color: #fdb913;
    text-decoration: none;
}
.wv2-scrolled .wv2-menu-link:hover { color: #3d1a6f; }
.wv2-menu-link .fa-chevron-down {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

/* Nav CTA area */
.wv2-nav-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: 1.5rem;
}
.wv2-phone {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.wv2-phone:hover { color: #fdb913; text-decoration: none; }
.wv2-cta-btn {
    display: inline-block;
    padding: 0.55rem 1.5rem;
    background: #ed174c;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.wv2-cta-btn:hover {
    background: #d1133f;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ── Dropdown ── */
.wv2-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 520px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(23,10,41,0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateX(-50%) translateY(8px);
    padding: 0.5rem;
    pointer-events: none;
}
.wv2-dropdown-sm { min-width: 340px; max-height: 70vh; overflow-y: auto; }
.wv2-dropdown-open > .wv2-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.wv2-dropdown-open > .wv2-menu-link .fa-chevron-down {
    transform: rotate(180deg);
}
.wv2-dropdown-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.wv2-dropdown-sm .wv2-dropdown-inner {
    grid-template-columns: 1fr;
}
.wv2-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #170a29;
    transition: background 0.2s ease;
}
.wv2-dropdown-item:hover {
    background: #f8f7fc;
    text-decoration: none;
    color: #170a29;
}
.wv2-dropdown-icon {
    width: 20px;
    text-align: center;
    color: #3d1a6f;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.wv2-dropdown-item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.wv2-dropdown-item span {
    display: block;
    font-size: 0.8rem;
    color: #777;
    line-height: 1.35;
}
.wv2-dropdown-compact {
    align-items: center;
    padding: 0.65rem 1rem;
}
.wv2-dropdown-compact strong {
    margin-bottom: 0;
}

/* ── Hamburger ── */
.wv2-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1031;
}
.wv2-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.wv2-hamburger-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.wv2-hamburger-open span:nth-child(2) { opacity: 0; }
.wv2-hamburger-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Make menu items position relative for dropdown positioning */
.wv2-has-dropdown { position: relative; }

/* ══════════════════════════════════
   MOBILE NAV (< 992px)
   ══════════════════════════════════ */
@media (max-width: 991px) {
    .wv2-hamburger { display: block; }

    .wv2-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 2rem;
        z-index: 1030;
    }
    .wv2-menu-open { display: flex; }

    .wv2-menu-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 400px;
        gap: 0;
    }
    .wv2-menu-link {
        color: #170a29;
        font-size: 1.1rem;
        padding: 0.85rem 0;
        text-align: center;
        width: 100%;
    }
    .wv2-menu-link:hover {
        color: #3d1a6f;
    }

    /* Mobile dropdowns */
    .wv2-has-dropdown { position: static; }
    .wv2-dropdown {
        position: static;
        min-width: 0;
        width: 100%;
        transform: none;
        background: #f8f7fc;
        box-shadow: none;
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease;
    }
    .wv2-dropdown-open > .wv2-dropdown {
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 600px;
        padding: 0.5rem;
        pointer-events: auto;
    }
    .wv2-dropdown-inner {
        grid-template-columns: 1fr;
    }
    .wv2-dropdown-item {
        color: #170a29;
    }
    .wv2-dropdown-item:hover {
        background: rgba(61,26,111,0.08);
        color: #3d1a6f;
    }
    .wv2-dropdown-icon { color: #3d1a6f; }
    .wv2-dropdown-item span { color: #666; }

    /* Mobile CTA */
    .wv2-nav-cta {
        flex-direction: column;
        margin-left: 0;
        margin-top: 1rem;
        gap: 1rem;
    }
    .wv2-phone { color: #170a29; font-size: 1rem; }

    /* Keep hamburger visible above overlay */
    .wv2-hamburger-open span { background: #170a29; }
    .wv2-scrolled .wv2-hamburger-open span { background: #170a29; }
}

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
.wv2-footer {
    background: linear-gradient(135deg, #3d1a6f 0%, #170a29 100%);
    color: rgba(255,255,255,0.85);
    padding-top: 4rem;
}
.wv2-footer-top {
    padding-bottom: 2.5rem;
}
.wv2-footer-about {
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 340px;
    opacity: 0.8;
}
.wv2-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.wv2-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}
.wv2-footer-social a:hover {
    background: #ed174c;
    transform: translateY(-2px);
}
.wv2-footer h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fdb913;
    margin-bottom: 1.25rem;
}
.wv2-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wv2-footer ul li { margin-bottom: 0.6rem; }
.wv2-footer ul a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.wv2-footer ul a:hover {
    color: #fdb913;
}
.wv2-footer-supporters {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
}
.wv2-footer-supporters img {
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.wv2-footer-supporters img:hover { opacity: 0.85; }
.wv2-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    font-size: 0.82rem;
    opacity: 0.6;
    text-align: center;
}

/* ══════════════════════════════════
   GLOBAL BODY OVERRIDES FOR V2
   ══════════════════════════════════ */
html, body {
    overflow-x: hidden;
}
body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #222;
}
