/*
Theme Name: Elazığ Hukuk Bürosu
Theme URI: https://www.elazighukukburosu.com
Author: Av. Hakan ÖZDEMİR
Author URI: https://www.elazighukukburosu.com
Description: Elazığ Hukuk Bürosu - Av. Hakan ÖZDEMİR resmi web sitesi teması. Çok dilli (TR/EN/AR) hukuk bürosu teması.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elazig-hukuk
Tags: law-firm, multilingual, rtl-language-support, custom-logo
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ── CSS Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ── Colors ── */
:root {
  --gold: #C29123;
  --gold-hover: #a67c1e;
  --black: #1a1a1a;
  --dark: #292929;
  --gray: #787878;
  --gray-light: #4B4F58;
  --gray-bg: #F5F5F5;
  --white: #ffffff;
}

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--gold); }
.btn-white { background: var(--white); color: var(--gold); }
.btn-white:hover { background: #f0f0f0; }

/* ── Contact Bar ── */
.contact-bar {
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 5px 0;
}
.contact-bar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-bar .info { display: flex; align-items: center; gap: 25px; color: #F8F8F8; }
.contact-bar .socials { display: flex; align-items: center; gap: 16px; }
.contact-bar .socials a { color: #fff; transition: color 0.2s; }
.contact-bar .socials a:hover { color: #D9D9D9; }

/* ── Header ── */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
}
.site-logo img { height: 55px; width: auto; filter: brightness(1.25); }

/* ── Navigation ── */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--gold); }
.nav-dropdown { position: relative; }
.nav-dropdown .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 50;
}
.nav-dropdown:hover .sub-menu { opacity: 1; visibility: visible; }
.nav-dropdown .sub-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--black);
  transition: all 0.2s;
}
.nav-dropdown .sub-menu a:hover { background: var(--gold); color: #fff; }

/* ── Phone CTA ── */
.header-phone { display: flex; align-items: center; gap: 12px; }
.header-phone .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.header-phone .label { font-size: 12px; color: var(--gray); }
.header-phone .number { font-size: 18px; font-weight: 700; color: var(--gold); }

/* ── Hero Section ── */
.hero {
  background: var(--black);
  padding: 80px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero h1 { font-size: 48px; text-transform: uppercase; letter-spacing: 2px; }
.hero p { font-size: 15px; color: #D9D9D9; margin-top: 16px; max-width: 600px; line-height: 1.8; }
.hero .buttons { display: flex; gap: 12px; margin-top: 30px; }

/* ── Practice Area Cards ── */
.practice-section { background: var(--gray-bg); padding: 40px 0 70px; position: relative; }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.practice-card {
  background: #fff;
  padding: 25px 28px 15px;
  border-radius: 15px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.practice-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.practice-card h5 { font-size: 20px; margin-bottom: 12px; }
.practice-card p { font-size: 13px; color: var(--gray-light); line-height: 1.65; }
.practice-card .bottom { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 16px; }
.practice-card .number { font-size: 32px; font-weight: 700; color: #E8E8E8; }

/* ── About Summary ── */
.about-section { padding: 60px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-section img { border-radius: 16px; max-width: 405px; }

/* ── CTA Section ── */
.cta-section { background: var(--gold); padding: 60px 0; color: #fff; }

/* ── Blog Cards ── */
.blog-section { padding: 60px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card .content { padding: 20px; }
.blog-card h4 { font-size: 16px; margin-bottom: 8px; }

/* ── Footer ── */
.site-footer { background: var(--black); color: #fff; padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 30px; }
.footer-title { font-size: 16px; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links a { display: block; color: #A7A7A7; font-size: 14px; padding: 4px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #666;
}

/* ── Breadcrumb ── */
.breadcrumb { font-size: 13px; margin-bottom: 12px; }
.breadcrumb a { color: var(--gold); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: var(--gray); margin: 0 4px; }

/* ── WhatsApp Button ── */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 40;
  transition: transform 0.2s;
}
.whatsapp-btn:hover { transform: scale(1.1); }

/* ── Article Content (prose) ── */
.article-content p {
  margin-bottom: 1.25em !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
  color: #4B4F58 !important;
}
.article-content h2 {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-top: 1.8em !important;
  margin-bottom: 0.75em !important;
  line-height: 1.3 !important;
  border-bottom: 2px solid #C29123 !important;
  padding-bottom: 10px !important;
}
.article-content h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-top: 1.5em !important;
  margin-bottom: 0.6em !important;
  line-height: 1.35 !important;
}
.article-content h4 {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #292929 !important;
  margin-top: 1.3em !important;
  margin-bottom: 0.5em !important;
}
.article-content ul,
.article-content ol {
  margin: 1.2em 0 !important;
  padding-left: 0 !important;
}
.article-content ul {
  list-style: none !important;
}
.article-content ul li {
  position: relative !important;
  padding-left: 22px !important;
  margin-bottom: 10px !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: #4B4F58 !important;
}
.article-content ul li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 9px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #C29123 !important;
}
.article-content ol {
  list-style: decimal !important;
  padding-left: 24px !important;
}
.article-content ol li {
  margin-bottom: 10px !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: #4B4F58 !important;
}
.article-content strong,
.article-content b {
  font-weight: 700 !important;
  color: #1a1a1a !important;
}
.article-content a {
  color: #C29123 !important;
  text-decoration: underline !important;
  transition: color 0.2s !important;
}
.article-content a:hover {
  color: #a67c1e !important;
}
.article-content blockquote {
  border-left: 4px solid #C29123 !important;
  padding: 16px 24px !important;
  margin: 1.5em 0 !important;
  background: #FAFAFA !important;
  font-style: italic !important;
  color: #4B4F58 !important;
  border-radius: 0 8px 8px 0 !important;
}
.article-content img {
  border-radius: 8px !important;
  margin: 1.5em 0 !important;
}
.article-content hr {
  border: none !important;
  border-top: 1px solid #E5E5E5 !important;
  margin: 2em 0 !important;
}

/* ── Postbox (detail pages) ── */
.postbox {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
  padding: 32px 40px;
  margin-bottom: 24px;
}

/* ── FAQ Accordion ── */
.faq-item { border: 1px solid #E8E8E8; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  text-align: left;
}
.faq-answer { padding: 0 20px 20px; font-size: 14px; color: var(--gray-light); line-height: 1.75; }

/* ── RTL Support ── */
html[dir="rtl"] .main-nav { direction: rtl; }
html[dir="rtl"] .contact-bar .inner { flex-direction: row-reverse; }
html[dir="rtl"] .footer-grid { direction: rtl; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .practice-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .contact-bar { display: none; }
}
