/* ==========================================================================
   SOBUJ FILMS — PORTFOLIO STYLESHEET
   Cinematic Dark Luxury Gallery
   ========================================================================== */

/* PORTFOLIO HERO */
.portfolio-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 24px 70px;
  background-image: 
    radial-gradient(ellipse at center, rgba(9, 9, 9, 0.45) 0%, rgba(9, 9, 9, 0.95) 85%),
    linear-gradient(to bottom, rgba(9, 9, 9, 0.7) 0%, #090909 100%),
    url('../assets/home-studio-3.avif');
  background-size: cover;
  background-position: center;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.portfolio-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* FILTER CONTROLS */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover {
  border-color: var(--border-red);
  color: var(--text-primary);
}
.filter-btn.active {
  background: var(--red-cinematic);
  border-color: var(--red-cinematic);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(197, 22, 36, 0.35);
}

/* PORTFOLIO GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-item {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), opacity 0.4s ease;
}
.project-item:hover {
  transform: translateY(-8px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-red);
}
.project-item.is-hidden {
  display: none !important;
}

.project-visual {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  background: #000;
}
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.project-item:hover .project-img {
  transform: scale(1.08);
}

.project-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(9, 9, 9, 0.88);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-cinematic);
  border-radius: 2px;
}
.project-network-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--red-cinematic);
  color: #fff;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 2px;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.project-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFFFFF;
  transition: color var(--transition-fast);
}
.project-item:hover .project-name {
  color: var(--red-cinematic);
}
.project-credits {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.project-credits strong {
  color: var(--text-primary);
}

.project-view-action {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color var(--transition-fast), gap var(--transition-fast);
}
.project-item:hover .project-view-action {
  color: var(--red-cinematic);
  gap: 12px;
}

/* PROJECT DETAILS MODAL */
.project-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.project-modal-backdrop.open {
  display: flex;
}
.project-modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-top: 3px solid var(--red-cinematic);
  max-width: 680px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition-fast);
}
.modal-close-icon:hover {
  background: var(--red-cinematic);
}
.modal-preview-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.modal-info-padding {
  padding: 28px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-filter-bar {
    gap: 8px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   EDITORIAL PROFILE SECTIONS
   Leadership, Casting Direction & Creative Pillars
   ========================================================================== */

.portfolio-profiles-section {
  position: relative;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 100px 0 80px;
}

.profiles-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 70px;
}

.profile-block {
  margin-bottom: 70px;
}
.profile-block:last-child {
  margin-bottom: 0;
}

.profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 44px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 52px;
  align-items: start;
  position: relative;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.profile-card:hover {
  border-color: rgba(197, 22, 36, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
}

/* Alternating layout: Content left, Image right */
.profile-layout-content-left .profile-card {
  grid-template-columns: 1fr 420px;
}

/* IMAGE COLUMN */
.profile-image-col {
  position: relative;
  width: 100%;
}

.profile-image-frame {
  position: sticky;
  top: 110px;
  width: 100%;
  height: 520px;
  border-radius: 3px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-medium);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform var(--transition-slow), filter var(--transition-smooth);
}
.profile-card:hover .profile-img {
  transform: scale(1.03);
}

.profile-img-arpita {
  object-position: center 15%;
}

.profile-img-neel {
  object-position: center 12%;
}

.profile-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 9, 0.85) 0%, rgba(9, 9, 9, 0.15) 45%, transparent 70%);
  pointer-events: none;
}

.profile-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(15, 15, 15, 0.92);
  border: 1px solid var(--border-red);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 16px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

/* CONTENT COLUMN */
.profile-content-col {
  display: flex;
  flex-direction: column;
}

.profile-meta {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
}

.profile-pill {
  display: inline-block;
  background: rgba(197, 22, 36, 0.15);
  border: 1px solid var(--border-red);
  color: #ff6b77;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.4vw, 2.85rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.profile-designation {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--red-cinematic);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  line-height: 1.4;
}

.profile-organization {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-organization i {
  color: var(--red-cinematic);
}

.profile-bio p {
  font-size: 1.02rem;
  line-height: 1.78;
  color: rgba(245, 242, 239, 0.9);
  margin-bottom: 18px;
}

.profile-vision-quote {
  position: relative;
  border-left: 3px solid var(--red-cinematic);
  background: linear-gradient(90deg, rgba(197, 22, 36, 0.08) 0%, transparent 100%);
  padding: 16px 22px;
  margin: 24px 0 10px;
  font-style: italic;
  color: #FFFFFF !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  border-radius: 0 4px 4px 0;
}

/* SUB-BLOCKS & HEADINGS */
.profile-sub-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.profile-subheading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
}

/* CREDITS GRID */
.credits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.credit-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--red-cinematic);
  border-radius: 3px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.credit-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-medium);
  border-left-color: #ff3344;
  transform: translateX(4px);
}

.credit-num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--red-cinematic);
  opacity: 0.85;
  min-width: 24px;
  line-height: 1.4;
}

.credit-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.credit-info strong {
  font-size: 1.05rem;
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.credit-channel {
  font-size: 0.78rem;
  font-weight: 600;
  color: #ff6b77;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.credit-role {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* EXPERTISE LIST */
.profile-expertise-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.profile-expertise-list li {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 10px 14px;
  font-size: 0.94rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  transition: border-color var(--transition-fast);
}
.profile-expertise-list li:hover {
  border-color: rgba(197, 22, 36, 0.4);
}

/* RESPONSIVE PROFILES */
@media (max-width: 1100px) {
  .profile-card {
    grid-template-columns: 360px 1fr;
    gap: 36px;
    padding: 34px;
  }
  .profile-layout-content-left .profile-card {
    grid-template-columns: 1fr 360px;
  }
  .profile-image-frame {
    height: 480px;
  }
}

@media (max-width: 991px) {
  .portfolio-profiles-section {
    padding: 70px 0 60px;
  }
  .profiles-header {
    margin-bottom: 45px;
  }
  .profile-block {
    margin-bottom: 50px;
  }
  .profile-card {
    grid-template-columns: 1fr !important;
    gap: 30px;
    padding: 28px 22px;
  }
  .profile-layout-content-left .profile-image-col {
    order: -1;
  }
  .profile-image-frame {
    position: relative;
    top: auto;
    height: 420px;
    max-width: 480px;
    margin: 0 auto;
  }
  .credits-grid {
    grid-template-columns: 1fr;
  }
  .profile-expertise-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .profile-card {
    padding: 20px 16px;
  }
  .profile-image-frame {
    height: 380px;
    width: 100%;
  }
  .profile-name {
    font-size: 1.85rem;
  }
  .profile-designation {
    font-size: 1rem;
  }
  .profile-bio p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .profile-subheading {
    font-size: 1.15rem;
  }
  .credit-card {
    padding: 12px 14px;
  }
}


