﻿/* ════════════════════════════════════════════════════════════
   MENU.CSS  —  Wyaah Navigation
   Design  : Transparent → dark gradient on scroll (index.html)
   Palette : #1A1A1A · #8C1428 · #C41E3A · Gold #C9963A
   ════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
    --nav-h:       76px;
    --nav-from:    #1A1A1A;
    --nav-mid:     #8C1428;
    --nav-to:      #C41E3A;
    --nav-gold:    #C9963A;
    --nav-gold-dk: #8B6914;
    --nav-ease:    cubic-bezier(.4,0,.2,1);
}

/* ════════════════════════════════════════════════════════════
   NAV SHELL  —  Transparent by default
   ════════════════════════════════════════════════════════════ */
.wy-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 40px;
    background: #1A1A1A;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: box-shadow .35s ease;
}
.wy-nav.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.4);
    border-bottom-color: rgba(201,150,58,.2);
}
@media (max-width: 640px) { .wy-nav { padding: 0 20px; } }

/* ── Inner Layout ────────────────────────────────────────── */
.wy-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 20px;
}

/* ── Logo ────────────────────────────────────────────────── */
.wy-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity .22s;
}
.wy-logo:hover { opacity: .85; }

/* Gold square mark with heart icon */
.wy-logo-mark {
    width: 36px; height: 36px;
    background: var(--nav-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wy-logo-mark svg {
    width: 18px; height: 18px;
    fill: #fff;
}

/* Logo image — inverted white for dark bg */
.wy-logo-img {
    width: 110px;
    height: auto;
    filter: brightness(0) invert(1);
    display: block;
}

/* ── Desktop Nav Links ───────────────────────────────────── */
.wy-nav-links {
    display: none;
    list-style: none;
    margin: 0; padding: 0;
    align-items: center;
    gap: 36px;
    flex: 1;
    justify-content: center;
}
@media (min-width: 1024px) { .wy-nav-links { display: flex; } }

.wy-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    white-space: nowrap;
    transition: color .25s;
}
/* Gold underline sweeps from left */
.wy-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 1.5px;
    background: var(--nav-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--nav-ease);
}
.wy-nav-links a:hover { color: #fff; }
.wy-nav-links a:hover::after { transform: scaleX(1); }

/* ── Desktop Actions ─────────────────────────────────────── */
.wy-nav-actions {
    display: none;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
@media (min-width: 1024px) { .wy-nav-actions { display: flex; } }

.wy-link-ghost {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 6px;
    white-space: nowrap;
    transition: color .22s, background .22s;
}
.wy-link-ghost:hover { color: #fff; background: rgba(255,255,255,.08); }

/* Gold "Apply Now" CTA button */
.wy-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--nav-gold);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: .01em;
    box-shadow: 0 4px 18px rgba(201,150,58,.38);
    transition: background .25s, transform .25s, box-shadow .25s;
}
.wy-cta-btn:hover {
    background: var(--nav-gold-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,150,58,.5);
}
.wy-cta-btn svg { transition: transform .2s; }
.wy-cta-btn:hover svg { transform: translateX(3px); }

/* ── Search Dropdown ─────────────────────────────────────── */
.wy-search-wrap { position: relative; }

.wy-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 6px;
    cursor: pointer;
    color: rgba(255,255,255,.8);
    transition: background .22s, border-color .22s, color .22s;
}
.wy-search-btn:hover,
.wy-search-btn.active {
    background: rgba(255,255,255,.18);
    border-color: rgba(201,150,58,.5);
    color: var(--nav-gold);
}

.wy-search-drop {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 290px;
    background: rgba(26,26,26,.97);
    border: 1px solid rgba(201,150,58,.25);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    padding: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s var(--nav-ease), transform .22s var(--nav-ease);
    z-index: 999;
    backdrop-filter: blur(16px);
}
.wy-search-drop.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.wy-search-form { display: flex; gap: 8px; }
.wy-search-input {
    flex: 1;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 7px;
    font-size: 13px;
    color: #fff;
    background: rgba(255,255,255,.08);
    outline: none;
    transition: border-color .22s, background .22s;
    font-family: inherit;
}
.wy-search-input::placeholder { color: rgba(255,255,255,.35); }
.wy-search-input:focus { border-color: var(--nav-gold); background: rgba(255,255,255,.12); }
.wy-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: var(--nav-gold);
    border: none;
    border-radius: 7px;
    cursor: pointer;
    color: #fff;
    flex-shrink: 0;
    transition: background .22s;
}
.wy-search-submit:hover { background: var(--nav-gold-dk); }

/* ── Hamburger ───────────────────────────────────────────── */
.wy-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    flex-shrink: 0;
}
.wy-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s var(--nav-ease), opacity .3s, width .3s;
}
/* Animate to X on open */
.wy-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.wy-hamburger.open span:nth-child(2) { opacity: 0; }
.wy-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
@media (min-width: 1024px) { .wy-hamburger { display: none; } }

/* ════════════════════════════════════════════════════════════
   MOBILE MENU  —  Dropdown from top (index.html style)
   ════════════════════════════════════════════════════════════ */
.wy-mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    z-index: 990;
    background: rgba(26,26,26,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px 24px 28px;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(201,150,58,.2);
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
}
.wy-mobile-menu.open { display: flex; }

.wy-mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,.88);
    text-decoration: none;
    padding: 11px 8px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: color .22s, background .22s, padding-left .22s;
    border-radius: 6px;
}
.wy-mobile-menu a svg { color: var(--nav-gold); flex-shrink: 0; opacity: .8; }
.wy-mobile-menu a:hover {
    color: #fff;
    background: rgba(255,255,255,.07);
    padding-left: 14px;
}
.wy-mobile-menu a:hover svg { opacity: 1; }

/* Separator */
.wy-mob-sep {
    height: 1px;
    background: rgba(255,255,255,.1);
    margin: 10px 0;
}

/* Mobile search */
.wy-mob-search-wrap { padding: 2px 0; }
.wy-mob-search-form {
    display: flex;
    gap: 8px;
    align-items: center;
}
.wy-mob-search-input {
    flex: 1;
    padding: 10px 14px;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: #fff;
    outline: none;
    font-family: inherit;
    transition: border-color .22s;
}
.wy-mob-search-input::placeholder { color: rgba(255,255,255,.35); }
.wy-mob-search-input:focus { border-color: var(--nav-gold); }
.wy-mob-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--nav-gold);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    flex-shrink: 0;
    transition: background .22s;
}
.wy-mob-search-btn:hover { background: var(--nav-gold-dk); }

/* Mobile CTA button */
.wy-mob-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--nav-gold) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 13px 20px !important;
    border-radius: 8px !important;
    text-align: center;
    border-bottom: none !important;
    margin-top: 8px;
    box-shadow: 0 4px 18px rgba(201,150,58,.35);
    transition: background .25s, transform .25s !important;
}
.wy-mob-cta:hover {
    background: var(--nav-gold-dk) !important;
    transform: translateY(-1px) !important;
    padding-left: 20px !important;
}

/* ════════════════════════════════════════════════════════════
   SPACER
   ════════════════════════════════════════════════════════════ */
.wy-nav-spacer { height: var(--nav-h); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .wy-mobile-menu { padding: 16px 16px 24px; }
}

