/*
Theme Name: TN Hukuk Danışmanlık
Theme URI: https://tnhukukdanismanlik.com
Author: South Tech
Description: T&N Hukuk Danışmanlık için özel WordPress teması
Version: 1.0
Text Domain: tn-hukuk
*/

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

:root {
  --navy: #0b1a2e;
  --navy-light: #112240;
  --gold: #c4913d;
  --gold-light: #d4a554;
  --cream: #f5f0e8;
  --white: #ffffff;
  --text-light: #ccd6e0;
  --text-muted: #8892a4;
}

html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; color: var(--white); background: var(--navy); }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0 40px;
  height: 70px;
  display: flex; align-items: center; justify-content: center;
}
.header-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; color: var(--gold); text-decoration: none; font-weight: 700;
  letter-spacing: 0.5px;
}
.nav-menu { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-menu li { list-style: none; }
.nav-menu a {
  color: var(--white); text-decoration: none;
  font-family: Calibri, 'Segoe UI', sans-serif;
  font-size: 0.95rem; font-weight: 400; letter-spacing: 0.3px;
  transition: color .2s;
}
.nav-menu a:hover, .nav-menu .current-menu-item a { color: var(--gold); }
.nav-cta {
  background: var(--white); color: var(--navy) !important; font-weight: 700 !important;
  padding: 10px 26px; border-radius: 50px; font-size: 0.85rem !important; letter-spacing: 0.5px;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--gold); color: var(--white) !important; transform: translateY(-1px); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: flex-start;
  padding: 120px 60px 80px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,26,46,0.8) 0%, rgba(11,26,46,0.3) 60%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero h1 {
  font-family: 'Playfair Display', serif; font-size: 3.4rem; font-weight: 700;
  line-height: 1.2; margin-bottom: 24px; color: var(--white);
}
.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.8); line-height: 1.7;
  max-width: 500px; margin-bottom: 36px;
}
.btn-gold {
  display: inline-block; background: var(--gold); color: var(--white);
  padding: 14px 36px; border-radius: 6px; text-decoration: none;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.3px;
  transition: background .2s, transform .15s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── SECTIONS ── */
section { padding: 90px 40px; }
.section-title {
  font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700;
  text-align: center; margin-bottom: 16px;
}
.section-subtitle {
  text-align: center; color: var(--text-muted); max-width: 560px;
  margin: 0 auto 56px; font-size: 1rem; line-height: 1.6;
}

/* ── SERVICES ── */
.services { background: var(--cream); color: var(--navy); }
.services .section-title { color: var(--navy); }
.services .section-subtitle { color: #5a6370; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1100px; margin: 0 auto;
}
.service-card {
  background: var(--white); border-radius: 10px; padding: 36px 28px;
  border: 1px solid #e8e2d8; transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11,26,46,0.08); }
.service-card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 12px; color: var(--navy);
}
.service-card p { color: #5a6370; font-size: 0.93rem; line-height: 1.65; }

/* ── WHY US ── */
.why-us { background: var(--navy-light); }
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 900px; margin: 0 auto;
}
.why-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 32px 28px;
}
.why-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-bottom: 10px; color: var(--gold); }
.why-card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; }

/* ── KARARLAR ── */
.kararlar { background: var(--cream); color: var(--navy); }
.kararlar .section-title { color: var(--navy); }
.kararlar .section-subtitle { color: #5a6370; }
.kararlar-list { max-width: 800px; margin: 0 auto; }
.karar-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white); border: 1px solid #e8e2d8; border-radius: 8px;
  padding: 20px 24px; margin-bottom: 14px;
  transition: transform .15s, box-shadow .2s;
}
.karar-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(11,26,46,0.07); }
.karar-info h4 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.karar-info p { font-size: 0.85rem; color: #5a6370; }
.karar-pdf {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: var(--white); padding: 8px 18px;
  border-radius: 5px; text-decoration: none; font-size: 0.85rem; font-weight: 600;
  transition: background .2s; white-space: nowrap;
}
.karar-pdf:hover { background: var(--gold); }
.karar-pdf svg { width: 16px; height: 16px; }

/* ── BLOG ── */
.blog-section { background: var(--navy); }
.blog-list { max-width: 800px; margin: 0 auto; }
.blog-item { border-bottom: 1px solid rgba(255,255,255,0.06); padding: 28px 0; }
.blog-item:last-child { border-bottom: none; }
.blog-date { font-size: 0.82rem; color: var(--gold); margin-bottom: 6px; }
.blog-item h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 8px; }
.blog-item h3 a { color: var(--white); text-decoration: none; transition: color .2s; }
.blog-item h3 a:hover { color: var(--gold); }
.blog-item p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; }
.blog-read-more { color: var(--gold); text-decoration: none; font-size: 0.88rem; font-weight: 600; margin-top: 8px; display: inline-block; }

/* ── SINGLE POST ── */
.single-post-wrap {
  max-width: 760px; margin: 0 auto; padding: 120px 20px 80px;
}
.single-post-wrap h1 {
  font-family: 'Playfair Display', serif; font-size: 2.4rem; margin-bottom: 12px;
}
.single-post-meta { color: var(--gold); font-size: 0.85rem; margin-bottom: 32px; }
.single-post-content { color: var(--text-light); font-size: 1rem; line-height: 1.8; }
.single-post-content p { margin-bottom: 18px; }
.single-post-content h2, .single-post-content h3 {
  font-family: 'Playfair Display', serif; color: var(--white); margin: 32px 0 14px;
}
.back-link { display: inline-block; color: var(--gold); text-decoration: none; margin-top: 40px; font-weight: 600; }

/* ── CTA ── */
.cta-section { background: var(--navy-light); text-align: center; padding: 80px 20px; }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 16px; }
.cta-section p { color: var(--text-muted); max-width: 480px; margin: 0 auto 32px; line-height: 1.6; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 40px 30px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: 1000px; margin: 0 auto 40px;
}
.footer-col h4 { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 1rem; margin-bottom: 14px; }
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; line-height: 1.7; display: block; }
.footer-col a:hover { color: var(--gold); }
.footer-copy {
  text-align: center; color: var(--text-muted); font-size: 0.82rem;
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
}

/* ── WHATSAPP FAB ── */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3); transition: transform .2s; text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: var(--white); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .hamburger { display: block; }
  .nav-menu {
    position: fixed; top: 70px; left: 0; right: 0; background: var(--navy);
    flex-direction: column; padding: 20px; gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: none; list-style: none;
  }
  .nav-menu.open { display: flex; }
  .hero { padding: 100px 20px 60px; min-height: 70vh; }
  .hero h1 { font-size: 2.2rem; }
  section { padding: 60px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .karar-item { flex-direction: column; gap: 12px; align-items: flex-start; }
}
