/* =========================================================
   VARIABLES RÁPIDAS (colores base)
   ========================================================= */
:root{
  --rosa: #ff55ff;
  --celeste: #55ffff;
  --negro: #000000;
  --blanco: #ffffff;
  --gris-suave: #d9d9d9;
}

/* =========================================================
   BASE
   ========================================================= */
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 2ex;
  line-height: 1.5;
  color: var(--negro);
  display: flex;
  min-height: 100vh;
}

/* Contenido principal (columna derecha) */
.mainContent {
  /* en desktop, la sidebar fija ocupa 260px */
  margin-left: 260px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px; /* ajustá para alinear visualmente con los tabs */
}

.content {
  padding: 20px;
  max-width: 840px;
}

/* Tipografías */
h1 {
  font-family: 'Silkscreen', sans-serif;
  font-weight: 700;
  font-size: 4.3ex;
  line-height: 2ex;
  margin: 0.2em 0 .3em 0;
}

h2 {
  font-family: 'Silkscreen', sans-serif;
  font-weight: 400;
  font-size: 2.4ex;
  line-height: 2.8ex;
  margin-top: 30px;     /* espacio encima */
  margin-bottom: 12px;  /* espacio debajo reducido */
}

p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 2ex;
  line-height: 2.6ex;
  margin: 5px 0;
}

/* Separador entre secciones generadas por JS */
.section-separator {
  border: none;
  height: 1px;
  background: var(--gris-suave);
  width: 60%;           /* largo visible */
  max-width: 480px;
  margin: 24px 0;
}

/* Enlaces generales */
a {
  background-color: var(--celeste);
  color: var(--negro);
  text-decoration: none;
  padding: 0.1em 0.6em;
  border-radius: 0;
  transition: all 0.25s ease;
  display: inline-block;
}
a:hover {
  background-color: var(--blanco);
  color: var(--negro);
  box-shadow: none;
  transform: translateY(-2px);
}

/* Bloque de links “de contenido” (Home / CV, etc.) */
.links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.links a {
  background-color: var(--rosa);
  color: var(--blanco);
  font-size: 1.05em;
  padding: 0.2em 0.6em;
}
.links a:hover {
  background-color: var(--celeste);
  color: var(--negro);
}

/* Imágenes en Home/Contenido */
.contentImagesHome img { 
  max-width: 25%;
  float: left;
}
.contentImages img {
  max-width: 100%;
  float: left;
  margin-right: 20px;
}

/* Galería (si se usa) */
#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}
.gallery { float: left; width: 100%; }
.gallery-item { text-align: center; transition: transform 0.2s; }
.gallery-item p { float: left; margin: 5px 0; }

/* Iframes de YouTube embebidos */
iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* =========================================================
   SIDEBAR / TABS (DESKTOP)
   ========================================================= */

/* Sidebar fija a la izquierda */
.menu {
  background-color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 260px;
  height: 100vh;
  padding-top: 10px;
  z-index: 1000;
  overflow-y: auto;
}
/* Baja un poco la barra de tabs */
.menu {
  margin-top: 30px; /* ajustá el valor a gusto */
}

/* Botones de los tabs */
.menu button {
  border: none;
  background: var(--rosa);   /* el fondo lo da la barra rosa */
  padding: 10px 16px 14px 18px;
  text-align: left;
  font-size: 1.2em;
  cursor: pointer;
  width: 100%;
  transition: background 0.25s ease;
  margin: 0;
}

/* Títulos dentro de los botones (Silkscreen) */
.menu.tab h3 {
  font-family: 'Silkscreen', sans-serif;
  font-weight: 400;
  font-size: 1em;
  color: var(--blanco);
  margin: 0;
  line-height: 1.15;
  white-space: normal;
  word-break: break-word;
}

/* Estado base / hover / activo */
.filter-button {
  color: var(--blanco);
  background-color: var(--rosa);
}

.menu.tab .filter-button:hover h3 {
  color: var(--celeste);
}

/* ACTIVO: fondo blanco + fuente negra */
.filter-button-active {
  color: var(--negro);
  background-color: var(--blanco);
}
.menu.tab .filter-button.filter-button-active h3 {
  color: var(--negro);
}

