/* Mobile Header */
.site-header-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.3);
}

/* Menu Toggle Button */
.menu-toggle {
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 32px;
}

.menu-toggle .line {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

/* Mobile Menu Panel */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--color-white);
    transition: right 0.3s ease;
    z-index: 1400;
    overflow-y: auto;
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-header {
    padding: 1.25rem;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid var(--color-light-bg);
}

.close-menu {
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-ink);
}

/* Mobile Navigation */
.mobile-nav {
    padding: 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem;
    color: var(--color-ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--color-primary);
}

.mobile-nav-link.active {
    color: var(--color-primary);
    background: var(--color-light-bg);
    border-radius: var(--radius-lg);
}

/* Mobile Accordion */
.mobile-accordion {
    border-bottom: 1px solid var(--color-light-bg);
}

.mobile-accordion-toggle {
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--color-ink);
    font-weight: var(--fw-medium);
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-service-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.mobile-service-link:hover {
    background-color: var(--color-light-bg);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Navigation Links */
.nav-link {
    color: var(--color-white);
    font-weight: var(--fw-medium);
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    border-top: 2px solid var(--color-primary);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--color-primary);
}

.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Service Items */
.service-item {
    text-decoration: none;
}
/* BottomNav Styles */
.bn-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1450;
    width: 100%;
    height: 64px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom, 0);
    transition: transform 0.3s;
}
.bn-hide {
    transform: translateY(100%);
}
.bn-tab {
    flex: 1 1 0;
    min-width: 56px;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
}
.bn-icon {
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bn-label {
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 2px;
}
.bn-active .bn-icon,
.bn-active .bn-label {
    color: #E0A230 !important;
}
.bn-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10%;
    height: 3px;
    background: #E0A230;
    border-radius: 2px;
    margin-bottom: 4px;
}
.bn-badge {
    position: absolute;
    top: 6px;
    right: 18px;
    min-width: 18px;
    height: 18px;
    background: #E0A230;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}
.bn-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E0A230;
}

/* Bottom Sheet */
.bn-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    z-index: 1501;
    background: rgba(0,0,0,0.2);
    transition: bottom 0.3s;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.bn-sheet.active {
    bottom: 0;
}
.bn-sheet-content {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    padding: 24px 0 16px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.bn-sheet-link {
    padding: 16px 32px;
    font-size: 1rem;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.2s;
}
.bn-sheet-link:last-child {
    border-bottom: none;
}
.bn-sheet-link.text-danger {
    color: #d32f2f;
}
.bn-sheet-link:hover {
    background: #FFF8E6;
}
body.bn-sheet-open {
    overflow: hidden;
}