/* ============================================
   RotaFest Turkiye
   Festival rehber sitesi
   Palette: lacivert/grafit + amber + turkuaz
   ============================================ */

:root {
  --color-lacivert: #0c1525;
  --color-lacivert-light: #15213a;
  --color-grafit: #23272f;
  --color-grafit-light: #353940;
  --color-grafit-muted: #4a4e5a;
  --color-amber: #d4982a;
  --color-amber-light: #e8b04a;
  --color-amber-dark: #b07c18;
  --color-amber-glow: rgba(212, 152, 42, 0.12);
  --color-turkuaz: #2a8f98;
  --color-turkuaz-light: #36adb8;
  --color-turkuaz-dark: #1c6e76;
  --color-white: #ffffff;
  --color-off-white: #f4f2ee;
  --color-cream: #eae7e0;
  --color-sand: #f9f7f3;
  --color-border: #d6d1c8;
  --color-border-light: #e8e4dc;
  --color-text: #1e2028;
  --color-text-muted: #5e6270;
  --color-text-light: #8a8d96;
  --color-success: #2e7d4f;
  --color-error: #b83227;
  --color-focus: var(--color-turkuaz);
  --font-heading: "Georgia", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --max-width: 1140px;
  --max-width-narrow: 780px;
  --header-height: 64px;
  --radius: 5px;
  --radius-lg: 10px;
  --shadow-xs: 0 1px 2px rgba(12, 21, 37, 0.06);
  --shadow-sm: 0 2px 6px rgba(12, 21, 37, 0.08);
  --shadow-md: 0 4px 16px rgba(12, 21, 37, 0.10);
  --shadow-lg: 0 8px 30px rgba(12, 21, 37, 0.13);
  --fast: 150ms ease;
  --base: 250ms ease;
  --slow: 400ms ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-off-white);
  line-height: 1.72;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: var(--space-lg); }

a {
  color: var(--color-turkuaz-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--fast);
}
a:hover { color: var(--color-amber-dark); }

/* === FOCUS / ACCESSIBILITY === */
.skip-link {
  position: absolute; top: -100%; left: var(--space-md);
  background: var(--color-lacivert); color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 10000; font-size: 0.875rem; text-decoration: none;
  transition: top var(--fast);
}
.skip-link:focus { top: 0; outline: 3px solid var(--color-amber); outline-offset: 2px; }

:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
button:focus-visible, a:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--color-focus); outline-offset: 2px;
}

/* === LAYOUT === */
.container {
  width: 100%; max-width: var(--max-width);
  margin: 0 auto; padding: 0 var(--space-xl);
}
.container--narrow, .content-narrow { max-width: var(--max-width-narrow); margin-left: auto; margin-right: auto; }
.clearfix::after { content: ""; display: table; clear: both; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.28;
  color: var(--color-lacivert);
  font-weight: 700;
}
h1 { font-size: clamp(1.65rem, 3.5vw, 2.35rem); margin-bottom: var(--space-lg); letter-spacing: -0.015em; }
h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  margin-top: var(--space-2xl); margin-bottom: var(--space-md);
  position: relative; display: inline-block;
  padding-bottom: var(--space-xs);
}
h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 40px; height: 3px; background: var(--color-amber); border-radius: 2px;
}
h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  margin-top: var(--space-xl); margin-bottom: var(--space-sm);
  color: var(--color-grafit);
}
h4 { font-size: 1.05rem; margin-top: var(--space-lg); margin-bottom: var(--space-sm); }
p { margin-bottom: var(--space-md); }
strong { font-weight: 600; }
blockquote {
  border-left: 3px solid var(--color-amber);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  background: var(--color-sand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--color-grafit);
}

/* === HEADER === */
.site-header {
  background: var(--color-lacivert);
  color: var(--color-white);
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height); gap: var(--space-md);
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--color-white); flex-shrink: 0;
}
.site-logo:hover { color: var(--color-amber-light); }
.logo-icon { width: 32px; height: 32px; }
.logo-text { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.01em; }
.logo-text span { color: var(--color-amber); }

