:root {
  color-scheme: dark;
  --bg: #1b0f0b;
  --bg-soft: #26140f;
  --panel: rgba(43, 24, 18, 0.88);
  --panel-strong: rgba(58, 33, 24, 0.96);
  --text: #f0dbc0;
  --muted: rgba(240, 219, 192, 0.78);
  --gold: #c89b52;
  --line: rgba(200, 155, 82, 0.24);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1120px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(139, 65, 32, 0.28), transparent 28%),
    linear-gradient(180deg, #2f140f 0%, #1a0e0a 42%, #140b09 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.16;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 84px 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 22px clamp(16px, 3vw, 32px);
  border: 1px solid rgba(200, 155, 82, 0.11);
  border-radius: 24px;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(20, 11, 8, 0.74);
  border-bottom: 1px solid rgba(200, 155, 82, 0.14);
}

.brand-title{
  font: size 10px;
}
.site-header .brand-subtitle{
  color: var(--muted);
  font-size: 1rem;
  padding: 5px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a,
.site-header .button,
.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.footer-inner a:hover {
  color: var(--text);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(200, 155, 82, 0.4);
  border-radius: 999px;
  background: rgba(34, 18, 13, 0.85);
  color: var(--gold);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  cursor: pointer;
  margin-left: 8px;
  transition: transform 200ms ease, border-color 200ms ease,
    background 200ms ease, color 200ms ease, box-shadow 220ms ease;
}

.lang-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(200, 155, 82, 0.18);
  color: var(--text);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

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

.lang-toggle:active {
  transform: scale(0.95);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(43, 24, 18, 0.8);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.eyebrow,
.label {
  color: var(--gold);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
}

.label {
  letter-spacing: 0.3em;
  font-size: 0.68rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.6rem, 10vw, 7.8rem);
  max-width: 10.5ch;
}

h2 {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
}

h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero {
  padding-top: 72px;
  padding-bottom: 92px;
}

.hero-grid {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.hero-grid::before {
  content: "";
  width: min(320px, 72vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 155, 82, 0.6), transparent);
}

.hero-grid::after {
  content: "◊";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.hero-lead {
  max-width: 720px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(200, 155, 82, 0.5);
}

.button-primary {
  background: linear-gradient(180deg, rgba(200, 155, 82, 0.3), rgba(200, 155, 82, 0.14));
  box-shadow: inset 0 0 0 1px rgba(200, 155, 82, 0.08);
}

.button-secondary {
  background: rgba(54, 30, 22, 0.44);
}

.hero-panel {
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(34, 18, 13, 0.74);
  box-shadow: var(--shadow);
}

.hero-panel article,
.info-card {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.hero-panel strong,
.info-card strong {
  display: block;
  margin-top: 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
}

.section-heading {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.section-heading::before {
  content: "";
  width: min(380px, 70vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 155, 82, 0.56), transparent);
}

.section-heading::after {
  
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.section-heading.narrow {
  justify-items: start;
  text-align: left;
}

.section-heading.narrow::before {
  width: min(280px, 58vw);
}

.section-heading.narrow::after {
  justify-self: start;
}

.intro-grid,
.about-grid,
.contact-card {
  display: grid;
  gap: 28px;
}

.intro-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.feature-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.feature-media {
  min-height: 100%;
}

.feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.feature-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 48px);
}

#o-udruzenju .section-heading {
  margin-bottom: 32px;
}

.about-prose {
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto 36px;
}

.about-prose p {
  font-size: 1.02rem;
  line-height: 1.85;
}

.about-lead {
  color: var(--text);
  font-size: 1.05rem;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-cards .info-card {
  text-align: center;
}

.info-card {
  border: 1px solid rgba(200, 155, 82, 0.18);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
}

.intro-cta {
  justify-self: start;
  margin-top: 6px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.category-card {
  position: relative;
  display: block;
  min-height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(200, 155, 82, 0.18);
  background-color: #25130f;
  background-image: linear-gradient(180deg, rgba(20, 11, 8, 0.35), rgba(20, 11, 8, 0.85)), var(--card-bg);
  background-size: cover;
  background-position: center;
  color: var(--text);
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 155, 82, 0.5);
}

.category-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 22px 24px;
  display: grid;
  gap: 6px;
}

.category-overlay h3 {
  font-size: 1.6rem;
}

.category-overlay p {
  font-size: 0.95rem;
}

.contribute-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.contribute-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contribute-list li {
  padding: 18px 20px;
  border: 1px solid rgba(200, 155, 82, 0.18);
  border-radius: var(--radius-md);
  background: rgba(34, 18, 13, 0.74);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 6px;
}

.contact-card {
  align-items: stretch;
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(200, 155, 82, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(34, 18, 13, 0.56);
}

.contact-list a {
  color: var(--text);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--gold);
}

.form-status {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(200, 155, 82, 0.14);
  border: 1px solid rgba(200, 155, 82, 0.32);
  color: var(--text);
  font-size: 0.95rem;
}

/* Confirmation panel (shown after submit) */
.contact-field {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.92rem;
}

.form-confirmation[hidden] {
  display: none;
}

.form-confirmation {
  margin-top: 8px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 155, 82, 0.36);
  background: rgba(34, 18, 13, 0.62);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
  display: grid;
  gap: 14px;
  animation: confirm-in 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.form-confirmation h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--gold);
  font-size: 1.55rem;
  margin: 0;
  letter-spacing: 0.02em;
}

