/* =========================================================
   BALCHIK CLASSIC DAYS — CLEAN STYLESHEET
   ========================================================= */

/* -------------------------
   1. VARIABLES & RESET
------------------------- */

:root {
  --navy: #081826;
  --navy-soft: #0b2036;
  --gold: #d2b26a;
  --gold-dark: #b89243;
  --ivory: #f5f3ef;
  --white: #ffffff;
  --text: #26313b;
  --muted: #5d6570;
  --shadow: 0 16px 35px rgba(8, 24, 38, 0.16);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--ivory);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

/* -------------------------
   2. HERO
------------------------- */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 24px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: -3%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroBreathing 24s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(4, 17, 30, 0.20),
      rgba(4, 17, 30, 0.62)
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
}

.hero-logo {
  display: block;
  width: min(145px, 34vw);
  height: auto;
  margin: 0 auto 24px;
  object-fit: contain;
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 0.95;
}

.hero p {
  margin: 22px 0 38px;
  font-size: clamp(16px, 2vw, 21px);
  letter-spacing: 0.05em;
}

.hero-button {
  display: inline-block;
  padding: 15px 34px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.hero-button:hover,
.hero-button:focus-visible {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.hero-button:focus-visible {
  outline: 3px solid rgba(210, 178, 106, 0.45);
  outline-offset: 4px;
}

@keyframes heroBreathing {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.07) translate3d(-0.3%, -0.2%, 0);
  }

  100% {
    transform: scale(1.05) translate3d(0.25%, 0.18%, 0);
  }
}

/* -------------------------
   3. PROGRAMME
------------------------- */

.programme-section {
  padding: 100px 6%;
  background: var(--ivory);
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading .eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0 0 12px;
  color: var(--navy-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 6vw, 70px);
  font-weight: 600;
  line-height: 1;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1250px;
  margin: 0 auto;
}

.poster-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background: var(--navy-soft);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  aspect-ratio: 2 / 3;
}

.poster-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.55s ease,
    filter 0.55s ease;
}

.poster-card:hover img,
.poster-card:focus-visible img {
  transform: scale(1.035);
  filter: brightness(0.76);
}

.poster-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 26px;
  color: var(--white);
  text-align: left;
  background:
    linear-gradient(
      to top,
      rgba(6, 20, 34, 0.92) 0%,
      rgba(6, 20, 34, 0.34) 45%,
      transparent 72%
    );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.poster-card:hover .poster-overlay,
.poster-card:focus-visible .poster-overlay {
  opacity: 1;
}

.poster-date {
  margin-bottom: 6px;
  color: #e0bd70;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.poster-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
}

.poster-open {
  margin-top: 15px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* -------------------------
   4. LIGHTBOX
------------------------- */

.poster-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  padding: 40px 90px;
  background: rgba(3, 13, 23, 0.94);
  opacity: 0;
  transition:
    opacity var(--transition),
    visibility var(--transition);
}

.poster-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.lightbox-content {
  display: flex;
  max-width: 100%;
  max-height: 100%;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.lightbox-close,
.lightbox-arrow {
  border: 0;
  color: var(--white);
  cursor: pointer;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 28px;
  z-index: 2;
  width: 52px;
  height: 52px;
  padding: 0;
  background: transparent;
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  background: rgba(7, 25, 42, 0.5);
  font-size: 34px;
  transform: translateY(-50%);
  transition:
    background var(--transition),
    border-color var(--transition);
}

.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  border-color: var(--gold);
  background: rgba(7, 25, 42, 0.9);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

body.lightbox-open {
  overflow: hidden;
}

/* -------------------------
   5. FOOTER
   Text-only links: no SVG icons
------------------------- */

.festival-footer {
  position: relative;
  overflow: hidden;
  padding: 90px 24px 28px;
  background:
    linear-gradient(
      rgba(6, 22, 38, 0.92),
      rgba(6, 22, 38, 0.98)
    ),
    url("images/footer-bg.jpg") center / cover no-repeat;
  color: var(--white);
}

.festival-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top center,
      rgba(210, 178, 106, 0.12),
      transparent 45%
    );
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: block;
  width: min(130px, 34vw);
  height: auto;
  margin: 0 auto 22px;
  object-fit: contain;
}