/* Nav */
.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex; list-style: none; padding: 0; margin: 0; align-items: center; gap: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a,
.nav-list > li > button {
  display: flex; align-items: center; gap: 4px;
  padding: var(--space-sm) 12px;
  color: rgba(255,255,255,0.78);
  text-decoration: none; font-size: 0.84rem; white-space: nowrap;
  border: none; background: none; cursor: pointer;
  font-family: var(--font-body); transition: color var(--fast);
}
.nav-list > li > a:hover,
.nav-list > li > button:hover { color: var(--color-amber-light); }
.nav-list > li > a[aria-current="page"],
.nav-list > li > button[aria-current="page"] {
  color: var(--color-amber);
}

.nav-dropdown-toggle .nav-arrow {
  display: inline-block; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform var(--fast); margin-top: -3px;
}
.nav-dropdown-toggle[aria-expanded="true"] .nav-arrow {
  transform: rotate(-135deg); margin-top: 2px;
}

.nav-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--color-white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg); min-width: 210px;
  padding: 6px 0; list-style: none; z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--fast), transform var(--fast), visibility var(--fast);
}
.nav-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 8px 20px;
  color: var(--color-text); text-decoration: none; font-size: 0.84rem;
  transition: background var(--fast), color var(--fast);
}
.nav-dropdown a:hover { background: var(--color-sand); color: var(--color-amber-dark); }

/* Mobile toggle */
.mobile-menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-menu-toggle span {
  display: block; width: 100%; height: 2px; background: var(--color-white);
  border-radius: 1px; transition: transform var(--base), opacity var(--base);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* === BREADCRUMBS === */
.breadcrumbs, .breadcrumb {
  padding: var(--space-md) 0; font-size: 0.8rem; color: var(--color-text-muted);
}
.breadcrumbs ol, .breadcrumb-list {
  display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: 4px;
}
.breadcrumbs li::after, .breadcrumb-list li::after {
  content: "/"; margin-left: 4px; color: var(--color-text-light);
}
.breadcrumbs li:last-child::after, .breadcrumb-list li:last-child::after { display: none; }
.breadcrumbs a, .breadcrumb-list a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumbs a:hover, .breadcrumb-list a:hover { color: var(--color-amber-dark); text-decoration: underline; }
.breadcrumbs [aria-current="page"], .breadcrumb-list [aria-current="page"] { color: var(--color-text); font-weight: 500; }

/* === PAGE HERO === */
.page-hero {
  background: linear-gradient(135deg, var(--color-lacivert) 0%, var(--color-lacivert-light) 100%);
  color: var(--color-white);
  padding: var(--space-3xl) 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 85%, rgba(42,143,152,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(212,152,42,0.07) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,152,42,0.3), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--color-white); margin-bottom: var(--space-sm); }
.page-hero h1::after { display: none; }
.page-hero .hero-subtitle, .hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.68);
  max-width: 580px; line-height: 1.65;
}

/* Home hero */
.home-hero { padding: var(--space-4xl) 0 var(--space-3xl); text-align: center; }
.home-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: var(--space-md); }
.home-hero h1::after { display: none; }
.home-hero .hero-subtitle { margin: 0 auto var(--space-xl); max-width: 620px; }

/* Hero / primary button */
.btn, .hero-cta, .home-hero .hero-cta {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  padding: 12px 28px;
  background: var(--color-amber); color: var(--color-lacivert);
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: background var(--fast), transform var(--fast), box-shadow var(--fast);
  box-shadow: 0 2px 8px rgba(212,152,42,0.25);
}
.btn:hover, .hero-cta:hover, .home-hero .hero-cta:hover {
  background: var(--color-amber-light); color: var(--color-lacivert);
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(212,152,42,0.30);
}
.btn-primary { background: var(--color-amber); color: var(--color-lacivert); }