/* Ocultar/mostrar por scroll (clase hidden) */
.menu.hidden { transform: translateY(-100%); transition: transform 0.25s ease; }

/* Botón hamburguesa (desktop oculto) */
.hamburger {
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1100;
  background: var(--blanco);
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  width: 100%;
  margin: 40px 0 20px 10px;   /* leve corrimiento a la derecha */
  padding: 10px;
  font-size: 1.1em;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer li { margin: 0; }
.footer a {
  background-color: var(--celeste);
  color: var(--negro);
  padding: 0.4em 0.8em;
  font-size: 0.9em;
}
.footer a:hover {
  background-color: var(--rosa);
  color: var(--blanco);
  box-shadow: none;
  transform: none;
}

/* =========================================================
   WIDGETS ESPECIALES
   ========================================================= */

/* Overlay de video */
.video-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.video-overlay iframe {
  width: 90%;
  max-width: 960px;
  height: 540px;
  border: none;
}
.close-overlay {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  color: var(--blanco);
  cursor: pointer;
  z-index: 10000;
}

/* Grilla de logos de clientes (CV) */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  margin-top: 20px;
}
.clients-grid img {
  max-width: 100px; /* ajustable */
  height: auto;
}

/* =========================================================
   COSAS SUELTAS QUE USABAS (limpio de redundancias)
   ========================================================= */
#google_translate_element a {
  color: var(--negro);
  background-color: var(--blanco);
}

/* (Si usás .homeImage en Home) */
.homeImage {
  margin-right: 25px;
  margin-bottom: 18px;
  float: left;
  max-width: 100%;
}

.fixedImage {
  float: left;            /* Para que el texto fluya a la derecha */
  margin-right: 25px;     /* Espacio entre la imagen y el texto */
  margin-bottom: 18px;    /* Espacio debajo por si el texto no llega */
  width: auto;            /* Mantener tamaño original */
  height: auto;
  max-width: none;        /* Evita que escale al 100% en mobile */
}

:root{
  /* Ajustá este valor a gusto */
  --translate-offset: 40px;
}

/* Baja un poco el menú en mobile */
.menu{
  margin-top: var(--translate-offset);
}

/* Y empuja también el contenido para que no quede tapado */
.mainContent{
  padding-top: 8px; /* opcional, dejalo si querés un respiro extra */
}
/* Bloque para imágenes múltiples debajo del texto/homeImage */
.extra-images {
  clear: both;         /* ← fuerza que empiece debajo de cualquier float */
  margin-top: 12px;    /* espacio arriba del bloque */
  display: flex;       /* o grid, si preferís */
  gap: 10px;
  flex-wrap: wrap;
}

.extra-images img {
  max-width: 160px;    /* ajustá a gusto */
  height: auto;
}
/* Contenedor responsive para embeds 16:9 */
.embed {
  width: 100%;
  max-width: 960px;   /* ajustá a gusto */
  margin: 12px 0;
}

.embed-16x9 iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

/* fallback por si algún navegador viejo no respeta aspect-ratio */
.embed-16x9 {
  position: relative;
}
.embed-16x9 iframe {
  position: relative;
}
@supports not (aspect-ratio: 16/9) {
  .embed-16x9 {
    height: 0;
    padding-bottom: 56.25%;
  }
  .embed-16x9 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr)); /* 2 por fila en desktop */
  gap: 16px;
  align-items: start;
}

.instagram-grid .instagram-media {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;   /* pisa el min-width que mete Instagram */
  margin: 0 !important;
}

@media (max-width: 768px) {
  .instagram-grid {
    grid-template-columns: 1fr; /* 1 por fila en mobile */
    gap: 12px;
  }
}

.item-spacer {
  height: 8px; /* ajusta para más o menos espacio debajo de los Links */
}

/* --- Separador entre items (ej. discografía) --- */
.item-spacer {
  display: block;
  height: 12px;       /* ajustá este valor para más/menos espacio */
  width: 100%;
  clear: both;        /* asegura que el salto baje debajo de imágenes flotantes */
}
.dynamic-grid {
  display: grid;
  grid-gap: 10px; /* separación entre imágenes */
}

.dynamic-grid img {
  width: 100%;
  height: auto;
  display: block;
}