/* ===================================================
   guiaproduccion.css — Estilos específicos de guiaproduccion.html
   Los estilos de nav, footer y animaciones globales
   viven en stylesheet.css
   =================================================== */

/* SCROLLBAR CON EFECTOS DE LUZ */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #0a0a0a, #1a1a1a);
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgb(255, 153, 0), rgb(255, 136, 0));
  border-radius: 10px;
  border: 2px solid #0a0a0a;
  position: relative;
}

::-webkit-scrollbar-thumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 10px 10px 0 0;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgb(255, 170, 51), rgb(255, 153, 0));
  box-shadow: 
    0 0 10px rgba(255, 153, 0, 0.8),
    inset 0 0 5px rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, rgb(255, 136, 0), rgb(255, 153, 0));
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgb(255, 153, 0) #1a1a1a;
}

/* Estilos específicos para cuando se genera PDF */
    @media print {
      .download-buttons,
      .compact-buttons,
      .btn-download,
      .contact-button,
      .compact-button,
      .back-to-top,
      .progress-container,
      .floating-quick-nav {
        display: none !important;
      }
      
      .container {
        box-shadow: none !important;
        border: 2px solid #ff9900 !important;
      }
      
      .phase,
      .timeline-section,
      .resources-section {
        break-inside: avoid;
      }
    }

/* Clase temporal para ocultar elementos durante la generación de PDF */
    .hidden-for-pdf {
      display: none !important;
    }

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

:root {
      --primary-color: rgb(255, 153, 0);
      --secondary-color: #111111;
      --accent-color: #ff9900;
    }

body {
      font-family: 'Montserrat Alternates', sans-serif;
      background-color: var(--secondary-color);
      color: #ffffff;
      line-height: 1.6;
      padding: 20px;
      animation: fadeIn 1s ease-out;
    }