/* === SECTIONS === */
.section, .content-section {
  padding: var(--space-3xl) 0;
}
.section--alt, .content-section--alt {
  background: var(--color-sand);
}
.section-title { text-align: center; margin-bottom: var(--space-2xl); }
.section-title h2 { display: inline-block; }
.section-title h2::after { left: 50%; transform: translateX(-50%); }
.section-title p { color: var(--color-text-muted); max-width: 550px; margin: var(--space-md) auto 0; }

.content-body {
  padding: var(--space-2xl) 0 var(--space-3xl);
}
.content-body > .container > p,
.content-body > .container > ul,
.content-body > .container > ol,
.content-body > .container > blockquote { max-width: 72ch; }
.content-body ul, .content-body ol { margin-bottom: var(--space-md); }
.content-body li { margin-bottom: var(--space-xs); }

.content-block { margin-bottom: var(--space-xl); }
.content-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); margin: var(--space-xl) 0; }

/* === FEATURES GRID (index.html) === */
.features-section .route-deco, .route-deco, .route-line {
  display: block; max-width: 100%; height: auto; opacity: 0.35; margin: 0 auto var(--space-xl);
}
.features-grid, .home-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}
.feature-block, .home-feature {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--base), border-color var(--base);
}
.feature-block:hover, .home-feature:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-amber);
}
.feature-icon, .home-feature-icon {
  width: 44px; height: 44px;
  margin: 0 auto var(--space-md);
  color: var(--color-amber);
}
.feature-block h3, .home-feature h3 {
  font-size: 0.95rem; margin-top: 0; margin-bottom: var(--space-xs); color: var(--color-lacivert);
}
.feature-block h3::after, .home-feature h3::after { display: none; }
.feature-block p, .home-feature p { font-size: 0.84rem; color: var(--color-text-muted); margin-bottom: 0; }

/* === CARDS === */
.card-grid, .region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.card, .bilet-karti {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--base), transform var(--base);
}
.card:hover, .bilet-karti:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Bilet style top accent */
.card--bilet, .bilet-karti {
  border-top: 3px solid var(--color-amber);
  position: relative;
}
.bilet-karti::before, .bilet-karti::after {
  content: ""; position: absolute;
  width: 18px; height: 18px;
  background: var(--color-off-white); border-radius: 50%;
  top: 50%; transform: translateY(-50%);
}
.bilet-karti::before { left: -9px; }
.bilet-karti::after { right: -9px; }

.card-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-lacivert-light), var(--color-grafit));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.card-placeholder svg { width: 44px; height: 44px; opacity: 0.25; }
.card-placeholder::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(to top, rgba(12,21,37,0.25), transparent);
}

.card-body { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-top: 0; font-size: 1.05rem; }
.card-body h3::after { display: none; }
.card-body p { color: var(--color-text-muted); font-size: 0.9rem; flex: 1; }

.card-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.84rem; font-weight: 600;
  color: var(--color-amber-dark); text-decoration: none;
  margin-top: var(--space-sm); transition: gap var(--fast), color var(--fast);
}
.card-link:hover { gap: 8px; color: var(--color-turkuaz-dark); }
.card-link::after { content: "\2192"; }

.card-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--color-turkuaz-dark); background: rgba(42,143,152,0.08);
  padding: 2px 8px; border-radius: 3px; margin-bottom: var(--space-sm);
}

/* === IMAGE PLACEHOLDERS (SVG deco) === */
.img-placeholder {
  background: linear-gradient(135deg, var(--color-lacivert-light), var(--color-grafit));
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); overflow: hidden; position: relative;
  margin: var(--space-lg) 0;
}
.img-placeholder--hero { aspect-ratio: 21/9; }
.img-placeholder--square { aspect-ratio: 1/1; }
.img-placeholder--landscape { aspect-ratio: 16/9; }
.img-placeholder svg { width: 100%; height: auto; opacity: 0.5; display: block; }
.img-placeholder .route-deco {
  position: absolute; inset: 0; opacity: 0.08;
}

