:root {
  --bg-page: #faf9f6;
  --bg-elevated: #ffffff;
  --header-white: #ffffff;
  --ink: #14120f;
  --ink-soft: #4a4742;
  --muted: #6e6a63;
  --line: rgba(20, 18, 15, 0.08);
  --line-strong: rgba(20, 18, 15, 0.12);
  --accent: #9a7b52;
  --shadow: 0 4px 24px rgba(20, 18, 15, 0.06), 0 24px 48px rgba(20, 18, 15, 0.04);
  --radius: 16px;
  --max: 1080px;
  --hero-slide-a: url("../images/hero-IMG_4535-scaled.jpg");
  --hero-slide-b: url("../images/hero-resim-scaled.jpeg");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg-page);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--bg-elevated);
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* —— Üst çubuk: düz beyaz —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  height: clamp(28px, 4vw, 34px);
  width: auto;
  display: block;
}

/* Premium nav: kapsül, ayırıcı çizgiler */
.site-nav-wrap { flex: 1; display: flex; justify-content: flex-end; }

.nav-premium {
  list-style: none;
  margin: 0;
  padding: 5px 6px;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  background: linear-gradient(180deg, #f7f6f3 0%, #f0eeea 100%);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-premium__link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-premium__link:hover,
.nav-premium__link:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  outline: none;
}

.nav-premium__link.is-active {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(20, 18, 15, 0.08);
}

.nav-premium__sep {
  width: 1px;
  align-self: stretch;
  min-height: 28px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
  margin: 6px 0;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-white);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
    box-shadow: var(--shadow);
    flex: none;
    justify-content: stretch;
  }
  .site-nav-wrap.is-open { display: block; }
  .nav-premium {
    flex-direction: column;
    border-radius: 16px;
    align-items: stretch;
    justify-content: flex-start;
  }
  .nav-premium__sep {
    width: 100%;
    height: 1px;
    min-height: 0;
    margin: 0;
    background: var(--line);
  }
  .nav-premium__link {
    justify-content: center;
    padding: 0.75rem 1rem;
  }
}

main { overflow-x: clip; }

/* Bölümler: boşluk + üst çizgi */
.section-panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.75rem) 1.5rem clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-strong);
}


.section-head {
  margin-bottom: 1.75rem;
}
.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-page);
}
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide:nth-child(1) { background-image: var(--hero-slide-a); }
.hero__slide:nth-child(2) { background-image: var(--hero-slide-b); }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(250, 249, 246, 0.94) 0%, rgba(250, 249, 246, 0.72) 38%, rgba(250, 249, 246, 0.2) 62%, rgba(250, 249, 246, 0.35) 100%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero__overlay {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.93) 0%, rgba(250, 249, 246, 0.55) 45%, rgba(250, 249, 246, 0.25) 100%);
  }
}

.hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 7rem) 1.5rem clamp(3rem, 8vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.hero-badge {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  font-weight: 600;
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 6.5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: 14ch;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 32em;
  margin: 0 0 1.75rem;
  font-weight: 400;
}
.hero-cta {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.88rem 1.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg-elevated);
  border: 2px solid var(--ink);
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  background: #2a2620;
  border-color: #2a2620;
  outline: none;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.hero__dots {
  position: absolute;
  z-index: 4;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(20, 18, 15, 0.2);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.hero__dot[aria-current="true"] {
  background: var(--accent);
  transform: scale(1.15);
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.card p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}
.card p:last-child { margin-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.info-list li:last-child { border-bottom: 0; }
.info-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.info-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.info-list a:hover { text-decoration: underline; }

.contact-addr-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-social-inline {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.contact-social-inline a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #fcfbfa;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.contact-social-inline a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: #fff;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.req { color: var(--accent); }
input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fcfbfa;
  color: var(--ink);
  font: inherit;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: transparent;
  background: var(--bg-elevated);
}
textarea { min-height: 140px; resize: vertical; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
button[type="submit"] {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 1rem 0 0;
}
.form-hint { font-size: 0.8rem; color: var(--muted); margin: -0.5rem 0 0.75rem; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.checkbox-row input {
  width: auto;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
}
.checkbox-row label {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink-soft);
}

.franchise-lead {
  max-width: 52em;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
}

.franchise-privacy-note {
  max-width: 52em;
  margin: 0 0 1.5rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
}

.franchise-card {
  position: relative;
}

/* Honeypot — yalnızca botlar görür / doldurur */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.franchise-form-error {
  color: #b42318;
  font-weight: 500;
}

/* İletişim formu: başarıda panel geçişi (inline !important ile birlikte çalışır) */
#contactFormPanel.contact-form-ui-hidden {
  display: none !important;
}

#contactSuccessPanel.contact-form-ui-visible {
  display: block !important;
}

.franchise-success-panel {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.75rem) 1.25rem;
  max-width: 26rem;
  margin: 0 auto;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(45, 106, 79, 0.07) 0%, rgba(250, 249, 246, 0.5) 55%);
}

.franchise-success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #2d6a4f;
}

.franchise-success-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.franchise-success-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.franchise-success-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
}

.franchise-success-hint {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.franchise-success-again {
  margin-top: 0.25rem;
}

.site-footer {
  border-top: 1px solid var(--line-strong);
  margin-top: 0;
  padding: 0;
  background: var(--bg-elevated);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-top {
  padding-bottom: 1.75rem;
}

.footer-addr-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: nowrap;
}

.footer-brand-row .footer-co {
  margin: 0;
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 0.5rem;
}

.footer-brand-row .footer-social {
  flex-shrink: 0;
}

.footer-addr {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #faf9f6;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.footer-social__link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-co {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--ink);
}

.footer-bar {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: 0.25rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
