/* Preloader */
/* Estilos del preloader y su fondo */
.preloader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-container {
    width: 100px;
    height: 100px;
    position: relative;
}

.preloader-circle {
    width: 100%;
    height: 100%;
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-sizing: border-box;
}

.preloader-pie {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border: 8px solid #8B0000; /* Rojo oscuro */
    border-radius: 100% 0 0 100% / 50% 0 0 50%;
    box-sizing: border-box;
    border-right: none;
    transform-origin: right center;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-fill {
    0% { display: none; }
    50% { display: block; transform: rotate(0deg); }
    100% { display: block; transform: rotate(180deg); }
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #8B0000; /* Rojo oscuro */
    font-family: 'Michroma', monospace;
    font-size: 16px;
    font-weight: bold;
}

/* ============================================
   1. RESET Y BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Play", serif;
  background-color: #0a0a0a;
  color: #C0C0C0; /* Plomo */
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
}

h2 {
  font-family: "Michroma", serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #CC0000; /* Rojo intenso */
  border-bottom: 2px solid #8B0000; /* Rojo oscuro */
  padding-bottom: 0.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(204, 0, 0, 0.2);
  width: 100%;
    font-weight: normal !important;
}

p {
  color: #C0C0C0; /* Plomo */
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

p a {
  color: #999;
  text-decoration:none;
  transition: all 0.3s ease;
}

p a:hover {
  color: #FFFFFF; /* Blanco */
  text-decoration:none;
}

/* Fondo con imagen en escala de grises y capa negra al 50% */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('../img/slides/sonomaniak-slide-01.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  /* Escala de grises */
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* Capa negra al 50% de transparencia */
  background-color: rgba(0, 0, 0, 0.85);
}

/* ============================================
   2. LAYOUT PRINCIPAL
   ============================================ */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.slider-section {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* ============================================
   3. CONTENEDOR BANDA (PADRE)
   ============================================ */
.banda-container {
  display: flex;
  gap: 1.5rem;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  align-items: flex-start;
  overflow: visible !important;
  position: relative;
}

/* ============================================
   4. COLUMNA IZQUIERDA - INFO BANDA
   ============================================ */
.banda-info {
  flex: 0 0 30%;
  background: #0a0a0a;
  padding: 1.5rem;
  border-radius: 12px;
  color: #C0C0C0; /* Plomo */
  border: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banda-imagen {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 3px solid #8B0000; /* Rojo oscuro */
  box-shadow: 0 0 30px rgba(139, 0, 0, 0.3);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.banda-imagen:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(204, 0, 0, 0.75);
  border-color: #C0C0C0; /* Plomo */
}
.banda-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banda-info h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #CC0000; /* Rojo intenso */
  font-size: 1.25rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(204, 0, 0, 0.4);
  font-weight: 900;
  border-bottom: 2px solid #8B0000; /* Rojo oscuro */
  padding-bottom: 0.8rem;
  width: 100%;
}

.banda-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.banda-info ul li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.banda-info ul li:last-child {
  border-bottom: none;
}
.banda-info ul li strong {
  color: #CC0000; /* Rojo intenso */
  font-weight: 700;
  min-width: 80px;
  letter-spacing: 1px;
}
.banda-info ul li span {
  color: #C0C0C0; /* Plomo */
}

.banda-info ul li a {
  color: #C0C0C0; /* Plomo */
  text-decoration: none;
  transition: color 0.3s ease;
}
.banda-info ul li a:hover {
  color: #FFFFFF; /* Blanco */
  text-shadow: 0 0 20px rgba(204, 0, 0, 0.3);
}

/* ============================================
   5. COLUMNA DERECHA
   ============================================ */
.right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
  overflow: visible !important;
  position: relative;
}

.banda-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  background: #0a0a0a;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  overflow: visible !important;
  position: relative;
}

/* ============================================
   6. FOOTER
   ============================================ */
.footer {
  margin-top: 3rem;
  padding: 2rem 0 1.5rem;
  border-top: 3px solid #8B0000; /* Rojo oscuro */
  text-align: center;
  color: #C0C0C0; /* Plomo */
  font-size: 0.9rem;
  background: #0a0a0a;
  letter-spacing: 2px;
}
.footer p {
  font-weight: 400;
  opacity: 0.7;
}

/* ============================================
   7. RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .banda-container {
    flex-direction: column;
    gap: 1rem;
  }
  .banda-info {
    flex: 1 1 auto;
    width: 100%;
    padding: 1rem;
  }
  .right-column {
    width: 100%;
    gap: 1.5rem;
  }
  .banda-imagen {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
  }
  .banda-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .banda-info ul li {
    padding: 0.6rem 0;
    flex-wrap: wrap;
  }
  .banda-info ul li strong {
    min-width: 70px;
  }
}

@media (max-width: 480px) {
  .banda-imagen {
    width: 100px;
    height: 100px;
  }
  .banda-info h2 {
    font-size: 1.2rem;
  }
  .banda-info ul li {
    flex-direction: column;
    gap: 0.2rem;
  }
  .banda-info ul li strong {
    min-width: auto;
  }
}