/* === CONTENT IMAGES === */
.content-img {
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  height: auto; display: block;
}
.content-img-right {
  float: right; margin: 4px 0 var(--space-lg) var(--space-xl);
  max-width: 360px; width: 38%;
}
.content-img-left {
  float: left; margin: 4px var(--space-xl) var(--space-lg) 0;
  max-width: 360px; width: 38%;
}
.content-img-inline { margin: var(--space-lg) 0; max-width: 500px; width: 100%; }
.content-img-pair {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-md); margin: var(--space-xl) 0;
}
.content-img-pair img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; height: auto; }

/* === FILTERS === */
.filter-bar, .filter-section .container > div {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  padding: var(--space-md) 0; margin-bottom: var(--space-lg);
}
.filter-group, .filter-buttons {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.filter-label {
  font-size: 0.8rem; font-weight: 600; color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: 0.04em; margin-right: var(--space-sm);
}
.filter-btn {
  padding: 6px 16px; border: 1px solid var(--color-border);
  border-radius: 999px; background: var(--color-white);
  color: var(--color-text-muted); font-size: 0.8rem;
  cursor: pointer; transition: all var(--fast); font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--color-amber); color: var(--color-amber-dark); }
.filter-btn.is-active, .filter-btn.active {
  background: var(--color-amber); border-color: var(--color-amber);
  color: var(--color-lacivert); font-weight: 600;
}

/* Region switcher */
.region-switcher {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  justify-content: center; margin: var(--space-xl) 0;
}
.region-btn {
  padding: 8px 20px; border: 2px solid var(--color-border);
  border-radius: var(--radius); background: var(--color-white);
  color: var(--color-text); font-size: 0.84rem;
  cursor: pointer; transition: all var(--fast);
  font-family: var(--font-body); font-weight: 500;
}
.region-btn:hover { border-color: var(--color-turkuaz); color: var(--color-turkuaz-dark); }
.region-btn.is-active, .region-btn.active {
  background: var(--color-turkuaz); border-color: var(--color-turkuaz); color: var(--color-white);
}

/* === FAQ ACCORDION === */
.faq-list { max-width: var(--max-width-narrow); margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius); margin-bottom: var(--space-sm);
  background: var(--color-white); overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-md) var(--space-lg);
  border: none; background: none; font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; color: var(--color-text);
  cursor: pointer; text-align: left; gap: var(--space-md);
  transition: background var(--fast);
}
.faq-question:hover { background: var(--color-sand); }
.faq-icon {
  flex-shrink: 0; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--base);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 280ms ease, padding 280ms ease;
  color: var(--color-text-muted); line-height: 1.7;
  padding: 0 var(--space-lg);
}
.faq-answer.is-open { max-height: 600px; padding-bottom: var(--space-lg); }

/* === RELATED CONTENT === */
section.related-content {
  padding: var(--space-3xl) 0;
  margin-top: 0;
  border-top: none;
}
.related-content {
  margin-top: var(--space-3xl); padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}
.related-content h2 { font-size: 1.15rem; margin-top: 0; }
.related-content h2::after { display: none; }
.related-links, .related-list, .related-content ul {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-sm); list-style: none; padding: 0; margin-top: var(--space-lg);
}
.related-links a, .related-links li a,
.related-list a, .related-list li a,
.related-content ul li a {
  display: block;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius); text-decoration: none;
  color: var(--color-text); font-weight: 500; font-size: 0.9rem;
  transition: all var(--fast); border-left: 3px solid transparent;
}
.related-links a:hover, .related-list a:hover, .related-content ul li a:hover {
  border-left-color: var(--color-amber);
  box-shadow: var(--shadow-xs); color: var(--color-amber-dark);
}

