/* =========================================
   HERO BOUCHAN'S ENTERTAINMENT — CORPORATIVO PREMIUM
   ========================================= */

.be-hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Fondo */
.be-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.1);
  z-index: 1;
}

/* Luz cálida institucional */
.be-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  width: 55%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,180,80,0.22), transparent 70%);
  filter: blur(90px);
  z-index: 2;
}

/* Viñeta */
.be-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 */
.be-logo {
  width: 480px;
  max-width: 95%;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 25px rgba(0,0,0,0.9));
}

/* Título */
.be-hero h1 {
  font-size: 2.7rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 0 12px rgba(0,0,0,0.7);
}

/* Subtítulo */
.be-hero .project-subtitle {
  font-size: 1.15rem;
  color: #e5e5e5;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================================
   INFO DEL PROYECTO
   ========================================= */
.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(--yellow-neon);
}

.project-info .info-item {
  margin-bottom: 12px;
  font-size: 1rem;
}

.info-item strong {
  color: var(--yellow-neon);
  font-size: 1rem;
}

.info-item span {
  color: #dcdcdc;
  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 institucional */
  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;
}

/* =========================================
   GALERÍAS — TARJETAS CORPORATIVAS
   ========================================= */

.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;
}

/* =========================================
   WEBSITE EMBEBIDO
   ========================================= */

.website-frame {
  width: 100%;
  height: 700px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 45px rgba(0,0,0,0.75);
  margin-top: 25px;
}

.website-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================
   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-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-item p {
  margin-top: 10px;
  color: #e5e5e5;
  font-size: 0.95rem;
}

/* =========================================
   NUEVA ESTRUCTURA — GALERÍA FINAL & MOCKUPS
   ========================================= */

/* Títulos de subcategorías dentro de Galería Final */
.project-section h3 {
  font-size: 1.4rem;
  color: #f4b73a;
  margin: 25px 0 15px;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
  border-left: 4px solid #f4b73a;
  padding-left: 12px;
}

/* Separación visual entre subcategorías */
.project-section h3:not(:first-of-type) {
  margin-top: 45px;
}

/* =========================================
   ESTILO DIFERENCIADO — GALERÍA FINAL
   ========================================= */

.gallery-final .mockup-item {
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,0.55);
}

.gallery-final .mockup-item:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(244,183,58,0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.75);
}

.gallery-final .mockup-item::before {
  background: radial-gradient(circle, rgba(244,183,58,0.15), transparent 70%);
}

/* =========================================
   ESTILO DIFERENCIADO — MOCKUPS DEL PROYECTO
   ========================================= */

.mockups-section .mockup-item {
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 55px rgba(0,0,0,0.85);
}

.mockups-section .mockup-item:hover {
  transform: translateY(-16px) scale(1.07);
  border-color: rgba(244,183,58,0.55);
  box-shadow: 0 25px 70px rgba(0,0,0,0.95);
}

.mockups-section .mockup-item::before {
  background: radial-gradient(circle, rgba(244,183,58,0.28), transparent 75%);
}

/* =========================================
   SEPARADOR VISUAL ENTRE SECCIONES
   ========================================= */

.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(244,183,58,0.4), transparent);
  margin: 60px 0;
}

/* =========================================
   CENTRADO DE TÍTULOS — ESTRUCTURA GLOBAL
   ========================================= */

.project-section h2,
.project-section h3 {
  text-align: center;
  width: 100%;
}

/* Ajuste visual para subtítulos (h3) */
.project-section h3 {
  border-left: none;
  padding-left: 0;
  margin-top: 40px;
  font-size: 1.35rem;
}

/* Línea decorativa debajo de cada h2 */
.project-section h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, transparent, #f4b73a, transparent);
  margin: 10px auto 0;
  opacity: 0.7;
}


/* =========================================
   CTA FINAL
   ========================================= */

.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;
  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;
  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) {
  .be-hero {
    height: 70vh;
  }

  .be-logo {
    width: 340px;
  }

  .be-hero h1 {
    font-size: 2.1rem;
  }

  .be-hero .project-subtitle {
    font-size: 1rem;
  }

  .website-frame {
    height: 520px;
  }
}


/* ===========================
   MODAL CINEMÁTICO WEBSITE
   =========================== */

.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;
}

.website-modal-content {
  position: relative;
  width: 90%;
  max-width: 1300px;
  height: 85vh;
  background: #000;
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
  overflow: hidden;
}

.website-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2.2rem;
  color: white;
  cursor: pointer;
  z-index: 10;
}

/* Vista previa */
.website-preview {
  text-align: center;
  margin-top: 25px;
}

.website-preview img {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.7);
  margin-bottom: 20px;
}

.website-button {
  padding: 12px 28px;
  background: #00eaff;
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(0,234,255,0.45);
  transition: 0.3s ease;
}

.website-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,234,255,0.65);
}
