/* Shared header, mobile drawer and footer styles (moved out of shell.js, which used to inject them). */
/* ── Top Announcement Banner ── */
#top-announcement-bar {
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
  z-index: 51;
}
#top-announcement-bar .promo-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}
#top-announcement-bar a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
#top-announcement-bar a:hover {
  opacity: 0.8;
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.navbar-scrolled {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}
#navbar.navbar-scrolled .nav-link,
#navbar.navbar-scrolled nav a,
#navbar.navbar-scrolled .nav-brand {
  color: #1a1a1a !important;
}
#navbar.navbar-scrolled .nav-link:hover,
#navbar.navbar-scrolled nav a:hover {
  color: #696969 !important;
}
#navbar.navbar-scrolled .desktop-phone {
  color: #1a1a1a !important;
}
#navbar.navbar-scrolled .desktop-phone:hover {
  color: #696969 !important;
}
#navbar.navbar-scrolled #menuBtn .bar1,
#navbar.navbar-scrolled #menuBtn .bar2,
#navbar.navbar-scrolled #menuBtn .bar3 {
  background: #1a1a1a;
}

/* Nav links – underline hover */
.nav-link {
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { width: 100%; }

/* Mobile backdrop */
#mobileMenuBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 59;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#mobileMenuBackdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile drawer */
#mobileMenuWrapper {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
  pointer-events: none;
}
#mobileMenuWrapper.open {
  transform: translateX(0);
  pointer-events: auto;
}
#mobileMenu {
  pointer-events: auto;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* Mobile nav links */
#mobileMenu nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
#mobileMenu nav a:last-child { border-bottom: none; }
#mobileMenu nav a:hover,
#mobileMenu nav a:focus {
  color: #696969;
  padding-left: 6px;
  outline: none;
}
#mobileMenu nav a:focus-visible {
  outline: 2px solid #696969;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Hamburger animation */
#menuBtn .bar1, #menuBtn .bar2, #menuBtn .bar3 {
  display: block;
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
#menuBtn .bar2 { margin: 5px 0; }
#menuBtn.is-open .bar1 { transform: translateY(7px) rotate(45deg); }
#menuBtn.is-open .bar2 { opacity: 0; transform: scaleX(0); }
#menuBtn.is-open .bar3 { transform: translateY(-7px) rotate(-45deg); }

/* Desktop nav – hide on small, show on lg */
@media (max-width: 1023px) {
  .desktop-nav { display: none !important; }
  .desktop-phone { display: none !important; }
}
@media (min-width: 1024px) {
  #menuBtn { display: none !important; }
}

/* ── Footer ── */
#site-footer-el {
  background: #0d0d0d;
  color: rgba(255,255,255,0.7);
  font-family: var(--kora-font-body, 'Roboto'), sans-serif;
}
#site-footer-el a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
#site-footer-el a:hover { color: #fff; }
#site-footer-el .footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 2rem 0;
}
#site-footer-el .footer-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  object-fit: cover;
}
#site-footer-el .footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
#site-footer-el .footer-social-link:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
  

/* ── Footer column grid (was an inline style) ── */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}