.container {
      max-width: 1000px;
      margin: 0 auto;
      background: linear-gradient(145deg, #1a1a1a, #151515);
      border-radius: 15px;
      padding: 40px;
      border: 1px solid #333;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      animation: slideUp 0.8s ease-out;
      position: relative;
    }

.header {
      text-align: center;
      margin-bottom: 40px;
      padding-bottom: 30px;
      border-bottom: 2px solid var(--primary-color);
      animation: fadeIn 1s ease-out 0.2s both;
    }

.logo {
      font-size: 4rem;
      margin-bottom: 20px;
      animation: bounceIn 1s ease-out;
    }

h1 {
      color: var(--primary-color);
      font-size: 2.5rem;
      margin-bottom: 15px;
      font-weight: bold;
    }

.subtitle {
      color: #cccccc;
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

h2 {
      
      font-size: 1.8rem;
      margin: 40px 0 20px 0;
      border-left: 4px solid var(--primary-color);
      padding-left: 15px;
      animation: fadeInLeft 0.8s ease-out 0.4s both;
    }

h3 {
      color: #ffffff;
      font-size: 1.4rem;
      margin: 25px 0 15px 0;
    }

.phase {
      background: rgba(255, 153, 0, 0.1);
      border: 1px solid rgba(255, 153, 0, 0.3);
      border-radius: 10px;
      padding: 25px;
      margin: 25px 0;
      transition: all 0.3s ease;
      animation: fadeInUp 0.8s ease-out;
    }

.phase:nth-child(2) {
      animation-delay: 0.5s;
    }

.phase:nth-child(3) {
      animation-delay: 0.6s;
    }

.phase:nth-child(4) {
      animation-delay: 0.7s;
    }

.phase:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(255, 153, 0, 0.2);
    }

.phase-header {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 20px;
    }

.phase-icon {
      font-size: 2rem;
      background: var(--primary-color);
      color: black;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: transform 0.3s ease;
    }

.phase:hover .phase-icon {
      transform: scale(1.1) rotate(5deg);
    }

.checklist {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 8px;
      padding: 20px;
      margin: 20px 0;
      transition: all 0.3s ease;
    }

.checklist:hover {
      transform: translateX(5px);
      border-left: 3px solid var(--primary-color);
    }

.checklist h4 {
      color: var(--primary-color);
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

ul {
      padding-left: 20px;
    }

li {
      margin-bottom: 10px;
      color: #cccccc;
      transition: color 0.3s ease;
      position: relative;
      padding-left: 10px;
    }

li:hover {
      color: white;
    }

li::before {
      content: "•";
      color: var(--primary-color);
      font-weight: bold;
      position: absolute;
      left: -15px;
    }

.tip {
      background: rgba(255, 153, 0, 0.1);
      border: 1px solid var(--primary-color);
      border-radius: 8px;
      padding: 20px;
      margin: 20px 0;
      transition: all 0.3s ease;
      animation: fadeInUp 0.8s ease-out;
    }

.tip:nth-child(2) {
      animation-delay: 0.5s;
    }

.tip:nth-child(3) {
      animation-delay: 0.6s;
    }

.tip:nth-child(4) {
      animation-delay: 0.7s;
    }

.tip:nth-child(5) {
      animation-delay: 0.8s;
    }

.tip:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(255, 153, 0, 0.2);
    }

.tip h4 {
      color: var(--primary-color);
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

.contact-info {
      background: rgba(255, 153, 0, 0.1);
      border-radius: 10px;
      padding: 25px;
      margin: 30px 0;
      text-align: center;
    }

.btn-download {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: linear-gradient(135deg, var(--primary-color), rgb(255, 136, 0));
      color: black;
      padding: 12px 25px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      margin-top: 20px;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      font-family: inherit;
      animation: pulse 2s infinite;
    }

.btn-download:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(255, 153, 0, 0.4);
      color: white;
      animation: none;
    }

.contact-section-compact {
      background: rgba(255, 153, 0, 0.1);
      border-radius: 12px;
      padding: 25px;
      margin: 30px 0;
      text-align: center;
      animation: fadeInUp 0.8s ease-out 0.8s both;
    }

.compact-buttons {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 20px;
    }

.compact-button {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid #333;
      border-radius: 10px;
      padding: 12px 20px;
      text-decoration: none;
      color: #ffffff;
      font-weight: 600;
      transition: all 0.3s ease;
    }

.compact-button:hover {
      border-color: var(--color);
      background: var(--color);
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

.compact-icon {
      font-size: 1.2rem;
    }

/* Botón Volver al Inicio Fijo */
    .back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background: var(--primary-color);
      color: black;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      text-decoration: none;
      box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
      z-index: 1000;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      opacity: 0;
      transform: translateY(20px);
    }

.back-to-top.show {
      opacity: 1;
      transform: translateY(0);
    }

.back-to-top:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(255, 153, 0, 0.6);
      background: rgb(255, 170, 0);
    }

/* NUEVAS SECCIONES AÑADIDAS */
    
    /* Barra de progreso */
    .progress-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: rgba(255, 153, 0, 0.1);
      z-index: 1001;
    }

.progress-bar {
      height: 100%;
      background: var(--primary-color);
      width: 0%;
      transition: width 0.3s ease;
    }

/* Navegación rápida flotante */
    .floating-quick-nav {
      position: fixed;
      top: 50%;
      left: 20px;
      transform: translateY(-50%);
      background: rgba(26, 26, 26, 0.9);
      border-radius: 10px;
      padding: 15px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      z-index: 999;
      display: flex;
      flex-direction: column;
      gap: 10px;
      border: 1px solid rgba(255, 153, 0, 0.3);
    }

/* Línea de tiempo */
    .timeline-section {
      margin: 40px 0;
      animation: fadeInUp 0.8s ease-out 0.6s both;
    }

.timeline {
      position: relative;
      max-width: 800px;
      margin: 0 auto;
    }

.timeline::after {
      content: '';
      position: absolute;
      width: 4px;
      background-color: var(--primary-color);
      top: 0;
      bottom: 0;
      left: 50%;
      margin-left: -2px;
    }

.timeline-item {
      padding: 10px 40px;
      position: relative;
      width: 50%;
      box-sizing: border-box;
      margin: 20px 0;
    }

