/* ==========================================================================
   APP.CSS (Single file)
   - Page-specific vars (header/panel/menu)
   - Global color system (mapped)
   - Comfortaa self-hosted
   - Base reset + essentials
   ========================================================================== */

/* --------------------------------------------------------------------------
   1) ROOT VARIABLES (Your page vars + mapped system vars)
   -------------------------------------------------------------------------- */
:root {
  /* --- Your existing page variables (kept) --- */
  --h: 90px; /* header height (top) */
  --h2: 60px; /* header height (scrolled) */

  --bg0: rgba(0, 0, 0, 0); /* overlay-ish */
  --bg1: rgba(0, 0, 0, 0.92); /* header bg */
  --textInv: #f2f2f2;

  --panel-red: #d60f3a;
  --panel-dark: #111;

  --cta: #2ecc71;
  --maxw: 1540px;

  --active: rgba(255, 255, 255, 0.92);
  --active-underline: rgba(255, 255, 255, 0.85);
  --active-mobile: #111;

  /* --- Global system variables (mapped to your values) --- */
  --color-primary: var(--panel-dark);
  --color-accent: var(--panel-red);
  --color-success: var(--cta);

  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f5;
  --color-bg-dark: var(--bg1);

  --color-text: #111111;
  --color-text-muted: #666666;
  --color-text-invert: var(--textInv);

  --color-border: #e5e5e5;

  /* Typography */
  --font-base:
    'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial,
    sans-serif;

  /* Layout */
  --container-width: var(--maxw);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* --------------------------------------------------------------------------
   2) COMFORTAA FONTS (SELF-HOST)
   Path: /xfile/font/comfortaa
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/xfile/font/comfortaa/subset-Comfortaa-Light.woff2') format('woff2');
}

@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/xfile/font/comfortaa/subset-Comfortaa-Regular.woff2')
    format('woff2');
}

@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/xfile/font/comfortaa/subset-Comfortaa-Medium.woff2')
    format('woff2');
}

@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/xfile/font/comfortaa/subset-Comfortaa-SemiBold.woff2')
    format('woff2');
}

@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/xfile/font/comfortaa/subset-Comfortaa-Bold.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   3) RESET / BASE (includes what you already have + essentials)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* from your code */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0; /* from your code */
  font-family: var(--font-base); /* upgraded to Comfortaa stack */
  color: var(--color-text);
  background: var(--color-bg);

  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  font-weight: 600;
  overflow-wrap: break-word;
}
p {
  margin-bottom: 1em;
}

/* Forms */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
textarea {
  resize: vertical;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}
a:hover,
a:focus-visible {
  text-decoration: underline;
}

/* Lists / tables */
ul,
ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Reduced motion */
@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;
  }
}

/* --------------------------------------------------------------------------
   4) MUST-HAVE UTILITIES (minimal but useful)
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

.flex {
  display: flex;
}
.grid {
  display: grid;
}
.inline-flex {
  display: inline-flex;
}
.hidden {
  display: none !important;
}

.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}
.text-muted {
  color: var(--color-text-muted);
}

/* Font weight helpers (match your files) */
.fw-300 {
  font-weight: 300;
}
.fw-400 {
  font-weight: 400;
}
.fw-500 {
  font-weight: 500;
}
.fw-600 {
  font-weight: 600;
}
.fw-700 {
  font-weight: 700;
}

/* Background helpers */
.bg-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-invert);
}
.bg-soft {
  background: var(--color-bg-soft);
}

/* Screen reader helper */
.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;
}

/* UP SCROLL BUTON */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 90px;
  width: 45px;
  height: 45px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.92);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  z-index: 90;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Ring katmanı */
.to-top__svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg); /* 12:00'dan başlasın */
  pointer-events: none;
}

.ring-bg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.1);
  stroke-width: 2;
}

.ring {
  fill: none;
  stroke: rgba(0, 0, 0, 0.85);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 0 9999; /* JS güncelliyor */
  transition: stroke-dasharray 0.12s linear;
}

.to-top__icon {
  position: relative;
  color: #111;
}

/* mobil */
@media (max-width: 576px) {
  .to-top {
    width: 40px;
    height: 40px;
    right: 12px;
    bottom: 90px;
  }
  .to-top__svg {
    width: 38px;
    height: 38px;
  }
}

