/* =========================================
   PROJECT DETAIL PAGE
========================================= */
body.project-page {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  font-family: 'Noto Sans Arabic', sans-serif;
  color: #000000;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.project-page .name { color: #000000; }
body.project-page .menu a { color: #000000; }
body.project-page .menu a.active { color: #ff3eb5; }

body.project-page .footer {
  background: transparent;
  height: 42px;
  padding: 0 32px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  border: none;
  box-shadow: none;
}

/* =========================================
   LAYOUT
========================================= */
.project-main {
  max-width: 660px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}

/* =========================================
   HEADER
========================================= */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.project-name {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 6px 0;
}

.project-subtitle {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  margin: 0;
}

/* =========================================
   TAB BUTTONS
   Active = filled border, inactive = faded
========================================= */
.tab-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 4px;
}

.tab-btn {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-size: 12px;
  font-weight: 400;
  padding: 4px 14px;
  border: 1px solid #000000;
  background: transparent;
  color: #000000;
  cursor: pointer;
  border-radius: 10px;
  opacity: 0.3;
  -webkit-appearance: none;
appearance: none;
}

.tab-btn.active {
  opacity: 1;
}

/* =========================================
   TAB CONTENT
========================================= */
.tab-content.hidden {
  display: none;
}

/* =========================================
   DESCRIPTION
========================================= */
.project-description {
  font-size: 13px;
  line-height: 1.7;
  color: #000000;
  margin-bottom: 36px;
}

/* =========================================
   MEDIA BLOCKS
   To add an image: duplicate .project-media-block
   To add a video: replace .project-image-placeholder with <video> tag
========================================= */
.project-media-block {
  margin-bottom: 40px;
}

.project-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #d9d9d9;
  display: block;
}

/* Replace placeholder with real image like this:
   <img class="project-image" src="your-image.jpg" alt="description"> */
.project-image {
  width: 100%;
  display: block;
}

/* Replace placeholder with real video like this:
   <video class="project-video" src="your-video.mp4" controls></video> */
.project-video {
  width: 100%;
  display: block;
}

.project-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

.project-caption {
  font-size: 11px;
  color: #888888;
  margin: 8px 0 0 0;
  line-height: 1.5;
}



/* =========================================
   METADATA
========================================= */
.project-meta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-meta p {
  font-size: 12px;
  line-height: 1.6;
  color: #000000;
  margin: 0;
}

.meta-label {
  font-weight: 700;
  font-style: italic;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 600px) {
  .project-main {
    padding: 70px 18px 100px;
  }

  /* Stack title and buttons vertically */
  .project-header {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
  }

  /* Buttons go below title, left aligned */
  .tab-buttons {
    margin-top: 0;
  }

  .project-name {
    font-size: 20px;
  }

  .project-subtitle {
    font-size: 13px;
  }

  .project-description {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .project-image-placeholder {
    aspect-ratio: 4 / 3;
  }

  .project-caption {
    font-size: 11px;
  }

  .project-meta p {
    font-size: 12px;
  }
}