/* ============================================================
   BEAUTY IRAQ EXPO 2026 — Baghdad & Erbil
   Design tokens follow the 2025 beautyerbilexpo.com look:
   magenta/purple hero, lavender page background, white cards.
   ============================================================ */

:root {
  --magenta: #93268f;
  --magenta-dark: #6f1c6c;
  --magenta-light: #b13ba9;
  --navy: #1b3d91;
  --navy-dark: #122a68;
  --pink: #f2a7c3;
  --pink-soft: #fdeef5;
  --lavender: #f7f0fb;
  --gold: #c9962c;
  --ink: #111111;
  --body: #555a63;
  --line: #e9dff2;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(111, 28, 108, 0.10);
  --shadow-soft: 0 4px 16px rgba(111, 28, 108, 0.07);
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--lavender);
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--magenta); text-decoration: none; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(111, 28, 108, 0.08);

  /* Site iki fuar arasinda kimlik degistirir: Erbil macenta, Bagdat
     lacivert. data-brand niteligini main.js/initBrandSwap ayarlar;
     nitelik yoksa Erbil kimligi gecerlidir. */
  --brand-accent: var(--magenta);
  --brand-glow: rgba(111, 28, 108, 0.26);
  --brand-line: var(--magenta-light);
}

.site-header[data-brand="baghdad"] {
  --brand-accent: var(--navy);
  --brand-glow: rgba(27, 61, 145, 0.28);
  --brand-line: #4a6fd0;
}

/* Aktif menu ogesi ve alt cizgi de kimlikle birlikte doner */
.site-header .nav-link.active { color: var(--brand-accent); }
.site-header .nav-link::after { background: var(--brand-accent); }
.site-header .lang-btn.active { background: var(--brand-accent); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  padding: 8px 0;
}

/* ---- Marka kilidi: dairesel model fotografi + cicek rozeti ---- */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: 0 1 auto;
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}

.brand-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 52% 20%;
  display: block;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--brand-accent),
              0 4px 12px var(--brand-glow);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1),
              box-shadow .5s ease;
}

.brand-badge {
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--brand-accent);
  box-shadow: 0 2px 7px var(--brand-glow);
  transition: color .5s ease, box-shadow .5s ease;
}

/* Resmi logo isareti (lale + profil), takvim PDF'indeki vektorden alindi.
   Maske olarak kullaniliyor: rengi currentColor'dan, yani --brand-accent
   ile birlikte gelir — Bagdat'ta lacivert, Erbil'de macenta. */
.brand-badge .brand-mark-icon {
  display: block;
  width: 19px;
  height: 19px;
  background: currentColor;
  -webkit-mask: url("/assets/img/logo-mark.svg") center / contain no-repeat;
          mask: url("/assets/img/logo-mark.svg") center / contain no-repeat;
}

.brand:hover .brand-photo { transform: scale(1.06); }

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

/* İki fuar adi ayni hucrede ust uste durur; yalnizca biri gorunur.
   Genislik daima genis olana gore sabittir, bu yuzden gecis sirasinda
   header'da kayma olmaz. */
.brand-titles {
  display: grid;
}

.brand-text .brand-title {
  grid-area: 1 / 1;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--brand-accent);
  line-height: 1.15;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .34s ease, transform .34s cubic-bezier(.2, .7, .2, 1), color .5s ease;
}

.site-header[data-brand="erbil"] .brand-title[data-brand-for="erbil"],
.site-header[data-brand="baghdad"] .brand-title[data-brand-for="baghdad"] {
  opacity: 1;
  transform: none;
}

.brand-text .brand-sub {
  font-size: 8.5px;
  letter-spacing: 0.3px;
  line-height: 1.4;
  color: #9a8fa5;
  text-transform: uppercase;
  max-width: 185px;
  /* Iki satiri asmasin; header yuksekligi sabit kalsin. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 1 auto;
  min-width: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  /* Asil hiza sorunu buydu: baglantilar iki-uc satira kirilip
     birbirinden farkli yukseklige geliyordu. */
  white-space: nowrap;
  padding: 9px 8px;
  color: #4a4a55;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  border-radius: 999px;
  transition: color .2s, background .2s;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.nav-link:hover,
.nav-item.open > .nav-link,
.nav-link.active {
  color: var(--magenta);
  background: var(--pink-soft);
}

.nav-link .caret {
  display: inline-block;
  margin-left: 5px;
  font-size: 10px;
  line-height: 1;
  opacity: .75;
  transition: transform .2s ease;
}

.nav-item.open > .nav-link .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px 0;
  display: none;
}

