@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ---- NAVBAR WRAP ---- */
.g4a-navbar-wrap {
  display: block;
  background: #0c0c0c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 998;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.g4a-navbar-inner {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}

/* ---- LOGO ---- */
.g4a-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.g4a-logo-img {
  height: 28px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.g4a-logo-img:hover {
  opacity: 0.7;
}

/* ---- NAV ---- */
.g4a-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* ---- MENU UL ---- */
.g4a-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.g4a-item {
  position: relative;
}

.g4a-item > a {
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 14px;
  color: rgba(255,255,255,0.45);
  font-size: 11.5px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}

.g4a-item > a:hover {
  color: rgba(255,255,255,0.90);
  background: rgba(255,255,255,0.03);
}

.g4a-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #e8192a;
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.g4a-item > a:hover::after,
.g4a-item.active > a::after {
  transform: scaleX(1);
}

.g4a-item.active > a {
  color: #fff;
}

/* ---- DROPDOWN ---- */
.g4a-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid #e8192a;
  border-radius: 0 0 5px 5px;
  padding: 6px 0;
  z-index: 1000;
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
  list-style: none;
  margin: 0;
}

.g4a-has-sub:hover > .g4a-sub {
  display: block;
}

.g4a-sub li a {
  display: flex;
  align-items: center;
  padding: 8px 18px;
  color: rgba(255,255,255,0.55);
  font-size: 11.5px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.13s ease, background 0.13s ease;
}

.g4a-sub li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.035);
}

/* ---- TECHBOX ---- */
.g4a-techbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: 64px;
  cursor: pointer;
  opacity: 0.35;
    transition: opacity 0.15s ease;
  box-sizing: border-box;
}

.g4a-techbox:hover {
  opacity: 0.75;
}

.g4a-techbox img {
  width: 17px;
  height: 17px;
}

/* ---- BUTON AUTH ---- */
.g4a-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 28px;
  background: #e8192a;
  border: 1px solid #e8192a;
  border-radius: 3px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  margin-left: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
}

.g4a-auth-btn:hover {
  background: #ff2d3f;
  border-color: #ff2d3f;
  color: #fff;
}

.g4a-auth-btn--out {
  background: transparent;
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.50);
}

.g4a-auth-btn--out:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.20);
  color: #fff;
}

/* ---- CULORI TEMA ---- */
.c-pink       { color: #e8192a !important; }
.c-grey       { color: rgba(255,255,255,0.35) !important; }
.mergecolor   { color: rgba(255,255,255,0.65) !important; }
.seccolor     { color: rgba(255,255,255,0.32) !important; }
.bg-colorstyle    { background: #141414 !important; }
.bg-seccolorstyle { background: rgba(255,255,255,0.03) !important; }

/* ---- OFFCANVAS ---- */
.offcanvas.offcanvas-start.offcanvas-box {
  width: 320px;
  background: #111111;
  }

.backdrop-start.offcanvas-backdrop.fade {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 997;
  backdrop-filter: blur(2px);
}

.backdrop-start.offcanvas-backdrop.fade.show {
  display: block;
}

/* ---- MOBILE DRAWER ---- */
#mobile-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  height: 100vh;
  background: #111111;
  
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.26s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#mobile-drawer.open { transform: translateX(0); }

#mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.70);
  backdrop-filter: blur(2px);
  z-index: 1099;
}

#mobile-drawer-backdrop.open { display: block; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.drawer-header .logo-menu { height: 26px; }

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  color: rgba(255,255,255,0.50);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.drawer-close:hover { background: rgba(255,255,255,0.08); color: #fff; }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 16px;
}

.drawer-body::-webkit-scrollbar { width: 2px; }
.drawer-body::-webkit-scrollbar-track { background: transparent; }
.drawer-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

.drawer-item { border-bottom: 1px solid rgba(255,255,255,0.04); }

.drawer-item > a,
.drawer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  color: rgba(255,255,255,0.50);
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.13s ease, background 0.13s ease;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.drawer-item > a:hover,
.drawer-toggle:hover { color: #fff; background: rgba(255,255,255,0.03); }

.drawer-toggle i.arrow { font-size: 9px; opacity: 0.35; transition: transform 0.18s ease, opacity 0.18s ease; }
.drawer-toggle.active i.arrow { transform: rotate(180deg); opacity: 0.65; }

.drawer-sub {
  display: none;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.04);
  
  margin-left: 18px;
}

.drawer-sub.open { display: block; }

.drawer-sub a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.38);
  font-size: 11px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: color 0.13s ease, background 0.13s ease;
}

.drawer-sub a:hover { color: rgba(255,255,255,0.80); background: rgba(255,255,255,0.03); }

.drawer-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.drawer-footer .g4a-auth-btn { width: 100%; justify-content: center; margin-left: 0; }

/* ---- MOBILE TOP BAR ---- */
#menu-mobile {
  display: none;
  background: #0c0c0c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

#menu-mobile .mob-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 18px;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle .icon {
  display: block;
  width: 18px;
  height: 1.5px;
  background: rgba(255,255,255,0.50);
  border-radius: 2px;
  transition: background 0.13s ease;
}

.menu-toggle:hover .icon { background: #fff; }

.logo-menu { height: 28px; width: auto; display: block; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .g4a-navbar-wrap { display: none; }
  #menu-mobile { display: block; }
}

@media (min-width: 992px) {
  .g4a-navbar-wrap { display: block; }
  #menu-mobile { display: none; }
  #mobile-drawer,
  #mobile-drawer-backdrop { display: none !important; }
}

/* Drawer link simplu (fara submeniu) */
.drawer-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 13px 20px !important;
  color: rgba(255,255,255,0.75) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s, background 0.2s !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

.drawer-link:hover {
  color: #dc1e1e !important;
  background: rgba(220,30,30,0.06) !important;
}

.drawer-link i {
  color: #dc1e1e !important;
  font-size: 14px !important;
  width: 16px !important;
  text-align: center !important;
}

/* WhatsApp link */
.drawer-whatsapp {
  color: #25d366 !important;
}

.drawer-whatsapp i {
  color: #25d366 !important;
}

.drawer-whatsapp:hover {
  color: #25d366 !important;
  background: rgba(37,211,102,0.06) !important;
}

/* Iconite in submeniu */
.drawer-sub a i {
  color: #dc1e1e !important;
  font-size: 12px !important;
  width: 14px !important;
  text-align: center !important;
  margin-right: 6px !important;
}

/* Iconite pe butoanele toggle */
.drawer-toggle i:first-child {
  color: #dc1e1e !important;
  font-size: 14px !important;
  width: 16px !important;
  text-align: center !important;
  margin-right: 4px !important;
}