/* --- TEMPLATE: STRUCTURE --- */

/* Global Project Spacing */
.project-details {
  padding: 40px;
  color: #cccccc;
  font-family: "Inter", sans-serif;
  max-width: 1000px; /* Constrain width for readability */
  margin: 0 auto; /* Center the container */
}

/* Reusable Section Wrapper (Adds spacing between blocks) */
.project-section {
  margin-bottom: 60px;
}

/* --- SECTION 1: HEADER & HERO --- */
.project-top-bar {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.project-top-bar .divider {
  margin: 0 5px;
}
.project-top-bar .highlight {
  color: #fff;
}

.project-hero {
  width: 100%;
  margin-bottom: 50px;
  border-radius: 4px; /* Slight rounded corners */
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

/* --- SECTION 2: INTRO (Two Columns) --- */
.intro-grid {
  display: grid;
  grid-template-columns: 150px 1fr; /* Left label is fixed, Right text fills space */
  gap: 40px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Optional separator line */
  padding-bottom: 40px;
}

.intro-label {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.intro-label .white {
  color: #fff;
}
.intro-label .pink {
  color: #e94b6d;
}

.intro-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: #b0b0b0;
}

/* --- SECTION 3: YOUTUBE WRAPPER --- */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Magic number for 16:9 Aspect Ratio */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- SECTION 4: TEXT BLOCK --- */
.text-block h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.text-block p {
  font-size: 1rem;
  line-height: 1.6;
  color: #b0b0b0;
}

/* --- SECTION 5: GALLERY GRID --- */
.gallery-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50% - 50% split */
  gap: 20px;
}

.gallery-full {
  width: 100%;
  margin-top: 20px;
}

/* Placeholder Styling (For your template visual) */
.gallery-item.placeholder {
  background-color: #333;
  height: 300px; /* Mock height */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-weight: 600;
}
.gallery-item.placeholder.large {
  height: 500px;
}

/* Real Image Styling */
.gallery-grid-2 img,
.gallery-full img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* --- SECTION 6: FOOTER --- */
.project-footer {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-footer p {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #888;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px; /* Pill shape */
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 15px;
  }

  .gallery-grid-2 {
    grid-template-columns: 1fr; /* Stack images vertically */
  }

  .project-details {
    padding: 20px;
  }
}

/* --- EMBED STYLES --- */

.project-details.project-full-embed {
  padding: 0 !important;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.iframe-container {
  width: 100%;
  height: 100%;
  min-height: 80vh;
  display: flex;
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
