/* NAVBAR */
.cyber-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(5,5,8,0.95) 0%,
    rgba(10,10,15,0.9) 50%,
    rgba(5,5,8,0.95) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,242,255,0.5) 25%,
    rgba(188,19,254,0.5) 50%,
    rgba(0,242,255,0.5) 75%,
    transparent 100%
  ) 1;
  box-shadow: 
    0 4px 30px rgba(0,242,255,0.1),
    0 0 0 1px rgba(0,242,255,0.1) inset;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
  font-family: 'Orbitron';
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--neon-blue);
  text-shadow: 
    0 0 10px rgba(0,242,255,0.6),
    0 0 20px rgba(0,242,255,0.3),
    0 0 30px rgba(0,242,255,0.1);
  position: relative;
  transition: all 0.3s ease;
}

.logo:hover {
  text-shadow: 
    0 0 15px rgba(0,242,255,0.8),
    0 0 25px rgba(0,242,255,0.5),
    0 0 35px rgba(0,242,255,0.3);
  transform: scale(1.05);
}

.logo span {
  color: var(--neon-purple);
  text-shadow: 
    0 0 10px rgba(188,19,254,0.6),
    0 0 20px rgba(188,19,254,0.3);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-family: 'Orbitron';
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding: 8px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0,242,255,0.5);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0,242,255,0.6);
}

.nav-links a.active::after {
  width: 100%;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--neon-blue);
}


/* ================= MOBILE NAV ================= */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5,5,8,0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 20px 0;

    /* CLOSED STATE */
    display: none;
  }

  /* OPEN STATE */
  .nav-links.open {
    display: flex;
  }
}

/* ================= GALLERY ================= */

.gallery-section {
  text-align: center;
}

.gallery-subtitle {
  max-width: 720px;
  margin: 0 auto 60px;
  font-family: 'Orbitron';
  font-size: clamp(0.9rem, 3vw, 1.05rem);
  letter-spacing: 2px;
  color: rgba(255,255,255,0.85);
  opacity: 0.9;
  line-height: 1.6;
}

/* FILTER BUTTONS */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: 'Orbitron';
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 32px;
  border: 2px solid rgba(0,242,255,0.3);
  background: rgba(10, 10, 15, 0.6);
  color: rgba(255,255,255,0.8);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,242,255,0.2), transparent 70%);
  transition: transform 0.4s ease;
  z-index: -1;
}

.filter-btn:hover {
  border-color: rgba(0,242,255,0.6);
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0,242,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,242,255,0.2);
}

.filter-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.filter-btn.active {
  border-color: var(--neon-blue);
  background: rgba(0,242,255,0.1);
  color: var(--neon-blue);
  text-shadow: 0 0 12px rgba(0,242,255,0.6);
  box-shadow: 
    0 8px 25px rgba(0,242,255,0.3),
    0 0 0 1px rgba(0,242,255,0.2) inset;
}

.filter-btn.active::before {
  transform: translate(-50%, -50%) scale(1);
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* CARD */
.gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(0,242,255,0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  aspect-ratio: 4 / 3;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, 
    rgba(0,242,255,0.08), 
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
  pointer-events: none;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* HOVER FX */
.gallery-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,242,255,0.6);
  box-shadow: 
    0 12px 40px rgba(0,242,255,0.2),
    0 0 0 1px rgba(0,242,255,0.3) inset;
}

.gallery-card:hover::before {
  opacity: 1;
}

.gallery-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* VIDEO CARD */
.gallery-card.video-card {
  aspect-ratio: 16 / 9;
}

.gallery-card.video-card iframe {
  border: none;
  display: block;
}

.gallery-card.video-card:hover {
  transform: translateY(-8px);
  border-color: rgba(188,19,254,0.6);
  box-shadow: 
    0 12px 40px rgba(188,19,254,0.2),
    0 0 0 1px rgba(188,19,254,0.3) inset;
}

/* PHOTO CARD */
.gallery-card.photo-card {
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.gallery-card.photo-card img {
  object-fit: cover;
}

.gallery-card.photo-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0,242,255,0.8);
}

/* IMAGE MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 
    0 20px 60px rgba(0,242,255,0.3),
    0 0 0 2px rgba(0,242,255,0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { 
    transform: scale(0.8);
    opacity: 0;
  }
  to { 
    transform: scale(1);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: var(--neon-blue);
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 20px rgba(0,242,255,0.8);
  z-index: 10001;
}

.close:hover,
.close:focus {
  color: #fff;
  text-shadow: 
    0 0 30px rgba(0,242,255,1),
    0 0 50px rgba(0,242,255,0.5);
  transform: scale(1.1) rotate(90deg);
}

      /* margin-bottom: 40px;
    } */
@media (max-width: 600px) {

  .gallery-grid {
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}
