:root {
  --bg: #0b0b0d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #f5f0eb;
  --muted: #d5c5b8;
  --gold: #c7a37a;
  --accent: #8e6d4d;
  --shadow: rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(202, 163, 119, 0.12), transparent 35%),
    linear-gradient(180deg, #0d0d11 0%, #111318 100%);
  color: var(--text);
}

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

iframe {
  max-width: 100%;
  border: 0;
  display: block;
  margin: 1rem auto 0;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.page-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 40px;
}

article {
  margin: 0 auto 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  box-shadow: 0 24px 60px var(--shadow);
  overflow: hidden;
}

.home {
  position: relative;
  min-height: 860px;
  background: rgba(15, 15, 18, 0.4);
}

.home--image {
  position: absolute;
  inset: 0;
  background-image: url("images/JANA SIBERA - na titulni stranu webu.jpg");
  background-position: center;
  background-size: cover;
  filter: grayscale(20%) brightness(0.62) contrast(1.05);
}

.home--content {
  position: relative;
  z-index: 1;
  min-height: 860px;
  display: flex;
  flex-direction: column;
  padding: 64px 36px 40px;
}

.home--name {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  opacity: 0.65;
}

h1,
h3,
h4 {
  font-family: "Amiri", Georgia, serif;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  color: #f6f3ee;
  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}

h1 div {
  font-size: 0.5em;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  margin-top: 10px;
}

.home--navbar {
  margin-top: 36px;
}

.home--navbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 18px;
  margin: 0;
  padding: 0;
}

.home--navbar a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(0,0,0,0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}

.home--navbar a:hover {
  background: rgba(199,163,122,0.18);
  transform: translateY(-1px);
}

.bio,
.galerie,
.videos,
.schedule,
.repertoire,
.contact {
  padding: 30px 28px 32px;
}

.bio h3,
.galerie h3,
.videos h3,
.schedule h3,
.repertoire h3,
.contact h3 {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.bio--card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 18px;
  color: var(--text);
  line-height: 1.7;
  font-size: 1.02rem;
}

.gallery-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.02);
}

.gallery-track {
  display: flex;
  transition: transform 0.45s ease;
}

.gallery-slide {
  min-width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  background: #0f0f12;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-control {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(199,163,122,0.1);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  padding: 12px 14px;
  border-radius: 999px;
  min-width: 74px;
}

.video--name {
  color: var(--muted);
  font-weight: 700;
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.video--media {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.video--media a {
  color: var(--text);
  text-decoration: none;
}

.logo--youtube {
  width: 34px;
  height: 24px;
  object-fit: contain;
}

.schedule--container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.schedule--card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 18px 18px 16px;
  color: var(--text);
  min-height: 175px;
}

.schedule--card h4 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1.15;
}

.schedule--card div,
.schedule--card a {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.5;
}

.schedule--card a {
  color: #dce7f9;
  text-decoration: underline;
}

.container-repertoire {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.opera-card {
  background: rgba(255,255,255,0.024);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 18px 16px;
}

.author {
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  min-height: 28px;
}

.opera,
.role {
  display: grid;
  gap: 6px;
}

.opera div,
.role div {
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.09);
}

.contact--mail,
.contact--link {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}

.contact--svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 18px, 1220px);
  }

  .home {
    min-height: 620px;
  }

  .home--content {
    min-height: 620px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .home--navbar ul {
    gap: 32px 8px;
  }

  .home--navbar a {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .gallery-slider {
    grid-template-columns: 1fr;
  }

  .gallery-control {
    min-width: 0;
    width: 100%;
  }
}