/* motion reduction */
@media (prefers-reduced-motion: reduce) {
  .ring {
    transition: none;
  }
}

.ring {
  fill: none;
  stroke: rgba(0, 0, 0, 0.85);
  stroke-width: 2;
  stroke-linecap: round;

  /* JS C değerini set ediyor ama temel mantık: */
  stroke-dasharray: 1 9999; /* başlangıçta override edilecek */
  stroke-dashoffset: 0;

  transition: stroke-dashoffset 0.12s linear;
}

body.menu-open .to-top {
  display: none;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.social {
  width: 44px;
  height: 44px;
  background: #000;
  display: grid;
  place-items: center;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.social svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  transition: fill 0.3s ease;
}

/* Hover renkleri */
.social.facebook:hover svg {
  fill: #1877f2;
}
.social.instagram:hover svg {
  fill: #e4405f;
}
.social.x:hover svg {
  fill: #1da1f2;
}
.social.whatsapp:hover svg {
  fill: #25d366;
}
.social.youtube:hover svg {
  fill: #ff0000;
}

/* Mobile CTA alanı */
.mobile-cta {
  background: transparent;
  max-width: 420px;
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Shadow */
.mobile-shd {
  box-shadow: 0 15px 34px rgba(197, 164, 126, 0.5);
}

.mobile-shd:hover {
  box-shadow: none;
}

/* Ortak Button stil */
.mobile-cta .btn {
  font-family: 'Comfortaa', sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: capitalize;
  padding: 10px 18px;
  border-radius: 999px;
  line-height: 1;
  border: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Primary (koyu) */
.mobile-cta .btn-primary {
  background-color: #6f6f6f;
  color: #ffffff;
}

.mobile-cta .btn-primary:hover {
  background-color: #000000;
}

/* Outline / Secondary */
.mobile-cta .btn-outline {
  background-color: #fff;
  color: #000;
}

.mobile-cta .btn-outline:hover {
  background-color: #000;
  color: #fff;
}
/* =====================================================================================
========================================================================================
    START - HEADER (STICKY) + direction hide
========================================================================================
======================================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;

  height: var(--h);
  margin-bottom: calc(var(--h) * -1);
  background: var(--bg0);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* ASIL YUMUSAKLIK BURADA */
  transition:
    height 0.7s ease,
    background 0.7s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease,
    transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.45s ease;

  will-change: transform, opacity;
}

body.is-scrolled .site-header {
  height: var(--h-s);
  margin-bottom: calc(var(--h-s) * -1);
}
.site-header.is-scrolled {
  height: var(--h2);
  background: var(--bg1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}
/* aşağı inerken gizle (yalnızca desktop + mobilde de olur) */
.site-header.is-hidden {
  transform: translateY(-100%);
}

/* Header alanı için boşluk */
.header-spacer {
  height: var(--h);
}
.site-header.is-scrolled + .header-spacer {
  height: var(--h2);
}

.header-inner {
  height: 100%;
  width: calc(100% - 60px);
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

@media (max-width: 994px) {
  .header-inner {
    width: calc(100% - 16px);
  }
}
/* Burger (mobil) */
.burger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger-icon {
  width: 25px;
  height: 20px;
  background-image: url('/xfile/img/icon/menu.png'); /* yolu ihtiyaca göre değiştir */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}
/* =========================
       BRAND (LOGO <-> TEXT) overlay + width lock
    ========================== */
.brand {
  position: relative;
  display: block;
  height: 46px;
  color: var(--textInv);
  text-decoration: none;
  /* width JS ile set edilir */
}
.brand-logo,
.brand-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  white-space: nowrap;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  will-change: opacity, transform;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  opacity: 1;
}
.brand-text {
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1;
  opacity: 0;
}

.site-header.is-scrolled .brand {
  height: 34px;
}
.site-header.is-scrolled .brand-logo {
  height: 34px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  pointer-events: none;
}
.site-header.is-scrolled .brand-text {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* =========================
       TEK MENÜ (UL) + ScrollSpy active
    ========================== */
.menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Desktop görünüm */
.menu.is-desktop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 35px;
}
.menu.is-desktop a {
  color: rgba(0, 0, 0, 1);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: capitalize;
  padding: 10px 0;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
  position: relative;
  outline-offset: 4px;
  font-size: 14px;
}
.menu.is-desktop a.active {
  color: var(--active);
}
.menu.is-desktop a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--active-underline);
  border-radius: 2px;
}

/* =========================
   MENU COLORS (desktop)
   ========================= */

/* Varsayılan (header açıkken) */
.site-header {
  --menu-link: #000; /* normal */
  --menu-hover: #ed1849; /* hover */
  --menu-active: #ed1849; /* active */
  --menu-underline: #ed1849;
}

/* Scroll sonrası (header koyuysa) */
.site-header.is-scrolled {
  --menu-link: #fff;
  --menu-hover: #ed1849;
  --menu-active: #ed1849;
  --menu-underline: #ed1849;
}

/* Link stilleri */
.menu.is-desktop a {
  color: var(--menu-link);
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.menu.is-desktop a:hover {
  color: var(--menu-hover);
  opacity: 1; /* istersen 0.85'i kaldırmış olursun */
}

.menu.is-desktop a.active {
  color: var(--menu-active);
}

.menu.is-desktop a.active::after {
  background: var(--menu-underline);
}

/* Mobilde header içinde UL görünmez */
@media (max-width: 994px) {
  .menu.is-desktop {
    display: none;
  }

  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Mobilde hamburger sağda (order değil) */
  .burger {
    margin-left: auto;
  }
}

/* Desktop'ta burger kapalı + brand solda (fix) */
@media (min-width: 995px) {
  .burger {
    display: none;
  }

  .brand {
    position: static !important;
    transform: none !important;
    margin-right: auto;
  }
  .brand-logo,
  .brand-text {
    left: 0 !important;
    transform: translateY(-50%) !important;
  }
}

/* =========================
       MOBILE MENU – FULL SCREEN WHITE + A11Y
       + stagger anim
    ========================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  display: none;
}
.mobile-menu.is-open {
  pointer-events: auto;
}

@media (max-width: 994px) {
  .mobile-menu {
    display: block;
  }
}

.mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-menu.is-open .mobile-overlay {
  opacity: 1;
}

.mobile-panel {
  position: absolute;
  inset: 0;
  max-width: 500px;
  height: 100vh;
  background: #fff;
  display: block;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
  contain: layout paint; /* CLS/paint izolasyonu */
}
.mobile-menu.is-open .mobile-panel {
  transform: translateX(0);
}

/* Sağ şeritler pseudo */
.mobile-panel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(
    to right,
    var(--panel-red) 0%,
    var(--panel-red) 50%,
    var(--panel-dark) 50%,
    var(--panel-dark) 100%
  );
  pointer-events: none;
}

