/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  transition: all 0.3s ease;
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 24px;
}

.header.scrolled {
  background: rgba(17, 17, 17, 0.3);
  backdrop-filter: blur(10px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 10001;
}

.logo img {
  height: 48px;
  width: auto;
  z-index: 10001;
}

/* Burger Menu Button */
.burger-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  transition: all 0.3s ease;
  color: white;
}

.burger-menu-btn:hover {
  transform: scale(1.1);
}

.burger-menu-btn .fa-bars,
.burger-menu-btn .fa-times {
  font-size: 29px;
  color: white;
  width: 29px;
  transition: all 0.3s ease;
}

/* Full Screen Menu Overlay */
.full-screen-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  visibility: hidden;
}

.full-screen-menu.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.full-screen-menu nav {
  text-align: center;
  width: 100%;
}

/* Joomla Menu Styles */
.full-screen-menu .nav.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.full-screen-menu .nav.menu li {
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.full-screen-menu.active .nav.menu li {
  opacity: 1;
  transform: translateY(0);
}

.full-screen-menu .nav.menu a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 3.75rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
  text-align: center;
}

.full-screen-menu .nav.menu a:hover {
  color: white;
}

.full-screen-menu .nav.menu a.active,
.full-screen-menu .nav.menu .current a {
  color: white;
  font-family: "Assistant Bold";
}

/* Responsive Design */
@media (max-width: 768px) {
  .full-screen-menu .nav.menu a {
    font-size: 2.5rem;
  }

  .full-screen-menu .nav.menu {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .full-screen-menu .nav.menu a {
    font-size: 2rem;
  }

  .full-screen-menu .nav.menu {
    gap: 1rem;
  }
}

/* Animation for menu items */
.full-screen-menu.active .nav.menu li:nth-child(1) {
  transition-delay: 0.1s;
}
.full-screen-menu.active .nav.menu li:nth-child(2) {
  transition-delay: 0.2s;
}
.full-screen-menu.active .nav.menu li:nth-child(3) {
  transition-delay: 0.3s;
}
.full-screen-menu.active .nav.menu li:nth-child(4) {
  transition-delay: 0.4s;
}
.full-screen-menu.active .nav.menu li:nth-child(5) {
  transition-delay: 0.5s;
}
.full-screen-menu.active .nav.menu li:nth-child(6) {
  transition-delay: 0.6s;
}
.full-screen-menu.active .nav.menu li:nth-child(7) {
  transition-delay: 0.7s;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out;
}

#preloader.loaded {
  opacity: 0;
  pointer-events: none;
}

.preloader-logo {
  width: 120px;
  height: 120px;
  animation: preloader-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.preloader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes preloader-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

