/* =========================================
   HERO PEPE REYNA — CINEMÁTICO PREMIUM
   ========================================= */

.pepe-hero {
  position: relative;
  height: 90vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Foto de fondo */
.pepe-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.1);
  z-index: 1;
  margin-top: 150px;
}

/* Luz cálida lateral */
.pepe-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  width: 55%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,180,80,0.25), transparent 70%);
  filter: blur(90px);
  z-index: 2;
}

/* Viñeta cinematográfica */
.pepe-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.75) 100%);
  z-index: 3;
}

/* Contenido */
.hero-content {
  position: relative;
  z-index: 5;
  padding: 20px;
}

/* Logo gigante */
.pepe-logo {
  width: 520px;
  max-width: 95%;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 25px rgba(0,0,0,0.9));
}

/* Título */
.pepe-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  margin-top: 190px;
  text-shadow: 0 0 12px rgba(0,0,0,0.7);
}

/* Subtítulo */
.pepe-hero .project-subtitle {
  font-size: 1.2rem;
  color: #e5e5e5;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================================
   INFO DEL ARTISTA
   ========================================= */
.project-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  color: var(--white-pure);
}

.project-info {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid var(--cyan);
}

.project-info .info-item {
  margin-bottom: 12px;
  font-size: 1rem;
}

.info-item strong {
  color: var(--cyan);
  font-size: 1rem;
}

.info-item span {
  color: var(--yellow-neon);
  font-size: 0.95rem;
}

/* =========================================
   CONTENIDO PRINCIPAL
   ========================================= */

.project-content {
  max-width: 1100px;
  margin: 20px auto 90px;
  padding: 0 20px;
}

.project-section {
  margin-bottom: 55px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.project-section h2 {
  font-size: 1.9rem;
  color: #f4b73a; /* amarillo metálico */
  margin-bottom: 14px;
  text-shadow: 0 0 12px rgba(0,0,0,0.6);
}

.project-section p,
.project-section ul {
  color: #d4d4d4;
  font-size: 1.08rem;
  line-height: 1.75;
}

.project-section ul {
  padding-left: 20px;
}

.project-section-gallery h2{
  text-align: center;
  font-size: 2.2rem;
  color: #f4b73a; /* amarillo metálico */
  margin-bottom: 14px;
  text-shadow: 0 0 12px rgba(0,0,0,0.6);
}

/* ================================
   PEPE REYNA — PROCESO CREATIVO
   ================================ */
.pr-proceso-creativo {
  background-color: var(--black-deep);
  padding: 80px 40px;
}

.pr-proceso-creativo h2 {
  font-size: 2.4rem;
  color: #fff200; /* Dorado */
  margin-bottom: 20px;
  text-align: left;
  text-shadow: 0 0 12px rgba(255, 242, 0, 0.6);
}

.pr-proceso-creativo p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 800px;
  text-align: left;
}


/* ================================
   PEPE REYNA — SISTEMA VISUAL
   ================================ */
.pr-sistema-visual {
  background-color: var(--black-deep);
  padding: 80px 40px;
}

.pr-sistema-visual h2 {
  font-size: 2.4rem;
  color: #fff200;
  margin-bottom: 40px;
  text-align: left;
  text-shadow: 0 0 12px rgba(255, 242, 0, 0.6);
}

.pr-vs-block {
  margin-bottom: 40px;
}

.pr-vs-block h3 {
  font-size: 1.6rem;
  color: var(--yellow-neon);
  margin-bottom: 20px;
  text-align: left;
}

.pr-vs-block p{
  color: var(--white-pure);
}

