/* ==================================================
   DR. RAJNISH KUMAR - PREMIUM HEADER & UTILITY BAR CSS
   ================================================== */

.dr-topbar, .dr-header, .dr-offcanvas, .dr-mobile-cta {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.text-gold {
  color: var(--gold) !important;
}

.text-teal {
  color: var(--teal) !important;
}

/* --------------------------------------------------
   1. TOP UTILITY BAR (.dr-topbar)
   -------------------------------------------------- */
.dr-topbar {
  background-color: var(--ink-deep);
  color: #C9D2DE;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(184, 146, 90, 0.25);
  position: relative;
  z-index: 1040;
  transition: all 0.3s ease;
}

.dr-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.dr-topbar-badge {
  color: var(--gold-soft);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.dr-topbar-text {
  color: #8C9EB5;
}

.dr-topbar-sep {
  color: rgba(184, 146, 90, 0.4);
  margin: 0 12px;
}

.dr-topbar-item {
  color: #C9D2DE;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.dr-topbar-item:hover {
  color: var(--gold-soft);
}

.dr-topbar-icon {
  color: var(--gold);
  font-size: 11px;
}

/* --------------------------------------------------
   2. MAIN HEADER & NAVIGATION (.dr-header)
   -------------------------------------------------- */
.dr-header {
  background-color: var(--paper-2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 16px 0;
}

.dr-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-line);
  opacity: 0.8;
}

/* Scrolled Sticky Header State */
.dr-header.dr-header-scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px -6px rgba(8, 21, 39, 0.08);
}

.dr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand / Logo Styling */
.dr-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
  transition: opacity 0.2s ease;
}

.dr-brand:hover {
  opacity: 0.92;
}

.dr-brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.dr-brand-designation {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 3px;
}

/* Navigation Links */
.dr-navigation {
  display: flex;
  align-items: center;
}

.dr-nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dr-nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
  letter-spacing: 0.01em;
}

.dr-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-deep);
  transition: width 0.25s ease;
  border-radius: 1px;
}

.dr-nav-link:hover,
.dr-nav-link.active {
  color: var(--gold-deep);
}

.dr-nav-link:hover::after,
.dr-nav-link.active::after {
  width: 100%;
}

/* Header Action CTA Button */
.dr-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dr-appointment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  padding: 10px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(143, 107, 52, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.3s ease;
  white-space: nowrap;
}

.dr-appointment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(143, 107, 52, 0.38);
  background: linear-gradient(135deg, #C5A068 0%, #7A5B2B 100%);
  color: #FFFFFF !important;
}

/* Mobile Toggle Hamburger Button */
.dr-mobile-toggle {
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dr-mobile-toggle:hover,
.dr-mobile-toggle:focus-visible {
  background: var(--paper);
  border-color: var(--gold-soft);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.dr-mobile-toggle .bi {
  font-size: 22px;
  line-height: 1;
}

/* --------------------------------------------------
   3. MOBILE OFFCANVAS MENU (.dr-offcanvas)
   -------------------------------------------------- */
.dr-offcanvas {
  background-color: var(--paper);
  border-left: 1px solid var(--line);
  max-width: 320px;
}

.dr-offcanvas-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper-2);
}

.dr-offcanvas-close {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.dr-offcanvas-close:hover {
  opacity: 1;
}

.dr-offcanvas-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dr-offcanvas-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dr-offcanvas-link {
  display: block;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.dr-offcanvas-link:hover,
.dr-offcanvas-link.active {
  background-color: var(--paper-2);
  color: var(--gold-deep);
  border-left-color: var(--gold);
  padding-left: 20px;
}

.dr-offcanvas-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.dr-offcanvas-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}

.dr-offcanvas-contact-item {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.dr-offcanvas-contact-item:hover {
  color: var(--ink);
}

/* --------------------------------------------------
   4. MOBILE STICKY BOTTOM ACTION BAR (.dr-mobile-cta)
   -------------------------------------------------- */
.dr-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: var(--ink-deep);
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(8, 21, 39, 0.25);
  border-top: 1px solid rgba(184, 146, 90, 0.3);
}

.dr-mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
  min-height: 42px;
}

.dr-mobile-cta-btn:active {
  transform: scale(0.98);
}

.dr-btn-call {
  background: var(--ink);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dr-btn-whatsapp {
  background: var(--teal);
  color: #FFFFFF !important;
}

.dr-btn-book {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #FFFFFF !important;
}

/* --------------------------------------------------
   5. RESPONSIVE BREAKPOINTS & UTILITIES
   -------------------------------------------------- */
@media (max-width: 1199.98px) {
  .dr-nav-list {
    gap: 18px;
  }
  .dr-nav-link {
    font-size: 13.5px;
  }
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 60px;
  }
  .dr-header {
    padding: 12px 0;
  }
  .dr-brand-name {
    font-size: 18px;
  }
  .dr-brand-designation {
    font-size: 8.5px;
  }
}

@media (max-width: 575.98px) {
  .dr-topbar-inner {
    justify-content: center;
  }
  .dr-appointment-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}