.nav-item.open .dropdown { display: block; }

/* Buton ile panel arasindaki 8px bosluk hicbir elemana ait olmadigi icin
   imlec oradan gecerken .nav-item'dan cikmis sayiliyor ve menu kapaniyordu.
   Bu gorunmez kopru boslugu dropdown'in kendi alanina dahil eder. */
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.dropdown-label {
  display: block;
  padding: 8px 18px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #9a8fa5;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.dropdown a {
  display: block;
  padding: 9px 18px;
  color: #4a4a55;
  font-size: 14px;
}

.dropdown a:hover { background: var(--pink-soft); color: var(--magenta); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  margin-left: 6px;
  flex: 0 0 auto;
}

.lang-btn {
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #9a8fa5;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.active { background: var(--magenta); color: var(--white); }

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--magenta);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------------- Hero slider ---------------- */

.hero {
  padding: 26px 0 10px;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slide {
  display: none;
  background: linear-gradient(120deg, var(--magenta) 0%, var(--magenta-dark) 100%);
  color: var(--white);
  position: relative;
  min-height: 430px;
}

.slide.active { display: block; }

.slide-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}

.slide-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  padding: 48px 56px;
  min-height: 430px;
}

.slide-kicker {
  font-size: clamp(26px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.15;
}

.slide-title {
  display: inline-block;
  background: var(--white);
  color: var(--magenta);
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 8px;
  margin: 14px 0 18px;
}

.slide-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 500;
  max-width: 480px;
  margin-bottom: 20px;
}

.slide-dates {
  border-top: 2px dashed rgba(255, 255, 255, 0.45);
  padding-top: 16px;
  max-width: 480px;
}

.slide-date-row {
  margin-bottom: 12px;
}

.slide-date-row .d-city {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.85;
}

.slide-date-row .d-date {
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 800;
  letter-spacing: 1px;
}

.slide-date-row .d-venue {
  margin-top: 8px;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.3;
  text-transform: uppercase;
}

.slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle {
  width: min(330px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.85);
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.35), transparent 45%),
    linear-gradient(140deg, #d98cc5 0%, #8e2489 55%, #5d165a 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle svg { width: 62%; opacity: 0.95; }

.hero-roundel {
  position: absolute;
  left: -8%;
  bottom: 2%;
  width: 38%;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--magenta);
  padding: 10px;
}

.hero-roundel svg { width: 44%; }

.hero-roundel .r-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hero-roundel .r-sub {
  font-size: 6.5px;
  color: #9a8fa5;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.slider-nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
}

.slider-dot.active { background: var(--white); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--magenta);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }

/* ---------------- Intro strip ---------------- */

.intro {
  text-align: center;
  padding: 34px 0 8px;
}

.intro h1 {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.intro .intro-desc {
  max-width: 860px;
  margin: 6px auto 14px;
  font-size: 15px;
}

.intro .intro-line {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 2px 0;
}

.intro .intro-line strong { color: var(--magenta); font-weight: 800; }

/* ---------------- Countdown ---------------- */

.countdown-wrap {
  text-align: center;
  padding: 26px 0 8px;
}

.countdown-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9a8fa5;
  margin-bottom: 14px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.count-box {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  min-width: 92px;
  padding: 16px 10px;
}

.count-box .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--magenta);
  line-height: 1.1;
}

.count-box .unit {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9a8fa5;
}

/* ---------------- Sections ---------------- */

.section { padding: 44px 0 10px; }

.section-title {
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 26px;
}

/* CTA cards (visit / stand) */

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.cta-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.cta-media {
  height: 190px;
  background: linear-gradient(135deg, #fbd3e4 0%, #f2a7c3 60%, #d98cc5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-media svg { width: 90px; opacity: 0.9; }

.cta-body { padding: 22px 24px 26px; }

.cta-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.cta-body p { font-size: 14.5px; margin-bottom: 16px; }

.btn {
  display: inline-block;
  background: var(--magenta);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, transform .15s;
}

.btn:hover { background: var(--magenta-dark); transform: translateY(-1px); }

.btn.ghost {
  background: transparent;
  color: var(--magenta);
  border: 2px solid var(--magenta);
}

.btn.ghost:hover { background: var(--pink-soft); }

/* City cards */

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

.city-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--white);
  padding: 34px 30px;
  position: relative;
}

