/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BASE
========================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.6;
}

/* =========================
   NAVIGATION
========================= */
.nav {
  position: fixed;
  top: 20px;
  right: 40px;
  z-index: 1000;
}

.nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.nav a:hover {
  opacity: 1;
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 100svh; /* mobile-safe viewport */
  background: url("assets/images/hero.jpg") center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  transform: translateY(60px);
}

.hero h1 {
  font-size: 4rem;
  letter-spacing: 0.3em;
}

.subtitle {
  margin-top: 24px;
  opacity: 0.7;
}

/* =========================
   BUTTON
========================= */
.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 12px 24px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.2em;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: #fff;
  color: #000;
}

/* =========================
   SECTIONS
========================= */
section {
  padding: 80px 10%;
}

/* =========================
   GALLERY
========================= */
#gallery {
  background: #050505;
  text-align: center;
}

#gallery h2 {
  font-size: 2.5rem;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
}

.gallery-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(20%) contrast(120%);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.gallery-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* =========================
   FULLSCREEN GALLERY
========================= */
.fullscreen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
  z-index: 2000;
  cursor: zoom-out;
}

/* =========================
   GLITCH EFFECT
========================= */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

.glitch::before {
  color: #ff003c;
  animation: glitch 2s infinite;
}

.glitch::after {
  color: #00fff9;
  animation: glitch 1.5s infinite;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-2px, 1px); }
  80% { transform: translate(1px, -1px); }
  100% { transform: translate(0); }
}

/* =========================
   CONTACT
========================= */
#contact {
  background: #050505;
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

#contact h2 {
  font-size: 2.5rem;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
}

.contact-tagline {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 40px;
}

.contact-email {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 50px;
  text-decoration: none;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.contact-email:hover {
  opacity: 0.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px;
  color: white;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-form button {
  background: transparent;
  border: 1px solid white;
  padding: 12px;
  color: white;
  letter-spacing: 0.2em;
  cursor: pointer;
}

.contact-form button:hover {
  background: white;
  color: black;
}

/* =========================
   NOISE OVERLAY (DESKTOP ONLY)
========================= */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/images/noise.png");
  opacity: 0.05;
  pointer-events: none;
}

/* =========================
   MOBILE FIXES
========================= */
@media (max-width: 768px) {
  section {
    padding: 60px 6%;
  }

  .hero-content {
    transform: translateY(30px);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .gallery-image {
    height: 300px;
  }

  .nav {
    display: none;
  }

  .glitch::before,
  .glitch::after {
    display: none;
  }

  body::after {
    display: none;
  }
}
