/* ============================================
   TEMA CYAN - SONIDO Y ONDAS
   Extensión del modern-style.css
   ============================================ */

.tema-cyan {
  --primary: #06b6d4;
  --primary-dark: #0891b2;
  --primary-light: #22d3ee;
  --secondary: #0ea5e9;
  --secondary-dark: #0284c7;
  --accent: #38bdf8;
  --accent-dark: #0ea5e9;
  
  --bg-gradient: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.tema-cyan .titulo {
  color: #0891b2;
}

.tema-cyan .titulo::after {
  background: linear-gradient(90deg, #06b6d4, #0ea5e9);
}

.tema-cyan .titulo:hover::after {
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.tema-cyan .titulo:hover {
  color: #0ea5e9;
  text-shadow: 0 2px 12px rgba(14, 165, 233, 0.5);
}

.tema-cyan h4 {
  border-left-color: #06b6d4;
  color: #0891b2;
}

.tema-cyan h4:hover {
  color: #0ea5e9;
}

.tema-cyan strong {
  color: #0891b2;
}

.tema-cyan .seccion-card::before {
  background: linear-gradient(90deg, #06b6d4, #0ea5e9);
}

.tema-cyan .seccion-card:hover {
  border-color: #06b6d4;
}

/* Badges específicos tema cyan */
.badge-intensidad {
  background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
  color: white;
}

.badge-altura {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  color: white;
}

.badge-timbre {
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  color: white;
}

.badge-velocidad-sonido {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: white;
}

.badge-reflexion {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  color: white;
}

.badge-transmision {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
}

.badge-refraccion {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: white;
}

.badge-difraccion {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  color: white;
}

.badge-interferencia {
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
  color: white;
}

.badge-eco {
  background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
  color: white;
}

/* ============================================
   MENÚS DE NAVEGACIÓN
   ============================================ */

.menu-superior {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-izquierda {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.menu-derecha {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.titulo-curso {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.separador {
  color: #64748b;
  margin: 0 5px;
}

.menu-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 6px;
}

.menu-link:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.nav-boton {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.nav-boton:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.nav-boton:active {
  transform: translateY(0);
}

.espaciado {
  height: 40px;
}

/* Navegación inferior */
.nav-inferior {
  text-align: center;
  padding: 40px 20px;
  background: #f8fafc;
  border-radius: 12px;
  margin-top: 40px;
}

/* Responsive para menús */
@media (max-width: 768px) {
  .menu-superior {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .menu-izquierda,
  .menu-derecha {
    width: 100%;
    justify-content: flex-start;
  }
  
  .nav-boton {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}

/* ============================================
   ESTILOS ESPECÍFICOS PARA SONIDO
   ============================================ */

/* Card de definición para características del sonido */
.caracteristica-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--primary);
  transition: all 0.3s ease;
}

.caracteristica-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Comparación de ondas */
.comparacion-ondas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.onda-ejemplo {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
  padding: 20px;
  border-radius: 12px;
  border: 2px solid rgba(6, 182, 212, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.onda-ejemplo:hover {
  border-color: #06b6d4;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

/* Grid de propiedades */
.propiedades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.propiedad-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-top: 4px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
}

.propiedad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.propiedad-card.reflexion {
  border-top-color: #7c3aed;
}

.propiedad-card.transmision {
  border-top-color: #059669;
}

.propiedad-card.refraccion {
  border-top-color: #f59e0b;
}

.propiedad-card.difraccion {
  border-top-color: #ef4444;
}

.propiedad-card.interferencia {
  border-top-color: #ec4899;
}

/* Escala de decibelios */
.escala-db {
  background: linear-gradient(to right, #10b981, #f59e0b, #ef4444);
  height: 40px;
  border-radius: 20px;
  margin: 20px 0;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Datos numéricos destacados */
.dato-destacado {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
  border: 2px solid #06b6d4;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.dato-destacado .numero {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0891b2;
  display: block;
  margin-bottom: 10px;
}

.dato-destacado .unidad {
  font-size: 1.2rem;
  color: #64748b;
}

/* Info box con icono */
.info-oido {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.info-oido h4 {
  color: #d97706;
  border: none;
  margin-top: 0;
  padding: 0;
}