.city-card.baghdad { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }
.city-card.erbil { background: linear-gradient(135deg, #b13ba9 0%, #7a1a78 100%); }

.city-card.baghdad .btn { color: var(--navy); }

.city-card .c-decor {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 150px;
  opacity: 0.22;
}

.city-card .c-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
}

.city-card h3 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 4px 0 12px;
}

.city-card .c-date {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.city-card .c-venue {
  font-size: 12.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 14px;
}

.city-card p { font-size: 14px; opacity: 0.92; margin-bottom: 18px; }

.city-card .btn { background: var(--white); color: var(--magenta); }
.city-card .btn:hover { background: var(--pink-soft); }

/* Sponsors */

.sponsor-band { text-align: center; }

.sponsor-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px 999px 0 0;
}

.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
}

.sponsor-box {
  width: 190px;
  height: 100px;
  background: var(--white);
  border: 1.5px dashed #d8c3e6;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b3a3c2;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 10px;
}

.sponsor-box.solid {
  border-style: solid;
  border-color: var(--line);
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.sponsor-box.gold { border: 2px solid var(--gold); }

.group-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin: 26px 0 14px;
}

/* Feature rows */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 34px 38px;
  margin-bottom: 24px;
}

.feature-row.reverse .feature-media { order: 2; }

.feature-media {
  border-radius: var(--radius-sm);
  min-height: 230px;
  background: linear-gradient(135deg, #fbd3e4 0%, #e9b7dd 55%, #c77cbc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-media svg { width: 110px; opacity: 0.85; }

.feature-body h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 12px;
}

.feature-body p { font-size: 14.5px; }

/* Category cards (participant / visitor profile) */

.page-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  padding: 40px 0 24px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  padding-bottom: 30px;
}

.cat-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat-card svg { width: 42px; height: 42px; color: var(--magenta-light); }

.cat-card .cat-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

/* Forms */

.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 36px 0 50px;
}

.form-side {
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.25), transparent 50%),
    linear-gradient(160deg, #d98cc5 0%, #93268f 60%, #5d165a 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.form-side svg { width: 60%; max-width: 260px; opacity: 0.9; }

.form-main { padding: 40px 44px 44px; }

.form-main h1 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 22px;
  text-align: center;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.field label .req { color: #e0356b; }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--magenta-light); }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-notice {
  font-size: 12.5px;
  color: #9a8fa5;
  margin-top: 14px;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #eef9f0;
  color: #1d7a3a;
  font-size: 13.5px;
  font-weight: 600;
}

.form-status.show { display: block; }

.form-status.error { background: #fdeef0; color: #b3263c; }
.form-status.success { background: #eef9f0; color: #1d7a3a; }

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #e0356b;
  background: #fff7f9;
}

.field.invalid label { color: #b3263c; }

/* Bal kupu: gercek kullanici gormez, botlar doldurur. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.booth-info {
  background: var(--pink-soft);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.booth-info h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--magenta);
  margin-bottom: 4px;
}

.booth-info p { font-size: 13px; }

/* Hero photo circle */

.hero-circle.photo {
  background: none;
  overflow: visible;
}

.hero-circle.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Market section (from official brochure data) */

.market-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 38px 42px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.market-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--magenta-light);
  margin-bottom: 8px;
}

.market-body h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 14px;
}

.market-body p { font-size: 14.5px; margin-bottom: 12px; }

.market-trade {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.market-trade h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.market-trade p { font-size: 14px; color: var(--magenta); font-weight: 600; }

.share-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}

.share-row { margin-bottom: 14px; }

.share-row .s-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}

.share-row .s-head .pct { color: var(--magenta); font-weight: 800; }

.share-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--pink-soft);
  overflow: hidden;
}

.share-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--magenta-light), var(--magenta));
}

/* Brochures & downloads */

.broch-sub {
  text-align: center;
  max-width: 640px;
  margin: -14px auto 26px;
  font-size: 14.5px;
}

.broch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.broch-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}

.broch-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.broch-cover {
  height: 150px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  color: var(--white);
}

.broch-cover.magenta { background: linear-gradient(130deg, var(--magenta-light) 0%, var(--magenta-dark) 100%); }
.broch-cover.navy { background: linear-gradient(130deg, #2a52b8 0%, var(--navy-dark) 100%); }
.broch-cover.mixed { background: linear-gradient(130deg, var(--magenta) 0%, var(--navy) 100%); }

.broch-cover svg { width: 64px; opacity: 0.9; flex: 0 0 auto; }

.broch-cover img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.7);
  flex: 0 0 auto;
}

