/* Geist (SIL Open Font License, see fonts/OFL.txt), self-hosted */
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #F6B21B;          /* amber yellow */
  --yellow-light: #FFD873;
  --orange: #EE7B1A;       /* orange accent */
  --orange-deep: #C4560A; /* orange for text/buttons with white text */
  --dark: #3B2F2A;          /* warm charcoal */
  --dark-deep: #2A211C;
  --bg: #FFF8EC;         /* cream background */
  --bg-alt: #FCEFD6;
  --text: #2A211C;
  --text-muted: #6B5A4E;
  --line: rgba(196, 86, 10, .2);
  --wa: #158F4A;
  --wa-hover: #0F7A3D;

  --font-heading: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-button: 999px;
  --r-box: 14px;
  --callbar-h: 4rem;

  color-scheme: light;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border-radius: var(--r-button);
  border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn .wa-logo { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-1px); }

.btn-call { background: var(--orange-deep); color: #fff; }
.btn-call:hover { background: #A94806; }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-deep); }

.btn-directions { background: transparent; border-color: var(--dark); color: var(--dark); }
.btn-directions:hover { background: rgba(59, 47, 42, .08); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }


/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  min-height: 80svh;
  padding: 3rem 1rem 3.5rem;
  text-align: center;
  background: #FBF8F3; /* warm off-white */
  border-bottom: 1px solid var(--line);
}

.sign {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1;
}
.sign span { display: block; }
.sign-name {
  font-size: clamp(4.5rem, 22vw, 11.5rem);
  font-weight: 800;
  letter-spacing: .04em;
  margin-right: -.04em; /* cancel trailing space after the last letter so the word stays centred */
  color: var(--dark);
}
.sign-sub {
  margin-top: clamp(.6rem, 2vw, 1rem);
  font-size: clamp(1.1rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: .3em;
  text-indent: .3em; /* balances the trailing letter-spacing */
  color: var(--orange-deep);
}

.slogan {
  margin: clamp(2rem, 5vw, 2.75rem) 0 0;
  font: 700 clamp(1.4rem, 5vw, 2rem)/1.25 var(--font-heading);
  color: var(--dark);
}
.intro {
  margin: .75rem auto 0;
  max-width: 40ch;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  width: 100%;
  max-width: 20rem;
  margin-top: 2rem;
}

/* Line-drawn nuts around the hero and features section.
   Phones/tablets: small, tucked into the empty corners. Wide screens: larger, down both sides. */
.hero, .features { isolation: isolate; }
.features { position: relative; }
.decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.nut {
  position: absolute;
  width: var(--w);
  height: auto;
  transform: rotate(var(--r, 0deg));
}

/* Hero, small screens: four corners only */
.hero .n1 { --w: 54px; --r: -24deg; left: 6%;  top: 4%; }
.hero .n4 { --w: 58px; --r: 14deg;  right: 6%; top: 5%; }
.hero .n3 { --w: 60px; --r: 18deg;  left: 8%;  bottom: 4%; }
.hero .n6 { --w: 52px; --r: 36deg;  right: 8%; bottom: 5%; }
.hero .n2, .hero .n5 { display: none; }

/* Features, small screens: either side of the heading */
.features .n1 { --w: 40px; --r: -16deg; left: 4%;  top: 1rem; }
.features .n3 { --w: 38px; --r: 10deg;  right: 4%; top: 1rem; }
.features .n2, .features .n4 { display: none; }

@media (min-width: 1200px) {
  .hero .n1 { --w: 92px;  --r: -24deg; left: 7%;    top: 13%; }
  .hero .n2 { --w: 78px;  --r: -8deg;  left: 2.5%;  top: 46%; display: block; }
  .hero .n3 { --w: 104px; --r: 18deg;  left: 12%;   top: auto; bottom: 14%; }
  .hero .n4 { --w: 100px; --r: 14deg;  right: 7%;   top: 12%; }
  .hero .n5 { --w: 84px;  --r: -28deg; right: 2.5%; top: 46%; display: block; }
  .hero .n6 { --w: 88px;  --r: 36deg;  right: 12%;  top: auto; bottom: 13%; }
}
@media (min-width: 1280px) {
  .features .n1 { --w: 84px; --r: -16deg; left: 2.5%;  top: 24%; }
  .features .n2 { --w: 90px; --r: 22deg;  left: 5%;    bottom: 12%; display: block; }
  .features .n3 { --w: 80px; --r: 10deg;  right: 3%;   top: 22%; }
  .features .n4 { --w: 84px; --r: -32deg; right: 5.5%; bottom: 12%; display: block; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 9vw, 5.5rem); }
.section-title {
  margin: 0;
  text-align: center;
  font: 700 clamp(1.6rem, 5.5vw, 2.4rem)/1.15 var(--font-heading);
  color: var(--dark);
  text-wrap: balance;
}
.section-note {
  margin: .6rem auto 0;
  text-align: center;
  color: var(--text-muted);
}

.districts { background: var(--bg-alt); }

/* Feature cards */
.cards {
  display: grid;
  gap: 1.25rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.25rem 1.5rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-box);
  background: #FFFDF8;
  color: var(--text);
  text-align: center;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  color: var(--orange-deep);
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 {
  margin: 0;
  font: 700 1.2rem/1.3 var(--font-heading);
  color: var(--dark);
}
.card p {
  margin: .6rem 0 0;
  max-width: 30ch;
  font-size: .975rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* District chips */
.district-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  max-width: 52rem;
  margin: 2.25rem auto 0;
  padding: 0;
  list-style: none;
}
.district-chips li {
  padding: .4rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--dark);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.3;
}

/* ---------- 7/24 banner ---------- */
.banner {
  padding-block: clamp(3rem, 8vw, 4.5rem);
  text-align: center;
  color: var(--dark-deep);
  background:
    radial-gradient(ellipse 50% 80% at 10% 0%, rgba(255, 216, 115, .7), transparent 70%),
    linear-gradient(120deg, var(--yellow) 0%, var(--orange) 100%);
}
.banner-eyebrow {
  margin: 0;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.banner h2 {
  margin: .6rem auto 0;
  max-width: 22ch;
  font: 800 clamp(1.8rem, 6.5vw, 3rem)/1.1 var(--font-heading);
  text-wrap: balance;
}
.banner-note { margin: .9rem auto 0; max-width: 46ch; font-size: 1.125rem; font-weight: 500; text-wrap: balance; }
.banner-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 20rem;
  margin: 1.75rem auto 0;
}

/* ---------- Location ---------- */
.location {
  padding-block: clamp(3.5rem, 9vw, 5.5rem) clamp(3rem, 8vw, 5rem);
  scroll-margin-top: 1rem;
}
.location-note {
  margin: .6rem 0 0;
  color: var(--text-muted);
  max-width: 48ch;
}

/* Centred block; the info rows stay left-aligned inside it */
.location-body { max-width: 40rem; margin-inline: auto; text-align: center; }
.location-body .location-note { margin-inline: auto; }
.location-body .info { text-align: left; }

.info { margin: 2rem 0 0; }
.info > div {
  padding-block: .95rem;
  border-top: 1px solid var(--line);
}
.info > div:last-child { border-bottom: 1px solid var(--line); }
.info dt { font-size: .875rem; color: var(--text-muted); }
.info dd {
  margin: .15rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.info dd a {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: .22em;
  text-decoration-thickness: 2px;
  display: inline-block;
  padding-block: .35rem; /* comfortable tap target */
  margin-block: -.35rem;
}
.info dd a:hover { color: var(--orange-deep); }

.map-link {
  display: inline-block;
  padding-block: .7rem; /* comfortable tap target */
  margin-top: .3rem;
  color: var(--orange-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
  text-decoration-skip-ink: none;
}
.map-link:hover { color: #A94806; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  padding-block: 2.5rem;
  color: rgba(255, 255, 255, .72);
  font-size: .9375rem;
}
.site-footer .wrap { display: grid; gap: 1.25rem; }
.footer-name {
  margin: 0;
  font: 800 1.5rem/1 var(--font-heading);
  color: var(--yellow);
}
.footer-note { margin: .5rem 0 0; }
.site-footer address { font-style: normal; }
.site-footer address p { margin: 0; }
.site-footer address a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(246, 178, 27, .5);
  text-underline-offset: .22em;
}
.site-footer address a:hover { text-decoration-color: var(--yellow); }
.copyright { margin: 0; font-size: .875rem; }
.legal-link { margin: 0; font-size: .8125rem; }
.legal-link a,
.copyright a {
  color: rgba(255, 255, 255, .55);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .25);
  text-underline-offset: .22em;
}
.legal-link a:hover,
.copyright a:hover { color: rgba(255, 255, 255, .85); }

/* ---------- KVKK page ---------- */
.legal-page { padding-bottom: 0; }
.legal-header {
  background: #FBF8F3;
  border-bottom: 1px solid var(--line);
  padding-block: 1rem;
}
.legal-home {
  font: 800 1.25rem/1 var(--font-heading);
  color: var(--dark);
  text-decoration: none;
}
.legal { padding-block: clamp(2.5rem, 7vw, 4rem); }
.legal .wrap { max-width: 46rem; }
.legal h1 {
  margin: 0;
  font: 800 clamp(1.8rem, 6vw, 2.6rem)/1.15 var(--font-heading);
  color: var(--dark);
}
.legal-meta { margin: .5rem 0 2rem; font-size: .875rem; color: var(--text-muted); }
.legal h2 {
  margin: 2.25rem 0 .6rem;
  font: 700 1.2rem/1.3 var(--font-heading);
  color: var(--dark);
}
.legal p, .legal li { color: var(--text); }
.legal p { margin: .6rem 0; }
.legal ul { margin: .6rem 0; padding-left: 1.25rem; }
.legal li { margin: .35rem 0; }
.legal-facts { margin: .6rem 0 0; }
.legal-facts > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: .75rem;
  padding-block: .6rem;
  border-top: 1px solid var(--line);
}
.legal-facts > div:last-child { border-bottom: 1px solid var(--line); }
.legal-facts dt { color: var(--text-muted); font-size: .9375rem; }
.legal-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Sticky call bar (mobile) ---------- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  height: calc(var(--callbar-h) + env(safe-area-inset-bottom));
  padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom));
  background: rgba(255, 248, 236, .95);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.callbar.visible {
  transform: none;
  visibility: visible;
  transition: transform .3s ease, visibility 0s;
}
.callbar .btn { height: 100%; min-height: 3rem; padding-inline: .75rem; }

/* ---------- Larger screens ---------- */
@media (min-width: 480px) {
  .info > div {
    display: grid;
    grid-template-columns: 9.5rem 1fr;
    gap: 1rem;
    align-items: baseline;
  }
  .info dd { margin: 0; }
}

@media (min-width: 640px) {
  .hero-actions, .banner-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    width: auto;
  }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .wrap { padding-inline: 2rem; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: end; }
  .site-footer address { text-align: right; }
  .copyright, .legal-link { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .callbar, .callbar.visible { transition: none; }
  .btn:hover { transform: none; }
}
