* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  background: #111;
  color: #222;   /* gris muy oscuro */
}
/* LINKS GENERALES */

a{
  color: #1f3a5f;        /* azul profundo sobrio */
  text-decoration: none;
  transition: opacity .2s ease;
}

a:hover{
  opacity: 0.7;
  text-decoration: underline;
}

a:visited{
  color: #1f3a5f;
}
.container {
  width: min(1200px, 90%);
  margin: auto;
}

.site-header {
  background: #000;
  border-bottom: 1px solid #222;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

.main-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.main-nav a {
  color: #ccc;
  text-decoration: none;
}

.main-nav a:hover {
  color: white;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .main-nav.active {
    display: block;
    background: #000;
    padding: 1rem 0;
  }

  .main-nav ul {
    flex-direction: column;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }
}

.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid #222;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

.lang-switch{
  margin-left: 140px;
  display: flex;
  gap: .5rem;
  justify-content: center;
  padding-top: .75rem;
}
.lang-switch a{
  color:#888;
  text-decoration:none;
  font-size:.9rem;
}
.lang-switch a.active{
  color:#fff;
  font-weight:700;
}
@media (min-width: 769px){
  .lang-switch{
    padding-top: 0;
    margin-left: 2rem;
  }
  .main-nav{
    display:flex;
    align-items:center;
    gap:1rem;
  }
}
.main-nav a.active{
  color:#fff;
  font-weight:700;
}

/* ===== SUBMENU MUSICA ===== */

.main-nav ul li {
  position: relative;
}

.has-submenu > a::after {
  content: " ▾";
  font-size: 0.8em;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 160px;
  z-index: 999;
}

.submenu li a {
  display: block;
  padding: 10px 15px;
  white-space: nowrap;
}

.has-submenu:hover .submenu {
  display: block;
}

/* ===== FIX dropdown Música ===== */
.main-nav ul li { position: relative; }

/* por defecto, oculto */
.main-nav ul.submenu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 160px;
  z-index: 9999;
}

/* solo visible en hover */
.main-nav li.has-submenu:hover > ul.submenu {
  display: block !important;
}

/* opcional: si querés que también se abra con foco teclado */
.main-nav li.has-submenu:focus-within > ul.submenu {
  display: block !important;
}

/* --- language switch: flags + label --- */
.lang-switch.flags{
  display:flex;
  gap:10px;
  align-items:flex-start;
  justify-content:flex-start;
  margin-top:12px;
}

.lang-switch.flags a.lang{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  font-size:12px;
  line-height:1.1;
  gap:6px;
  opacity:.85;
}

.lang-switch.flags a.lang.active{ opacity:1; }

.lang-switch.flags a.lang img{
  width:46px;
  height:auto;
  display:block;
}

/* --- fixed header: logo left / nav right --- */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  padding: 14px 16px;
  pointer-events: none; /* para que solo los elementos clickeables reciban clicks */
}

.site-header .header-left,
.site-header .header-right,
.site-header .menu-toggle{
  pointer-events: auto;
}

.site-logo{
  display: block;
  width: 340px;     /* ajustá si querés */
  max-width: 70vw;
  height: auto;
}

.header-right{
  /* “menú fijo a la derecha” ya queda fijo porque el header es fixed */
}

/* Para que el contenido no quede tapado por el header fijo */
body{
  padding-top: 110px; /* ajustá según alto real de tu header */
}

/* opcional: ocultar toggle en desktop si no lo usás */
.menu-toggle{
  display:none;
}
html, body{
  height: 100%;
}

