/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Particles.js container */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: transparent;
}

/* HEADER */
.main-header {
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: rotate(0deg) scale(1.05);
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  text-transform: lowercase;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  position: relative;
  transition: all 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Project Detail Container */
.project-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 10;
}

.project-header {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.back-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: #fff;
  transform: translateX(-5px);
}

.project-header h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
  transform: rotate(-0.5deg);
}

.project-header .subtitle {
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
}

/* Process Sections */
.process-section {
  margin-bottom: 6rem;
  padding: 3rem 0;
}

.process-section h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 2rem;
  transform: rotate(-0.5deg);
}

.process-section h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  transform: rotate(0.3deg);
}

.process-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 800px;
}

/* Text Content Areas */
.text-content {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.text-content p {
  margin-bottom: 1.5rem;
}

.text-content p:last-child {
  margin-bottom: 0;
}

/* Media Gallery */
.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.media-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.media-item:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.95);
  transition: all 0.3s ease;
}

.media-item:hover img {
  filter: contrast(1.2) brightness(1);
  transform: scale(1.05);
}

.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Full Width Media */
.media-full {
  width: 100%;
  margin: 3rem 0;
  border: 3px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.media-full img,
.media-full video {
  width: 100%;
  height: auto;
  display: block;
}

/* Two Column Media */
.media-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.media-two-column .media-item {
  aspect-ratio: 1 / 1;
}

/* Three Column Media */
.media-three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.media-three-column .media-item {
  aspect-ratio: 1 / 1;
}

/* Image with Caption */
.media-with-caption {
  margin: 3rem 0;
}

.media-with-caption .media-item {
  margin-bottom: 1rem;
}

.media-caption {
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  text-align: center;
  padding: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .project-detail-container {
    padding: 2rem 1rem;
  }

  .main-header {
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 1rem;
  }

  .media-gallery {
    grid-template-columns: 1fr;
  }

  .media-two-column,
  .media-three-column {
    grid-template-columns: 1fr;
  }

  .process-section {
    margin-bottom: 4rem;
    padding: 2rem 0;
  }
}