.form-confirmation-lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.form-confirmation-list {
  display: grid;
  gap: 12px;
  margin: 6px 0 12px;
}

.form-confirmation-list > div {
  display: grid;
  grid-template-columns: minmax(80px, max-content) 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(20, 11, 8, 0.5);
  border: 1px solid rgba(200, 155, 82, 0.18);
}

.form-confirmation-list dt {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin: 0;
  padding-top: 2px;
}

.form-confirmation-list dd {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
}

@keyframes confirm-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--text);
}

.header-action {
  white-space: nowrap;
}

.current-hero {
  padding-top: 72px;
  padding-bottom: 40px;
}

.current-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.current-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(200, 155, 82, 0.18);
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

.current-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #25130f;
}

.current-card figcaption {
  display: grid;
  gap: 8px;
  padding: 22px 24px 24px;
}

.current-card h3 {
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
}

.current-card-feature {
  grid-column: span 2;
}

.current-card-feature img {
  height: 380px;
}

.current-divider {
  padding: 40px 0 8px;
}

.current-divider .section-heading::before,
.current-divider .section-heading::after {
  display: none;
}

.current-teaser {
  display: grid;
  gap: 28px;
  justify-items: center;
  margin-top: 6px;
}

.current-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.current-teaser-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 155, 82, 0.2);
  background: var(--panel-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  aspect-ratio: 4 / 3;
}

.current-teaser-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.current-teaser-card:hover img {
  transform: scale(1.04);
}

.current-teaser-cta {
  justify-self: center;
}

.header-actions,
.footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-card {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: clamp(24px, 5vw, 48px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(200, 155, 82, 0.2);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(21, 11, 8, 0.72);
  color: var(--text);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(240, 219, 192, 0.42);
}

.archive-block {
  display: grid;
  gap: 24px;
}

.archive-grid,
.archive-grid-large,
.archive-final-grid {
  display: grid;
  gap: 18px;
}

.archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-grid-large {
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
}

.archive-final-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.archive-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(200, 155, 82, 0.18);
  border-radius: var(--radius-md);
  background: var(--panel-strong);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.26);
}

.archive-card-large {
  grid-column: span 2;
}

.archive-card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: #25130f;
}

.archive-card-large img {
  height: 420px;
}

.archive-card figcaption {
  display: grid;
  gap: 10px;
  padding: 18px 20px 20px;
}

.archive-card h3 {
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
}

.archive-hero {
  padding-top: 72px;
  padding-bottom: 54px;
}

.archive-page .hero-lead {
  max-width: 780px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  padding: 20px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 155, 82, 0.16);
}

