/*
Theme Name: Göde Hukuk
Theme URI: https://godehukukdanismanlik.com
Author: Göde Hukuk ve Danışmanlık Ofisi
Description: Professional law firm theme for Göde Hukuk ve Danışmanlık Ofisi
Version: 1.0
Text Domain: gode-hukuk
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --navy:       #0d1b2a;
  --gold:       #b8963e;
  --gold-light: #d4af6a;
  --cream:      #f5f0e8;
  --warm-white: #faf8f4;
  --text-dark:  #1a1a2e;
  --text-mid:   #4a4a5a;
  --text-light: #8a8a9a;
  --border:     #e0d8cc;
}

body {
  font-family: 'EB Garamond', Georgia, serif;
  background: var(--warm-white);
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ── */
#site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.site-logo { display: flex; flex-direction: column; }
.logo-main {
  font-family: 'Cinzel', serif; font-size: 1.15rem; font-weight: 600;
  color: var(--gold-light); letter-spacing: 0.06em; line-height: 1.2;
}
.logo-sub {
  font-family: 'EB Garamond', serif; font-size: 0.78rem;
  color: rgba(255,255,255,0.5); letter-spacing: 0.12em; text-transform: uppercase;
}
#site-nav { display: flex; align-items: center; }
#site-nav ul { display: flex; align-items: center; list-style: none; gap: 0; }
#site-nav ul li a {
  font-family: 'EB Garamond', serif; font-size: 0.88rem;
  color: rgba(255,255,255,0.75); padding: 0.45rem 0.9rem;
  letter-spacing: 0.04em; transition: color 0.2s; white-space: nowrap; display: block;
}
#site-nav ul li a:hover,
#site-nav ul li.current-menu-item > a { color: var(--gold-light); }
#site-nav ul li.menu-phone > a {
  margin-left: 1rem; color: var(--gold) !important;
  border: 1px solid var(--gold); border-radius: 2px; transition: all 0.2s !important;
  font-family: 'Cinzel', serif !important;
}
#site-nav ul li.menu-phone > a:hover { background: var(--gold); color: var(--navy) !important; }
.menu-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.3);
  color: white; padding: 0.4rem 0.75rem; cursor: pointer;
  font-size: 1.2rem; border-radius: 2px; line-height: 1;
}

