/* ===============================
   THEME KOPERNICUS x RED HAT
   =============================== */

/* ---------- Tipografías ---------- */
/* En index.html cargá:
<link href="https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;600;700&family=Red+Hat+Text:wght@400;500;700&display=swap" rel="stylesheet">
*/
html, body {
  font-family: "Red Hat Text", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: "Red Hat Display", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .2px;
}

/* ---------- Paleta ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f9fafc;
  --bg-contrast: #eef2f7;
  --line: #e5e7eb;

  --text: #151516;
  --muted: #4b5563;

  /* Red Hat */
  --rh-red: #EE0000;
  --rh-red-dark: #C40000;

  /* Secundarios */
  --primary: #0052cc;
  --primary-light: #4c9aff;

  /* CTA (rojo Red Hat) */
  --cta: var(--rh-red);
  --cta-hover: var(--rh-red-dark);

  /* Header oscuro */
  --header-bg: #ffffff;
  --header-line: #1f2b52;
  --header-text: #e6eefc;
}

/* ---------- Base ---------- */
body { background: var(--bg); color: var(--text); }
p, li, td, th { color: var(--muted); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--rh-red); }

/* Ajuste de contenido por barras fijas */
.ws-ready .wrap { padding-bottom: 90px; }

/* ---------- HEADER (oscuro fijo) ---------- */
.topbar{
  position: fixed; left: 0; right: 0; top: 0; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 20px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}
.brand-left, .brand-right { display: flex; align-items: center; gap: 10px; }
.brand-left img, .brand-right img { height: 28px; }
.tagline { font-size: 12px; color: var(--header-text); }

/* ---------- Footer (blanco fijo) ---------- */
.bottombar{
  position: fixed; left: 0; right: 0; bottom: 0; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px;
  z-index: 1000;
}
.bottombar--white{
  background: #ffffff;
  border-top: 1px solid var(--line);
}
.footer-left img{ height: 40px; display: block; }

/* Redes sociales visibles y con contraste */
.footer-right{
  display: flex; align-items: center; gap: 14px;
}
.footer-right .social{
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: #111;                 /* fondo oscuro para contraste alto */
  color: #fff;                      /* ícono blanco */
  border: 1px solid #111;
  font-size: 22px;                  /* tamaño del ícono */
  transition: transform .12s ease, background .12s ease, color .12s ease, box-shadow .12s ease;
}
.footer-right .social:hover{
  background: var(--rh-red);        /* hover en rojo Red Hat */
  border-color: var(--rh-red);
  color: #fff;
  box-shadow: 0 3px 12px rgba(238,0,0,.25);
  transform: translateY(-1px);
}

/* ---------- Chips & Badges ---------- */
.chip{
  display: inline-block; padding: 6px 10px; border-radius: 999px;
  background: #fff; color: #111; border: 1px solid var(--line);
  font-size: 12px; margin-right: 6px;
}
.badge{
  display: inline-block; font-size: 12px; padding: 4px 8px; border-radius: 6px;
  background: #111827; color: #fff;
}
.badge-no{ background: #dc2626; color: #fff; }

/* ---------- Cards ---------- */
.card{
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,.05);
}

