:root {
  --font-base: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-background: #f6f7fb;
  --color-surface: #ffffff;
  --color-surface-alt: #f0f2f8;
  --color-text: #1f2937;
  --color-muted: #4b5563;
  --color-primary: #b11116;
  --color-primary-dark: #820c11;
  --color-border: rgba(203, 213, 225, 0.7);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 26px 60px rgba(148, 13, 25, 0.16);
  --content-width: 1280px;
  --page-gutter: clamp(1.5rem, 5vw, 5rem);
  --content-inset: max(var(--page-gutter), calc((100% - var(--content-width)) / 2));
}

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

body {
  margin: 0;
  font-family: var(--font-base);
  background: radial-gradient(circle at top, rgba(177, 17, 22, 0.05), transparent 55%)
      no-repeat,
    var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offset for fixed nav */
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
  padding: 0.9rem max(clamp(1.5rem, 5vw, 4rem), calc((100% - var(--content-width)) / 2));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(177, 17, 22, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-weight: 700;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-primary-dark);
}

.logo__mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 0.15rem;
}

.logo__text {
  display: grid;
  gap: 0.15rem;
}

.logo__text span {
  display: block;
  white-space: nowrap;
}

.logo--footer {
  color: #fff;
}

.nav-menu {
  display: flex;
  gap: clamp(0.35rem, 0.8vw, 0.85rem);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex: 0 1 auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.nav-menu a,
.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--color-muted);
  transition: color 200ms ease, background 200ms ease;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-dropdown__toggle:hover,
.nav-dropdown__toggle:focus-visible {
  color: var(--color-primary);
  background: rgba(177, 17, 22, 0.08);
}

.nav-menu a.active,
.nav-dropdown__toggle.active {
  color: var(--color-primary);
  background: rgba(177, 17, 22, 0.12);
  font-weight: 700;
}

.nav-announcements__badge {
  margin-left: 0.35rem;
  padding: 0.14rem 0.38rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.7rem;
}

.nav-dropdown__toggle {
  font-family: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown__toggle::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 20;
  min-width: 180px;
  display: grid;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0.55rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav-dropdown__menu a {
  display: flex;
  width: 100%;
  white-space: nowrap;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-primary-dark);
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  width: 18px;
  height: 2px;
  background: currentColor;
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 200ms ease, top 200ms ease, opacity 200ms ease;
  content: "";
}

.nav-toggle__bar {
  top: 50%;
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

.hero {
  background: linear-gradient(135deg, rgba(177, 17, 22, 0.92), rgba(177, 17, 22, 0.82)),
    url("../img/bg.png")
      center/cover no-repeat;
  color: #ffffff;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: min(85vh, 960px);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  padding-top: 74px; /* Space for fixed nav */
}

.hero-supporters {
  width: min(100%, calc(var(--content-width) + 4.5rem));
  margin-inline: auto;
  --hero-supporter-gap: clamp(0.25rem, 0.75vw, 0.85rem);
  --hero-supporter-padding-x: clamp(1rem, 3vw, 2.25rem);
  display: flex;
  gap: var(--hero-supporter-gap);
  align-items: center;
  justify-content: center;
  padding: 1.15rem var(--hero-supporter-padding-x) 0;
  overflow: visible;
}

.hero-supporters__item {
  position: relative;
  display: inline-flex;
  flex: 1 1 0;
  max-width: 104px;
  aspect-ratio: 1;
  min-width: 0;
  isolation: isolate;
}

.hero-supporters__item::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 0.7rem);
  z-index: 2;
  max-width: min(260px, 42vw);
  padding: 0.48rem 0.7rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  color: #fff;
  font-size: clamp(0.68rem, 0.8vw, 0.78rem);
  font-weight: 700;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, -0.25rem);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: normal;
  width: max-content;
}

.hero-supporters__item:hover {
  z-index: 3;
}

.hero-supporters__item:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero-supporters__item:first-child::after {
  left: 0;
  transform: translate(0, -0.25rem);
}

.hero-supporters__item:first-child:hover::after {
  transform: translate(0, 0);
}