.broch-cover .b-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 999px;
}

.broch-cover .b-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
}

.broch-cover .b-cover-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  max-width: 200px;
}

.broch-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.broch-body h3 { font-size: 16.5px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }

.broch-body p { font-size: 13.5px; flex: 1; margin-bottom: 16px; }

.broch-actions { display: flex; gap: 10px; }

.broch-actions .btn { padding: 9px 18px; font-size: 13px; }

/* Calendar timeline */

.cal-sub {
  text-align: center;
  max-width: 640px;
  margin: -8px auto 34px;
  font-size: 14.5px;
}

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto 40px;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--navy), var(--magenta));
}

.tl-item {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 22px 26px;
  margin-bottom: 18px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 28px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--magenta);
}

.tl-item.navy::before { border-color: var(--navy); }
.tl-item.dim::before { border-color: #b9a8c9; }

.tl-item .tl-date {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--magenta);
}

.tl-item.navy .tl-date { color: var(--navy); }
.tl-item.dim .tl-date { color: #8d7d9e; }

.tl-item h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 2px 0; }

.tl-item .tl-desc { font-size: 14px; margin-bottom: 4px; }

.tl-item .tl-place { font-size: 13px; font-weight: 600; color: #8d7d9e; }

.tl-item .tl-cta { margin-top: 12px; }

.cal-downloads {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Previous fairs */

.prev-hero {
  background: linear-gradient(120deg, var(--magenta) 0%, var(--magenta-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 44px;
  margin-top: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.prev-hero .c-decor {
  position: absolute;
  right: -30px;
  top: -30px;
  width: 220px;
  opacity: 0.2;
}

.prev-hero .year-badge {
  display: inline-block;
  background: var(--white);
  color: var(--magenta);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.prev-hero h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: 1px;
}

.prev-hero .p-meta {
  font-size: 15px;
  font-weight: 600;
  margin: 8px 0 14px;
  opacity: 0.95;
}

.prev-hero p { max-width: 720px; font-size: 14.5px; opacity: 0.92; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: 22px 12px;
}

.stat-card .s-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--magenta);
  line-height: 1.1;
}

.stat-card .s-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9a8fa5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.gallery-ph {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  border: 1.5px dashed #d8c3e6;
  background: var(--pink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b3a3c2;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 12px;
}

.history-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px 32px;
  margin-bottom: 40px;
}

.history-item {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.history-item:last-child { border-bottom: 0; }

.history-item .h-year {
  font-size: 20px;
  font-weight: 800;
  color: var(--magenta);
  min-width: 64px;
}

.history-item .h-text { font-size: 14.5px; }

/* Venue / maps */

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.venue-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.venue-card iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

.venue-body { padding: 20px 24px 24px; }

.venue-body h3 { font-size: 18px; font-weight: 800; color: var(--ink); }

.venue-body .v-addr { font-size: 14px; margin: 6px 0 14px; }

/* ---------------- Flyer showcase (hero) ---------------- */

.flyer-hero {
  padding: 26px 0 10px;
}

.flyer-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--white);
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  padding: 46px 52px;
  background: linear-gradient(120deg, var(--magenta) 0%, var(--magenta-dark) 100%);
}

.flyer-wrap.navy {
  background: linear-gradient(120deg, #24479f 0%, var(--navy-dark) 100%);
}

/* Hero model gorseli: sag kenardan ice dogru soluklasarak panele karisir.
   luminosity harmani sayesinde Erbil (magenta) ve Bagdat (lacivert)
   temalarinin ikisinde de panelin kendi rengini alir. */
.flyer-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../assets/img/hero-model.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  mix-blend-mode: luminosity;
  opacity: .22;
  -webkit-mask-image: linear-gradient(100deg, transparent 8%, rgba(0, 0, 0, .55) 46%, #000 100%);
          mask-image: linear-gradient(100deg, transparent 8%, rgba(0, 0, 0, .55) 46%, #000 100%);
}

/* Harman modunu desteklemeyen tarayicilarda gorsel fazla one cikmasin. */
@supports not (mix-blend-mode: luminosity) {
  .flyer-wrap::after { opacity: .14; }
}

.flyer-wrap .slide-title { color: var(--magenta); }
.flyer-wrap.navy .slide-title { color: var(--navy); }

.flyer-panel {
  display: flex;
  justify-content: center;
}

.flyer-frame {
  background: var(--white);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  max-width: 100%;
}

.flyer-frame canvas {
  display: block;
  border-radius: 8px;
  max-width: 100%;
  min-height: 200px;
  background: var(--pink-soft);
}

.flyer-frame canvas.failed { display: none; }

.flyer-fallback { display: none; padding: 8px; }

.flyer-frame:has(canvas.failed) .flyer-fallback { display: block; }

.flyer-fallback img {
  border-radius: 8px;
  width: 100%;
  max-width: 340px;
}

/* ---------------- Gallery ---------------- */

.gal-sub {
  text-align: center;
  max-width: 640px;
  margin: -8px auto 30px;
  font-size: 14.5px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.photo-grid a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
  cursor: zoom-in;
  background: var(--pink-soft);
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}

.photo-grid a:hover img { transform: scale(1.05); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(15, 4, 15, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox .lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
}

.lightbox .lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

.lightbox .lb-prev { left: 18px; }
.lightbox .lb-next { right: 18px; }

/* Baghdad teaser banner */

.bgd-banner {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--white);
  background: linear-gradient(120deg, #24479f 0%, var(--navy-dark) 100%);
  padding: 36px 40px;
  position: relative;
}

.bgd-banner .c-decor {
  position: absolute;
  right: -24px;
  top: -24px;
  width: 180px;
  opacity: 0.2;
}

.bgd-banner .b-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
}

.bgd-banner h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: 1px;
  margin: 4px 0 6px;
}

.bgd-banner .b-meta {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  opacity: 0.95;
}

.bgd-banner p { max-width: 720px; font-size: 14.5px; opacity: 0.92; margin-bottom: 18px; }

.bgd-banner .btn { background: var(--white); color: var(--navy); }
.bgd-banner .btn:hover { background: #e8edfb; }

.navy-link.active { color: var(--navy); background: #e8edfb; }

/* ---------------- Footer ---------------- */

.site-footer {
  margin-top: 60px;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
}

.footer-brand {
  text-align: center;
  margin-bottom: 28px;
}

.footer-brand .f-logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #23408e;
}

.footer-brand .f-tag {
  font-size: 10.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9a8fa5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px 20px;
  text-align: center;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-col p, .footer-col a { font-size: 13.5px; color: var(--body); }

.footer-col .f-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #9a8fa5;
  text-transform: uppercase;
  margin-top: 6px;
}

.footer-col .f-label:first-child { margin-top: 0; }

.footer-col .f-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-col a:hover { color: var(--magenta); }

.footer-bottom {
  text-align: center;
  font-size: 12.5px;
  color: #9a8fa5;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 18px;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 920px) {
  .slide-inner { grid-template-columns: 1fr; padding: 36px 28px 56px; }
  .slide-visual { display: none; }
  .flyer-wrap { grid-template-columns: 1fr; padding: 30px 24px; }
  .market-wrap { grid-template-columns: 1fr; padding: 28px 24px; gap: 26px; }
  .feature-row { grid-template-columns: 1fr; padding: 26px 24px; }
  .feature-row.reverse .feature-media { order: 0; }
  .form-layout { grid-template-columns: 1fr; }
  .form-side { min-height: 160px; }
  .form-side svg { max-width: 140px; }
  .form-main { padding: 28px 22px 34px; }
}

@media (max-width: 1279px) {
  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--white);
    box-shadow: -8px 0 30px rgba(111, 28, 108, 0.15);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 2px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }

  .main-nav.open { transform: translateX(0); }

  .nav-link { display: block; width: 100%; text-align: left; }

  .dropdown {
    position: static;
    box-shadow: none;
    min-width: 0;
    padding-left: 10px;
    display: none;
  }

  .dropdown::before { display: none; }

  .nav-item.open .dropdown { display: block; }

  .lang-switch { margin: 14px 0 0; justify-content: center; }

  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .count-box { min-width: 74px; padding: 12px 8px; }
  .count-box .num { font-size: 26px; }
  .slide-inner { padding: 28px 20px 56px; }
  .prev-hero { padding: 28px 22px; }
}

/* ============================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================================ */

@keyframes beeFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

@keyframes beeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes beeZoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes beeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes beeFloatRotate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(8deg); }
}