/* ---------- Tables ---------- */
table{ width: 100%; border-collapse: collapse; margin-top: 14px; }
th, td{ border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
thead th{
  background: var(--bg-contrast);
  color: #111827;
  font-family: "Red Hat Text", sans-serif;
  font-weight: 700;
}

/* Center images in table cells */
td img {
  display: block;
  margin: 0 auto;
  text-align: center;
}

/* Smaller text for comparison table tbody */
.hardware-table tbody td {
  font-size: 0.9em;
  line-height: 1.4;
}

/* Smaller text for 3Scale section */
section h3 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

section .card p {
  font-size: 0.95em;
  line-height: 1.5;
}

section .grid .column p {
  font-size: 0.9em;
  line-height: 1.5;
}

/* Fix spacing for 3Scale cards */
section .grid {
  gap: 0px;
  margin-bottom: 0px;
}

section .card {
  margin-bottom: 0;
  padding: 10px;
}

/* Ensure last card fits in single column */
section .grid:last-child .column {
  flex: 1;
  max-width: 50%;
}

/* ---------- Lists ---------- */
.check li{ list-style: none; margin: 8px 0; }
.check li::before{ content: "✓ "; color: #16a34a; font-weight: 700; margin-right: 6px; }
.warn  li{ list-style: none; margin: 8px 0; }
.warn  li::before{ content: "• "; color: #eab308; font-weight: 700; margin-right: 6px; }

/* ---------- CTA ---------- */
.cta{
  display: inline-block; margin-top: 10px; padding: 12px 18px; border-radius: 10px;
  background: var(--cta); color: #fff; font-weight: 700; border: 0;
  box-shadow: 0 4px 12px rgba(238,0,0,.25);
}
.cta:hover{ background: var(--cta-hover); }

/* ---------- Section backgrounds ---------- */
section.bg-soft      { background: var(--bg-soft); }
section.bg-contrast  { background: var(--bg-contrast); }

/* ---------- Slide footer (texto pequeño) ---------- */
.slide-footer{ font-size: 12px; color: #6b7280; margin-top: 10px; }

/* ---------- Imagen con marco (si la usás) ---------- */
.img-frame{ border: 1px solid var(--line); border-radius: 10px; }

/* ---------- Responsivo menor ---------- */
@media (max-width: 640px){
  .footer-right .social{ width: 40px; height: 40px; font-size: 20px; }
  .footer-left img{ height: 36px; }
  .brand-left img, .brand-right img{ height: 24px; }
}

/* ===== FOOTER (blanco fijo) ===== */
.bottombar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  /* --- Grid: 1fr (izq) | auto (der) --- */
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 20px;

  padding: 10px 20px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  z-index: 1000;
}

.footer-left{ justify-self: start; }
.footer-left img{ height: 40px; display: block; }

.footer-right{
  justify-self: end;                 /* 🔴 fuerza extremo derecho */
  display: flex; align-items: center; gap: 14px;
}

/* Botones sociales: legibles */
.footer-right .social{
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff;                 /* contraste alto sobre fondo blanco */
  color: #000;
  font-size: 22px;
  transition: transform .12s ease, background .12s ease, color .12s ease, box-shadow .12s ease;
}
.footer-right .social:hover{
  background: var(--rh-red);
  border-color: var(--rh-red);
  color: #fff;
  box-shadow: 0 3px 12px rgba(238,0,0,.25);
  transform: translateY(-1px);
}

/* Asegurá espacio para el footer fijo */
.ws-ready .wrap{ padding-bottom: 90px; }


/* Tabla comparativa OpenShift */
.openshift-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.9em;
  vertical-align: center;
}

.openshift-table th {
  background-color: #fff
  color: #fff;
  text-align: center;
}

.openshift-table td {
  border: 1px solid #ddd;
  padding: 10px;
  vertical-align: center;
}

.openshift-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.openshift-table ul {
  margin: 0;
  padding-left: 20px;
}

.openshift-table img {
  max-height: 35px;
}

/* Ensure consistent sizing for specific logo classes */
.os-container-platform-logo,
.os-platform-plus-logo {
  max-height: 35px;
  width: auto;
  height: auto;
}

/* Make 3scale logo bigger */
.os-virt-engine-logo {
  max-height: 80px;
  width: auto;
  height: auto;
}
.openshift-table td.checkmark {
  text-align: center;
  vertical-align: middle;
}

.openshift-table td.checkmark i {
  color: #e00; /* Red Hat red */
  font-size: 1.2rem;
}
/* Logos dentro de la tabla */
.hardware-table td.brand-logo {
  text-align: center;
  vertical-align: middle;
  width: 120px; /* opcional: fijar ancho de la columna */
}

.hardware-table td.brand-logo img.blacklogo {
  max-height: 40px;
  filter: grayscale(100%) contrast(120%);
  transition: transform 0.2s ease;
}

.hardware-table td.brand-logo img.blacklogo:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* Estado con íconos */
.hardware-table td.status {
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.hardware-table td.status i {
  margin-right: 6px;
  font-size: 1.2em;
  vertical-align: middle;
}

/* Colores */
.hardware-table td.status.certified {
  color: #28a745; /* verde */
}

.hardware-table td.status.not-certified {
  color: #dc3545; /* rojo */
}

/* ===== Storage vendors table ===== */
.storage-table{
  width:100%;
  border-collapse:collapse;
  margin-top:16px;
  font-size:0.95em;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden; /* bordes redondeados visibles */
  box-shadow:0 6px 15px rgba(0,0,0,.05);
}
.storage-table thead th{
  background:var(--bg-contrast);
  color:#111827;
  padding:10px 12px;
  text-align:left;
  border-bottom:1px solid var(--line);
}
.storage-table td{
  border-top:1px solid var(--line);
  padding:12px;
  vertical-align:middle;
}
.storage-table .vendor-logo{
  width:200px; /* fija ancho para logos */
  text-align:center;
}
.storage-table .vendor-logo img{
  max-width:180px;
  max-height:42px;
  height:auto;
  width:auto;
  filter: grayscale(100%) contrast(115%);
  transition: transform .15s ease, filter .15s ease;
}
.storage-table .vendor-logo a:hover img{
  transform:scale(1.05);
  filter: grayscale(0%);
}
.storage-table .catalog-link a{
  color:var(--primary);
  font-weight:600;
  text-decoration:none;
}
.storage-table .catalog-link a:hover{
  color:var(--primary-light);
  text-decoration:underline;
}

/* Responsive */
@media (max-width: 840px){
  .storage-table{ font-size:0.9em; }
  .storage-table .vendor-logo{ width:150px; }
  .storage-table .vendor-logo img{ max-width:140px; max-height:34px; }
}
@media (max-width: 640px){
  .storage-table thead{ display:none; }
  .storage-table, .storage-table tbody, .storage-table tr, .storage-table td{ display:block; width:100%; }
  .storage-table tr{ border-bottom:1px solid var(--line); padding:10px 0; }
  .storage-table td{ border:none; padding:8px 0; }
  .storage-table .vendor-logo{ margin-bottom:6px; }
  .storage-table .catalog-link a{ display:inline-block; margin-top:6px; }
}

/* Forzar layout compacto */
.poc-needs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px; /* reducir espacio entre columnas */
  align-items: start;
}

.poc-block h3 {
  font-size: 1rem;   /* más compacto */
  margin-bottom: 1px;
}

.poc-block ul li {
  font-size: 1.3rem;  /* reducir tipografía del detalle */
  line-height: 1.2;
  margin-bottom: 1px;
}

.poc-block {
}

/* Íconos Font Awesome en rojo Red Hat */
.fa-ul { margin-left: 2rem; }
.fa-li i { color: var(--rh-red); }


/* Grid 3 columnas para el slide de PoC */
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Responsive: 2 cols en medium, 1 col en small */
@media (max-width: 1200px) {
  .grid-3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .grid-3col { grid-template-columns: 1fr; }
}

/* Reusamos estilos previos */
.poc-needs .poc-block { margin-bottom: 18px; padding-bottom: 10px; }
.poc-needs h3 { margin: 0 0 6px; font-size: 2rem; color: var(--rh-red); }
.poc-needs ul { margin: 0 0 8px; padding-left: 18px; }
.poc-needs li > ul li { margin: 4px 0; }

.fa-ul { margin-left: 2rem; }
.fa-li i { color: var(--rh-red); }

.poc-needs .poc-block { border-bottom: 1px dashed var(--line); }

/* Slide de introducción */
section.aligncenter h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--rh-red);
}