/* === CONTACT === */
.contact-section {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl); align-items: start;
}
.contact-info-block, .contact-info {
  background: var(--color-lacivert); color: var(--color-white);
  padding: var(--space-2xl); border-radius: var(--radius-lg);
}
.contact-info-block h2, .contact-info h2 {
  color: var(--color-white); margin-top: 0;
}
.contact-info-block h2::after, .contact-info h2::after { display: none; }
.contact-info-block h3, .contact-info h3 {
  color: rgba(255,255,255,0.55); margin-top: 0; margin-bottom: 2px;
  font-size: 0.78rem; font-family: var(--font-body); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.contact-info-block h3::after, .contact-info h3::after { display: none; }

.contact-detail, .contact-info-item {
  display: flex; gap: var(--space-md); margin-bottom: var(--space-xl);
  align-items: flex-start;
}
.contact-detail svg, .contact-icon, .contact-info-item svg {
  flex-shrink: 0; width: 22px; height: 22px; color: var(--color-amber); margin-top: 2px;
}
.contact-info-item > div { flex: 1; }
.contact-info-item p {
  color: rgba(255,255,255,0.90); font-size: 0.92rem; margin-bottom: 0; line-height: 1.5;
}
.contact-info a {
  color: var(--color-amber-light); text-decoration: none;
  transition: color var(--fast);
}
.contact-info a:hover { color: var(--color-white); text-decoration: underline; }
.contact-detail-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 2px; }
.contact-detail-value { font-size: 0.9rem; }

/* Form */
.contact-form-wrapper { background: var(--color-white); padding: var(--space-2xl); border-radius: var(--radius-lg); border: 1px solid var(--color-border-light); }
.form-group { margin-bottom: var(--space-lg); }
.form-label {
  display: block; font-size: 0.84rem; font-weight: 600;
  margin-bottom: var(--space-xs); color: var(--color-text);
}
.form-label .required { color: var(--color-error); margin-left: 2px; }
.form-input, .form-textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.9rem;
  color: var(--color-text); background: var(--color-white);
  transition: border-color var(--fast), box-shadow var(--fast);
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--color-turkuaz);
  box-shadow: 0 0 0 3px rgba(42,143,152,0.12); outline: none;
}
.form-input.is-error, .form-textarea.is-error { border-color: var(--color-error); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-error { font-size: 0.8rem; color: var(--color-error); margin-top: var(--space-xs); display: none; }
.form-error.is-visible { display: block; }
.form-checkbox { display: flex; gap: var(--space-sm); align-items: flex-start; }
.form-checkbox input[type="checkbox"] {
  margin-top: 4px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--color-turkuaz);
}
.form-checkbox label { font-size: 0.84rem; color: var(--color-text-muted); line-height: 1.5; cursor: pointer; }
.form-submit {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  padding: 12px 32px; background: var(--color-amber); color: var(--color-lacivert);
  border: none; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: background var(--fast), transform var(--fast);
}
.form-submit:hover { background: var(--color-amber-light); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.form-result {
  margin-top: var(--space-lg); padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius); font-size: 0.9rem; display: none;
}
.form-result.is-visible { display: block; }
.form-result--success { background: rgba(46,125,79,0.08); color: var(--color-success); border: 1px solid rgba(46,125,79,0.15); }
.form-result--error { background: rgba(184,50,39,0.08); color: var(--color-error); border: 1px solid rgba(184,50,39,0.15); }
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* === FOOTER === */
.site-footer {
  background: var(--color-lacivert);
  color: rgba(255,255,255,0.65);
  padding: var(--space-3xl) 0 var(--space-lg);
  margin-top: auto;
  border-top: 3px solid var(--color-amber);
}
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: var(--space-2xl); margin-bottom: var(--space-2xl);
}
.footer-about .footer-logo {
  font-family: var(--font-heading); font-size: 1.05rem;
  font-weight: 700; color: var(--color-white); margin-bottom: var(--space-md);
}
.footer-about .footer-logo span { color: var(--color-amber); }
.footer-about p { font-size: 0.84rem; line-height: 1.6; }
.footer-col h4 { color: var(--color-white); font-size: 0.9rem; margin-bottom: var(--space-md); margin-top: 0; }
.footer-col h4::after { display: none; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: var(--space-sm); }
.footer-col a {
  color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.84rem;
  transition: color var(--fast);
}
.footer-col a:hover { color: var(--color-amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-lg);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-md); font-size: 0.78rem;
}
.footer-bottom-links { display: flex; gap: var(--space-lg); }
.footer-bottom-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.78rem; }
.footer-bottom-links a:hover { color: var(--color-amber); }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--color-white);
  box-shadow: 0 -2px 20px rgba(12,21,37,0.12);
  z-index: 9999; padding: var(--space-lg);
  transform: translateY(100%); transition: transform var(--slow);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; gap: var(--space-xl); flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 240px; font-size: 0.84rem; color: var(--color-text-muted); line-height: 1.5; }
