/*
Theme Name: Emlak Estate Journal
Theme URI: https://example.com
Author: EmlakBlog
Description: Premium luxury emlak blog teması - editöryal his, serif tipografi
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: emlak-tema
*/

/* ============================================================
   CSS DEĞİŞKENLERİ
============================================================ */
:root {
  --navy:   #16243E;
  --accent: #4A9FD4;
  --gold:   #B8975A;
  --white:  #FFFFFF;
  --off:    #F8F7F4;
  --ink:    #1A1A1A;
  --muted:  #8A8A8A;
  --border: #E8E4DC;
}

/* ============================================================
   RESET & TEMEL
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================================
   CONTAINER
============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   NAVIGASYON
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
}

.nav-right { justify-content: flex-end; }

.nav-left a,
.nav-right a {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  transition: color .2s;
}

.nav-left a:hover,
.nav-right a:hover { color: var(--ink); }

.site-branding {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.site-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1;
}

.site-tagline {
  display: block;
  font-size: 8px;
  letter-spacing: 5px;
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Mobil menü butonu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: all .3s;
}

/* ============================================================
   HERO — ÖNE ÇIKAN YAZI
============================================================ */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.hero-main {
  background: var(--navy);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234A9FD4' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  position: relative;
}

.hero-title em {
  font-style: italic;
  color: rgba(255,255,255,.55);
}

.hero-excerpt {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,.5);
  max-width: 380px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  position: relative;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 8px;
  width: fit-content;
  transition: border-color .2s;
  position: relative;
}

.hero-link:hover { border-color: var(--accent); }
.hero-link-arrow { color: var(--accent); font-size: 18px; }

.hero-meta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 11px;
  color: rgba(255,255,255,.3);
  letter-spacing: 1px;
  position: relative;
}

.hero-meta-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

/* Hero sağ panel — 2 küçük kart */
.hero-sidebar {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.hero-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  background: var(--off);
  transition: background .2s;
  position: relative;
}

.hero-card:last-child { border-bottom: none; }
.hero-card:hover { background: #f0ede6; }

.hero-card-arrow {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  font-size: 22px;
  color: var(--accent);
  opacity: 0;
  transition: opacity .2s;
}

.hero-card:hover .hero-card-arrow { opacity: 1; }

.hero-card-cat {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 8px;
}

.hero-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   BÖLÜM BAŞLIĞI — DIVIDER
============================================================ */
.section-divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.section-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--border);
  font-style: italic;
}

/* ============================================================
   YAZI GRID
============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  margin-bottom: 5rem;
}

.grid-post {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem;
  cursor: pointer;
  transition: background .2s;
  position: relative;
}

.grid-post:hover { background: var(--off); }
.grid-post.large { padding: 3rem; }

.post-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.post-cat {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-cat::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--gold);
}

.grid-post.large h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

.grid-post h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 10px;
}

.grid-post-excerpt {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.grid-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
}

.read-more {
  color: var(--navy);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.read-more::after { content: '→'; color: var(--accent); }

/* İkili sütun container */
.grid-col-double {
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-right: 1px solid var(--border);
}

.grid-col-double .grid-post {
  border-right: none;
}

/* ============================================================
   ANA LAYOUT — YAZI LİSTESİ + SIDEBAR
============================================================ */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  padding: 4rem 0;
  align-items: start;
}

/* ============================================================
   YAZI LİSTESİ (more-posts)
============================================================ */
.posts-header {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.posts-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.post-list-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity .2s;
  align-items: start;
}

.post-list-item:hover { opacity: .65; }

.post-list-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--border);
  font-style: italic;
  line-height: 1;
  padding-top: 4px;
}

.post-list-cat {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.post-list-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
}

.post-list-meta {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .5px;
}

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar { position: sticky; top: 100px; }

.widget { margin-bottom: 3rem; }

.widget-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* Kategori listesi */
.cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
  cursor: pointer;
}

.cat-link:hover .cat-name { color: var(--accent); }

.cat-name {
  font-size: 13px;
  color: var(--ink);
  font-weight: 300;
  transition: color .2s;
}

.cat-count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--border);
  font-style: italic;
}

/* Son yazılar */
.recent-post {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity .2s;
  align-items: start;
}

.recent-post:hover { opacity: .65; }

.recent-thumb {
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--off);
}

.recent-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 4px;
}

.recent-date {
  font-size: 11px;
  color: var(--muted);
}

/* Bülten kutusu */
.newsletter-box {
  background: var(--navy);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '"';
  position: absolute;
  top: -24px;
  right: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 180px;
  color: rgba(74,159,212,.07);
  line-height: 1;
}

.newsletter-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 1rem;
  position: relative;
}

.newsletter-desc {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  letter-spacing: .5px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.newsletter-input {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  padding: 12px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color .2s;
}

.newsletter-input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-input:focus { border-color: rgba(255,255,255,.4); }

.newsletter-btn {
  width: 100%;
  background: var(--accent);
  border: none;
  color: var(--white);
  padding: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
  transition: background .2s;
}

.newsletter-btn:hover { background: #3a8fc4; }

/* ============================================================
   TEKİL YAZI — SINGLE POST
============================================================ */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5rem;
  padding: 4rem 0;
  align-items: start;
}

.single-header { margin-bottom: 3rem; }

.single-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.single-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.single-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.single-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.single-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 3rem;
}

/* İçerik tipografisi */
.entry-content { font-size: 17px; line-height: 1.85; color: var(--ink); font-weight: 300; }
.entry-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 400; color: var(--navy); margin: 2.5rem 0 1rem; }
.entry-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--navy); margin: 2rem 0 .75rem; }
.entry-content p { margin-bottom: 1.5rem; }
.entry-content a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .2s; }
.entry-content a:hover { border-color: var(--accent); }
.entry-content blockquote {
  border-left: 2px solid var(--gold);
  padding: 1rem 2rem;
  margin: 2.5rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
}
.entry-content ul { list-style: none; margin-bottom: 1.5rem; }
.entry-content ul li { padding-left: 1.5rem; position: relative; margin-bottom: .5rem; }
.entry-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-weight: 300; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--navy);
  padding: 5rem 0 2rem;
  margin-top: 5rem;
}

.footer-gold-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 3.5rem;
  opacity: .5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-brand-sub {
  display: block;
  font-size: 8px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  line-height: 1.8;
  font-weight: 300;
}

.footer-col-title {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  font-weight: 300;
  transition: color .2s;
}

.footer-col ul li a:hover { color: rgba(255,255,255,.85); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 11px;
  color: rgba(255,255,255,.2);
  letter-spacing: .5px;
}

.footer-bottom a {
  color: rgba(255,255,255,.2);
  transition: color .2s;
}

.footer-bottom a:hover { color: rgba(255,255,255,.5); }

/* ============================================================
   YARDIMCI SINIFLAR
============================================================ */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Sayfalama */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 0;
}

.pagination a,
.pagination span {
  font-size: 12px;
  letter-spacing: 2px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all .2s;
}

.pagination .current,
.pagination a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ============================================================
   RESPONSİF
============================================================ */
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-main { padding: 3rem 2.5rem; }
  .hero-title { font-size: 40px; }
}

@media (max-width: 768px) {
  .hero-section { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .main-layout { grid-template-columns: 1fr; gap: 3rem; }
  .single-layout { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .grid-col-double { grid-template-rows: auto; }
  .nav-left, .nav-right { display: none; }
  .menu-toggle { display: flex; }
  .single-title { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-inner { padding: 0 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