.hero-supporters__item:last-child::after {
  right: 0;
  left: auto;
  transform: translate(0, -0.25rem);
}

.hero-supporters__item:last-child:hover::after {
  transform: translate(0, 0);
}

.hero-supporters img,
.hero-supporters__item img {
  width: 100%;
  height: 100%;
  flex: 1 1 0;
  max-width: 104px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: clamp(4px, 0.7vw, 10px);
  background: #fff;
  padding: clamp(0.12rem, 0.45vw, 0.45rem);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
  transform-origin: center;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.hero-supporters img:hover,
.hero-supporters__item:hover img {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
  transform: translateY(-0.28rem) scale(1.045);
}

.hero__content {
  width: min(var(--content-width), calc(100% - (var(--page-gutter) * 2)));
  margin: clamp(0.9rem, 2vw, 1.5rem) auto clamp(2.2rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, min(32vw, 440px));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__copy {
  min-width: 0;
}

.hero-poster {
  display: block;
  width: min(100%, 440px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.34);
}

.hero-poster img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 180ms ease;
}

.hero-poster:hover img {
  transform: scale(1.02);
}

.hero__content .lead {
  max-width: 62ch;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.75;
  text-align: left;
  text-shadow: 0 2px 14px rgba(15, 23, 42, 0.18);
}

.hero-title {
  position: relative;
  max-width: 780px;
  margin-bottom: 1.15rem;
  padding-left: clamp(1rem, 2vw, 1.35rem);
}

.hero-title::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  bottom: 0.25rem;
  left: 0;
  width: 5px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.38);
}

.hero-title__logo {
  width: clamp(92px, 11vw, 132px);
  height: clamp(92px, 11vw, 132px);
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 0.55rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
}

.hero-title h1,
.hero-title h2 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: clamp(2.3rem, 5.3vw, 4.15rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 5px 24px rgba(15, 23, 42, 0.28);
}

.hero-title h1 span,
.hero-title h2 span {
  display: block;
}

.hero-title h1 span:first-child,
.hero-title h2 span:first-child {
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  padding: 0 clamp(1.5rem, 5vw, 5rem) clamp(2rem, 7vw, 3rem);
}