/* PALETA DE COLOR */
.pr-color-palette {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.pr-color-swatch {
  width: 120px;
  height: 120px;
  background-color: var(--color);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  box-shadow: 0 0 12px var(--color);
}

/* TIPOGRAFÍAS */
.pr-font-sample {
  font-size: 1.4rem;
  margin-bottom: 12px;
  text-align: left;
}

.pr-script {
  font-family: 'Pacifico', cursive;
  color: #fff200;
  text-shadow: 0 0 8px rgba(255, 242, 0, 0.6);
}

.pr-sans {
  font-family: 'Montserrat', sans-serif;
  color: #e81c25;
  text-shadow: 0 0 8px rgba(232, 28, 37, 0.5);
}


/* =========================================
   GALERÍA — TARJETAS CINEMÁTICAS
   ========================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Tarjeta */
.mockup-item {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.75);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

/* Glow cálido */
.mockup-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(244,183,58,0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

/* Hover 3D */
.mockup-item:hover {
  transform: translateY(-14px) scale(1.06);
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
  border-color: rgba(244,183,58,0.45);
}

.mockup-item:hover::before {
  opacity: 1;
}

.mockup-item img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

.mockup-item figcaption {
  padding: 14px 18px;
  color: #dcdcdc;
  font-size: 0.95rem;
  position: relative;
  z-index: 3;
}

/* Sección de mockups – Pepe Reyna */
.pepe-mockups-section {
  position: relative;
  padding: 3rem 1.5rem;
  background: radial-gradient(circle at top, rgba(255, 255, 200, 0.08), transparent 55%),
              radial-gradient(circle at bottom, rgba(0, 255, 255, 0.06), transparent 55%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pepe-mockups-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pepe-mockups-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pepe-mockups-title {
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fdf5c0;
  text-shadow:
    0 0 8px rgba(255, 255, 180, 0.7),
    0 0 18px rgba(0, 255, 255, 0.4);
}

.pepe-mockups-subtitle {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: rgba(240, 240, 240, 0.8);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid responsive */
.pepe-mockups-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .pepe-mockups-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pepe-mockups-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.pepe-mockup-card {
  position: relative;
  background: linear-gradient(145deg, rgba(10, 10, 10, 0.95), rgba(25, 25, 25, 0.98));
  border-radius: 14px;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 200, 0.18);
  box-shadow:
    0 0 12px rgba(0, 0, 0, 0.8),
    0 0 18px rgba(0, 255, 255, 0.18),
    0 0 26px rgba(255, 255, 180, 0.16);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pepe-mockup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 200, 0.12), transparent 55%),
              radial-gradient(circle at bottom right, rgba(0, 255, 255, 0.12), transparent 55%);
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
}

.pepe-mockup-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 200, 0.55);
  box-shadow:
    0 0 18px rgba(0, 0, 0, 0.9),
    0 0 26px rgba(0, 255, 255, 0.32),
    0 0 34px rgba(255, 255, 180, 0.3);
}

/* Imagen */
.pepe-mockup-image-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.85rem;
}

.pepe-mockup-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.pepe-mockup-card:hover .pepe-mockup-image-wrap img {
  transform: scale(1.03);
  filter: saturate(1.15) contrast(1.1);
}

/* Info */
.pepe-mockup-info {
  position: relative;
  z-index: 1;
}

.pepe-mockup-label {
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fdf5c0;
  margin-bottom: 0.35rem;
  text-shadow:
    0 0 6px rgba(255, 255, 180, 0.7),
    0 0 12px rgba(0, 255, 255, 0.35);
}

.pepe-mockup-text {
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(230, 230, 230, 0.85);
}

/* =========================================
   VIDEOS
   ========================================= */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.video-item {
  background: #111;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 35px rgba(0,0,0,0.7);
}

.video-item video {
  width: 100%;
  border-radius: 8px;
}

.video-item p {
  margin-top: 10px;
  color: #e5e5e5;
  font-size: 0.95rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.7);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.project-section-video h2 {
   text-align: center;
  font-size: 2.2rem;
  color: #f4b73a; /* amarillo metálico */
  margin-bottom: 14px;
  text-shadow: 0 0 12px rgba(0,0,0,0.6);
  margin-top: 30px;
}

/* =========================================
              Website
 =========================================*/
.website-section {
  text-align: center;
}

.website-preview img {
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
  margin-bottom: var(--space-m);
}

.website-button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--cyan);
  color: #000;
  font-family: var(--font-primary);
  font-weight: bold;
  border-radius: var(--radius);
  text-decoration: none;
  transition: 0.3s ease;
}

.website-button:hover {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 0 25px rgba(255,0,200,0.4);
}

/*website modal*/
.website-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/*💎 Borde neón (cyan + magenta, estilo Mariachi & Gun)*/
.website-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 85vh;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 25px rgba(0,234,255,0.35),
    0 0 45px rgba(255,0,200,0.25);
  border: 2px solid rgba(0,234,255,0.4);
}


/*🎞️ Animación de entrada (opcional, pero queda brutal)*/
.website-modal-content {
  animation: modalFadeIn 0.45s ease-out;
}

@keyframes modalFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/*✨ Glow lateral cálido (luz de estudio cinematográfica)*/
.website-modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,180,80,0.18), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

/*🎬 Viñeta cinematográfica (profundidad real)*/
.website-modal-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 55%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
  z-index: 2;
}


.website-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: relative;
  z-index: 3; /*🖥️ Asegurar que el sitio web quede encima de los efectos*/
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10;
}


/* =========================================
   CTA FINAL — SISTEMA CYAN GLOBAL
   ========================================= */

.cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #0d0d0d, #151515);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 80px;
}

.cta-section h2 {
  font-size: 2rem;
  color: #f4b73a; /* amarillo metálico */
  margin-bottom: 12px;
}

.cta-section p {
  color: #d0d0d0;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: #00eaff; /* cyan */
  color: #000;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,234,255,0.45);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,234,255,0.65);
  background: #00c8dd;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .pepe-hero {
    height: 75vh;
  }

  .pepe-logo {
    width: 360px;
  }

  .pepe-hero h1 {
    font-size: 2.2rem;
  }

  .pepe-hero .project-subtitle {
    font-size: 1.05rem;
  }
}

/* =========================================
   SEPARADOR VISUAL ENTRE SECCIONES
   ========================================= */

.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(238, 244, 58, 0.4), transparent);
  margin: 60px 0;
}
