/* evimkayseri tasarım katmanı: orijinal sayfanın üstüne gelir, yapıyı değiştirmez */
@import url("/assets/fonts/fonts.css");

:root {
  --navy: #0a1a33;
  --navy2: #13305a;
  --ink: #12243f;
  --muted: #5e6d84;
  --off: #f6f5f1;
  --line: #e4e2db;
  --focus: #e9b85c;
  --gold: #e3b25e;
  --gold-hi: #f2cd85;
  --gold-deep: #b9852f;
  --cream: #fbf8f1;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sh-1: 0 1px 2px rgba(10, 26, 51, 0.04), 0 8px 24px -10px rgba(10, 26, 51, 0.12);
  --sh-2: 0 2px 6px rgba(10, 26, 51, 0.05), 0 22px 48px -18px rgba(10, 26, 51, 0.22);
}

html { scroll-padding-top: 90px; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 100% 0%, rgba(227, 178, 94, 0.07), transparent 60%),
    var(--off);
  text-rendering: optimizeLegibility;
}
::selection { background: var(--gold); color: var(--navy); }

/* Üst alan: derin lacivert, yumuşak ışıklar */
.top {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(227, 178, 94, 0.22), transparent 60%),
    radial-gradient(700px 520px at -10% 110%, rgba(64, 104, 170, 0.35), transparent 60%),
    linear-gradient(180deg, #0a1a33 0%, #0d2244 100%);
}
.top .header { position: relative; z-index: 3; }
.top main, .top .hero { position: relative; z-index: 2; }
.brand-logo { border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 6px 18px rgba(0,0,0,.25); }
.header-call {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.header-call:hover { background: rgba(255, 255, 255, 0.14) !important; transform: translateY(-1px); }

.hero .eyebrow { color: var(--gold-hi); letter-spacing: .2em; }
.hero h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 30%, #dfe7f3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { color: #c9d6e8; }

/* Butonlar */
.hero-sale-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, #d69d43) !important;
  color: #1a1408 !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 30px -10px rgba(227, 178, 94, 0.7), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hero-sale-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: evk-sheen 4.8s var(--ease) 1.6s infinite;
}
.hero-sale-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(227, 178, 94, 0.85); }
.hero-sale-secondary {
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,.28) !important;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.hero-sale-secondary:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
@keyframes evk-sheen { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }

/* Hero sahnesi */
.evk-scene {
  position: absolute; z-index: 1; pointer-events: none;
  right: max(-40px, calc((100vw - 1040px) / 2 - 120px));
  bottom: 0; width: min(620px, 62vw); height: auto;
  opacity: .95;
}
.evk-scene .evk-house { pointer-events: auto; cursor: pointer; }
.evk-scene .evk-cloud { animation: evk-drift 38s linear infinite; }
.evk-scene .evk-cloud.c2 { animation-duration: 54s; animation-delay: -20s; }
.evk-scene .evk-sun { animation: evk-glow 6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.evk-scene .evk-win { transition: fill .6s var(--ease), filter .6s var(--ease); }
.evk-scene .evk-win.on { fill: #ffd98a; filter: drop-shadow(0 0 4px rgba(255, 210, 120, .9)); }
.evk-scene .evk-key { opacity: 0; }
.evk-scene .evk-key.pop { animation: evk-pop 1.4s var(--ease) forwards; }
@keyframes evk-drift { from { transform: translateX(-160px); } to { transform: translateX(760px); } }
@keyframes evk-glow { 0%,100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes evk-pop { 0% { opacity: 0; transform: translateY(0) scale(.6); } 25% { opacity: 1; transform: translateY(-14px) scale(1); } 100% { opacity: 0; transform: translateY(-46px) scale(.9); } }
@media (max-width: 760px) {
  .evk-scene { width: 120vw; right: -18vw; opacity: .32; }
}

/* Kartlar ve kabuklar */
.action-shell, .seller-start-card, .callback-area > *, .market-card, .faq-wrap, .gbr, .success, .trust, .social, .info-guide-wrap, .city-living-panel, .shopping-guide-panel {
  border-radius: 24px !important;
}
.action-shell { box-shadow: var(--sh-2) !important; border-color: rgba(10,26,51,.06) !important; }
.intent-card {
  border-radius: 18px !important;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s !important;
}
.intent-card:hover { transform: translateY(-3px) !important; box-shadow: var(--sh-2) !important; border-color: rgba(227,178,94,.55) !important; }
.wa-mark { transition: transform .45s var(--ease); }
.intent-card:hover .wa-mark { transform: rotate(-6deg) scale(1.06); }

a, button, summary { -webkit-tap-highlight-color: transparent; }
details > summary { transition: background .3s var(--ease); }

/* Görünür olunca yumuşak giriş */
.evk-reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.evk-reveal.is-in { opacity: 1; transform: none; }

/* Mobil iletişim çubuğu: cam görünüm */
@media (max-width: 760px) {
  .mobile-contact-bar {
    left: 10px !important; right: 10px !important; bottom: max(10px, env(safe-area-inset-bottom)) !important;
    border-radius: 999px !important; padding: 6px !important;
    background: rgba(10, 26, 51, .88) !important;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -12px rgba(10,26,51,.5) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
  }
  .mobile-contact-bar a { border-radius: 999px !important; }
}

/* Alt bilgi yasal bağlantılar */
.evk-legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; }
.evk-legal-links a { color: #c9d6e8; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(227,178,94,.6); }
.evk-legal-links a:hover { color: #fff; }

/* Çerez penceresi */
.evk-consent {
  position: fixed; z-index: 1000; left: 12px; right: 12px; bottom: 12px;
  max-width: 460px; margin-inline: auto;
  background: #fff; color: var(--ink);
  border-radius: 22px; padding: 18px 18px 16px;
  box-shadow: 0 30px 70px -20px rgba(10,26,51,.45), 0 0 0 1px rgba(10,26,51,.06);
  transform: translateY(24px); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.evk-consent.show { transform: none; opacity: 1; }
@media (min-width: 761px) { .evk-consent { left: auto; right: 24px; bottom: 24px; margin: 0; } }
.evk-consent h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.evk-consent p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.evk-consent p a { color: var(--ink); font-weight: 600; }
.evk-consent .evk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.evk-btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 14px;
  border-radius: 999px; padding: 12px 14px; transition: transform .25s var(--ease), background .25s;
}
.evk-btn:active { transform: scale(.97); }
.evk-btn.primary { background: var(--navy); color: #fff; }
.evk-btn.primary:hover { background: var(--navy2); }
.evk-btn.ghost { background: #f1efe9; color: var(--ink); }
.evk-btn.ghost:hover { background: #e8e5dc; }
.evk-btn.link { background: none; color: var(--muted); padding: 8px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; grid-column: 1 / -1; }
.evk-prefs { margin-top: 12px; display: none; gap: 8px; }
.evk-consent.expanded .evk-prefs { display: grid; }
.evk-pref { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 14px; background: #f7f6f2; }
.evk-pref b { display: block; font-size: 14px; }
.evk-pref small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.evk-switch { position: relative; flex: none; width: 44px; height: 26px; }
.evk-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.evk-switch span { position: absolute; inset: 0; border-radius: 999px; background: #d6d3ca; transition: background .3s var(--ease); }
.evk-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.evk-switch input:checked + span { background: var(--navy); }
.evk-switch input:checked + span::after { transform: translateX(18px); }
.evk-switch input:disabled + span { background: #9aa6b8; }
.evk-switch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Yasal pencere */
.evk-modal { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: end center; }
@media (min-width: 761px) { .evk-modal { place-items: center; } }
.evk-modal-bg { position: absolute; inset: 0; background: rgba(8, 18, 36, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s var(--ease); }
.evk-modal-box {
  position: relative; width: min(720px, 100%); max-height: min(86vh, 900px);
  background: #fff; color: var(--ink); border-radius: 26px 26px 0 0; overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(40px); opacity: 0; transition: transform .55s var(--ease), opacity .45s var(--ease);
}
@media (min-width: 761px) { .evk-modal-box { border-radius: 26px; } }
.evk-modal.show .evk-modal-bg { opacity: 1; }
.evk-modal.show .evk-modal-box { transform: none; opacity: 1; }
.evk-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.evk-modal-head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.015em; }
.evk-x { appearance: none; border: 0; width: 38px; height: 38px; border-radius: 50%; background: #f1efe9; cursor: pointer; font-size: 18px; color: var(--ink); }
.evk-modal-body { overflow: auto; padding: 4px 22px 26px; -webkit-overflow-scrolling: touch; }
.evk-modal-foot { padding: 12px 20px 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 13px; }
.evk-modal-foot a { color: var(--muted); }

/* Yasal metin tipografisi (pencere ve sayfa) */
.legal-body { font-size: 15.5px; line-height: 1.7; color: #334259; }
.legal-body h2 { font-size: 18px; color: var(--ink); margin: 26px 0 8px; letter-spacing: -.01em; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin: 6px 0; }
.legal-body a { color: var(--navy2); font-weight: 600; text-underline-offset: 3px; }
.legal-body .legal-updated { font-size: 13px; color: var(--muted); }
.legal-table { overflow-x: auto; margin: 12px 0; }
.legal-table table { border-collapse: collapse; width: 100%; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* Bağımsız yasal sayfa */
.evk-legal-page { width: min(100% - 40px, 760px); margin: 40px auto 80px; background: #fff; border-radius: 26px; padding: 28px clamp(20px, 4vw, 44px) 36px; box-shadow: var(--sh-1); }
.evk-legal-page h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.03em; margin: 6px 0 4px; color: var(--ink); }
.evk-legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.evk-legal-nav a { font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: #f1efe9; color: var(--ink); }
.evk-legal-nav a[aria-current="page"] { background: var(--navy); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .evk-reveal { opacity: 1; transform: none; }
}

/* hero sahnesi kartların arkasında kalsın */
.top ~ section, .top ~ * { position: relative; z-index: 2; }
@media (min-width: 761px) { .evk-scene { bottom: 64px; width: min(560px, 50vw); } }
.evk-scene .evk-cloud ellipse { opacity: .05 !important; }
