:root {
  --bg-dark: #0d0d0d;
  --bg-panel: #161616;
  --text-light: #f2f2f0;
  --text-muted: #b3b0a8;
  --accent: #d4af7a;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebc59;
  --font-signature: 'Dancing Script', cursive;
  --font-body: 'Inter', sans-serif;
  --font-headline: 'Playfair Display', serif;
  --font-slogan: 'Cormorant Garamond', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

.section-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-logo-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.navbar-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navbar-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ---------- FONDO FIJO ---------- */
/* No usa background-attachment: fixed (se rompe en Safari iOS).
   En su lugar, un div position:fixed detras de todo el contenido. */
.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: url("assets/img/artista/2026-09-11_21.29.18.jpg");
  background-size: cover;
  background-position: center 25%;
}

.fixed-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.25rem;
  max-width: 640px;
}

.signature {
  font-family: var(--font-signature);
  font-weight: 700;
  font-size: clamp(3.2rem, 15vw, 6.5rem);
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.artist-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 4vw, 1.25rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.hero-headline {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: clamp(1.15rem, 4.5vw, 1.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 1.5rem;
  line-height: 1.4;
}

.hero-slogan {
  font-family: var(--font-slogan);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  color: var(--accent);
  margin-top: 0.6rem;
}

.tagline {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--text-light);
  min-height: 1.5rem;
}

/* ---------- BOTON WHATSAPP ---------- */
.btn-whatsapp {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2rem;
  background: var(--whatsapp);
  color: #06210f;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.btn-whatsapp-purple {
  background: #7c3aed;
  color: #ffffff;
}

.btn-whatsapp-purple:hover,
.btn-whatsapp-purple:focus-visible {
  background: #6d28d9;
}

/* ---------- GALERIA ---------- */
.gallery {
  padding: 3.5rem 1.25rem;
  background: rgba(13, 13, 13, 0.88);
}

.category-block {
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.category-block:last-child {
  margin-bottom: 0;
}

.category-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  background: var(--bg-panel);
}

.gallery-grid img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- SOBRE EL ARTISTA ---------- */
.about {
  padding: 3.5rem 1.25rem;
  background: rgba(22, 22, 22, 0.88);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--accent);
}

.about-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- COMO ENCARGAR ---------- */
.commission {
  padding: 3.5rem 1.25rem;
  text-align: center;
  background: rgba(13, 13, 13, 0.88);
}

.commission-text {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- FOOTER / CONTACTO ---------- */
.footer {
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
  background: rgba(22, 22, 22, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.instagram-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.instagram-link:hover {
  text-decoration: underline;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

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

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
