/* ==========================================================================
   Sagar Interior Work — Projects page (projects.html)
   Extends style.css. Page hero, portfolio grid meta, CTA band, deep-link.
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  min-height: 430px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  padding: 190px 0 104px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 560px at 85% -10%, rgba(59, 130, 246, 0.22), transparent 62%),
    radial-gradient(760px 460px at 5% 115%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(520px 380px at 45% 30%, rgba(245, 158, 11, 0.07), transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 22, 0.5) 0%, rgba(7, 12, 22, 0.22) 45%, rgba(7, 12, 22, 0.9) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.page-breadcrumb {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #93A3BF;
  margin-bottom: 22px;
}
.page-breadcrumb a { -webkit-transition: color 0.2s ease; transition: color 0.2s ease; }
.page-breadcrumb a:hover { color: #FFC554; }
.page-breadcrumb .sep { color: #3B4356; }
.page-breadcrumb .current { color: #FBBF24; }

.page-hero .hero-badge { margin-bottom: 22px; }

.page-title {
  font-size: 3rem;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: 0 12px 50px rgba(0, 0, 0, 0.5);
}
.page-sub {
  margin-top: 20px;
  max-width: 620px;
  color: #C3CFE4;
  font-size: 1.05rem;
}

.hero-stats {
  margin-top: 38px;
  display: -webkit-flex;
  display: flex;
  gap: 40px;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.hero-stat {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.hero-stat strong {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(120deg, #F59E0B, #FFD67A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #F59E0B;
}
.hero-stat span { font-size: 0.86rem; color: #93A3BF; font-weight: 600; }

/* ---------- Portfolio grid (richer caption) ---------- */
.projects-page { padding-top: 88px; }

.project-card {
  display: block;
  cursor: pointer;
}
.project-card .project-caption {
  -webkit-transition: -webkit-transform 0.35s ease;
  transition: transform 0.35s ease;
}
.project-card:hover .project-caption {
  -webkit-transform: translateY(-6px);
  transform: translateY(-6px);
}

.project-title {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 4px;
}
.project-meta {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  gap: 10px;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 0.82rem;
  color: #93A3BF;
}
.project-loc {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 6px;
}
.project-loc::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22D3EE;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
}
.project-status {
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  background: rgba(16, 185, 129, 0.16);
  color: #4ADF9E;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.project-arrow {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(7, 12, 22, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #FFC554;
  opacity: 0;
  -webkit-transform: translateY(8px);
  transform: translateY(8px);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease, background 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.project-arrow svg { width: 20px; height: 20px; }
.project-card:hover .project-arrow {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  background: linear-gradient(135deg, #F5A524, #FFC554);
  color: #14161A;
}

/* Deep-link target highlight */
.project-card.is-target {
  border-color: rgba(245, 158, 11, 0.9);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(245, 158, 11, 0.28), 0 0 46px rgba(245, 158, 11, 0.3);
  -webkit-animation: targetPulse 2s ease;
  animation: targetPulse 2s ease;
}
@-webkit-keyframes targetPulse {
  0% { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(245, 158, 11, 0.5), 0 0 46px rgba(245, 158, 11, 0.4); }
  100% { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(245, 158, 11, 0.28), 0 0 46px rgba(245, 158, 11, 0.3); }
}
@keyframes targetPulse {
  0% { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(245, 158, 11, 0.5), 0 0 46px rgba(245, 158, 11, 0.4); }
  100% { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(245, 158, 11, 0.28), 0 0 46px rgba(245, 158, 11, 0.3); }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 0 0 110px;
}
.cta-band-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 40px;
  border-radius: 28px;
  border: 1px solid rgba(96, 130, 190, 0.3);
  background: linear-gradient(180deg, rgba(21, 34, 61, 0.9), rgba(9, 15, 29, 0.97));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cta-band-inner::before {
  content: "";
  position: absolute;
  top: -120px; left: 50%;
  width: 640px; height: 320px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.16), transparent 70%);
  pointer-events: none;
}
.cta-band-icon {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 68px; height: 68px;
  border-radius: 20px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.24), rgba(245, 158, 11, 0.06));
  color: #FFC554;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 34px rgba(0, 0, 0, 0.3);
}
.cta-band-icon svg { width: 32px; height: 32px; }
.cta-band h2 {
  position: relative;
  font-size: 2rem;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cta-band p {
  position: relative;
  max-width: 600px;
  margin: 16px auto 0;
  color: #93A3BF;
  font-size: 1.02rem;
}
.cta-band-actions {
  position: relative;
  margin-top: 34px;
  display: -webkit-flex;
  display: flex;
  gap: 16px;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .page-title { line-height: 1.12; letter-spacing: -0.02em; }
  .page-hero { padding: 170px 0 88px; }
  .hero-stats { gap: 30px; }
}

@media (max-width: 640px) {
  body { line-height: 1.72; letter-spacing: 0.01em; }
  .page-title { line-height: 1.16; letter-spacing: 0; }
  .page-sub { line-height: 1.75; }
  .cta-band h2 { line-height: 1.26; letter-spacing: 0; }
  .cta-band p { line-height: 1.72; }
  .page-hero { padding: 150px 0 76px; min-height: 0; }
  .page-sub { font-size: 1rem; }
  .hero-stats { gap: 22px; margin-top: 30px; }
  .hero-stat strong { font-size: 1.7rem; }
  .cta-band { padding-bottom: 80px; }
  .cta-band-inner { padding: 52px 22px; }
  .cta-band-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .page-hero { padding: 136px 0 64px; }
  .page-breadcrumb { font-size: 0.78rem; }
  .project-meta { -webkit-justify-content: flex-start; justify-content: flex-start; }
}
