/* =====================================================
   proyecto.css — Estilos para páginas de proyecto
   ===================================================== */

/* ===== WRAPPER PRINCIPAL ===== */
.pd-wrapper {
  position: relative;
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== BLOBS DECORATIVOS ===== */
.pd-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: blobDrift 10s ease-in-out infinite;
  z-index: 0;
}

.pd-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 61, 0.10), transparent 70%);
  top: -120px;
  right: -80px;
}

.pd-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(233, 78, 119, 0.08), transparent 70%);
  bottom: 15%;
  left: -80px;
  animation-delay: -4s;
}

.pd-blob-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(126, 215, 193, 0.09), transparent 70%);
  top: 40%;
  right: 5%;
  animation-delay: -7s;
  animation-duration: 14s;
}

/* ===== ESTRELLAS FLOTANTES ===== */
@keyframes spinStar {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.pd-star {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  animation: spinStar 6s linear infinite;
}

/* ===== CONTENEDOR CENTRAL ===== */
.pd-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 48px 80px;
}

/* ===== BACK LINK ===== */
.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 48px;
  transition: color 0.3s ease, gap 0.3s ease;
}

.pd-back:hover {
  color: var(--orange);
  gap: 14px;
}

/* ===== HERO 2 COLUMNAS ===== */
.pd-hero-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 80px;
}

@media (max-width: 860px) {
  .pd-hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===== COLUMNA IZQUIERDA: título + sidebar ===== */
.pd-hero-left {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.pd-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-category {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
}

.pd-category::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--orange);
  display: block;
  flex-shrink: 0;
}

.pd-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0;
}

/* ===== SIDEBAR ===== */
.pd-sidebar {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 107, 61, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.pd-info-item {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pd-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pd-info-label {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 4px;
}

.pd-info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

/* ===== COLUMNA DERECHA: imagen ===== */
.pd-hero-right {
  display: flex;
  align-items: flex-start;
}

.pd-hero-img {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.13);
}

.pd-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.pd-hero-img:hover img {
  transform: scale(1.02);
}

/* ===== TEXT CONTENT ===== */
.pd-text {
  min-width: 0;
  margin-bottom: 80px;
}

.pd-section {
  margin-bottom: 48px;
}

.pd-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.pd-section-title::before {
  content: '✦';
  font-size: 0.55rem;
  color: var(--orange);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 107, 61, 0.09);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: spinStar 8s linear infinite;
}

.pd-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0;
}

/* ===== BEHANCE CTA ===== */
.pd-behance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 36px 40px;
  background: linear-gradient(135deg, rgba(255, 107, 61, 0.05), rgba(233, 78, 119, 0.04));
  border-radius: 24px;
  border: 1px solid rgba(255, 107, 61, 0.12);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pd-behance:hover {
  border-color: rgba(255, 107, 61, 0.28);
  box-shadow: 0 8px 32px rgba(255, 107, 61, 0.08);
}

.pd-behance-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: var(--text);
}

.pd-behance-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .pd-behance {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
}

/* ===== PREV / NEXT NAV ===== */
.pd-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.pd-nav-item {
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 28px;
  border-radius: 18px;
  flex: 1;
  max-width: 46%;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.pd-nav-item:hover {
  background: var(--white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.pd-nav-next {
  text-align: right;
  margin-left: auto;
}

.pd-nav-label {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.pd-nav-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  transition: color 0.3s;
}

.pd-nav-item:hover .pd-nav-name {
  color: var(--orange);
}

@media (max-width: 600px) {
  .pd-inner {
    padding: 120px 24px 60px;
  }

  .pd-hero-left {
    position: static;
  }

  .pd-nav {
    flex-direction: column;
  }

  .pd-nav-item {
    max-width: 100%;
  }

  .pd-nav-next {
    text-align: left;
    margin-left: 0;
  }
}


.pd-showcase{
  margin: 5.5rem 0 6rem;
}

.pd-showcase-head{
  max-width: 860px;
  margin-bottom: 2.4rem;
}

.pd-showcase-kicker{
  display: inline-block;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff6b3d;
  margin-bottom: 0.9rem;
}

.pd-showcase-intro{
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5f5a57;
  margin-top: 1rem;
}

.pd-showcase-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.pd-showcase-item{
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 30px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.05);
}

.pd-showcase-item-large{
  grid-row: span 2;
}

.pd-showcase-image-wrap{
  position: relative;
  overflow: hidden;
}

.pd-showcase-image{
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pd-showcase-item-large .pd-showcase-image{
  min-height: 620px;
}

.pd-showcase-item:hover .pd-showcase-image{
  transform: scale(1.03);
}

.pd-showcase-copy{
  padding: 1.35rem 1.35rem 1.6rem;
}

.pd-showcase-label{
  display: inline-block;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.pd-showcase-title{
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--pink);
  margin-bottom: 0.75rem;
}

.pd-showcase-text{
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991px){
  .pd-showcase-grid{
    grid-template-columns: 1fr;
  }

  .pd-showcase-item-large{
    grid-row: auto;
  }

  .pd-showcase-item-large .pd-showcase-image,
  .pd-showcase-image{
    min-height: 260px;
    max-height: 340px;
  }

  .pd-showcase-title{
    font-size: 1.8rem;
  }

  .pd-showcase-intro{
    font-size: 1rem;
  }
}