section.aligncenter p {
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.6;
}


/* Gantt container: altura fija y responsive */
.gantt-container{
  width: 100%;
  height: 520px;           /* ajustá 480–560 según tu proyector */
  min-height: 420px;
}
@media (max-height: 800px){
  .gantt-container{ height: 460px; }
}

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #e60000, #a80000);
  color: #fff;
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  font-weight: bold;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  max-width: 600px;
  margin: 20px auto;
}

.promo-banner .discount {
  background: #fff;
  color: #e60000;
  padding: 8px 15px;
  border-radius: 8px;
  margin-right: 15px;
  font-size: 24px;
}

/* ===== Timeline Cards ===== */
/* Flechas de avance entre steps */
/* Flechas de avance entre steps */
.timeline-cards {
  display: flex;
  justify-content: space-between;
  gap: 60px; /* más espacio para flechas grandes */
  list-style: none;
  margin: 30px 0;
  padding: 0;
  position: relative;
}

.timeline-cards .step {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}

/* Hover efecto */
.timeline-cards .step:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

/* Flecha a la derecha centrada */
.timeline-cards .step::after {
  content: "\f061"; /* fa-arrow-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: -45px; /* distancia hacia la derecha */
  transform: translateY(-50%);
  font-size: 3rem;   /* tamaño grande */
  color: var(--rh-red); /* rojo Red Hat */
}

/* No mostrar flecha en el último */
.timeline-cards .step:last-child::after {
  display: none;
}