.mobile-content {
  position: relative;
  min-height: 100vh;
  padding: 24px 22px 28px;
  padding-right: 76px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: auto; /* iOS overscroll için içeride scroll */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; /* destekleyenlerde bounce kontrol */
}

.mobile-top {
  height: 44px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
}
.mobile-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #111;
  touch-action: manipulation;
}

/* Mobil görünüm: aynı UL dikey */
.menu.is-mobile {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 6px;
  flex: 0 0 auto;
}
.menu.is-mobile a {
  color: #111;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  outline-offset: 4px;
}
.menu.is-mobile a.active {
  color: var(--active-mobile);
  font-weight: 800;
}

/* Stagger micro animation (menu open) */
.menu.is-mobile li {
  opacity: 0;
  transform: translateY(8px);
}
.mobile-menu.is-open .menu.is-mobile li {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}
/* Stagger delays */
.mobile-menu.is-open .menu.is-mobile li:nth-child(1) {
  transition-delay: 0.05s;
}
.mobile-menu.is-open .menu.is-mobile li:nth-child(2) {
  transition-delay: 0.1s;
}
.mobile-menu.is-open .menu.is-mobile li:nth-child(3) {
  transition-delay: 0.15s;
}
.mobile-menu.is-open .menu.is-mobile li:nth-child(4) {
  transition-delay: 0.2s;
}
.mobile-menu.is-open .menu.is-mobile li:nth-child(5) {
  transition-delay: 0.25s;
}
.mobile-menu.is-open .menu.is-mobile li:nth-child(6) {
  transition-delay: 0.3s;
}

