/* ============================================================
   EMLAK CITY — Eskişehir
   Editoryal lüks tema: krem zemin, orman yeşili, pirinç vurgu
   ============================================================ */

:root {
  --cream: #f6f2ea;
  --cream-2: #efe8db;
  --ink: #12281f;
  --green: #1d4a3a;
  --green-soft: #2a5d4a;
  --brass: #b98a2f;
  --brass-light: #d4ad5a;
  --white: #fffdf8;
  --line: rgba(18, 40, 31, 0.12);
  --shadow-sm: 0 2px 10px rgba(18, 40, 31, 0.07);
  --shadow-md: 0 12px 32px rgba(18, 40, 31, 0.13);
  --shadow-lg: 0 24px 60px rgba(18, 40, 31, 0.2);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Albert Sans", "Segoe UI", sans-serif;
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-top: 44px; }

/* ---------- Tipografi ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h1 em, .brand-text em, h2 em { font-style: italic; color: var(--brass); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brass);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--brass); }

.lead { font-size: 1.13rem; color: rgba(18, 40, 31, 0.75); max-width: 54ch; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
.btn:hover svg { transform: translate(2px, -2px); }

.btn-solid { background: var(--green); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-solid:hover { background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--green); background: rgba(29, 74, 58, 0.06); transform: translateY(-2px); }

.btn-outline { border: 1.5px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }

.btn-light { background: var(--white); color: var(--green); }
.btn-light:hover { background: var(--brass-light); color: var(--ink); transform: translateY(-2px); }

/* ---------- Üst şerit ---------- */
.topbar { background: var(--ink); color: rgba(255, 253, 248, 0.85); font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar-phone { font-weight: 700; color: var(--brass-light); }
.topbar-phone:hover { color: var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 234, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 32px; padding-top: 16px; padding-bottom: 16px; }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; fill: var(--green); }
.brand-mark-light { fill: var(--brass); }
.brand-win { fill: var(--cream); }
.brand-text { font-family: var(--font-display); font-size: 1.42rem; font-weight: 600; letter-spacing: -0.01em; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { font-weight: 500; font-size: 0.97rem; position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--brass);
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center; position: relative; z-index: 1;
}
.hero-copy h1 { margin: 18px 0 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-stats { display: flex; gap: 44px; margin-top: 52px; }
.hero-stats dt { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--green); }
.hero-stats dd { font-size: 0.88rem; color: rgba(18, 40, 31, 0.62); }

.hero-visual { position: relative; min-height: 480px; }
.hero-img-main {
  position: absolute; top: 0; right: 0; width: 78%; height: 82%;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-img-main img, .hero-img-small img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.hero-visual:hover .hero-img-main img { transform: scale(1.06); }
.hero-img-small {
  position: absolute; bottom: 0; left: 0; width: 46%; height: 44%;
  border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--cream); box-shadow: var(--shadow-md);
}
.hero-card {
  position: absolute; top: 14%; left: -4%;
  background: var(--white); border-radius: 14px; padding: 14px 20px;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 2px;
  border-left: 3px solid var(--brass);
}
.hero-card-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); }
.hero-card strong { font-family: var(--font-display); font-size: 1.05rem; }
.hero-card-price { font-size: 0.85rem; color: var(--green); font-weight: 600; }

.hero-blob {
  position: absolute; top: -120px; right: -180px; width: 620px; height: 620px;
  background: radial-gradient(circle at 40% 40%, rgba(185, 138, 47, 0.16), rgba(29, 74, 58, 0.1) 55%, transparent 72%);
  border-radius: 50%; pointer-events: none;
}

.float { animation: floaty 5.5s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--green); color: var(--cream);
  overflow: hidden; padding: 16px 0;
  transform: rotate(-1.2deg) scale(1.02);
  box-shadow: var(--shadow-sm);
}
.marquee-track {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: 1.08rem; font-style: italic; white-space: nowrap; }
.marquee-track i { color: var(--brass-light); font-style: normal; font-size: 0.8rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Bölümler ---------- */
.section { padding: 96px 0; }
.section-cream { background: var(--cream-2); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { margin-top: 14px; }
.section-sub { margin-top: 12px; color: rgba(18, 40, 31, 0.65); }

/* ---------- Filtre sekmeleri ---------- */
.filter-tabs { display: flex; gap: 10px; margin-bottom: 36px; }
.tab {
  padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  border: 1.5px solid var(--line); color: rgba(18, 40, 31, 0.7);
  transition: all 0.25s ease;
}
.tab:hover { border-color: var(--green); color: var(--green); }
.tab.active { background: var(--green); border-color: var(--green); color: var(--white); }

/* ---------- İlan kartları ---------- */
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.listing-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
  display: flex; flex-direction: column;
}
.listing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.listing-card.hidden { display: none; }
.listing-card figure { position: relative; height: 220px; overflow: hidden; }
.listing-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.listing-card:hover figure img { transform: scale(1.08); }

.badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); backdrop-filter: blur(4px);
}
.badge-sale { background: rgba(29, 74, 58, 0.92); }
.badge-rent { background: rgba(185, 138, 47, 0.92); }

