:root {
  --bg: #f8f9fa;
  --primary: #5b238a;
  --primary-dark: #3d1760;
  --accent: #d4af37;
  --text: #1a0033;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(212, 175, 55, .15), transparent 40%),
    radial-gradient(circle at 92% 100%, rgba(91, 35, 138, .15), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

.layout-shell {
  width: min(1200px, 90%);
  margin: auto;
  position: relative;
}

/*======================
SKIP LINK (keyboard / screen-reader users)
=======================*/

.skip-link {
  position: absolute;
  top: -3rem;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: .75rem 1.25rem;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 0;
}

/*======================
LANGUAGE SWITCHER (pure CSS, no JS)
=======================*/

.lang-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: .25rem;
  background: var(--white);
  border: 1px solid rgba(91, 35, 138, .2);
  border-radius: 999px;
  padding: .3rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  z-index: 200;
}

.lang-switcher legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.lang-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.lang-toggle {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.lang-toggle:hover {
  background: rgba(91, 35, 138, .08);
}

.lang-radio:focus-visible + .lang-toggle {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

#lang-en:checked + label[for="lang-en"],
#lang-es:checked + label[for="lang-es"] {
  background: var(--primary);
  color: var(--white);
}

/* Default language shown: English */
.lang-content-es {
  display: none;
}

#lang-es:checked ~ .lang-content-en {
  display: none;
}

#lang-es:checked ~ .lang-content-es {
  display: block;
}

/*======================
HEADER
=======================*/

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.artist-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--accent);
  letter-spacing: .02em;
}

/*======================
NAVBAR
=======================*/

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  transition: color .3s;
  padding: .25rem .1rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.main-nav a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/*======================
SECTIONS
=======================*/

section {
  padding: 5rem 0;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-size: 2.3rem;
  font-family: "Cormorant Garamond", serif;
  color: var(--primary);
  margin-bottom: 2rem;
}

/*======================
HERO
=======================*/

.hero {
  min-height: 90vh;
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: cover;
  display: block;
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(0deg, rgba(26, 0, 51, .85), transparent);
  color: var(--white);
}

.hero-caption p {
  font-size: 1.2rem;
  max-width: 600px;
}

/*======================
ABOUT
=======================*/

.about p {
  max-width: 800px;
  font-size: 1.1rem;
}

/*======================
CARDS (used by concerts & music)
=======================*/

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
  transition: transform .3s;
  border-top: 4px solid var(--accent);
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: var(--primary);
  margin-bottom: .5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
}

.card p {
  color: #555;
}

.card .flag {
  font-size: 1.4rem;
  margin-right: .4rem;
}

/*======================
CONTACT
=======================*/

.contact p {
  margin-bottom: 1rem;
  max-width: 600px;
}

.contact a {
  display: inline-block;
  color: var(--white);
  background: var(--primary);
  text-decoration: none;
  font-weight: bold;
  padding: .9rem 1.8rem;
  border-radius: 999px;
  transition: background .3s;
}

.contact a:hover,
.contact a:focus-visible {
  background: var(--primary-dark);
}

.contact a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/*======================
FOOTER
=======================*/

.site-footer {
  border-top: 1px solid #ddd;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer a {
  text-decoration: none;
  color: var(--primary);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

/*======================
SCREEN READER ONLY
=======================*/

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/*======================
REDUCED MOTION
=======================*/

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card {
    transition: none;
  }
}

/*======================
RESPONSIVE
=======================*/

@media (max-width: 768px) {
  .site-header {
    padding-top: 4rem;
  }

  .main-nav {
    gap: 1rem;
  }

  .section-title {
    text-align: center;
  }

  .about p {
    text-align: center;
    margin-inline: auto;
  }

  .site-footer {
    flex-direction: column;
  }

  .lang-switcher {
    top: .5rem;
    right: .5rem;
  }
}