/* CTA + socials da hafif fade */
.mobile-cta,
.mobile-socials {
  opacity: 0;
  transform: translateY(10px);
}
.mobile-menu.is-open .mobile-cta {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.28s ease 0.34s,
    transform 0.28s ease 0.34s;
}
.mobile-menu.is-open .mobile-socials {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.28s ease 0.4s,
    transform 0.28s ease 0.4s;
}

.mobile-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 auto;
}
.btn {
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  cursor: pointer;
  background: transparent;
  touch-action: manipulation;
}
.btn-primary {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}
.btn-outline {
  border-color: var(--cta);
  color: var(--cta);
  background: transparent;
}

.mobile-socials {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex: 0 0 auto;
}
.social {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .brand-logo,
  .brand-text,
  .mobile-overlay,
  .mobile-panel,
  .menu.is-mobile li,
  .mobile-cta,
  .mobile-socials {
    transition: none !important;
    animation: none !important;
  }
}

/* Demo content */
main {
  width: calc(100% - 60px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 0;
}

h2 {
  margin: 0 0 14px;
}
p {
  margin: 0;
  line-height: 1.6;
}

/* Focus görünür */
:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
}
.menu.is-mobile :focus-visible {
  outline-color: rgba(0, 0, 0, 0.4);
}
/* =====================================================================================
========================================================================================
    END - HEADER (STICKY) + direction hide
========================================================================================
======================================================================================== */

/* =====================================================================================
========================================================================================
    START - HERO
========================================================================================
======================================================================================== */
/* ===============================
   HERO (SEO + SEMANTIC)
================================ */

/* Header sticky ise hero'nun header altına girmesi için */
:root {
  --header-h: var(--h, 100px);
  --header-h-s: var(--h-s, 60px);
}

.hero {
  position: relative;
  background-image: url('/back2.webp');
  background-size: cover;
  background-position: top center;
  overflow: hidden;

  /* hero header altına girsin */
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
}

/* scroll'da header küçülüyorsa */
body.is-scrolled .hero {
  margin-top: calc(var(--header-h-s) * -1);
  padding-top: var(--header-h-s);
}

.hero-wrap {
  max-width: 1540px;
  margin: 0 auto;
  padding: 30px 15px 50px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.hero-inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 100px 15px 120px;
  text-align: center;
  box-sizing: border-box;
}

/* A11Y */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animations (seninkiyle uyumlu) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes buzzOut {
  10%,
  90% {
    transform: translateX(-1px);
  }
  20%,
  80% {
    transform: translateX(2px);
  }
  30%,
  50%,
  70% {
    transform: translateX(-4px);
  }
  40%,
  60% {
    transform: translateX(4px);
  }
}
t {
  outline: 1px solid rgba(255, 0, 0, 0.15);
}
/* =====================================================================================
========================================================================================
    END - HERO
========================================================================================
======================================================================================== */

/* ========== BIZE ULASIN START ========== */
/* Kayma önleyici temel */
.kmc,
.kmc * {
  box-sizing: border-box;
}
.kmc {
  --bg: #fff;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.68);
  --border: rgba(15, 23, 42, 0.12);
  --soft: rgba(15, 23, 42, 0.04);
  --accent: #22c55e;
  --accent2: #16a34a;
  --danger: #ef4444;
  --r: 5px;
  --shadow: 0 18px 40px rgba(2, 6, 23, 0.1);
  color: var(--text);
  padding: clamp(15px, 5vw, 84px) 0;
  background:
    radial-gradient(
      1200px 500px at 15% 0%,
      rgba(34, 197, 94, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 450px at 90% 15%,
      rgba(59, 130, 246, 0.1),
      transparent 55%
    ),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.02), transparent 35%);
}

.kmc__container {
  width: min(1200px, calc(100% - 30px));
  margin: 0 auto;
}
.kmc__top {
  text-align: center;
  margin-bottom: 26px;
}
.kmc__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  backdrop-filter: blur(8px);
}
.kmc__title {
  margin: 14px 0 8px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.kmc__desc {
  margin: 15px auto !important;
  max-width: 68ch;
  color: rgba(15, 23, 42, 0.68) !important;
  line-height: 1.6;
  font-size: 16px !important;
}

.kmc__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (min-width: 980px) {
  .kmc__grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 22px;
  }
}

.kmc__card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  overflow: hidden;
  min-height: 100%;
}