.hero__meta div {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero__meta strong {
  display: block;
  font-size: 1.6rem;
  margin-top: 0.35rem;
}

.hero__meta-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.eyebrow {
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.8;
  margin-bottom: 1.2rem;
}

.event-date {
  margin: 0 0 1.2rem;
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.program-link {
  padding: 0;
  border: 0;
  background: none;
  color: #dc2626;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.program-link--button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

.program-notice {
  position: fixed;
  z-index: 1000;
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: min(28rem, calc(100vw - 3rem));
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: #173f5f;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  font-weight: 600;
  line-height: 1.45;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  margin-bottom: 1rem;
}

p {
  text-align: justify;
}

.lead {
  font-size: 1.12rem;
  max-width: 56ch;
}

.cta-group {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.countdown {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.countdown__item {
  background: rgba(255, 255, 255, 0.16);
  padding: 1.2rem 1rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.countdown__value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.countdown__label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

.section {
  padding: clamp(4rem, 8vw, 5.5rem) var(--content-inset);
  background: var(--color-surface);
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  scroll-margin-top: 100px; /* Ensure sections don't hide under nav */
}

.section--alt {
  background: var(--color-surface-alt);
}

.section--tight {
  padding-top: clamp(3rem, 7vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 4.5rem);
}

.section__header {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2.2rem, 5vw, 3.2rem);
}

.section__header p {
  margin-top: 0.75rem;
  color: var(--color-muted);
}

.section__footer {
  margin-top: 2.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 1.9rem;
  box-shadow: var(--shadow-md);
  min-height: 100%;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.card--speaker {
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.card--speaker img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
}

.card--speaker h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.25rem;
}

.card--speaker p {
  color: var(--color-muted);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  border: 3px solid transparent;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.gallery-grid img.gallery-hidden {
  display: none;
}

.gallery-grid.gallery-expanded img.gallery-hidden {
  display: block;
}

/* Kurullar Section */
.kurullar-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.kurullar-section {
  margin-bottom: 3rem;
}

.kurullar-section--honor {
  margin-bottom: 3rem;
  text-align: center;
}

.kurullar-section--honor .kurul {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(177, 17, 22, 0.05) 0%, rgba(177, 17, 22, 0.02) 100%);
  border: 2px solid var(--color-primary);
}

.kurullar-section--honor .kurul__title {
  text-align: center;
  border-bottom: 3px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.kurullar-section--honor .kurul__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.kurullar-section--honor .kurul__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.kurullar-section--honor .kurul__name {
  font-weight: 700;
  font-size: 1.05rem;
}

.kurullar-section--honor .kurul__position {
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: center;
}

.kurullar-section--executive {
  margin-bottom: 2rem;
}

.kurullar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.kurul {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
}

.kurul__title {
  color: var(--color-primary-dark);
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.kurul__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.kurul__list--columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  column-gap: 4rem;
  padding: 0 1.5rem;
  position: relative;
}

.kurul__list--columns::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--color-primary);
  left: 50%;
  transform: translateX(-50%);
}

.kurul__list--columns::after {
  display: none;
}

.kurul__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kurul__name {
  font-weight: 600;
  color: var(--color-text);
  flex: 0 0 auto;
  text-align: left;
}

.kurul__position {
  color: var(--color-muted);
  font-size: 0.95rem;
  text-align: right;
  flex: 1;
}

.kurul__item--featured {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.9rem;
  row-gap: 0.2rem;
  align-items: center;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  margin-bottom: 0.15rem;
}

.kurul__item--featured .kurul__name {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  text-align: left;
}

.kurul__item--featured .kurul__position {
  grid-column: 2;
  grid-row: 1;
  text-align: left;
  white-space: normal;
}

.kurul__meta {
  grid-column: 2;
  grid-row: 2;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: left;
}

@media (max-width: 768px) {
  .kurul__item--featured {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: baseline;
  }

  .kurul__item--featured .kurul__name,
  .kurul__item--featured .kurul__position {
    grid-column: auto;
    grid-row: auto;
  }

  .kurul__item--featured .kurul__position,
  .kurul__meta {
    flex-basis: 100%;
  }
}

@media (max-width: 900px) {
  .kurullar-grid {
    grid-template-columns: 1fr;
  }
  
  .kurul__list--columns {
    grid-template-columns: 1fr;
  }

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

  .hero-poster {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .kurullar-section--honor .kurul__list {
    grid-template-columns: 1fr;
  }
}


/* Responsive adjustments for speakers grid */
@media (max-width: 1200px) {
  .speakers-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .speakers-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
  }
  
  .card--speaker img {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .card--speaker img {
    height: 200px;
  }
}

.card--map iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.card--venue ul {
  padding-left: 1.25rem;
  margin-bottom: 2rem;
  color: var(--color-muted);
}

.card--venue li {
  margin-bottom: 0.6rem;
}

/* News Timeline */
.news-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  padding-left: 2.5rem;
}

.news-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-primary), rgba(177, 17, 22, 0.2));
  border-radius: 2px;
}

.news-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.news-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.news-card::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 2rem;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border: 3px solid var(--color-surface);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.news-card__date {
  background: var(--color-primary-light);
  padding: clamp(1.8rem, 4vw, 2.4rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 140px;
}

.news-card__date time {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.4;
}

.news-card__content {
  padding: clamp(1.8rem, 4vw, 2.4rem);
  padding-left: 0;
  display: grid;
  gap: 0.8rem;
}

.news-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.4rem 1rem;
  background: rgba(177, 17, 22, 0.1);
  border-radius: 12px;
  width: fit-content;
}

.news-card__content h3 {
  margin: 0;
  color: var(--color-text);
}

.news-card__content p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.schedule {
  background: var(--color-surface);
  border-radius: 26px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 5vw, 2.6rem);
}

.schedule__tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}

.schedule__tab {
  padding: 1.1rem 2.2rem;
  border-radius: 999px;
  border: 2px solid rgba(177, 17, 22, 0.3);
  background: rgba(177, 17, 22, 0.08);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, transform 150ms ease;
}