.footer-eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.festival-footer h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 600;
  line-height: 1;
}

.footer-slogan {
  max-width: 620px;
  margin: 18px auto 42px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 34px;
  margin: 0 auto;
}

.footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.footer-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.footer-link:hover::after,
.footer-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-link:focus-visible {
  outline: 2px solid rgba(210, 178, 106, 0.55);
  outline-offset: 5px;
}

.footer-arrow {
  color: var(--gold);
  font-size: 17px;
  line-height: 1;
  transition: transform var(--transition);
}

.footer-link:hover .footer-arrow {
  transform: translate(2px, -2px);
}

/* These classes are intentionally hidden.
   They prevent old footer SVG/icon markup from becoming oversized. */
.footer-icon,
.footer-link-text small {
  display: none !important;
}

.footer-link-text {
  display: inline !important;
}

.footer-link-text strong {
  font: inherit;
}

.footer-bottom {
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

/* -------------------------
   6. RESPONSIVE
------------------------- */

@media (max-width: 950px) {
  .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .festival-footer {
    padding: 72px 18px 24px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-bottom {
    margin-top: 42px;
  }
}

@media (max-width: 620px) {
  .programme-section {
    padding: 75px 18px;
  }

  .poster-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 430px;
  }

  .poster-overlay {
    opacity: 1;
  }

  .poster-card img {
    filter: brightness(0.88);
  }

  .poster-lightbox {
    padding: 65px 14px 25px;
  }

  .lightbox-content img {
    max-width: 100%;
    max-height: 82vh;
  }

  .lightbox-arrow {
    top: auto;
    bottom: 12px;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }

  .lightbox-close {
    top: 8px;
    right: 12px;
  }
}

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

  .hero-image {
    animation: none;
    transform: scale(1.04);
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* -------------------------
   7. ORGANISERS
------------------------- */

.footer-organisers-title {
  margin: 0 0 28px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-align: center;
  text-transform: uppercase;
}

.footer-organisers {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  margin-bottom: 45px;
}

.footer-organiser {
  display: flex;
  width: 170px;
  flex-direction: column;
  align-items: center;
}

.footer-logo-frame {
  display: flex;
  width: 150px;
  height: 95px;
  align-items: center;
  justify-content: center;
}

.footer-logo-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-organiser .footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

.footer-logo-box {
  padding: 10px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.footer-logo-box:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px var(--gold),
    0 12px 28px rgba(0, 0, 0, 0.18);
}

.municipality-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo-name {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-align: center;
}

@media (max-width: 700px) {
  .footer-organisers {
    gap: 34px;
  }

  .footer-organiser {
    width: 150px;
  }

  .footer-logo-frame {
    width: 135px;
    height: 86px;
  }

  .footer-logo-name {
    font-size: 13px;
  }
.language-switch {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px auto 0;
  text-align: center;
}

.language-switch span {
  color: rgba(255, 255, 255, 0.45);
}

.language-switch a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.25s ease;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a.active {
  color: #d2b26a;
}.hero-content .language-switch {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
  text-align: center;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-button {
  display: inline-flex;
  min-width: 150px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid #d2b26a;
  background: #d2b26a;
  color: #081826;@media (max-width: 520px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-button {
    width: min(260px, 100%);
  }
}
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: #081826;
}

.hero-button-secondary {
  background: transparent;
  color: #ffffff;
}

.hero-button-secondary:hover {
  background: #d2b26a;
  color: #081826;
}@media (max-width: 520px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-button {
    width: min(260px, 100%);
  }
}html{
    scroll-behavior:smooth;
}.live-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#888;
    margin-right:8px;
    display:inline-block;
    transition:.3s;
}.live-dot.active{
    background:#ff3030;
    box-shadow:0 0 10px rgba(255,48,48,.7);
    animation:livePulse 1.5s infinite;
}@keyframes livePulse{

0%{
    transform:scale(1);
    opacity:1;
}

50%{
    transform:scale(.75);
    opacity:.45;
}

100%{
    transform:scale(1);
    opacity:1;
}

}