@keyframes beeGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes beePop {
  0% { transform: scale(1); }
  45% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

@keyframes beeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---- Scroll reveal (classes added by animations.js) ---- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1),
              transform .7s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}

.reveal.in-view { opacity: 1; transform: none; }

.reveal.reveal-zoom { transform: scale(0.94); }
.reveal.reveal-zoom.in-view { transform: none; }

/* ---- Hero entrance (runs on load) ---- */

.flyer-wrap {
  background-size: 200% 200%;
  animation: beeGradient 14s ease infinite;
}

.flyer-hero .flyer-wrap > div:first-child > * {
  opacity: 0;
  animation: beeFadeUp .7s cubic-bezier(.2, .7, .2, 1) forwards;
}

.flyer-hero .flyer-wrap > div:first-child > *:nth-child(1) { animation-delay: .15s; }
.flyer-hero .flyer-wrap > div:first-child > *:nth-child(2) { animation-delay: .27s; }
.flyer-hero .flyer-wrap > div:first-child > *:nth-child(3) { animation-delay: .39s; }
.flyer-hero .flyer-wrap > div:first-child > *:nth-child(4) { animation-delay: .51s; }
.flyer-hero .flyer-wrap > div:first-child > *:nth-child(5) { animation-delay: .63s; }

.flyer-panel {
  opacity: 0;
  animation: beeZoomIn .8s cubic-bezier(.2, .7, .2, 1) .35s forwards;
}