.schedule__tab.is-active {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.schedule__panels {
  display: grid;
}

.schedule__panel {
  display: none;
}

.schedule__panel.is-active {
  display: block;
}

.schedule__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.schedule__panel li {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 1.1rem 1.4rem;
  border-radius: 18px;
  background: var(--color-surface-alt);
  border: 1px solid rgba(226, 232, 240, 0.7);
}

.schedule__panel span {
  width: 90px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--color-primary-dark);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  padding-top: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary) 100%);
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding-top: 2rem;
  text-align: center;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.5rem;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 5px rgba(177, 17, 22, 0.2);
  z-index: 1;
}

.timeline__item::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 2rem;
  background: var(--color-primary);
}

.timeline__time {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  padding: 0.4rem 0.9rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.timeline__item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.timeline__item p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .timeline {
    grid-template-columns: 1fr;
    padding-left: 2rem;
    padding-top: 0;
  }
  
  .timeline::before {
    left: 0;
    right: auto;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary) 100%);
  }
  
  .timeline__item {
    text-align: left;
    padding-top: 0;
    padding-left: 2rem;
  }
  
  .timeline__item::before {
    left: -2.55rem;
    top: 0.5rem;
    transform: none;
  }
  
  .timeline__item::after {
    left: -2.5rem;
    top: 1.5rem;
    bottom: -2rem;
    height: auto;
    transform: none;
  }
  
  .timeline__item:last-child::after {
    display: none;
  }
}

button {
  font-family: inherit;
}

.btn:focus-visible {
  outline: 3px solid rgba(177, 17, 22, 0.25);
  outline-offset: 3px;
}

.registration-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.registration-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: linear-gradient(120deg, var(--color-primary), #e11d2a);
  color: #fff;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: var(--shadow-md);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary-dark);
  border: 1px solid rgba(177, 17, 22, 0.4);
  box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(177, 17, 22, 0.1);
  color: var(--color-primary);
}

.btn--small {
  padding: 0.65rem 1.3rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.footer {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: center;
  padding: 3rem var(--content-inset);
  background: var(--color-primary-dark);
  color: #fff;
}

.footer__links,
.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer__links a,
.footer__legal a {
  transition: opacity 150ms ease;
}

.footer__links a:hover,
.footer__legal a:hover {
  opacity: 1;
}

/* Sponsors Section */
.sponsors-tier {
  margin-bottom: 4rem;
  padding: 2.5rem 0;
  border-radius: 24px;
  position: relative;
}

.sponsors-tier:last-child {
  margin-bottom: 0;
}

.sponsors-tier__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 1rem;
}

.sponsors-tier__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  border-radius: 3px;
}

/* Ana Sponsor - Red (Primary) */
.sponsors-tier--main {
  background: linear-gradient(135deg, rgba(177, 17, 22, 0.03), rgba(177, 17, 22, 0.08));
  border: 2px solid rgba(177, 17, 22, 0.2);
  margin-bottom: 6rem;
  padding: 3.5rem 2.5rem;
}
.sponsors-tier--main .sponsors-tier__title {
  color: var(--color-primary-dark);
  font-size: 2.2rem;
  text-shadow: 0 2px 4px rgba(177, 17, 22, 0.1);
}
.sponsors-tier--main .sponsors-tier__title::after {
  background: linear-gradient(90deg, var(--color-primary), #e11d2a);
  box-shadow: 0 2px 8px rgba(177, 17, 22, 0.4);
}

/* Platin Sponsor - Platinum/Gray */
.sponsors-tier--platinum {
  background: linear-gradient(135deg, rgba(203, 213, 225, 0.15), rgba(148, 163, 184, 0.15));
  border: 2px solid rgba(148, 163, 184, 0.3);
}
.sponsors-tier--platinum .sponsors-tier__title {
  color: #475569;
  font-size: 1.9rem;
  text-shadow: 0 2px 4px rgba(71, 85, 105, 0.1);
}
.sponsors-tier--platinum .sponsors-tier__title::after {
  background: linear-gradient(90deg, #94a3b8, #cbd5e0);
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.4);
}

/* Altın Sponsor - Gold */
.sponsors-tier--gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(245, 158, 11, 0.12));
  border: 2px solid rgba(245, 158, 11, 0.25);
}
.sponsors-tier--gold .sponsors-tier__title {
  color: #b45309;
  font-size: 1.7rem;
  text-shadow: 0 2px 4px rgba(180, 83, 9, 0.1);
}
.sponsors-tier--gold .sponsors-tier__title::after {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* Gümüş Sponsor - Silver */
.sponsors-tier--silver {
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.2), rgba(203, 213, 225, 0.25));
  border: 2px solid rgba(203, 213, 225, 0.4);
}
.sponsors-tier--silver .sponsors-tier__title {
  color: #64748b;
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(100, 116, 139, 0.08);
}
.sponsors-tier--silver .sponsors-tier__title::after {
  background: linear-gradient(90deg, #cbd5e0, #e2e8f0);
  box-shadow: 0 2px 8px rgba(203, 213, 225, 0.3);
}

.sponsors-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  justify-items: center;
}

