/* =========================================
   Project Page Design System
   ========================================= */

/* --- Navigation --- */
.project-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 1000;
  transition: all 0.3s ease;
}

.is-flex {
  display: flex;
}

.is-between {
  justify-content: space-between;
  align-items: center;
}

.nav-back,
.nav-logo img {
  opacity: 0.8;
  transition: all 0.2s ease;
}

.nav-back {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.nav-back:hover,
.nav-logo:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

.nav-logo img {
  height: 32px;
  width: auto;
}

/* --- Hero Section --- */
.project-header {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 60px;
}

.project-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 1) 0%, rgba(5, 5, 5, 1) 100%);
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 1s ease-out;
}

.project-brand-logo {
  height: 120px;
  width: auto;
  margin-bottom: 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.project-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* --- Metadata Section --- */
.project-meta {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.meta-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
}

/* --- Story Section --- */
.project-story {
  padding: 6rem 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.project-story p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-orange, #fc8626);
  font-weight: bold;
}

/* --- Gallery --- */
.project-gallery-section {
  padding: 4rem 0 8rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  transition: transform 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.span-2 {
  grid-column: span 2;
}

.caption {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* --- Footer --- */
.footer-simple {
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .project-title {
    font-size: 2.5rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .span-2 {
    grid-column: span 1;
  }

  .project-header {
    min-height: 70vh;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}