.flyer-frame {
  animation: beeFloat 6s ease-in-out 1.2s infinite;
}

/* Floating petals injected into hero by animations.js */
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.petals .petal {
  position: absolute;
  color: rgba(255, 255, 255, 0.5);
  animation: beeFloatRotate 7s ease-in-out infinite;
}
.flyer-wrap > div, .flyer-wrap > .flyer-panel { position: relative; z-index: 1; }

/* ---- Button shine sweep ---- */

.btn { position: relative; overflow: hidden; }

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}

.btn:hover::after { left: 130%; }

/* ---- Nav underline ---- */

.nav-link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.navy-link::after { background: var(--navy); }

/* ---- Header scroll state ---- */

.site-header {
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 26px rgba(111, 28, 108, 0.16);
}

/* Marka madalyonunun hover efekti .brand-photo uzerinde tanimli
   (bkz. header bolumu); eski cicek-dondurme kurali kaldirildi. */

/* ---- Enhanced hovers ---- */

.cta-card, .broch-card, .venue-card, .city-card, .stat-card, .cat-card {
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s ease;
}

.cta-card:hover, .venue-card:hover, .stat-card:hover, .cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.city-card { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.city-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 18px 44px rgba(111,28,108,.24); }

.cta-media svg, .feature-media svg {
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.cta-card:hover .cta-media svg { transform: scale(1.12) rotate(-4deg); }
.feature-row:hover .feature-media svg { transform: translateY(-6px) scale(1.06); }

.sponsor-box { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sponsor-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--magenta-light); }

.count-box { transition: transform .25s ease, box-shadow .25s ease; }
.count-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.count-box.tick .num { animation: beePop .32s ease; }

.tl-item { transition: transform .28s ease, box-shadow .28s ease; }
.tl-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }

/* Market share bars — animated fill (width restored by animations.js) */
.share-bar i {
  width: 0;
  transition: width 1.3s cubic-bezier(.2, .7, .2, 1);
}

/* ---- Back to top ---- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--magenta);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(111, 28, 108, 0.35);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--magenta-dark); transform: translateY(-3px); }

/* ---- Reduced motion: disable everything ---- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .flyer-hero .flyer-wrap > div:first-child > *,
  .flyer-panel { opacity: 1 !important; }
  .share-bar i { width: var(--target-w, 0) !important; transition: none !important; }
}

/* ---------------- 404 sayfasi ---------------- */

.nf-hero {
  position: relative;
  overflow: hidden;
  margin: 30px 0 10px;
  padding: 54px 48px 48px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--magenta) 0%, var(--magenta-dark) 100%);
  background-size: 200% 200%;
  animation: beeGradient 14s ease infinite;
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.nf-hero .c-decor {
  position: absolute;
  right: -34px;
  top: -34px;
  width: 230px;
  opacity: .18;
}

.nf-hero > *:not(.c-decor) { position: relative; z-index: 1; }

.nf-code {
  font-size: clamp(76px, 15vw, 148px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, .22);
  margin-bottom: -14px;
  user-select: none;
}

.nf-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 10px;
}

