/* SOLIDCORE — static-site extras (mobile menu, hero slider, helpers) */

/* Dil seçimi: tərcümələr statik versiyada yoxdur, ona görə gizlədilir */
[aria-label="Language"] { display: none !important; }

/* Mobil menyu */
#mobile-nav {
  display: none;
  border-top: 1px solid var(--border, #e2e6ee);
  background: var(--card, #fff);
  padding: 8px 24px 20px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
#mobile-nav.open { display: block; }
#mobile-nav a {
  display: block;
  padding: 13px 4px;
  font-weight: 600;
  font-size: 16px;
  color: var(--foreground, #16233f);
  border-bottom: 1px solid var(--border, #e2e6ee);
  text-decoration: none;
}
#mobile-nav a.sub { padding-left: 20px; font-weight: 500; font-size: 15px; opacity: .85; }
#mobile-nav a.active, #mobile-nav a:hover { color: var(--accent, #c62f2f); }
#mobile-nav a.cta {
  margin-top: 16px; border: 0; text-align: center; border-radius: 4px;
  background: var(--primary, #16233f); color: var(--primary-foreground, #fff);
}
@media (min-width: 1024px) { #mobile-nav { display: none !important; } }

/* Hero slayder */
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .8s ease;
}
.hero-slide.on { opacity: 1; }
video.hero-off { opacity: 0; transition: opacity .8s ease; }

/* Filtrləmə zamanı gizlədilən elementlər */
.sc-hidden { display: none !important; }

/* Forma status mesajı */
.sc-status { margin-top: 10px; font-size: 14px; font-weight: 600; }
.sc-status.err { color: #c62f2f; }
.sc-status.ok { color: #1b8a4b; }

/* Kiçik bildiriş (toast) */
#sc-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: #16233f; color: #fff; padding: 10px 18px; border-radius: 6px;
  font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none;
  transition: all .25s ease; z-index: 100;
}
#sc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Mobil ekranda heç bir element üfüqi sürüşmə yaratmasın */
html, body { overflow-x: clip; }

/* Slayder sayğacı oxunaqlı olsun */
#hero-counter { color: var(--primary, #16233f) !important; }