/* ── HERO ── */
.hero {
  background: var(--navy); color: white; min-height: 88vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(184,150,62,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-pattern {
  position: absolute; right: 0; top: 0; width: 50%; height: 100%;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px,
    rgba(184,150,62,0.04) 40px, rgba(184,150,62,0.04) 41px);
}
.hero-text { padding: 6rem 4rem 6rem 8rem; position: relative; z-index: 2; animation: fadeUp 0.9s ease both; }
.hero-eyebrow {
  font-family: 'Cinzel', serif; font-size: 0.72rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700;
  line-height: 1.18; margin-bottom: 1.5rem; color: white;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 420px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--gold); color: var(--navy);
  font-family: 'Cinzel', serif; font-size: 0.82rem; letter-spacing: 0.1em;
  padding: 0.9rem 2rem; border-radius: 2px; transition: all 0.25s; font-weight: 600;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.hero-cta svg { width: 16px; height: 16px; }
.hero-image { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; padding: 4rem; animation: fadeUp 1s 0.2s ease both; }
.hero-image img { max-height: 420px; object-fit: contain; filter: drop-shadow(0 20px 60px rgba(184,150,62,0.25)); }
.latin-quote {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 0.95rem; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; white-space: nowrap; z-index: 2;
}

/* ── FEATURES ── */
.features-section { background: var(--cream); padding: 5rem 2rem; border-top: 1px solid var(--border); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-label { font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; display: block; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; color: var(--navy); line-height: 1.25; margin-bottom: 0.8rem; }
.section-desc { color: var(--text-mid); font-size: 1rem; font-style: italic; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5px; max-width: 1100px; margin: 0 auto; background: var(--border); border: 1px solid var(--border); }
.feature-card { background: var(--warm-white); padding: 2.2rem 2rem; position: relative; transition: background 0.2s; }
.feature-card:hover { background: white; }
.feature-icon { width: 40px; height: 40px; margin-bottom: 1.2rem; color: var(--gold); }
.feature-card h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.65; }
.feature-num { position: absolute; top: 1.5rem; right: 1.8rem; font-family: 'Cinzel', serif; font-size: 0.65rem; color: var(--border); letter-spacing: 0.1em; }

/* ── BLOG LIST ── */
.blog-section { padding: 5.5rem 2rem; max-width: 1100px; margin: 0 auto; }
.blog-section-header { margin-bottom: 2rem; }
.blog-grid { display: grid; gap: 0; border: 1px solid var(--border); }
.blog-item { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 2rem; padding: 1.8rem 2.2rem; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.blog-item:last-child { border-bottom: none; }
.blog-item:hover { background: var(--cream); }
.blog-date { text-align: center; }
.blog-date-day { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.blog-date-mon { display: block; font-family: 'Cinzel', serif; font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-top: 0.2rem; }
.blog-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.blog-meta { font-size: 0.78rem; color: var(--text-light); margin-top: 0.35rem; font-style: italic; }
.blog-cat { font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 0.3rem 0.7rem; white-space: nowrap; border-radius: 1px; }

/* ── INNER PAGE HERO ── */
.page-hero { background: var(--navy); padding: 4rem 2rem 3.5rem; border-bottom: 2px solid var(--gold); }
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.breadcrumb { font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1rem; display: block; }
.breadcrumb a { color: var(--gold); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; color: white; line-height: 1.2; }
.page-hero-line { width: 60px; height: 2px; background: var(--gold); margin-top: 1.2rem; }

/* ── PAGE CONTENT ── */
.page-content { max-width: 860px; margin: 0 auto; padding: 4rem 2rem; }
.page-content h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 600; color: var(--navy); margin: 2.5rem 0 0.8rem; line-height: 1.3; }
.page-content h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 600; color: var(--navy); margin: 2rem 0 0.6rem; }
.page-content p { margin-bottom: 1.2rem; color: var(--text-mid); line-height: 1.85; }
.page-content strong { color: var(--text-dark); font-weight: 600; }
.page-content ul, .page-content ol { margin: 0.8rem 0 1.2rem 1.5rem; color: var(--text-mid); }
.page-content li { margin-bottom: 0.45rem; line-height: 1.75; }
.page-content em { font-style: italic; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.8rem 0; }
.faq-item:first-child { padding-top: 0; }
.faq-question { font-family: 'Playfair Display', serif; font-size: 1.08rem; font-weight: 600; color: var(--navy); margin-bottom: 0.7rem; display: flex; align-items: flex-start; gap: 1rem; }
.faq-num { font-family: 'Cinzel', serif; font-size: 0.72rem; color: var(--gold); letter-spacing: 0.1em; margin-top: 0.15rem; white-space: nowrap; flex-shrink: 0; }
.faq-answer { color: var(--text-mid); padding-left: 2.2rem; margin: 0; }

/* ── ETHICS CARDS ── */
.ethics-card { border-left: 3px solid var(--gold); padding: 1.5rem 2rem; margin-bottom: 2rem; background: var(--cream); border-radius: 0 2px 2px 0; }
.ethics-card h2 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 600; color: var(--navy); margin: 0 0 0.5rem; }
.ethics-card p { color: var(--text-mid); font-size: 0.97rem; margin: 0; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info-block { margin-bottom: 2rem; }
.contact-info-block h3 { font-family: 'Cinzel', serif; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.contact-info-block p, .contact-info-block a { font-size: 1.05rem; color: var(--text-mid); display: block; margin-bottom: 0.3rem; }
.contact-info-block a:hover { color: var(--gold); }
.contact-image img { border: 1px solid var(--border); width: 100%; }

/* ── SINGLE POST ── */
.post-content { max-width: 760px; margin: 0 auto; padding: 4rem 2rem; }
.post-content h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 600; color: var(--navy); margin: 2rem 0 0.7rem; }
.post-content p { color: var(--text-mid); line-height: 1.85; margin-bottom: 1.2rem; }
.post-content ul, .post-content ol { margin: 0.8rem 0 1.2rem 1.5rem; color: var(--text-mid); }
.post-content li { margin-bottom: 0.45rem; }
.post-nav { max-width: 760px; margin: 0 auto; padding: 2rem 2rem 4rem; display: flex; justify-content: space-between; border-top: 1px solid var(--border); font-size: 0.9rem; }
.post-nav a { color: var(--gold); }

/* ── FOOTER ── */
#site-footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 4rem 2rem 2rem; border-top: 2px solid var(--gold); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo-main { font-size: 1rem; }
.footer-brand p { margin-top: 1rem; font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-phone { display: inline-block; margin-top: 1rem; color: var(--gold) !important; font-family: 'Cinzel', serif; font-size: 0.9rem; letter-spacing: 0.06em; }
.footer-col h4 { font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 0.55rem; line-height: 1.6; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { max-width: 1100px; margin: 1.8rem auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-latin { font-style: italic; font-family: 'EB Garamond', serif; }

/* ── ANIMATION ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 4rem 2rem 2rem; }
  .hero-image { padding: 2rem; }
  .latin-quote { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .blog-item { grid-template-columns: 70px 1fr; }
  .blog-cat { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #site-nav { display: none; flex-direction: column; width: 100%; position: absolute; top: 72px; left: 0; background: var(--navy); padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.1); }
  #site-nav.open { display: flex; }
  #site-nav ul { flex-direction: column; width: 100%; }
  #site-nav ul li a { padding: 0.75rem 2rem; }
  .menu-toggle { display: block; }
  .header-inner { position: relative; }
}