.nf-hero h1 {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.nf-hero p {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
}

.nf-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.nf-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.nf-links a {
  display: block;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nf-links a:hover {
  border-color: var(--magenta-light);
  color: var(--magenta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 560px) {
  .nf-hero { padding: 40px 24px 36px; }
}

/* ---------------- Sayfalar arası geçiş ---------------- */

/* Yalnızca opacity kullanıyoruz. Gövdeye transform/filter verilirse
   position:fixed öğeler (yapışkan header, mobil menü paneli, flyer
   popup'ı, lightbox, yukarı-çık düğmesi) viewport yerine gövdeye göre
   konumlanır ve düzen bozulur. Opacity yığın bağlamı yaratır ama
   kapsayıcı blok yaratmaz; bu yüzden güvenlidir. */

@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  /* Taban deger her zaman gorunur. Bilerek fill-mode KULLANMIYORUZ:
     "both"/"backwards" ile animasyon ilerlemezse (arka plan sekmesi,
     bfcache donusu, animasyonlarin devre disi oldugu ortamlar) govde
     opacity:0'da takilip bos sayfa gosteriyordu. Fill-mode olmadan
     basarisizlik hali "gorunur" olur; animasyon calisirsa 0'dan 1'e
     yumusakca gelir. */
  opacity: 1;
  animation: pageIn .4s ease-out;
}

html.page-leaving body {
  animation: none;
  opacity: 0;
  transition: opacity .24s ease-in;
}

/* İnce yükleme çubuğu. html::before olduğu için gövdenin solmasından
   etkilenmez ve geçiş boyunca görünür kalır. */
html.page-leaving::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: linear-gradient(90deg, var(--magenta-light), var(--magenta));
  box-shadow: 0 0 12px rgba(147, 38, 143, 0.55);
  transform-origin: 0 50%;
  animation: pageBar .9s cubic-bezier(.15, .75, .3, 1) both;
}

@keyframes pageBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(.92); }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; opacity: 1; }
  html.page-leaving body { transition: none; opacity: 1; }
  html.page-leaving::before { animation: none; transform: scaleX(.92); }
}

/* ---------------- Footer: fuar alanlari ---------------- */

/* Iki adres arka arkaya yapisik duruyordu ve okunmuyordu. Artik her
   fuar kendi blogunda: ustte fuar adi (kalin, kendi rengiyle), altinda
   adres; bloklar arasinda net bosluk var. Sira orderFairs ile yaklasan
   fuara gore ayarlanir. */
.f-venues {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col .f-venue-name {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .4px;
  line-height: 1.35;
  color: var(--magenta);
}

.footer-col .f-venue[data-fair="baghdad"] .f-venue-name { color: var(--navy); }

.footer-col .f-venue-addr {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--body);
}

/* ---------------- Bagdat: hibrit katilim ---------------- */

/* Bu fuarin ayirt edici yani, ayni gorusme programina iki ayri yoldan
   katilabilmeniz. Bolum de bunu anlatiyor: iki yol, ortada onlari
   birlestiren tek bir cizgi. */
.hybrid {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 44px 46px 40px;
  background: linear-gradient(150deg, #f4f7ff 0%, var(--white) 62%);
  border: 1.5px solid #dce4f7;
}

.hybrid-head {
  max-width: 640px;
  margin-bottom: 30px;
}

.hybrid-head h2 {
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 10px;
}

.hybrid-head p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}

.hybrid-routes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}

.hybrid-route {
  background: var(--white);
  border: 1.5px solid #dce4f7;
  border-radius: 14px;
  padding: 24px 26px 26px;
}

.hybrid-route .r-icon {
  width: 40px;
  height: 40px;
  color: var(--navy);
  margin-bottom: 14px;
}

.hybrid-route h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 7px;
}

.hybrid-route p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
}

/* Iki yolu birlestiren dikey cizgi ve ortasindaki "+" */
.hybrid-join {
  display: grid;
  place-items: center;
  width: 62px;
  position: relative;
}

.hybrid-join::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 1.5px;
  background: linear-gradient(180deg, transparent, #c3d0ee 22%, #c3d0ee 78%, transparent);
}

.hybrid-join span {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(27, 61, 145, 0.3);
}

.hybrid-note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1.5px solid #dce4f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hybrid-note p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  max-width: 520px;
}

@media (max-width: 780px) {
  .hybrid { padding: 32px 24px 30px; }

  .hybrid-routes { grid-template-columns: 1fr; }

  /* Dar ekranda cizgi dikeyden yataya doner */
  .hybrid-join {
    width: auto;
    height: 58px;
  }

  .hybrid-join::before {
    top: auto;
    bottom: auto;
    left: 18px;
    right: 18px;
    width: auto;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #c3d0ee 22%, #c3d0ee 78%, transparent);
  }
}