.kmc__card--info {
  padding: 22px;
}
.kmc__cardHeader {
  margin-bottom: 10px;
}
.kmc__tag {
  display: inline-flex;
  font-weight: 900;
  font-size: 15px;
}

.kmc__infoList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.kmc__infoItem {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px;
  border-radius: 2px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--soft);
}
.kmc__infoIcon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: rgba(15, 23, 42, 0.78);
  flex: 0 0 40px;
}
.kmc__infoIcon svg {
  width: 20px;
  height: 20px;
}
.kmc__label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
}
.kmc__value {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
}
.kmc__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.35);
}
.kmc__link:hover {
  border-bottom-style: solid;
}

.kmc__divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.1);
  margin: 18px 0;
}
.kmc__chipsTitle {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.kmc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kmc__chip {
border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.75);
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
  color: #000;
  font-weight: 600;
}
.kmc__chip:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.35);
}
.kmc__chip:active {
  transform: translateY(1px);
}

.kmc__card--form {
  padding: 22px;
}
.kmcForm {
  display: grid;
  gap: 14px;
}
.kmcForm__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .kmcForm__row {
    grid-template-columns: 1fr 1fr;
  }
}

.kmcField {
  display: grid;
  gap: 8px;
}
.kmcField__label {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.kmcField__control {
  width: 100%;
  height: 46px; /* tüm inputlar aynı yükseklikte -> kayma azalır */
  padding: 11px 12px;
  border-radius: 2px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  font-size: 14px;
  line-height: 1.2;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.kmcField__control:focus {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
.kmcField__textarea {
  height: auto;
  min-height: 160px;
  padding-top: 12px;
  resize: vertical;
  line-height: 1.5;
}
.kmcField__hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: -4px;
}
.kmcField__error {
  min-height: 16px;
  font-size: 12px;
  color: var(--danger);
}

.kmcBtn {
  margin-top: -5px;
  cursor: pointer;
  border: 1px solid #00A3E0;
  background-color: #00A3E0;
  color: #fff;
  padding: 10px 10px 7px 10px;
  text-align: center;
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  }
.kmcBtn:hover {
  filter: brightness(1.03);
}
.kmcBtn:active {
  transform: translateY(1px);
}
.kmcBtn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.kmcBtn__spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(5, 46, 22, 0.35);
  border-top-color: rgba(5, 46, 22, 0.95);
  display: none;
  animation: kmcspin 0.7s linear infinite;
}
.kmcBtn.is-loading .kmcBtn__spinner {
  display: inline-block;
}
@keyframes kmcspin {
  to {
    transform: rotate(360deg);
  }
}

.kmcMeta {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.kmcAlert {
  margin-top: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.12);
  color: #14532d;
  font-size: 13px;
  font-weight: 800;
}
.kmcAlert.is-error {
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.1);
  color: #7f1d1d;
}

.kmcHp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}
/* ========== BIZE ULASIN END ========== */

/* ========== FOOTER ========== */

.footer {
  background: #000;
  color: #fff;
  padding: 40px 16px 24px;
  font-family: 'Comfortaa', sans-serif;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* CTA */
.footer-cta {
  text-align: center;
  margin-bottom: 32px;
}

.footer-cta p {
  font-size: 15px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.footer-whatsapp {
  display: inline-block;
  background: #25d366;
  color: #000;
  padding: 12px 22px;
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
}

.footer-whatsapp:hover {
  text-decoration: none;
  color: #fff;
}

/* LINKS */
.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #cfcfcf;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
}

/* İLETİŞİM */
.footer-contact li {
  font-size: 13px;
  color: #cfcfcf;
}
/* SOSYAL */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
}
/* ALT */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  text-align: center;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0px;
}
.footer-legal a {
  font-size: 12px;
  color: #aaa;
  text-decoration: none;
}
.footer-copy {
  font-size: 12px;
  color: #777;
}
@media (max-width: 900px) {
  .footer-legal {
    margin-bottom: 10px;
  }
}
/* DESKTOP */
@media (min-width: 900px) {
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}
.footer-agency {
  margin-top: 10px;
  text-align: center;
}
.footer-agency img {
  height: 26px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.footer-agency img:hover {
  opacity: 1;
}
/* Desktop’ta copyright + logo yan yana */
@media (min-width: 900px) {
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .footer-agency {
    margin-top: 0;
  }
}