/**
 * Estilos del componente Ponentes
 * 
 * @package Puerto_Sostenible
 */

.ponentes {
  background: #F8FAFB;
  padding: 5rem 5rem;
  position: relative;
}

.ponentes-container {
  max-width: 1400px;
  margin: 0 auto;
}

.ponentes-title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 62px;
  font-weight: 700;
  color: #1D70B7;
  margin: 0 0 4rem 0;
  line-height: 1.2;
  text-align: center;
}

.ponentes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.ponente-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(29, 112, 183, 0.08);
  position: relative;
}

.ponente-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(29, 112, 183, 0.15);
}

.ponente-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #E5EFF7;
}

.ponente-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ponente-card:hover .ponente-image {
  transform: scale(1.05);
}

.ponente-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(9, 37, 61, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ponente-card:hover .ponente-overlay {
  opacity: 1;
}

.ponente-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ponente-nombre {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #09253D;
  margin: 0;
  line-height: 1.3;
}

.ponente-cargo {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1D70B7;
  margin: 0;
  line-height: 1.4;
}

.ponente-empresa {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.ponente-link-text {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1D70B7;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ponente-card:hover .ponente-link-text {
  opacity: 1;
  transform: translateY(0);
}

.ponentes-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.ver-todos-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: white;
  border: 2px solid #1D70B7;
  border-radius: 50px;
  color: #1D70B7;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ver-todos-btn:hover {
  background: #1D70B7;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(29, 112, 183, 0.2);
}

.ver-todos-btn svg {
  transition: transform 0.3s ease;
}

.ver-todos-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1200px) {
  .ponentes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .ponentes {
    padding: 3rem 2rem;
  }

  .ponentes-title {
    font-size: 42px;
    margin-bottom: 2.5rem;
  }

  .ponentes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .ponentes-title {
    font-size: 32px;
  }

  .ponentes-grid {
    grid-template-columns: 1fr;
  }
}