.archive-page .site-header .button {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .intro-grid,
  .feature-card,
  .contact-card,
  .contribute-grid,
  .archive-grid-large,
  .archive-final-grid {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .current-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .current-card-feature {
    grid-column: span 2;
  }

  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .current-teaser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-card-large {
    grid-column: auto;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .feature-media img,
  .archive-card img {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 1px) 0 auto;
    display: grid;
    gap: 0;
    padding: 14px;
    background: rgba(22, 12, 9, 0.98);
    border-bottom: 1px solid rgba(200, 155, 82, 0.16);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 10px;
    border-radius: 12px;
  }

  .header-inner {
    position: relative;
  }

  .section {
    padding: 64px 0;
  }

  .section::before {
    inset: 16px;
    border-radius: 18px;
  }

  .hero {
    padding-top: 46px;
  }

  .site-header .button {
    padding-inline: 14px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .current-grid {
    grid-template-columns: 1fr;
  }

  .current-card-feature {
    grid-column: auto;
  }

  .current-teaser-grid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility: visible keyboard focus */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Accessibility: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .category-card,
  .current-teaser-card img {
    transition: none;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Lightbox for gallery pages */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 5, 3, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 14px;
  max-width: min(1000px, 92vw);
  text-align: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-figure figcaption {
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 1px solid var(--line);
  background: rgba(43, 24, 18, 0.9);
  color: var(--text);
  cursor: pointer;
  border-radius: 999px;
  transition: border-color 180ms ease, background 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--gold);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2.1rem;
  line-height: 1;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.no-scroll {
  overflow: hidden;
}

/* "O udruženju" dedicated page */
.udruzenje-hero {
  padding-top: 72px;
  padding-bottom: 64px;
}

.about-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  margin-top: 38px;
  padding: 28px 24px;
  border: 1px solid rgba(200, 155, 82, 0.18);
  border-radius: var(--radius-md);
  background: rgba(34, 18, 13, 0.6);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
}

.about-cta p {
  max-width: 540px;
  color: var(--muted);
}

.contact-person {
  display: inline-block;
  margin-top: 2px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(200, 155, 82, 0.32), rgba(200, 155, 82, 0.16));
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(200, 155, 82, 0.18);
}

.outro-cta {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.outro-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Carousel gallery for current exhibition */
.carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.carousel-arrow {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(43, 24, 18, 0.84);
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease,
    background 220ms ease, color 220ms ease, box-shadow 220ms ease;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.carousel-arrow:hover {
  border-color: rgba(200, 155, 82, 0.7);
  background: rgba(200, 155, 82, 0.2);
  color: var(--text);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}

.carousel-arrow:active {
  transform: scale(0.94);
}

.carousel-arrow:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.carousel-stage {
  display: grid;
  grid-template-columns: 0.78fr 1.55fr 0.78fr;
  gap: 18px;
  align-items: stretch;
  min-width: 0;
}

.carousel-card {
  position: relative;
  display: block;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel-strong);
  border: 1px solid rgba(200, 155, 82, 0.2);
  cursor: pointer;
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 380ms ease, opacity 380ms ease, box-shadow 380ms ease,
    border-color 220ms ease;
}

.carousel-card img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  background: #25130f;
  transition: transform 520ms ease;
}

.carousel-card-side {
  transform: scale(0.9);
  filter: brightness(0.66) saturate(0.92);
  opacity: 0.72;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
}

.carousel-card-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 11, 8, 0) 0%,
    rgba(20, 11, 8, 0.34) 100%
  );
  pointer-events: none;
  transition: opacity 220ms ease;
}

.carousel-card-active {
  transform: scale(1);
  filter: brightness(1);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
  border-color: rgba(200, 155, 82, 0.42);
}

.carousel-card figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 22px 20px;
  background: linear-gradient(
    180deg,
    rgba(20, 11, 8, 0) 0%,
    rgba(20, 11, 8, 0.9) 100%
  );
  position: absolute;
  inset: auto 0 0 0;
  transition: padding-bottom 220ms ease;
}

.carousel-card-active figcaption {
  padding: 22px 26px 26px;
}

.carousel-card-side figcaption {
  opacity: 0.9;
}

.carousel-card-side figcaption h3 {
  font-size: 1.05rem;
}

.carousel-card-active figcaption h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
}

.carousel-card figcaption h3 {
  color: var(--text);
}

/* Hover animations */
.carousel-card:hover {
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.carousel-card-active:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 34px 90px rgba(200, 155, 82, 0.18),
    0 18px 60px rgba(0, 0, 0, 0.5);
}

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

.carousel-card-side:hover {
  transform: scale(0.95) translateY(-3px);
  filter: brightness(0.92);
  opacity: 1;
  border-color: rgba(200, 155, 82, 0.5);
}

.carousel-card-side:hover::after {
  opacity: 0.5;
}

.carousel-card-side:hover img {
  transform: scale(1.04);
}

.carousel-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.carousel-caption {
  display: grid;
  gap: 8px;
  text-align: center;
  margin: 28px auto 0;
  padding: 20px 24px;
  border: 1px solid rgba(200, 155, 82, 0.18);
  border-radius: var(--radius-md);
  background: rgba(34, 18, 13, 0.6);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  max-width: 920px;
  transition: border-color 240ms ease, transform 240ms ease;
}

.carousel-caption-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 2px;
}

.carousel-theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(200, 155, 82, 0.36);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(200, 155, 82, 0.22), rgba(200, 155, 82, 0.08));
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(200, 155, 82, 0.14);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.carousel-theme-chip[hidden] {
  display: none;
}