/* ---------------- Sayfa kimligi: Bagdat ---------------- */

/* Bagdat sayfasi bastan sona lacivert kimlikte olsun. Ana sayfada
   marka kaydirdikca degistigi icin oradaki vurgular sitenin varsayilan
   macentasinda birakildi; renk her kaydirmada oynasaydi rahatsiz ederdi. */
body[data-brand="baghdad"] .count-box .num { color: var(--navy); }

body[data-brand="baghdad"] .to-top {
  background: var(--navy);
  box-shadow: 0 8px 22px rgba(27, 61, 145, 0.34);
}

/* Az hareket tercihinde marka gecisi aninda olsun */
@media (prefers-reduced-motion: reduce) {
  .brand-text .brand-title,
  .brand-photo,
  .brand-badge {
    transition: none;
  }
}


/* ---------------- Fuar alani ("VENUE:") ---------------- */

/* Mekan her yerde ayni kalipla yazilir: once acik bir "VENUE:" etiketi,
   ardindan otel adi kalin ve buyuk. Iki fuarin mekanlari birbirine
   karismasin diye etiketin rengi fuara gore degisir (--v-accent). */
body[data-brand="baghdad"],
.f-venue[data-fair="baghdad"],
.tl-item.navy {
  --v-accent: var(--navy);
}

.v-label {
  display: inline-block;
  margin-right: .25em;
  font-size: .66em;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: .16em;
  color: var(--v-accent, var(--magenta));
}

/* Hero'da panel koyu: etiket beyaz bir hap */
.slide-date-row .d-venue .v-label {
  padding: 3px 8px 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: .62em;
  vertical-align: .2em;
}

/* Tanitim bolumu: tarih satirinin altinda */
.intro-venue {
  margin-top: 8px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

/* Harita karti */
.venue-body .v-fair {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--v-accent, var(--magenta));
}

.venue-body h3.v-venue {
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.3;
}

/* Footer */
.footer-col .f-venue-hotel {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
}

/* ---------------- Takvim: logolu satirlar ---------------- */

.tl-item.has-logo {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  align-items: center;
}

.tl-logo {
  display: grid;
  place-items: center;
  min-height: 96px;
}

.tl-logo img {
  width: 100%;
  max-width: 132px;
  max-height: 112px;
  height: auto;
  object-fit: contain;
}

.tl-item .tl-venue {
  margin-top: 6px;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

@media (max-width: 560px) {
  .tl-item.has-logo {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tl-logo {
    justify-items: start;
    min-height: 0;
  }
  .tl-logo img { max-width: 116px; }
}


/* Uzun fuar adlari (or. "Beauty Baghdad B2B & Event") dengeli iki satira
   kirilsin; "&" satir sonunda yalniz kalmasin. Desteklemeyen tarayicida
   i18n'deki boluk tutmayan bosluklar ayni isi gorur. */
.slide-title,
.intro h1 {
  text-wrap: balance;
}

/* ============================================================
   ARSIV — tamamlanan fuarlar
   Bagdat 2026 sayfasinin rozeti ve notu, takvimdeki gecmis
   etkinlikler, onceki fuarlar sayfasindaki lacivert kart.
   ============================================================ */

/* Bagdat arsiv sayfasinin hero rozeti: "TAMAMLANDI". */
.archive-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.archive-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.85;
}

/* Fuarin tamamlandigini anlatan kisa not. */
.archive-note {
  max-width: 760px;
  margin: 16px auto 0;
  padding: 13px 20px;
  border-radius: 14px;
  background: #f1f4fd;
  border: 1px solid #dbe2f6;
  color: #42527a;
  font-size: 14px;
  line-height: 1.6;
}

/* Takvim: gecmis etkinlikler geri planda dursun. */
.tl-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tl-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #efe9f5;
  color: #7a6b8c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tl-item.navy .tl-badge {
  background: #e7ecfa;
  color: #3e5390;
}

.tl-item.done {
  opacity: 0.74;
  transition: opacity .28s ease, transform .28s ease, box-shadow .28s ease;
}

.tl-item.done:hover { opacity: 1; }

/* Onceki fuarlar sayfasinda Bagdat karti kendi kimligiyle (lacivert). */
.prev-hero.navy {
  background: linear-gradient(120deg, var(--navy) 0%, #12255c 100%);
}

.prev-hero.navy .year-badge { color: var(--navy); }

.prev-hero .p-actions { margin-top: 18px; }