.sponsor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
  transition: transform 250ms ease, filter 250ms ease;
  padding: 1rem;
  border-radius: 16px;
}

.sponsor-item:hover {
  transform: translateY(-8px);
}

.sponsor-item img {
  object-fit: contain;
  transition: filter 200ms ease, box-shadow 200ms ease;
  border-radius: 12px;
}

.sponsor-item p {
  font-weight: 600;
  margin: 0;
}

/* Ana Sponsor - Largest */
.sponsors-grid--main {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 0 auto;
}
.sponsors-grid--main .sponsor-item {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(177, 17, 22, 0.15);
}
.sponsors-grid--main .sponsor-item:hover {
  box-shadow: 0 12px 32px rgba(177, 17, 22, 0.25);
}
.sponsors-grid--main .sponsor-item img {
  width: 260px;
  height: 175px;
}
.sponsors-grid--main .sponsor-item p {
  font-size: 1.15rem;
  color: var(--color-text);
}

/* Platin Sponsor */
.sponsors-grid--platinum {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.sponsors-grid--platinum .sponsor-item {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 20px rgba(148, 163, 184, 0.2);
}
.sponsors-grid--platinum .sponsor-item:hover {
  box-shadow: 0 10px 28px rgba(148, 163, 184, 0.3);
}
.sponsors-grid--platinum .sponsor-item img {
  width: 210px;
  height: 140px;
}
.sponsors-grid--platinum .sponsor-item p {
  font-size: 1.05rem;
  color: #475569;
}

/* Altın Sponsor */
.sponsors-grid--gold {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.sponsors-grid--gold .sponsor-item {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}
.sponsors-grid--gold .sponsor-item:hover {
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}
.sponsors-grid--gold .sponsor-item img {
  width: 170px;
  height: 115px;
}
.sponsors-grid--gold .sponsor-item p {
  font-size: 0.95rem;
  color: #b45309;
}

/* Gümüş Sponsor - Smallest with subtle grayscale */
.sponsors-grid--silver {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.sponsors-grid--silver .sponsor-item {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 3px 12px rgba(203, 213, 225, 0.2);
}
.sponsors-grid--silver .sponsor-item:hover {
  box-shadow: 0 6px 20px rgba(203, 213, 225, 0.3);
}
.sponsors-grid--silver .sponsor-item img {
  width: 140px;
  height: 95px;
  filter: grayscale(30%) opacity(0.9);
}
.sponsors-grid--silver .sponsor-item:hover img {
  filter: grayscale(0%) opacity(1);
}
.sponsors-grid--silver .sponsor-item p {
  font-size: 0.85rem;
  color: #64748b;
}

.supporters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.supporter-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.supporter-item h3 {
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.supporter-item p {
  color: var(--color-muted);
  margin: 0;
}

/* Clickable News Cards */
.news-card--clickable {
  cursor: pointer;
}

.news-card--clickable:hover {
  transform: translateX(8px);
}

.news-card__read-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: transform 150ms ease;
}

.news-card--clickable:hover .news-card__read-more {
  transform: translateX(4px);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}

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

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal__container {
  position: relative;
  background: var(--color-surface);
  border-radius: 24px;
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 250ms ease;
  z-index: 1;
}

.modal.is-open .modal__container {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(177, 17, 22, 0.1);
  color: var(--color-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
  z-index: 2;
}

.modal__close:hover,
.modal__close:focus-visible {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(90deg);
}

.modal__header {
  padding: clamp(2rem, 5vw, 3rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.modal__tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.4rem 1rem;
  background: rgba(177, 17, 22, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.modal__header h2 {
  margin: 0 0 0.75rem 0;
  color: var(--color-text);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.modal__header time {
  font-size: 0.9rem;
  color: var(--color-muted);
  font-weight: 600;
}

.modal__content {
  padding: clamp(2rem, 5vw, 3rem);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.modal__content h3 {
  color: var(--color-text);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.modal__content p {
  margin-bottom: 1.5rem;
}

.modal__content ul,
.modal__content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.modal__content li {
  margin-bottom: 0.75rem;
}

.modal__content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.modal__content img,
.modal__content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
}

/* Gallery in modal - full width images */
.modal__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.modal__gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  margin: 0;
  border: 3px solid transparent;
}

.modal__gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

/* Lightbox for full-page images */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

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

.lightbox__image {
  max-width: 100%;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox__controls {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
  z-index: 10001;
}

.lightbox__download,
.lightbox__close {
  padding: 1rem 2rem;
  border-radius: 8px;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox__download:hover,
.lightbox__download:focus-visible,
.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.lightbox__download svg {
  width: 20px;
  height: 20px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox__nav--prev {
  left: 2rem;
}

.lightbox__nav--next {
  right: 2rem;
}

.lightbox__counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  border: 2px solid #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .nav {
    padding: 1rem clamp(1.25rem, 4vw, 3rem);
  }

  .logo__text span {
    white-space: normal;
  }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: clamp(1rem, 6vw, 3rem);
    right: clamp(1rem, 6vw, 3rem);
    bottom: auto;
    background: var(--color-surface);
    border-radius: 22px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 1.6rem;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 1rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-dropdown,
  .nav-dropdown__toggle,
  .nav-dropdown__menu {
    width: 100%;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown__toggle {
    text-align: left;
  }

  .nav-dropdown__menu {
    position: static;
    margin-top: 0.5rem;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: rgba(177, 17, 22, 0.04);
  }
}

@media (max-width: 680px) {
  .hero__content {
    margin-top: clamp(2.5rem, 7vw, 4rem);
  }

  .hero-title {
    padding-left: 0.9rem;
  }

  .hero-title__logo {
    width: clamp(70px, 18vw, 88px);
    height: clamp(70px, 18vw, 88px);
  }

  .hero-title h1,
  .hero-title h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-title h1 span:first-child,
  .hero-title h2 span:first-child {
    font-size: clamp(1.1rem, 5vw, 1.55rem);
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .news-timeline {
    padding-left: 1.5rem;
  }
  
  .news-card {
    grid-template-columns: 1fr;
  }
  
  .news-card__date {
    min-width: auto;
    padding: 1.2rem;
  }
  
  .news-card__content {
    padding: 1.2rem;
  }
  
  .modal__container {
    width: 95%;
    max-height: 90vh;
    border-radius: 16px;
  }
  
  .modal__header,
  .modal__content {
    padding: 1.5rem;
  }
  
  .modal__close {
    top: 1rem;
    right: 1rem;
  }
  
  .lightbox__controls {
    top: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .lightbox__download,
  .lightbox__close {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .lightbox__download svg {
    width: 16px;
    height: 16px;
  }
  
  .lightbox__nav {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .lightbox__nav--prev {
    left: 0.5rem;
  }
  
  .lightbox__nav--next {
    right: 0.5rem;
  }
  
  .lightbox__counter {
    bottom: 1rem;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
  }
  
  /* Increase scroll offset for mobile */
  body {
    scroll-padding-top: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