.timeline-item:nth-child(odd) {
      left: 0;
    }

.timeline-item:nth-child(even) {
      left: 50%;
    }

.timeline-item::after {
      content: '';
      position: absolute;
      width: 20px;
      height: 20px;
      background-color: var(--primary-color);
      border: 4px solid #1a1a1a;
      top: 15px;
      border-radius: 50%;
      z-index: 1;
    }

.timeline-item:nth-child(odd)::after {
      right: -10px;
    }

.timeline-item:nth-child(even)::after {
      left: -10px;
    }

.timeline-content {
      padding: 20px;
      background: rgba(255, 153, 0, 0.1);
      border-radius: 8px;
      border: 1px solid rgba(255, 153, 0, 0.3);
    }

.timeline-content h4 {
      color: var(--primary-color);
      margin-bottom: 10px;
    }

/* Recursos adicionales */
    .resources-section {
      margin: 40px 0;
      animation: fadeInUp 0.8s ease-out 0.7s both;
    }

.resources-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(250px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }

.resource-card {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 8px;
      padding: 20px;
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

.resource-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(255, 153, 0, 0.2);
      border-color: var(--primary-color);
    }

.resource-icon {
      font-size: 2rem;
      margin-bottom: 15px;
      color: var(--primary-color);
    }

.resource-card h4 {
      color: white;
      margin-bottom: 10px;
    }

.resource-card p {
      color: #cccccc;
      font-size: 0.9rem;
      margin-bottom: 15px;
    }

.resource-link {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: var(--primary-color);
      text-decoration: none;
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.3s ease;
    }

.resource-link:hover {
      gap: 8px;
    }

/* FAQ Section */
    .faq-section {
      margin: 40px 0;
      animation: fadeInUp 0.8s ease-out 0.8s both;
    }