.cookie-banner-text a { color: var(--color-turkuaz-dark); }
.cookie-banner-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.cookie-btn {
  padding: 8px 20px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.84rem; font-weight: 600;
  cursor: pointer; transition: all var(--fast); border: 2px solid;
}
.cookie-btn--accept { background: var(--color-amber); border-color: var(--color-amber); color: var(--color-lacivert); }
.cookie-btn--accept:hover { background: var(--color-amber-light); border-color: var(--color-amber-light); }
.cookie-btn--reject { background: var(--color-grafit); border-color: var(--color-grafit); color: var(--color-white); }
.cookie-btn--reject:hover { background: var(--color-grafit-light); border-color: var(--color-grafit-light); }
.cookie-btn--settings { background: transparent; border-color: var(--color-border); color: var(--color-text); }
.cookie-btn--settings:hover { border-color: var(--color-text-muted); }

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed; inset: 0; background: rgba(12,21,37,0.55);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity var(--base), visibility var(--base);
}
.cookie-modal-overlay.is-visible { opacity: 1; visibility: visible; }
.cookie-modal {
  background: var(--color-white); border-radius: var(--radius-lg);
  max-width: 500px; width: 90%; max-height: 85vh;
  overflow-y: auto; padding: var(--space-2xl); box-shadow: var(--shadow-lg);
}
.cookie-modal h3 { margin-top: 0; margin-bottom: var(--space-lg); color: var(--color-lacivert); }
.cookie-modal h3::after { display: none; }
.cookie-category { padding: var(--space-md) 0; border-bottom: 1px solid var(--color-border-light); }
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category-header { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); }
.cookie-category-name { font-weight: 600; font-size: 0.9rem; }
.cookie-category-desc { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 2px; line-height: 1.5; }
.cookie-toggle { position: relative; width: 42px; height: 22px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle-slider {
  position: absolute; inset: 0; background: var(--color-border);
  border-radius: 11px; cursor: pointer; transition: background var(--fast);
}
.cookie-toggle-slider::before {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: var(--color-white); left: 3px; top: 3px;
  transition: transform var(--fast); box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--color-turkuaz); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.55; cursor: not-allowed; }
.cookie-modal-actions { display: flex; gap: var(--space-sm); margin-top: var(--space-xl); justify-content: flex-end; }
.cookie-prefs-trigger {
  display: inline-flex; padding: 8px 20px;
  background: var(--color-turkuaz); color: var(--color-white);
  border: none; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: background var(--fast);
}
.cookie-prefs-trigger:hover { background: var(--color-turkuaz-dark); }

/* === SITEMAP === */
.sitemap-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-2xl);
}
.sitemap-section h3 { margin-top: 0; padding-bottom: var(--space-xs); }
.sitemap-section ul { list-style: none; padding: 0; margin-top: var(--space-md); }
.sitemap-section li { margin-bottom: var(--space-sm); }
.sitemap-section a { font-size: 0.9rem; }

