/* ============================================================
   NAVBAR — Dr. Kishor Tanir Dental Website
   Design: Boutique Header with Luxury Slide-out Concierge Drawer
   Scope: .site-header, .nav-drawer
   ============================================================ */

/* ============================================================
   1. FIXED HEADER BAR
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    padding: 1.25rem 2.5rem;
    background: transparent;
    transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.35s ease,
                box-shadow 0.35s ease,
                backdrop-filter 0.35s ease;
}

.site-header.site-header--scrolled {
    padding: 0.85rem 2.5rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.site-header__container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* ---- Brand Logo ---- */
.site-header__brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    flex-shrink: 0;
}

.site-header__brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.site-header__brand:hover .site-header__brand-icon {
    transform: scale(1.06) rotate(3deg);
    background: #1A73E8;
}

.site-header__brand-icon svg {
    width: 22px;
    height: 22px;
}

.site-header__brand-info {
    display: flex;
    flex-direction: column;
}

.site-header__brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.site-header__brand-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    color: #1A73E8;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 2px;
}

/* ---- Right Action Pod ---- */
.site-header__controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Direct Phone Link (Desktop only) */
.site-header__phone-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.site-header__phone-link svg {
    width: 16px;
    height: 16px;
    stroke: #1A73E8;
    fill: none;
    stroke-width: 2;
}

.site-header__phone-link:hover {
    color: #1A73E8;
    background: rgba(26, 115, 232, 0.08);
}

/* Primary Book CTA Button */
.site-header__cta-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff !important;
    background: #0F172A;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
    letter-spacing: 0.01em;
}

.site-header__cta-btn:hover {
    background: linear-gradient(135deg, #1A73E8 0%, #0D9488 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(26, 115, 232, 0.32);
}

.site-header__cta-btn-arrow {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    transition: transform 0.2s ease;
}

.site-header__cta-btn:hover .site-header__cta-btn-arrow {
    transform: translateX(3px);
}

/* Boutique Menu Trigger Button */
.site-header__menu-btn {
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 50px;
    padding: 0.55rem 1.15rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.site-header__menu-btn:hover {
    background: #0F172A;
    border-color: #0F172A;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.site-header__menu-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0F172A;
    transition: color 0.2s ease;
}

.site-header__menu-btn:hover .site-header__menu-text {
    color: #ffffff;
}

/* Magnetic Hamburger Icon Lines */
.site-header__hamburger {
    width: 18px;
    height: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site-header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #0F172A;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.site-header__hamburger span:nth-child(2) {
    width: 65%;
    margin-left: auto;
}

.site-header__menu-btn:hover .site-header__hamburger span {
    background: #ffffff;
    width: 100%;
}

/* ============================================================
   2. LUXURY FULL-SCREEN CONCIERGE DRAWER
   ============================================================ */
.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.4s ease;
}

.nav-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop Overlay */
.nav-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-drawer.is-open .nav-drawer__backdrop {
    opacity: 1;
}

/* Sliding Panel (Luminous Medical Gradient Theme) */
.nav-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 820px;
    background: linear-gradient(140deg, #E0F2FE 0%, #E6FFFA 45%, #F0F4FF 100%);
    color: #0F172A;
    box-shadow: -20px 0 60px rgba(15, 23, 42, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.85);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Ambient gradient glow orbs */
.nav-drawer__panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.nav-drawer__panel::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.nav-drawer.is-open .nav-drawer__panel {
    transform: translateX(0);
}

/* Top Bar inside Drawer */
.nav-drawer__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-drawer__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nav-drawer__status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

/* Close Button */
.nav-drawer__close-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: #334155;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.nav-drawer__close-btn:hover {
    background: #0F172A;
    color: #ffffff;
    border-color: #0F172A;
    transform: rotate(90deg);
}

.nav-drawer__close-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Main Content: Split Columns */
.nav-drawer__content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
}

/* ---- Left Navigation Links ---- */
.nav-drawer__nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-drawer__nav-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.25rem;
}

.nav-drawer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.nav-drawer__link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1E293B;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -0.01em;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
}

.nav-drawer__num {
    font-family: 'Inter', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.nav-drawer__link:hover {
    color: #0F172A;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transform: translateX(4px);
}

.nav-drawer__link:hover .nav-drawer__num {
    color: #1A73E8;
}

/* Active Link in Drawer */
.nav-drawer__link.is-active {
    color: #1A73E8;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.12);
}

.nav-drawer__link.is-active .nav-drawer__num {
    color: #1A73E8;
}

/* ---- Right Clinic Concierge Panel ---- */
.nav-drawer__info {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.nav-drawer__info-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.nav-drawer__info-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.nav-drawer__info-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.nav-drawer__info-text a {
    color: #0F172A;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-drawer__info-text a:hover {
    color: #1A73E8;
}

/* Doctor Mini Credential Tag */
.nav-drawer__cred-card {
    background: linear-gradient(135deg, #EFF6FF 0%, #F0FDFA 100%);
    border: 1px solid #BFDBFE;
    border-radius: 14px;
    padding: 1.25rem;
}

.nav-drawer__cred-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
}

.nav-drawer__cred-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1A73E8;
    margin-top: 0.25rem;
}

/* Quick Action Buttons at Bottom of Drawer */
.nav-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.nav-drawer__action-primary {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    background: #0F172A;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.nav-drawer__action-primary:hover {
    background: #1A73E8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
}

.nav-drawer__action-wa {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #15803D;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    padding: 0.8rem 1.25rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.nav-drawer__action-wa:hover {
    background: #16A34A;
    color: #ffffff;
    border-color: #16A34A;
}

.nav-drawer__action-wa svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============================================================
   3. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 991.98px) {
    .site-header {
        padding: 1rem 1.5rem;
    }

    .site-header.site-header--scrolled {
        padding: 0.75rem 1.5rem;
    }

    .site-header__phone-link {
        display: none;
    }

    .nav-drawer__panel {
        max-width: 100%;
    }

    .nav-drawer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.75rem 1.5rem 2.5rem;
    }

    .nav-drawer__link {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .site-header {
        padding: 0.85rem 1rem;
    }

    .site-header__cta-btn {
        display: none; /* Keep header ultra-clean on phone */
    }

    .site-header__brand-name {
        font-size: 1.05rem;
    }

    .site-header__brand-role {
        font-size: 0.62rem;
    }
}
