/* ============================================
   LAIN 4-PILLAR NAVIGATION SYSTEM - STYLES
   ============================================ */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

/* Navigation Container */
.lain-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #7A5CF3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  font-family: 'Orbitron', sans-serif;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
}

.nav-logo-img {
  height: 50px;
  filter: drop-shadow(0 0 10px rgba(122, 92, 243, 0.6));
  transition: all 0.3s ease;
}

.nav-logo-img:hover {
  filter: drop-shadow(0 0 20px rgba(122, 92, 243, 1));
  transform: scale(1.05);
}

/* Main Navigation */
.nav-main {
  display: flex;
  gap: 60px;
  flex: 1;
  justify-content: center;
  align-items: center;
}

/* Navigation Items */
.nav-item {
  position: relative;
}

.nav-button {
  background: none;
  border: none;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-button:hover {
  background: rgba(122, 92, 243, 0.2);
  box-shadow: 0 0 20px rgba(122, 92, 243, 0.4);
}

.nav-button.active {
  background: linear-gradient(135deg, #7A5CF3, #16d1a8);
  box-shadow: 0 0 30px rgba(122, 92, 243, 0.6);
}

.nav-icon {
  font-size: 20px;
}

.nav-label {
  font-size: 14px;
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.98);
  border: 2px solid #7A5CF3;
  border-radius: 12px;
  padding: 30px;
  min-width: 600px;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  box-shadow: 0 10px 50px rgba(122, 92, 243, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-dropdown.show {
  display: grid;
  animation: dropdownFadeIn 0.3s ease forwards;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Dropdown Sections */
.dropdown-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dropdown-section h4 {
  color: #16d1a8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 10px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(122, 92, 243, 0.3);
}

.dropdown-section a {
  color: #e6e6ff;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.dropdown-section a:hover {
  background: rgba(122, 92, 243, 0.2);
  color: #fff;
  padding-left: 16px;
  box-shadow: 0 0 15px rgba(122, 92, 243, 0.3);
}

/* Mobile Toggle Button */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-mobile-toggle span {
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-mobile-toggle:hover span {
  background: #7A5CF3;
}

/* Mobile Overlay */
.nav-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.98);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-mobile-overlay.show {
  display: block;
  animation: overlayFadeIn 0.3s ease forwards;
}

@keyframes overlayFadeIn {
  to { opacity: 1; }
}

.mobile-nav-content {
  padding: 80px 40px 40px;
  overflow-y: auto;
  height: 100%;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
}

.mobile-close:hover {
  color: #7A5CF3;
  transform: rotate(90deg);
}

.mobile-nav-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(122, 92, 243, 0.3);
}

.mobile-nav-section:last-child {
  border-bottom: none;
}

.mobile-nav-section h3 {
  color: #7A5CF3;
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mobile-nav-section a {
  display: block;
  color: #e6e6ff;
  text-decoration: none;
  font-size: 16px;
  padding: 12px 20px;
  margin-bottom: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-section a:hover {
  background: rgba(122, 92, 243, 0.2);
  color: #fff;
  padding-left: 30px;
  box-shadow: 0 0 20px rgba(122, 92, 243, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .nav-main {
    gap: 30px;
  }

  .nav-button {
    padding: 10px 15px;
    font-size: 14px;
  }

  .nav-dropdown {
    min-width: 500px;
  }
}

@media (max-width: 992px) {
  .lain-nav {
    padding: 0 20px;
  }

  .nav-main {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-dropdown {
    min-width: 400px;
  }
}

@media (max-width: 768px) {
  .lain-nav {
    height: 70px;
  }

  .nav-logo-img {
    height: 40px;
  }

  .mobile-nav-content {
    padding: 60px 20px 20px;
  }

  .mobile-nav-section h3 {
    font-size: 18px;
  }

  .mobile-nav-section a {
    font-size: 14px;
    padding: 10px 15px;
  }
}

/* Active Page Indicator */
.nav-dropdown a.active {
  background: linear-gradient(135deg, #7A5CF3, #16d1a8);
  color: #fff;
  font-weight: 700;
}

/* Smooth Scrolling Offset for Fixed Nav */
html {
  scroll-padding-top: 100px;
}

/* Page Content Spacing */
body {
  padding-top: 80px;
}
