/* === EMERGENCY FIX - REPARĂ PROBLEMELE === */

/* FIX 1: Elimină bara neagră de sus */
.header-section {
  height: auto !important;
  min-height: 70px !important;
  padding: 0.5rem 1rem !important;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* FIX 2: Ascunde loading-ul care creează bara neagră */
.nav-loading {
  display: none !important;
}

/* FIX 3: Gallery lightbox peste header */
.gallery-lightbox {
  z-index: 10000 !important;
}

.lightbox-backdrop {
  z-index: 10001 !important;
}

.lightbox-container {
  z-index: 10002 !important;
}

.lightbox-close,
.lightbox-nav {
  z-index: 10003 !important;
}

/* FIX 4: Header normal z-index */
.header-section {
  z-index: 1000 !important;
}

/* FIX 5: Body padding corect */
body {
  padding-top: 70px !important;
}

/* FIX 6: Mobile adjustments */
@media (max-width: 768px) {
  .header-section {
    height: auto !important;
    min-height: 60px !important;
    padding: 0.5rem !important;
  }
  
  body {
    padding-top: 60px !important;
  }
  
  .main-nav {
    height: auto !important;
    min-height: 50px !important;
    padding: 0.5rem !important;
  }
}

/* FIX 7: Asigură că nav-ul e vizibil */
.main-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: auto !important;
  min-height: 50px !important;
}

/* FIX 8: Logo vizibil */
.nav-brand .logo {
  display: flex !important;
  align-items: center !important;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
}

/* FIX 9: Hamburger vizibil */
.nav-toggle {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  cursor: pointer !important;
  padding: 0.5rem !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
}

.hamburger-line {
  width: 25px !important;
  height: 3px !important;
  background: #fff !important;
  border-radius: 2px !important;
  transition: all 0.3s ease !important;
}

/* FIX 10: Social links vizibile */
.nav-social {
  display: flex !important;
  gap: 0.5rem !important;
}

.social-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  color: #fff !important;
  transition: all 0.3s ease !important;
}

.social-link:hover {
  background: rgba(0, 212, 255, 0.3) !important;
}

/* FIX 11: Mobile menu */
.nav-menu {
  position: fixed !important;
  top: 70px !important;
  right: -100% !important;
  width: 300px !important;
  height: calc(100vh - 70px) !important;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  padding: 2rem !important;
  transition: right 0.3s ease !important;
  z-index: 1001 !important;
  overflow-y: auto !important;
}

.nav-menu.active {
  right: 0 !important;
}

.nav-item {
  margin-bottom: 1rem !important;
}

.nav-link {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1rem !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.nav-link:hover {
  background: rgba(0, 212, 255, 0.2) !important;
}

/* FIX 12: Overlay */
.nav-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 1000 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
}

.nav-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
}