body{
  min-height: 100vh;
  background-color: #9bb7d6; /* fallback */
  background-image: url("/assets/img/ui/fondo3azul.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

/* Mobile: evita glitches / cortes */
@media (max-width: 768px){
  body{
    background-attachment: scroll;
    background-position: center top;
  }
}
/* =========================
   MENÚ PRINCIPAL
========================= */

.nav a{
  color: #222;
  font-size: 1.05rem;
  font-weight: 500;
}

/* hover menú */
.nav a:hover{
  color: #000;
  text-decoration: none;
}

.nav .submenu a{
  color: #222;
  font-size: 1rem;
}

.nav .submenu a:hover{
  color: #000;
}

/* =========================
   MENÚ PRINCIPAL (lateral)
   nav.php usa: <nav class="main-nav">
========================= */

.main-nav a{
  color: #222 !important;
  font-size: 1.1rem;
  font-weight: 700;   /* ← bold real */
  text-decoration: none;
}

.main-nav a:hover{
  color: #000 !important;
  text-decoration: none;
}

/* Submenú desplegable */
.main-nav .submenu a{
  color: #222 !important;
  font-size: 1.05rem;
}

.main-nav .submenu{
  background: transparent !important;
  box-shadow: none !important;
}

.main-nav .submenu a{
  background: transparent !important;
  color: #222 !important;
}

/* =========================
   POSICIÓN MENÚ LATERAL
   (override fuerte)
========================= */
.main-nav{
  position: fixed !important;
  top: 140px !important;

  /* mover hacia el centro */
  right: 6vw !important;

  /* anula anclajes previos */
  left: auto !important;
  transform: none !important;

  width: auto !important;
}

/* =========================
   LOGO
========================= */

.site-logo{
  transform: scale(1.7);
  transform-origin: top left;
}

/* LOGO más grande (override del style embebido en header.php) */
.site-header .logo-img img{
  height: 109px !important; /* 64 * 1.7 ≈ 109 */
  width: auto !important;
}

@media (max-width: 640px){
  .site-header .logo-img img{
    height: 70px !important; /* más razonable para teléfono */
  }
}

/* Quitar línea separadora antes del footer */

footer,
.site-footer{
  border-top: none !important;
  box-shadow: none !important;
}

/* por si es un <hr> automático */
footer hr{
  display: none !important;
}

.home-text{
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 768px){
  .home-text{
    text-align: left;
  }
}

/* ===============================
   GALERÍAS VISUAL
================================ */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:18px;
  margin-top:20px;
}

.gallery-thumb{
  width:100%;
  height:220px;
  object-fit:cover;
  cursor:pointer;
  transition:transform .25s ease;
}

.gallery-thumb:hover{
  transform:scale(1.04);
}

/* ===== Intro artista (solo pintura y dibujo) ===== */

.artist-intro{
  display:flex;
  align-items:flex-start;
  gap:30px;
  margin-bottom:40px;
}

.artist-intro img{
  width:50%;
  max-width:350px;
  height:auto;
}

.artist-intro-text{
  flex:1;
  text-align:justify;
}

/* móvil */
@media (max-width:768px){
  .artist-intro{
    flex-direction:column;
  }

  .artist-intro img{
    width:100%;
    max-width:280px;
  }
}

.tech-buttons{
  margin:20px 0 30px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.tech-buttons a{
  text-decoration:none;
  padding:8px 18px;
  border:1px solid #222;
  color:#222;
  font-weight:600;
  font-size:0.9rem;
  transition:all .25s ease;
}

.tech-buttons a:hover{
  background:#222;
  color:#fff;
}

/* =========================
   MUSIC: sliders
========================= */

/* El viewport del slider no recorta con fondo */
.slider-viewport{
  background: transparent;   /* lo que sobra queda transparente */
}

/* Mostrar foto completa dentro del marco */
.slider-slide{
  width: 100%;
  height: 360px;        /* altura default */
  object-fit: contain;  /* foto completa (no recorta) */
  display: none;
}

/* Slider superior “General” al doble */
.slider.is-top .slider-slide{
  height: 720px;
}

@media (max-width: 900px){
  .slider-slide{ height: 260px; }
  .slider.is-top .slider-slide{ height: 520px; }
}

/* =========================
   MUSIC: track info desplegable (details)
========================= */
.track summary{
  cursor: pointer;
  padding: .45rem .6rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  list-style: none;
}
.track summary::-webkit-details-marker{ display:none; }
.track[open] summary{ border-color: rgba(255,255,255,.6); }

.track-info{
  margin: 10px 0 12px;
  padding: .6rem .7rem;
  border-left: 3px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.18);
  border-radius: 10px;
}
.track-info p{ margin: 0; }

/* =========================
   MUSIC: YouTube embed
========================= */
.yt{
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,.2);
}
.yt iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}
/* =====================================
   GLOBAL SLIDER SYSTEM
===================================== */

.slider{
  position: relative;
  width: 100%;
  margin: 30px 0;
}

.slider-viewport{
  position: relative;
  overflow: hidden;
}

.slider-slide{
  width:100%;
  display:none;
}

.slider-slide.active{
  display:block;
}

.slider button{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.5);
  border:none;
  color:white;
  font-size:22px;
  padding:8px 12px;
  cursor:pointer;
  z-index:5;
}

.slider-prev{ left:10px; }
.slider-next{ right:10px; }

.slider button:hover{
  background:rgba(0,0,0,.8);
}
/* =========================
   ENVIVO — botones navegación
========================= */

.music-jump{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:15px;
}

.music-jump a{
  padding:8px 14px;

  background:rgba(0,0,0,0.35);
  backdrop-filter:blur(4px);

  color:#fff !important;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;

  transition:all .25s ease;
}

.music-jump a:hover{
  background:rgba(0,0,0,0.65);
  transform:translateY(-1px);
}

/* =========================
   BLOG LAYOUT
========================= */

.blog-layout{
  display:flex;
  gap:22px;
  align-items:flex-start;
}

.blog-side{
  flex:0 0 auto;
}

.blog-side img{
  width:160px;
  height:160px; 
  object-fit:cover;
  border-radius:14px;
  display:block;
}

.blog-list{
  flex:1;
  max-width:900px;
}

/* Mobile */
@media (max-width: 900px){
  .blog-layout{
    flex-direction:column;
  }
  .blog-side{
    display:none;
  }
}
.longtext{
  text-align: justify;
  hyphens: auto;
}
.slider-dots {
  display: none !important;
}