.carousel-caption:hover .carousel-theme-chip {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(200, 155, 82, 0.2),
    inset 0 0 0 1px rgba(200, 155, 82, 0.22);
}

.carousel-caption:hover {
  border-color: rgba(200, 155, 82, 0.4);
  transform: translateY(-1px);
}

.carousel-caption h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  margin: 0;
}

.carousel-caption p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.carousel-dots {
  list-style: none;
  margin: 22px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
}

.carousel-dot {
  width: 32px;
  height: 5px;
  border-radius: 999px;
  background: rgba(240, 219, 192, 0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, transform 200ms ease,
    box-shadow 220ms ease;
}

.carousel-dot[aria-current="true"] {
  background: linear-gradient(
    90deg,
    rgba(200, 155, 82, 0.92),
    rgba(200, 155, 82, 0.55)
  );
  transform: scaleY(1.6);
  box-shadow: 0 0 14px rgba(200, 155, 82, 0.5);
}

.carousel-dot:hover {
  background: rgba(200, 155, 82, 0.5);
  transform: scaleY(1.3);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.carousel-hint {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  align-items: center;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.carousel-hint kbd {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  padding: 2px 6px;
  border: 1px solid rgba(200, 155, 82, 0.4);
  border-radius: 6px;
  background: rgba(43, 24, 18, 0.84);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
}

/* Archive theme tabs (archive.html) */
.archive-themes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px auto 28px;
}

.archive-theme-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(43, 24, 18, 0.78);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease, background 220ms ease,
    box-shadow 220ms ease, color 220ms ease;
}

.archive-theme-tab .archive-theme-index {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(200, 155, 82, 0.22);
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: background 220ms ease, color 220ms ease;
}

.archive-theme-tab:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 155, 82, 0.6);
  background: rgba(200, 155, 82, 0.18);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
  color: var(--text);
}

.archive-theme-tab:hover .archive-theme-index {
  background: rgba(200, 155, 82, 0.5);
  color: var(--text);
}

.archive-theme-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.archive-theme-tab[aria-current="true"] {
  background: linear-gradient(180deg, rgba(200, 155, 82, 0.32), rgba(200, 155, 82, 0.16));
  border-color: rgba(200, 155, 82, 0.7);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(200, 155, 82, 0.18),
    0 6px 18px rgba(0, 0, 0, 0.32);
}

.archive-theme-tab[aria-current="true"] .archive-theme-index {
  background: rgba(200, 155, 82, 0.78);
  color: #1a0e0a;
}

.archive-theme-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 90px;
}

/* Archive media list (TV, video, articles) */
.archive-media-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.archive-media-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 18px 22px;
  border: 1px solid rgba(200, 155, 82, 0.18);
  border-radius: var(--radius-md);
  background: rgba(34, 18, 13, 0.74);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 220ms ease, border-color 220ms ease,
    background 220ms ease, box-shadow 220ms ease;
}

.archive-media-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 155, 82, 0.5);
  background: rgba(200, 155, 82, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.archive-media-list li .label {
  align-self: start;
}

.archive-media-list a {
  color: var(--text);
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.5;
  transition: color 180ms ease;
}

.archive-media-list a:hover {
  color: var(--gold);
}

/* Previous events */
.archive-event {
  display: grid;
  gap: 10px;
  margin: 12px auto;
  padding: 22px 26px;
  border: 1px solid rgba(200, 155, 82, 0.18);
  border-radius: var(--radius-md);
  background: rgba(34, 18, 13, 0.6);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.archive-event h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  color: var(--text);
  margin: 0;
}

.archive-event p {
  color: var(--muted);
  margin: 0;
}

.archive-event-links {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.archive-event-links a {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  transition: color 180ms ease, transform 180ms ease;
}

.archive-event-links a::before {
  content: "→";
  color: var(--gold);
  font-size: 0.9em;
}

.archive-event-links a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

/* Tablet */
@media (max-width: 980px) {
  .carousel-stage {
    grid-template-columns: 0.7fr 1.4fr 0.7fr;
    gap: 12px;
  }

  .carousel-card img {
    height: 380px;
  }

  .carousel-arrow {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
}

/* Mobile — show only the active center image */
@media (max-width: 760px) {
  .carousel {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }

  .carousel-card-side {
    display: none;
  }

  .carousel-stage {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .carousel-card img {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .carousel-card img {
    height: 260px;
  }
}

@media (max-width: 760px) {
  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}