.faq-item {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 8px;
      margin-bottom: 15px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

.faq-question {
      padding: 20px;
      
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.3s ease;
    }

.faq-question:hover {
      background: rgba(255, 153, 0, 0.2);
    }

.faq-question h4 {
      color: white;
      margin: 0;
    }

.faq-answer {
      padding: 0 20px;
      max-height: 0;
      overflow: hidden;
      transition: all 0.3s ease;
    }

.faq-item.active .faq-answer {
      padding: 20px;
      max-height: 500px;
    }

.faq-toggle {
      color: var(--primary-color);
      font-size: 1.2rem;
      transition: transform 0.3s ease;
    }

.faq-item.active .faq-toggle {
      transform: rotate(45deg);
    }

/* Introducción */
    .introduction {
      background: rgba(255, 153, 0, 0.1);
      border-radius: 12px;
      padding: 25px;
      margin: 30px 0;
      border: 1px solid rgba(255, 153, 0, 0.3);
      animation: fadeInUp 0.8s ease-out 0.3s both;
    }

.introduction h3 {
      color: var(--primary-color);
      margin-top: 0;
      display: flex;
      align-items: center;
      gap: 10px;
    }

.introduction p {
      margin-bottom: 15px;
    }

.introduction ul {
      margin: 15px 0;
    }

.introduction li {
      margin-bottom: 8px;
    }

@keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

/* Móviles pequeños (480px y menos) */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 20px 15px;
    border-radius: 10px;
  }

  .logo {
    font-size: 2.5rem !important;
  }

  h1 {
    font-size: 1.8rem !important;
  }

  h2 {
    font-size: 1.4rem !important;
    margin: 25px 0 12px 0 !important;
  }

  h3 {
    font-size: 1.2rem !important;
  }

  .phase {
    padding: 15px;
  }

  .phase-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .checklist,
  .tip {
    padding: 15px;
  }

  .checklist h4,
  .tip h4 {
    font-size: 1.1rem;
  }

  ul {
    padding-left: 15px;
  }

  li {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  /* Timeline móvil pequeño */
  .timeline-item {
    padding-left: 60px !important;
    padding-right: 15px !important;
  }

  .timeline-item::after {
    left: 15px !important;
    width: 16px;
    height: 16px;
  }

  /* Botones */
  .btn-download {
    padding: 14px 20px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .compact-button {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  /* Recursos */
  .resource-card {
    padding: 15px;
  }

  .resource-icon {
    font-size: 1.8rem;
  }

  /* Introducción */
  .introduction {
    padding: 15px;
  }

  .introduction h3 {
    font-size: 1.2rem;
  }

  .introduction p {
    font-size: 0.9rem;
  }
}

/* Móviles muy pequeños (360px y menos) */
@media (max-width: 360px) {
  .container {
    padding: 15px 10px;
  }

  .logo {
    font-size: 2rem !important;
  }

  h1 {
    font-size: 1.6rem !important;
  }

  h2 {
    font-size: 1.3rem !important;
  }

  .phase {
    padding: 12px;
  }

  .checklist,
  .tip {
    padding: 12px;
  }

  .timeline-item {
    padding-left: 50px !important;
  }

  .timeline-item::after {
    left: 10px !important;
  }

  .compact-button {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

/* Modo landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
  .container {
    padding: 20px;
  }

  .header {
    margin-bottom: 20px;
  }

  .phase {
    margin: 15px 0;
    padding: 20px;
  }

  .logo {
    font-size: 2.5rem !important;
  }

  h1 {
    font-size: 1.8rem !important;
  }
}

/* Optimización para impresión */
@media print {
  .floating-quick-nav,
  .back-to-top,
  .progress-container,
  .compact-buttons,
  .btn-download,
  .custom-btn-fixed-scroll {
    display: none !important;
  }

  .container {
    box-shadow: none !important;
    border: 2px solid #000 !important;
    margin: 0 !important;
    padding: 20px !important;
    background: white !important;
  }

  body {
    background: white !important;
    color: black !important;
    padding: 0 !important;
  }

  .phase {
    background: #f9f9f9 !important;
    border: 1px solid #ddd !important;
    color: black !important;
  }

  .checklist,
  .tip {
    background: #f5f5f5 !important;
    border: 1px solid #ccc !important;
  }

  h1, h2, h3, h4 {
    color: black !important;
  }

  .phase-icon {
    background: #333 !important;
    color: white !important;
  }
}

/* Preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === Sección Música libre de derechos === */
/* Estilos para la sección de música */
.music-intro {
  text-align: center;
  margin-bottom: 30px;
  color: #cccccc;
}

.music-categories {
  margin-bottom: 40px;
}

.music-category h3 {
  color: var(--primary-color);
  margin: 30px 0 20px 0;
  border-left: none;
  padding-left: 0;
  font-size: 1.4rem;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.music-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.music-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.music-card:hover::before {
  left: 100%;
}

.music-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 153, 0, 0.2);
  border-color: var(--primary-color);
}

.music-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.music-card h4 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.music-card p {
  color: #cccccc;
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.music-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tag.gratis {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid #4caf50;
}

.tag.freemium {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.tag.atribucion {
  background: rgba(33, 150, 243, 0.2);
  color: #2196f3;
  border: 1px solid #2196f3;
}

.music-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.music-link:hover {
  gap: 8px;
  color: #ffaa00;
}

/* Filtros */
.music-filters {
  background: rgba(255, 153, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
  text-align: center;
}

.music-filters h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #333;
  border-radius: 20px;
  color: #cccccc;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filter-btn:hover {
  background: rgba(255, 153, 0, 0.2);
  border-color: var(--primary-color);
}

.filter-btn.active {
  background: var(--primary-color);
  color: black;
  border-color: var(--primary-color);
}

/* Consejos */
.music-tips {
  background: rgba(255, 153, 0, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-top: 30px;
  border: 1px solid rgba(255, 153, 0, 0.3);
}

.music-tips h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.music-tips ul {
  padding-left: 20px;
}

.music-tips li {
  margin-bottom: 8px;
  color: #cccccc;
}

.music-tips strong {
  color: white;
}

/* Ocultar elementos filtrados */
.music-card.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .music-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 200px;
  }
  
  .music-card {
    padding: 20px;
  }
}