html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Mono", monospace;
  background: #0a173a;
  color: #abdff9;

  background-image:
    radial-gradient(circle at 20% 20%, rgba(124,199,255,0.08), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(80,120,255,0.08), transparent 35%);
}


nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 8%;
  background: rgba(8, 9, 32, 0.75);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav h2 {
  color: #7cc7ff;
  text-shadow: 0 0 12px rgba(124,199,255,0.5);
  font-family: "Space Grotesk", sans-serif;
}

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

.nav-links a {
  text-decoration: none;
  color: #abd5ff;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(124,199,255,0.15);
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: white;
  border-color: rgba(124,199,255,0.5);
  box-shadow: 0 0 12px rgba(124,199,255,0.25);
  transform: translateY(-2px);
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 8%;
  background:
    radial-gradient(circle at top right, rgba(52, 143, 212, 0.25), transparent 35%),
    radial-gradient(circle at bottom left, rgba(18, 38, 99, 0.2), transparent 40%),
    linear-gradient(135deg, #080e43, #111d4b, #123f73);
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  gap: 20px;

}

.art-reel {
  width: 450px;
  height: 650px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(124,199,255,0.35);
  box-shadow:
    0 0 25px rgba(124,199,255,0.25),
    0 0 60px rgba(124,199,255,0.12);
  position: relative;
  z-index: 1;
}

@media (min-width: 901px) {
  .art-reel {
    margin-left: -50px;
  }
}

.art-reel::before,
.art-reel::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 5;
  pointer-events: none;
}

.art-reel::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    rgb(3, 16, 42),
    rgba(2, 8, 20, 0)
  );
}

.art-reel::after {
  bottom: 0;
  background: linear-gradient(
    to top,
    rgb(3, 16, 42),
    rgba(2, 8, 20, 0)
  );
}

.reel-track {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scrollReel 18s linear infinite;
}

.reel-track img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
}

@keyframes scrollReel {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 70px 8%;
  }

  .hero-text {
    max-width: 100%;
  }

  .art-reel {
    width: 100%;
    max-width: 620px;
    height: 200px;
    margin-left: 0;
  }

.reel-track {
  flex-direction: row;
  gap: 18px;
  align-items: center;
  animation: scrollReelSide 28s linear infinite;
}

.reel-track img {
  min-width: 220px;
  height: 200px;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.15);
}

  .art-reel::before {
  top: 0;
  left: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(
    to right,
    rgb(3, 16, 42),
    rgba(2, 8, 20, 0)
  );
}

.art-reel::after {
  top: 0;
  right: 0;
  left: auto;
  width: 80px;
  height: 100%;
  background: linear-gradient(
    to left,
    rgb(3, 16, 42),
    rgba(2, 8, 20, 0)
  );
}

}

.reel-track img {
  filter: brightness(1.1);
}

@keyframes scrollReelSide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * (220px + 18px) * 6));
  }
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,0.5) 1px, transparent 2px),
    radial-gradient(circle, rgba(124,199,255,0.7) 1.5px, transparent 2px);

  background-size:
    90px 90px,
    140px 140px,
    200px 200px;

  background-position:
    13px 27px,
    67px 103px,
    151px 41px;

  opacity: 0.35;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  background: transparent;
  box-shadow:
    18vw 25vh rgba(255,255,255,0.9),
    40vw 60vh rgba(124,199,255,0.7),
    72vw 15vh rgba(255,255,255,0.8),
    85vw 70vh rgba(255,255,255,0.6),
    58vw 28vh rgba(124,199,255,0.8);
  opacity: 0.75;
  pointer-events: none;
}

.hero-text {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.tag {
  color: #9ed8ff;
  font-weight: bold;
  letter-spacing: 1px;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 20px 0;
  text-shadow: 0 0 30px rgba(124,199,255,0.15);
}

.intro {
  font-size: 1.2rem;
  color: #d6eaff;
  max-width: 650px;
}

.button {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 24px;

  background: #7cc7ff;
  color: #07111f;

  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;

  box-shadow:
    0 0 15px rgba(124,199,255,0.45),
    0 0 35px rgba(124,199,255,0.2);

  transition: all 0.25s ease;
}

.button:hover {
  background: rgb(199, 225, 255);

  transform: translateY(-3px);

  box-shadow:
    0 0 25px rgba(124,199,255,0.75),
    0 0 60px rgba(124,199,255,0.35);
}

.section {
  padding: 70px 8%;
}

.section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #7cc7ff;
}

