:root {
      --bg-dark: #0d0d0d;
      --text-light: #ffffff;
      --accent-blue: #2971cf;
      --card-bg: #1a1a2e;
      --border-color: #333;
}

/* STYLES */

* {
    box-sizing: border-box;
}

*, *::before, *::after {
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
}

.content {
  width: 95%;
  max-width: 40ch;
  padding: 3em 1em;
}


body {
    font-family: 'Stack Sans Text', sans-serif;
    font-weight: 400; /* peso normal para texto */
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    background: var(--bg-dark);
    color: var(--text-light);
}

h1, h2, h3 {
    font-family: 'BBH Bogle', sans-serif;
    font-size: 3.0rem;
    font-weight: 400; /* ajusta si quieres más grueso */
    text-align: center;
    margin-bottom: 15px;
}

.intro-banner {
  padding-bottom: 70px;
}

.css-selector {
    background-image: url('../img/1-fotos/BKGROUND.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 30%; /* en desktop: 50%, en móvil: ajusta a 30% para subirlo */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

/* En móviles pequeños, sube la imagen para centrar a Javi */
@media (max-width: 768px) {
    .css-selector {
        background-position: center 20%; /* sube la imagen0% para que Javi quede en el centro visual */
    }
}

/* Opcional: en tablets muy pequeñas */
@media (max-width: 480px) {
    .css-selector {
        background-position: center 15%;
    }
}

.title-artist {
    font-size: 4.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
    padding: 200px 5px;
}


/* Si quieres un título en negrita con Stack Sans Text */
.stack-sans-bold {
    font-family: 'Stack Sans Text', sans-serif;
    font-weight: 700;
}

/* Para texto normal (usado en cards, descripciones) */
.stack-sans-normal {
    font-family: 'Stack Sans Text', sans-serif;
    font-weight: 400;
}

/* Para texto ligero (opcional) */
.stack-sans-light {
    font-family: 'Stack Sans Text', sans-serif;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Padding horizontal consistente */
}


    /* Tabs */
    .tabs {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .tab-btn {
      font-family: 'Stack Sans Text', sans-serif;
      padding: 10px 20px;
      background: var(--card-bg);
      border: 0px solid var(--border-color);
      border-radius: 5px;
      color: var(--text-light);
      font-weight: bold;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .tab-btn:hover {
      background: #2c2c3e;
    }

    .tab-btn.active {
      background: var(--accent-blue);
      color: #000;
      border-color: var(--accent-blue);
    }

    /* Tab content */
    .tab-content {
      display: none;
      padding: 25px;
      /*background: var(--card-bg); */
      border-radius: 8px;
      margin-top: 15px;
    }

    .tab-content.active {
      display: block;
      animation: fadeIn 0.4s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }

/* Cards */

.added-text {
  font-size: 14px;
  color: #8f8fa2;
  padding-top: 10px;
  text-align: center;
}

.text-booth {
        font-size: 14px;
        color: #8f8fa2;
        text-align: center;
        padding-bottom: 10px;
}

.cards {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
}

.card {
      width: 200px;
      background: linear-gradient(#25253a, #181841ce);
      border: 1px solid #2f2f66cd;
      border-radius: 6px;
      padding: 15px;
      text-align: center;
      box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);  
      transition: transform 0.2s ease;
}

.card:hover {
      transform: translateY(-5px);
      box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
}

    .card img {
      width: 100%;
      max-height: 200px;
      object-fit: contain;
      border-radius: 5px;
      margin-bottom: 4px;
    }

    .card h4 {
      font-size: 1.3rem;
      margin: 10px 0 5px;
    }

    .card p {
      font-size: 0.8rem;
      color: #ccc;
      margin: 0;
    }

    /* mixer */

    .card-mixer {
      width: 400px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background: linear-gradient(#25253a, #181841ce);
      border: 1px solid #2f2f66cd;
      border-radius: 6px;
      padding: 15px;
      text-align: center;
      box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);  
      transition: transform 0.2s ease;
    }

    .card-mixer:hover {
      transform: translateY(-5px);
      box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
    }

    .card-mixer img {
        width: 90%;
        max-width: 450px;
        max-height: 350px;
        object-fit: contain;
        border-radius: 5px;
        margin-bottom: 5px;
    }

    .card-mixer h4 {
      font-size: 1.5rem;
      margin: 0px;
    }

    .card-mixer p {
        color: #ccc;
        font-size: 0.8rem;
        margin: 0;
    }

    /* technical */
    
    .card-brands {
      text-align: center;
      margin-top: 20px;
    }

    .card-brands p {
        font-size: 15px;
        color: #8686bc;
        margin: 0 20px 10px 0;
        white-space: nowrap;
    }

    .brands-images {
        display: flex;
        justify-content: center;
        gap: 14px;
        align-items: center;
        flex-direction: row;
        padding: 20px 0;
        margin-top: 20px;
    }
    
    .brands-images img {
        width: 80px;
        height: auto;
        opacity: 0.4;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .brands-images img:hover {
        opacity: 0.85;
        transform: scale(1.1);
    }

/* PRESS */

section.PRESS {
  padding: 40px 10px;
}

.press-card { 
  max-width: 1000px;
  margin: 0 auto;
  background: #1a1a2e;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.press-card:hover {
  transform: translateY(-5px);
}

.card-press-image {
  position: relative;
  width: 107%;
  height: 0;
  padding-top: 66.67%;
  overflow: hidden;
}

.card-press-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #3a4ab6ae;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.overlay::before {
  content: "📃";
  font-size: 1rem;
}

.card-content {
  padding: 20px;
  color: white;
}

.card-content h3 {
  font-size: 1.4rem;
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  line-height: 1.3;
  color: white;
}

.card-content p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #ccc;
  margin: 0 0 15px 0;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
} 

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85 rem;
  color: #888;
  border-top: 2px solid #3a3b45;
  padding-top: 10px;
}

.card-footer .source {
  font-weight: bold;
  color: #ccc;
}

.card-footer .date {
  display: flex;
  color: #ccc;
  align-items: center;
  gap: 5px;
}

.btn-container {
  text-align: center;
  margin-top: 15px;
}

.btn-read-more {
  display: inline-block;
  text-decoration: none;
  margin-top: 15px;
  padding: 12px 22px;
  color:#8686bc;
  border: 1px solid #8f8fa2;
  font-weight: bold;
  border-radius: 5px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.btn-read-more:hover {
  background: #8f8fa2c3;
  color: rgb(158, 158, 255);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}

.btn-read-more:active {
  transform: scale(0.98);
}

/* Responsive Press & FEATURED */

@media (max-width: 768px) {
  .press-card {
    margin: 0 10px;
  }

  .featured-card {
    margin: 0 10px;
  }

  .card-content h3 {
    font-size: 1.2rem;
  }
}

/* FEATURED VIDEOS */

section.FEATURED-VIDEOS {
  padding: 40px 10px;
}

.featured-card {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
}

.card-featured-image {
  position: relative;
  width: 107%;
  height: 0;
  padding-top: 66.67%;
  overflow: hidden;
}

.card-featured-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.btn-watch-video {
  display: inline-block;
  text-decoration: none;
  margin-top: 15px;
  margin-bottom: 20px;
  padding: 12px 22px;
  color:#8686bc;
  border: 1px solid #8f8fa2;
  font-weight: bold;
  border-radius: 5px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.btn-watch-video:hover {
  background: #8f8fa2c3;
  color: rgb(158, 158, 255);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}

.btn-watch-video:active {
  transform: scale(0.98);
}

/* BIOGRAPHY */

.BIOGRAPHY p {
  max-width: 800px;
  margin: 0 auto 15px auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

/* SHOWS */

section.SHOWS {
  padding: 40px 10px;
}

.title-lounge {
  margin-top: 50px;
}

/* lista de festivales */

.festivals-list {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* item del festival */

.festival-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #2f2f66;
  transition: background 0.2s ease;
}

.festival-item:last-child {
  border-bottom: none;
}


.festival-item:hover {
  background: #25253a;
}

.festival-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  margin-right: 15px;
  border-radius: 4px;
}

.festival-name {
  flex-grow: 1;
  font-size: 1rem;
  color: white;
  font-weight: 500;
}

/* responsive */

@media (max-width: 768px) {
  .festival-item {
    padding: 12px 15px;
  }

  .festival-logo {
    width: 32px;
    height: 32px;
  }

  .festival-name {
    font-size: 0.9rem;
  }
}

/* BRANDING */

section.BRANDING {
  text-align: center;
  padding-bottom: 50px;
}

.BRANDING h3 {
  font-size: 2.5rem;
  color: #8686bc;
  margin-top: 10px;
}

.photo-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  max-width: 1200px;
  margin: 0 auto;
} 

.photo-card {
  width: 400px;
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.photo-wrapper {
  position: relative;
  width: 100%;
  padding-top: 125%;
  overflow: hidden;
}

.photo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.photo-card h3 {
  font-size: 1.7rem;
  margin: 10px 5px 0 ;
  color: white;
  font-weight: 500;
  padding: 0 20px 20px;
}

/* Responsive */
@media (max-width: 768px) {
 .photo-grid {
    gap: 20px;
  }

  .photo-card {
    width: 100%;
    max-width: 320px;
  }

  .photo-wrapper {
    padding-top: 130%; /* Ajuste para móvil */
  }
}

/* CONTACT */

section.CONTACT {
  padding: 40px 10px;
  text-align: center;
}

.card-contact {
    width: 100%;
    max-width: 320px;
    background: linear-gradient(#25253a, #181841ce);
    border: 1px solid #2f2f66cd;
    border-radius: 6px;
    padding: 20px 15px;
    text-align: center;
    margin: 0 auto 50px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}


.card-contact h3 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.card-contact h4 {
  font-size: 1.2rem;
  margin-top: 10px;
  margin-bottom: 13px;
}

.card-contact p {
  font-size: 0.9rem;
  color: #8686bc;
  margin: 0;
  word-break: break-all;
}

/* SOCIALS */

/* Sección SOCIALS - Versión móvil optimizada */
section.SOCIALS {
  text-align: center;
  padding: 50px 10px;
  margin-bottom: 50px;
}

section.SOCIALS h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  color: white;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

section.SOCIALS h3 {
  font-size: 1.3rem;
  color: #8686bc;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
}

.socials-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

/* Para iPhone y móviles: 2x2 grid */
@media (max-width: 480px) {
  .socials-links.grid-2x2 {
    flex-direction: column;
    align-items: center;
  }

  .socials-links.grid-2x2 > .social-link {
    margin-bottom: 16px; /* espacio entre filas */
  }

  /* Forzar 2 íconos por fila en móviles medianos (si quieres 2x2 incluso en 500px) */
  @media (max-width: 550px) {
    .socials-links.grid-2x2 {
      flex-direction: row;
      flex-wrap: wrap;
    }
    .socials-links.grid-2x2 > .social-link {
      flex: 0 0 calc(50% - 12px); /* 2 por fila */
    }
  }
}

.socials-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;      /* ← evita que se achique */
  min-height: 48px;     /* ← evita que se aplaste */
  aspect-ratio: 1 / 1;  /* ← fuerza cuadrado perfecto → círculo */
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
}

.socials-links a:hover {
  background: rgba(46, 204, 113, 0.15);
  transform: translateY(-3px);
}

.socials-links img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain; /* evita estiramiento */
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.socials-links a:hover img {
  filter: brightness(1) drop-shadow(0 0 6px rgba(46, 204, 113, 0.5));
}

/* Para pantallas pequeñas: 2x2 grid */
@media (max-width: 480px) {
  .socials-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 200px; /* evita que se expanda demasiado */
    margin: 0 auto;
  }

  .socials-links a {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    aspect-ratio: 1 / 1;
  }
}