/* =========================================
   TIPOGRAFÍA GLOBAL (Carlito)
   ========================================= */

html,
body {
  font-family: 'Carlito', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
}

/* Títulos un poco más contundentes */
h1,
h2,
h3,
.display-1,
.display-2,
.display-3 {
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Texto normal */
body {
  padding-top: 72px;
  background-color: #000;
  color: #f8f9fa;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================================
   HOME
   ========================================= */

/* HERO PRINCIPAL (HOME) */
.hero-section {
  min-height: calc(100vh - 72px);
  background-image: url("../img/hero/background_index.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.85)
  );
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

/* Galería portada */
.card-img-top {
  object-fit: cover;
  height: 260px;
}

/* Navbar oscura */
.navbar-dark .nav-link {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.navbar-dark .nav-link.active,
.navbar-dark .nav-link:hover {
  color: #ffffff !important;
}

/* Fade home */
.fade-section {
  opacity: 1;
  transition: opacity 0.5s ease-out;
  will-change: opacity;
}

/* Compensar el scroll al usar navbar fija */
#inicio {
  scroll-margin-top: 72px;
}

/* --------------------------
   TARJETAS DE GALERÍA (INDEX)
--------------------------- */

.gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background 0.4s ease;
}

.gallery-overlay span {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card:hover .gallery-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* =========================================
   PÁGINA SOBRE MÍ
   ========================================= */

body.about-body {
  padding-top: 72px;
  background-color: #000;
  color: #f7f7f7;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Fondo fijo con opacidad */
body.about-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/hero/bg-aboutme.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: -1;
}

/* Main ocupa todo el espacio disponible */
.about-main {
  flex: 1;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Bloque principal sin cajas ni fondos */
.about-block {
  padding: 32px 8px;
}

/* Título (nombre) */
.about-heading {
  letter-spacing: 0.18em;
  font-size: 1.1rem;
  text-align: center;
  color: #e0e0e0;
  font-weight: 700;
}

/* Textos largos */
.about-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #f0f0f0;
}

.about-text-small {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d0d0d0;
}

/* Subtítulos "Redes", "Contacto", etc. */
.about-subheading {
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: #c0c0c0;
}

/* FOTO REDONDA */
.about-portrait-wrapper {
  width: 260px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 4px solid #ffffff;
  overflow: hidden;
  margin: 0 auto;
}

.about-portrait-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------
   LÍNEAS DIVISORIAS
--------------------------- */

.about-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 720px;
  margin: 32px auto;
}

/* --------------------------
   REDES SOCIALES
--------------------------- */

.about-social-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  margin-bottom: 10px;
  color: #f5f5f5;
  font-size: 0.9rem;
}

.about-social-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.about-social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

/* GuitarCalavera — alineado a la derecha, icono un poco mayor */
.about-social-link.gc-link {
  justify-content: flex-end;
}

.about-social-icon.gc-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

/* --------------------------
   EMAIL
--------------------------- */

.about-email-link {
  color: #f5f5f5;
  font-size: 0.9rem;
}

.about-email-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --------------------------
   FOOTER STICKY
--------------------------- */

.about-footer {
  background: transparent;
  margin-top: auto;
}

.text-shadow-soft {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* =========================================
   GALERÍA CONCIERTOS
   ========================================= */

/* Miniaturas de álbumes (conciertos, viajes, etc.) */
.album-thumb-img {
  width: 100%;
  height: 260px;
  object-fit: contain;        /* No recorta */
  object-position: center;    /* Centrada */
  background-color: transparent;  /* Márgenes transparentes */
  mix-blend-mode: normal;     /* Asegura que no se mezclen */
}

.album-image-thumb:hover .album-thumb-img {
  transform: scale(1.02);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

/* LIGHTBOX */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  line-height: 1;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
  top: 10px;
  right: 16px;
}

.lightbox-prev {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.page-conciertos {
    background-color: #1a1c1f !important;
}