/* SCA26 Safranbolu — Single-page, balanced design */

:root {
  --primary: #1a4d4a;
  --primary-light: #2a6b66;
  --accent: #c17f3a;
  --accent-soft: #f3e8da;
  --cream: #faf6f0;
  --white: #fffdf9;
  --text: #2c2c2c;
  --text-muted: #5f5f5f;
  --border: #e8e0d4;
  --shadow: 0 4px 24px rgba(26, 77, 74, 0.08);
  --radius: 12px;
  --wide: 1100px;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; }

.scroll-target {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);
}

/* ── Header ── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.logo small {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav { display: flex; gap: 0.15rem; }

.nav a {
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: var(--cream);
}

.header-right { display: flex; align-items: center; gap: 0.65rem; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.lang-btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
}

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

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 18px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  z-index: 199;
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* ── Hero ── */

.hero {
  margin-top: var(--header-h);
  min-height: 72vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 47, 45, 0.78) 0%, rgba(26, 77, 74, 0.45) 45%, rgba(15, 47, 45, 0.72) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: white;
  max-width: 14ch;
  margin-bottom: 0.75rem;
}

.hero-conf {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 500;
  color: var(--accent-soft);
  margin-bottom: 1rem;
  max-width: 36rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-nav a {
  padding: 0.65rem 1.2rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}

.hero-nav a:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-dots {
  display: flex;
  gap: 0.55rem;
}

.hero-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.hero-dot.is-active {
  background: white;
  transform: scale(1.15);
}

.hero-arrow {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: white;
}

/* ── Layout ── */

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.block {
  padding: 4.5rem 0;
}

.block--cream { background: var(--cream); }
.block--dark {
  background: var(--primary);
  color: rgba(255,255,255,0.9);
}

.block--dark h2, .block--dark h3 { color: white; }

.section-head {
  margin-bottom: 2.5rem;
}

.section-head.center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--text-muted);
  max-width: 36rem;
}

.section-head.center p { margin: 0 auto; }

.block--dark .section-head p { color: rgba(255,255,255,0.75); }

/* ── Intro strip ── */

.intro-strip {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.intro-strip p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 46rem;
  line-height: 1.75;
}

/* ── Two column ── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.split h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.split p { color: var(--text-muted); margin-bottom: 0.85rem; }
.split p:last-child { margin-bottom: 0; }

/* ── Cards grid ── */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.card-img {
  height: 140px;
  object-fit: cover;
  width: 100%;
}

.card-body { padding: 1.15rem; }

.card-body h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Route cards (travel) */

.route-card {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--primary);
}

.route-card.alt { border-top-color: var(--accent); }

.route-card h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.route-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.note-box {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text);
}

/* Steps */

.steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.95rem;
}

.step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.step span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Tags / chips */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.chip {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--text);
}

.block--cream .chip { background: var(--white); }

/* Gastro */

.gastro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gastro-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.gastro-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.gastro-item p {
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0;
}

.gastro-item--photo {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.gastro-item--photo img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.gastro-item--photo p {
  padding: 0.75rem 1rem;
}

/* Guide downloads */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
  color: var(--text);
}

.guide-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--primary);
}

.guide-icon { font-size: 1.5rem; }

.guide-card h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary);
}

.guide-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.guide-note {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

@media (max-width: 600px) {
  .guide-grid { grid-template-columns: 1fr; }
}

/* Hotels */

.hotel-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.25s;
}

.hotel-card:hover { box-shadow: var(--shadow); }

.hotel-card h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.hotel-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  background: var(--primary);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.btn:hover { background: var(--primary-light); color: white; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.sub-block {
  margin-top: 2.5rem;
}

.sub-block h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.sub-block p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Map */

.map-wrap {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Practical cards */

.info-card {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.info-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }

.info-card h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.info-card p + p {
  margin-top: 0.55rem;
}

.info-card a {
  color: var(--primary);
  font-weight: 600;
}

.temp-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0.75rem 0;
}

.temp {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

/* Local transport list */

.icon-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.icon-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border-radius: 8px;
  font-size: 0.92rem;
}

.icon-list .li-icon { font-size: 1.2rem; flex-shrink: 0; }

.visa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Travel tables */

.travel-intro {
  max-width: 720px;
  margin: 0 auto 1rem;
  text-align: center;
  color: var(--text-muted);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--cream);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(26, 77, 74, 0.03); }

.data-table--compact th,
.data-table--compact td { padding: 0.55rem 0.85rem; }

.table-wrap--scroll {
  max-height: 420px;
  overflow-y: auto;
}

.data-table a { color: var(--primary); }

/* Sources */

.sources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.source-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.source-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.source-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.source-links a {
  display: block;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.source-links li:last-child a { border-bottom: none; }

@media (max-width: 768px) {
  .sources-grid { grid-template-columns: 1fr; }
}

/* Footer */

.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.88rem;
}

.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer a:hover { color: white; }
.site-footer p { margin-bottom: 0.35rem; }
.footer-credits { font-size: 0.78rem; opacity: 0.85; margin-top: 0.75rem !important; }

/* ── Responsive ── */

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split img { order: -1; max-height: 260px; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .menu-btn { display: flex; }

  .hero { min-height: 55vh; }
  .hero-inner { padding: 3rem 1.25rem 5rem; }
  .hero-controls { bottom: 1.25rem; }
  .hero-arrow { display: none; }

  .block { padding: 3rem 0; }

  .grid-2, .grid-3, .grid-4, .gastro-grid {
    grid-template-columns: 1fr;
  }

  .hero-nav { flex-direction: column; }
  .hero-nav a { text-align: center; }

  .temp-row { flex-direction: column; gap: 0.5rem; }
}