/* === LEGAL === */
.legal-content { max-width: 72ch; }
.legal-content h2 { font-size: 1.15rem; margin-top: var(--space-2xl); }
.legal-content h3 { font-size: 1.02rem; }
.legal-content p, .legal-content ul, .legal-content ol { font-size: 0.9rem; color: var(--color-text-muted); }

/* === INFO BOX === */
.info-box {
  background: var(--color-sand); border-left: 3px solid var(--color-turkuaz);
  padding: var(--space-lg); border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--space-xl) 0;
}
.info-box h4 { margin-top: 0; color: var(--color-turkuaz-dark); }
.info-box h4::after { display: none; }
.info-box p:last-child { margin-bottom: 0; }

/* === DECORATIVE === */
.deco-dots { display: flex; gap: 6px; margin: var(--space-lg) 0; }
.deco-dots span { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--color-amber); opacity: 0.4; }
.deco-line { width: 50px; height: 2px; background: linear-gradient(to right, var(--color-amber), transparent); margin: var(--space-lg) 0; }

/* === UTILITY === */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.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;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease forwards; opacity: 0; }
.animate-in:nth-child(2) { animation-delay: 0.08s; }
.animate-in:nth-child(3) { animation-delay: 0.16s; }
.animate-in:nth-child(4) { animation-delay: 0.24s; }
.animate-in:nth-child(5) { animation-delay: 0.32s; }
.animate-in:nth-child(6) { animation-delay: 0.40s; }

@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;
  }
  .cookie-banner { transition: none; }
  .card:hover, .bilet-karti:hover, .home-hero .hero-cta:hover, .form-submit:hover { transform: none; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .contact-section { grid-template-columns: 1fr; }
  .content-two-col { grid-template-columns: 1fr; }
  .features-grid, .home-features { grid-template-columns: repeat(2, 1fr); }
}

/* Nav collapses to hamburger at 1100px — enough room for all 8 items above that */
@media (max-width: 1100px) {
  .mobile-menu-toggle { display: flex; }
  .main-nav {
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--color-lacivert); padding: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: none; box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-height)); overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a, .nav-list > li > button { padding: var(--space-md); font-size: 0.95rem; }
  .nav-dropdown {
    position: static; box-shadow: none;
    background: rgba(255,255,255,0.04); border-radius: var(--radius);
    opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden;
    transition: max-height 280ms ease;
    margin: 0 var(--space-md);
  }
  .nav-dropdown.is-open { max-height: 400px; }
  .nav-dropdown a { color: rgba(255,255,255,0.65); padding: 8px var(--space-md); }
  .nav-dropdown a:hover { background: rgba(255,255,255,0.04); color: var(--color-amber); }
}

@media (max-width: 768px) {
  :root { --header-height: 56px; }
  .container { padding: 0 var(--space-md); }

  .features-grid, .home-features { grid-template-columns: 1fr 1fr; }
  .card-grid, .region-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: center; }
  .page-hero { padding: var(--space-2xl) 0; }
  .home-hero { padding: var(--space-3xl) 0 var(--space-2xl); }
  .section, .content-section { padding: var(--space-2xl) 0; }

  .content-img-right, .content-img-left {
    float: none; margin: var(--space-md) 0; max-width: 100%; width: 100%;
  }
  .content-img-pair { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .features-grid, .home-features { grid-template-columns: 1fr; }
  .cookie-modal { width: 95%; padding: var(--space-lg); }
  .cookie-modal-actions { flex-direction: column; }
  .cookie-modal-actions .cookie-btn { width: 100%; text-align: center; justify-content: center; }
  .related-links, .related-list { grid-template-columns: 1fr; }
  .footer-bottom-links { flex-direction: column; gap: var(--space-sm); }
}