.section p {
  color: #cfe5f8;
  max-width: 750px;
  line-height: 1.6;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.card,
.project {
  background: rgba(16, 35, 61, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124,199,255,0.25);
  border-radius: 20px;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.project:hover {
  transform: translateY(-8px);
  border-color: #7cc7ff;
  box-shadow:
    0 0 20px rgba(124,199,255,0.35),
    0 0 40px rgba(124,199,255,0.15);
}

.placeholder {
  height: 180px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1b75bb, #7cc7ff);
  color: #07111f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.card h3,
.project h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-top: 18px;
  color: white;
}

.project {
  margin-top: 20px;
}

.link-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.link-card:hover {
  color: inherit;
}

.contact a {
  color: #7cc7ff;
  font-size: 1.1rem;
}

footer {
  text-align: center;
  padding: 30px;
  background: rgba(8, 9, 32, 0.75);
  color: #94b1c9;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 115%;
  left: 0;

  background: rgba(7, 17, 31, 0.95);
  border: 1px solid rgba(124,199,255,0.25);
  border-radius: 16px;
  padding: 10px;
  min-width: 150px;

  box-shadow:
    0 0 18px rgba(124,199,255,0.25),
    0 0 35px rgba(124,199,255,0.12);

  z-index: 200;
}

.dropdown-menu a {
  display: block;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

@media (max-width: 700px) {
  nav {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}

.art-card {
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 20, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.modal-content {
  max-width: 850px;
  width: 100%;
  background: rgba(16, 35, 61, 0.95);
  border: 1px solid rgba(124,199,255,0.35);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 0 40px rgba(124,199,255,0.25);
  position: relative;
}

.modal-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 16px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.gallery-group {
  margin-top: 60px;
}

.gallery-group h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: #7cc7ff;
  margin-bottom: 8px;
}

.gallery-caption {
  color: #cfe5f8;
  margin-bottom: 24px;
  max-width: 700px;
}

.gallery-group h3 {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gallery-group h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(124,199,255,0.25);
}

.back-button {
  position: fixed;
  top: 93px;
  left: 30px;

  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(16, 26, 61, 0.85);
  border: 1px solid rgba(124, 133, 255, 0.3);

  color: #7cc7ff;
  text-align: center;
  padding-right: 4px;
  padding-bottom: 7px;
  text-decoration: none;
  font-size: 2rem;

  backdrop-filter: blur(10px);

  transition: all 0.2s ease;

  z-index: 500;
}

.back-button:hover {
  transform: translateX(-3px);

  color: white;

  border-color: rgba(124,199,255,0.7);

  box-shadow:
    0 0 12px rgba(124,199,255,0.4),
    0 0 25px rgba(124,199,255,0.2);
}

.maintenance-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  color: #7cc7ff;

  text-shadow:
    0 0 12px rgba(124,199,255,0.6),
    0 0 25px rgba(124,199,255,0.3);
}

.maintenance-subtitle {
  color: #cfe5f8;
  font-size: 1.2rem;
  max-width: 650px;
}

.maintenance-title {
  animation: float 4s ease-in-out infinite;
}

.terminal-text {
  font-family: "Space Mono", monospace;
  color: #cfe5f8;
  margin-top: 20px;
  line-height: 1.7;
}

.terminal-text p {
  margin: 6px 0;
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.loading-bar {
  width: 350px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  margin-top: 50px;
}

.loading-fill {
  width: 40%;
  height: 100%;
  background: #7cc7ff;

  box-shadow:
    0 0 15px rgba(124,199,255,0.7);

  animation: loading 5s ease-in-out infinite;
}

@keyframes loading {
  0% { width: 20%; }
  50% { width: 75%; }
  100% { width: 20%; }
}

