/* ─── NAVIGATION ─────────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: padding 0.35s, box-shadow 0.35s;
    padding: 1.25rem 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.site-nav.scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    padding: 0.7rem 0;
}

/* Admin bar offset */
body.admin-bar .site-nav {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar .site-nav {
        top: 46px;
    }
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
}
.logo-icon {
    width: 46px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}
.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-lady {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: 0.08em;
    color: var(--teal);
}
.logo-landscapers {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    color: var(--magenta);
    margin-top: 1px;
}
.logo-domain {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: #475569;
    margin-top: 3px;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-item {
    position: relative;
    list-style: none;
}
.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text);
    text-decoration: none;
    position: relative;
    transition: color 0.25s;
    text-transform: uppercase;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal);
    transition: width 0.3s ease;
}
.nav-link:hover {
    color: var(--teal);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-item.is-active > .nav-link {
    color: var(--teal);
}
.nav-item.is-active > .nav-link::after {
    width: 100%;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    background: var(--white);
    border: 1px solid var(--border);
    min-width: 200px;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 110;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin: 0;
    padding-top: 0.75rem;
}
/* Invisible bridge to close the gap between trigger and dropdown */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1rem;
}
.has-dropdown:hover > .nav-dropdown {
    display: block;
}
.dropdown-link {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    transition: background 0.2s, color 0.2s;
}
.dropdown-link:hover {
    background: rgba(0, 168, 181, 0.05);
    color: var(--teal);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 5rem 2rem;
}
.mobile-menu.open {
    display: flex;
}

/* Mobile Nav List */
.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    max-width: 320px;
}
.mobile-nav > li {
    width: 100%;
    text-align: center;
}
.mobile-nav > li > a {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.2s;
}
.mobile-nav > li > a:hover {
    color: var(--teal);
}

/* Mobile Sub-Menu Toggle */
.mobile-nav > li.menu-item-has-children {
    position: relative;
}
.mobile-nav .mobile-sub-toggle {
    position: absolute;
    top: 0.45rem;
    right: 0;
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.mobile-nav .mobile-sub-toggle:hover {
    border-color: var(--teal);
}
.mobile-nav .mobile-sub-toggle svg {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}
.mobile-nav > li.menu-item-has-children.is-expanded .mobile-sub-toggle svg {
    transform: rotate(180deg);
    color: var(--teal);
}

/* Mobile Sub-Menu */
.mobile-nav .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0.5rem;
    display: none;
}
.mobile-nav > li.menu-item-has-children.is-expanded > .sub-menu {
    display: block;
}
.mobile-nav .sub-menu li a {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.2s;
}
.mobile-nav .sub-menu li a:hover {
    color: var(--teal);
}

@media (max-width: 900px) {
    .nav-desktop {
        display: none !important;
    }
    .hamburger {
        display: flex;
    }
}
