/* Project Pages Styles */

body {
  margin: 0;
  padding: 0;
  font-family: 'Belleza', sans-serif;
  background-color: #fff;
}

/* Project Navigation Bar */
.project-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  color: #222;
  box-sizing: border-box;
  border-bottom: 1px solid #e0e0e0;
}

.project-nav-bar .top-left-text {
  font-family: 'Belleza', sans-serif;
  font-size: 3em;
  font-weight: bold;
  user-select: none;
  color: #222;
  flex-shrink: 0;
}

.project-nav-bar .top-right-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  z-index: 10;
}

.project-nav-bar .action-btn {
  padding: 9px 20px;
  background-color: rgba(0, 0, 0, 0.0);
  border: rgba(0, 0, 0, 0.0);
  color: #222;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.5em;
  font-family: 'Belleza', sans-serif;
  position: relative;
  margin-right: 20px;
  z-index: 10;
  text-decoration: none;
  display: inline-block;
}

.project-nav-bar .action-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.project-nav-bar .action-btn.active {
  background-color: #222;
  color: white;
}

/* Main Project Container with Sidebar Layout */
.project-container {
  display: flex;
  min-height: 100vh;
  padding-top: 80px;
  gap: 40px;
}

/* Left Sidebar */
.project-sidebar {
  width: 250px;
  min-width: 250px;
  padding: 0 30px 60px 30px;
  background-color: transparent;
  position: sticky;
  top: 80px;
  height: fit-content;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-category {
  font-family: 'Belleza', sans-serif;
  font-size: 1.6em;
  font-weight: bold;
  margin: 0;
  color: #222;
}

.sidebar-role {
  font-family: 'Belleza', sans-serif;
  font-size: 1.2em;
  font-weight: normal;
  margin: 0;
  color: #222;
}

.sidebar-date {
  font-family: 'Belleza', sans-serif;
  font-size: 1.1em;
  font-weight: normal;
  margin: 0;
  color: #222;
}

.sidebar-next-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 28px;
  background-color: #222;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-family: 'Belleza', sans-serif;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
}

.sidebar-next-btn:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Right Content Area */
.project-content {
  flex: 1;
  padding: 0 60px 60px 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Project Image Wrapper */
.project-image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.project-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.project-image-wrapper.full-width {
  width: 100%;
}

.project-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Video Placeholder */
.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-placeholder.large {
  aspect-ratio: 21/9;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.play-icon {
  font-size: 4em;
  color: white;
  z-index: 1;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-placeholder:hover .play-icon {
  transform: scale(1.2);
}

/* Grid Layouts */
.project-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Next Project Section */
.next-project-section {
  padding: 0;
  text-align: center;
  background-color: #fff;
  color: #000;
  overflow: hidden;
}

/* Top header area: title + subtitle on white */
.next-project-header {
  padding: 60px 40px 50px 40px;
  background-color: #fff;
}

.next-project-title {
  font-family: 'Belleza', sans-serif;
  font-size: 2.5em;
  letter-spacing: 10px;
  margin: 0 0 5px 0;
  font-weight: bold;
  text-transform: uppercase;
  color: #000;
}

.next-project-subtitle {
  font-family: 'Belleza', sans-serif;
  font-size: 0.8em;
  margin: 0;
  opacity: 0.5;
  font-weight: normal;
  color: #000;
}

/* Dark image preview with overlaid project name */
.next-project-preview {
  width: 100%;
  height: 83vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.next-project-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.next-project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.01)), url('../images/work_overlay.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: 1;
}

.next-project-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 60px 40px;
  text-align: center;
}

.next-project-name {
  font-family: 'Belleza', sans-serif;
  font-size: 10em;
  font-weight: 300;
  margin: 0 0 20px 0;
  line-height: 1;
  color: #fff;
}

.next-project-description {
  font-family: 'Belleza', sans-serif;
  font-size: 1.2em;
  margin: 0;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.75;
  line-height: 1.6;
  color: #fff;
}

/* Button area below the image */
.next-project-btn-area {
  padding: 60px 40px 80px 40px;
  background-color: #fff;
}

.category-btn {
  display: inline-block;
  padding: 14px 50px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 25px;
  font-family: 'Belleza', sans-serif;
  font-size: 0.95em;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: none;
}

.category-btn:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Project Footer */
.project-footer {
  padding: 15px 40px;
  text-align: center;
  background-color: #fff;
  color: #000;
  font-family: 'Belleza', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e5e5e5;
}

.project-footer span:first-child {
  text-align: left;
  flex: 1;
  font-size: 1em;
  font-weight: normal;
}

.project-footer span:nth-child(2) {
  text-align: center;
  flex: 1;
  font-size: 1em;
  font-weight: normal;
}

.project-footer span:last-child {
  text-align: right;
  flex: 1;
  font-size: 1em;
  font-weight: normal;
}

/* Large footer name */
.project-footer-large {
  padding: 20px 0 30px 0;
  text-align: center;
  background-color: #fff;
  color: #000;
  font-family: 'Belleza', sans-serif;
  border-top: 1px solid #e5e5e5;
}

.footer-name-large {
  font-size: 9vw;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
  line-height: 1;
}

.footer-name-large .name-first {
  display: inline;
  margin-right: 0;
  font-family: 'Belleza', sans-serif;
  font-size: 11vw;
  font-weight: bold;
}

.footer-name-large .name-last {
  display: inline;
  font-family: 'Prossima Moda PERSONAL USE Regular', sans-serif;
  font-size: 5vw;
  font-weight: bold;
}

@media (max-width: 768px) {
  .footer-name-large {
    font-size: 12vw;
    letter-spacing: 0.03em;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .project-container {
    flex-direction: column;
    gap: 0;
  }

  .project-sidebar {
    width: 100%;
    position: relative;
    top: 0;
    padding: 40px 30px;
  }

  .sidebar-content {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar-next-btn {
    margin-top: 0;
  }

  .project-content {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .project-nav-bar .top-left-text {
    font-size: 1.5em;
  }

  .project-nav-bar .action-btn {
    font-size: 1em;
    padding: 8px 15px;
  }

  .project-content {
    gap: 30px;
  }

  .project-grid-2,
  .project-grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .next-project-name {
    font-size: 2.5em;
  }

  .next-project-preview {
    min-height: 400px;
  }

  .project-footer {
    font-size: 1.8em;
    flex-direction: column;
    gap: 5px;
  }

  .sidebar-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .project-nav-bar {
    padding: 15px 20px;
  }

  .project-nav-bar .top-left-text {
    font-size: 1.3em;
  }

  .project-nav-bar .action-btn {
    font-size: 0.9em;
    padding: 7px 12px;
  }

  .project-sidebar {
    padding: 30px 20px;
  }

  .project-content {
    padding: 30px 20px;
    gap: 25px;
  }

  .next-project-header {
    padding: 40px 20px 30px 20px;
  }

  .next-project-name {
    font-size: 2em;
  }

  .next-project-btn-area {
    padding: 40px 20px 50px 20px;
  }

  .project-footer {
    font-size: 1.5em;
  }

  .play-icon {
    font-size: 3em;
  }
}