.listing-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.listing-body h3 { font-size: 1.25rem; }
.listing-loc { font-size: 0.9rem; color: rgba(18, 40, 31, 0.6); }
.listing-specs { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.listing-specs li {
  font-size: 0.78rem; font-weight: 600; color: var(--green);
  background: rgba(29, 74, 58, 0.08); padding: 4px 12px; border-radius: 999px;
}
.listing-price {
  margin-top: auto; font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600; color: var(--brass);
}

/* ---------- Hizmetler (koyu bölüm) ---------- */
.section-dark { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(185, 138, 47, 0.12), transparent),
    radial-gradient(500px 400px at 5% 90%, rgba(42, 93, 74, 0.35), transparent);
}
.section-dark .eyebrow { color: var(--brass-light); }
.section-dark .eyebrow::before { background: var(--brass-light); }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.service-card {
  background: rgba(255, 253, 248, 0.05);
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: var(--radius); padding: 32px 26px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); background: rgba(255, 253, 248, 0.09); border-color: var(--brass); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--brass), var(--brass-light));
}
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.service-card p { font-size: 0.93rem; color: rgba(246, 242, 234, 0.72); }

/* ---------- Hakkımızda ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-visual > img { height: 460px; width: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 22px; left: 22px;
  background: var(--white); border-radius: 14px; padding: 12px 20px;
  box-shadow: var(--shadow-md); border-left: 3px solid var(--brass);
}
.about-badge strong { display: block; font-family: var(--font-display); }
.about-badge span { font-size: 0.8rem; color: rgba(18, 40, 31, 0.6); }
.about-copy h2 { margin: 14px 0 18px; }
.about-copy > p { color: rgba(18, 40, 31, 0.75); }

.checklist { margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checklist li::before {
  content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
  background: rgba(185, 138, 47, 0.15); color: var(--brass);
}

/* ---------- Süreç ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-no {
  font-family: var(--font-display); font-style: italic; font-size: 2.4rem;
  color: rgba(185, 138, 47, 0.4); line-height: 1;
}
.step h3 { font-size: 1.12rem; margin: 14px 0 8px; }
.step p { font-size: 0.92rem; color: rgba(18, 40, 31, 0.65); }

/* ---------- Referanslar ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  border: 1px solid var(--line); position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote-card::before {
  content: "“"; position: absolute; top: 10px; right: 24px;
  font-family: var(--font-display); font-size: 4.5rem;
  color: rgba(185, 138, 47, 0.25); line-height: 1;
}
.quote-card p { font-style: italic; color: rgba(18, 40, 31, 0.8); }
.quote-card footer { margin-top: 18px; font-weight: 600; font-size: 0.9rem; color: var(--green); }

/* ---------- CTA bandı ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green) 0%, var(--ink) 100%);
  color: var(--cream); padding: 84px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 50% 0%, rgba(185, 138, 47, 0.2), transparent);
}
.cta-inner { position: relative; }
.cta-inner p { margin: 14px 0 30px; color: rgba(246, 242, 234, 0.78); }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.contact-item { margin-bottom: 20px; }
.contact-label {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brass);
}
.contact-item p { font-size: 1.05rem; font-weight: 500; }
.contact-item a:hover { color: var(--green); text-decoration: underline; }

.contact-form {
  margin-top: 34px; background: var(--white); border-radius: var(--radius);
  padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: grid; gap: 16px;
}
.contact-form h3 { font-size: 1.3rem; }
.form-note { font-size: 0.86rem; color: rgba(18, 40, 31, 0.6); margin-top: -8px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--cream); transition: border-color 0.2s ease;
  width: 100%; resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green);
}
.contact-form .btn { justify-content: center; }

.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 560px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 560px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(246, 242, 234, 0.75); padding: 56px 0 40px; }
.footer-inner { display: grid; gap: 28px; text-align: center; justify-items: center; }
.footer-brand .brand-text { color: var(--cream); font-size: 1.6rem; }
.footer-brand p { font-size: 0.92rem; margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.footer-links a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--brass-light); }
.footer-copy { font-size: 0.82rem; color: rgba(246, 242, 234, 0.45); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
  animation: pulse 2.6s ease-in-out infinite;
}
.wa-fab:hover { transform: scale(1.1); animation-play-state: paused; }
.wa-fab svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  60% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ---------- Animasyonlar: yükleme ve scroll reveal ---------- */
.reveal-load { opacity: 0; transform: translateY(26px); animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-load, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .float, .wa-fab, .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .listings-grid, .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
}

@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; }
  .hero-card { left: 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-map, .contact-map iframe { min-height: 380px; }
  .about-visual > img { height: 340px; }

  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 320px; box-shadow: var(--shadow-md); }
  .nav-links a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 560px) {
  .listings-grid, .quotes-grid, .services-grid, .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .topbar-inner { justify-content: center; }
  .topbar-inner span { display: none; }
  .hero-visual { min-height: 320px; }
  .hero-img-main { width: 88%; }
}
