/*
Theme Name: Uzman Hukuk - Avukatlık Teması
Theme URI: https://example.com
Author: Adınız
Author URI: https://example.com
Description: Avukatlar ve hukuk büroları için profesyonel WordPress teması - Koyu lacivert ve altın renk temalı
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avukatlik-temasi
*/

/* Modern sans-serif font ailesi ve CSS değişkenleri eklendi */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --color-primary: #2d3748;
  --color-primary-dark: #1a202c;
  --color-accent: #c9a961;
  --color-accent-hover: #d4b76a;
  --color-text: #4a5568;
  --color-text-light: #718096;
  --color-bg: #ffffff;
  --color-bg-light: #f7fafc;
  --color-bg-dark: #2d3748;
  --color-border: #e2e8f0;
}

/* Reset ve Genel Stiller */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar stilleri eklendi */
.top-bar {
  background: #1a202c;
  color: #cbd5e0;
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Header tasarımı koyu lacivert ve sticky yapıldı */
.site-header {
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Logo stilleri eklendi - responsive boyutlandırma */
.site-logo {
  max-width: 200px;
  height: auto;
}

.site-logo img {
  width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.custom-logo-link {
  display: block;
  transition: opacity 0.3s ease;
}

.custom-logo-link:hover {
  opacity: 0.85;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.site-title a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 1px;
}

.site-title a:hover {
  color: var(--color-accent-hover);
}

.site-description {
  font-size: 12px;
  color: #cbd5e0;
  margin: 0;
  font-weight: 300;
}

/* Navigasyon menüsü modern ve temiz tasarım */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
}

.main-navigation a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 15px;
  border-radius: 4px;
  position: relative;
}

.main-navigation a:hover {
  color: var(--color-accent);
  background: rgba(201, 169, 97, 0.1);
}

.main-navigation a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.main-navigation a:hover::after {
  transform: scaleX(1);
}

/* Ana içerik alanı daha modern ve havadar */
.site-content {
  padding: 60px 0;
  min-height: 500px;
  background: var(--color-bg-light);
}

/* Post kartları modern card tasarımı */
.post {
  background: var(--color-bg);
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.entry-header {
  padding: 40px 40px 0;
}

.entry-title {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  color: var(--color-primary-dark);
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.entry-title a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.entry-title a:hover {
  color: var(--color-accent);
}

.entry-meta {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.entry-content {
  padding: 0 40px 40px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3 {
  font-family: "Playfair Display", serif;
  color: var(--color-primary-dark);
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 700;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px 0;
}

/* CTA butonları altın renk vurgusu ile */
.read-more {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 14px 35px;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 20px;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.read-more:hover {
  background: var(--color-accent-hover);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

/* Yorumlar */
.comments-area {
  background: var(--color-bg);
  padding: 40px;
  margin-top: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comments-title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: var(--color-primary-dark);
  margin-bottom: 30px;
  font-weight: 700;
}

.comment-list {
  list-style: none;
}

.comment {
  background: var(--color-bg-light);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--color-accent);
}

/* Footer koyu lacivert arka plan ile */
.site-footer {
  background: var(--color-primary-dark);
  color: #cbd5e0;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-widget h3 {
  color: var(--color-accent);
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-widget p {
  color: #cbd5e0;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget a {
  color: #cbd5e0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 8px 0;
  position: relative;
  padding-left: 15px;
}

.footer-widget a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 18px;
  transition: transform 0.3s ease;
}

.footer-widget a:hover {
  color: var(--color-accent);
  padding-left: 20px;
}

.footer-widget a:hover::before {
  transform: translateX(5px);
}

.site-info {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #a0aec0;
}

/* Responsive medya sorguları eklendi ve güçlendirildi */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  /* Logo boyutu tablet için ayarlandı */
  .site-logo {
    max-width: 160px;
  }

  .site-logo img {
    max-height: 50px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobil ve tablet için 2'li grid yapısı düzeltildi */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 20px;
  }

  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .main-navigation a {
    font-size: 14px;
    padding: 6px 12px;
  }

  /* Top bar mobil düzeni */
  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
  }

  /* Logo mobilde daha küçük */
  .site-logo {
    max-width: 140px;
  }

  .site-logo img {
    max-height: 40px;
  }

  .site-title {
    font-size: 20px;
  }

  .entry-title {
    font-size: 26px;
  }

  .entry-header,
  .entry-content {
    padding-left: 25px;
    padding-right: 25px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .about-grid {
    gap: 40px;
  }

  /* Çalışma Alanları mobilde 2'li grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  /* Blog kartları mobilde 2'li grid */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  /* Ekip kartları mobilde 2'li grid */
  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px;
  }

  .team-card div[style*="height: 280px"] {
    height: 240px !important;
  }

  .team-card h3 {
    font-size: 18px !important;
  }

  .team-card p[style*="font-size: 14px"] {
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .site-content {
    padding: 40px 0;
  }

  .hero-section,
  .about-section,
  .services-section,
  .blog-section,
  .contact-cta {
    padding: 50px 0;
  }

  .entry-header,
  .entry-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .comments-area {
    padding: 25px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-card div[style*="font-size: 48px"] {
    font-size: 36px !important;
  }

  .site-title {
    font-size: 18px;
  }

  /* Logo mobilde minimum boyut */
  .site-logo {
    max-width: 120px;
  }

  .site-logo img {
    max-height: 35px;
  }

  .site-description {
    font-size: 11px;
  }

  /* Çok küçük ekranlarda tek sütun */
  .services-grid,
  .blog-grid,
  .team-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Ek responsive yardımcı sınıflar */
.hide-mobile {
  display: block;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

.show-mobile {
  display: none;
}

@media (max-width: 768px) {
  .show-mobile {
    display: block;
  }
}

/* Ekip kartları için ek responsive stiller eklendi */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr !important;
  }

  .team-card div[style*="height: 280px"] {
    height: 320px !important;
  }
}

@media (max-width: 480px) {
  .team-card div[style*="padding: 25px"] {
    padding: 20px !important;
  }
}

/* Single post page için gelişmiş responsive CSS eklendi */

/* Single Post - Temel responsive düzenlemeler */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

/* Tablet landscape - 1200px */
@media (max-width: 1200px) {
  .single-post-layout {
    grid-template-columns: 1fr 320px;
    gap: 30px;
  }

  .post-hero {
    height: 380px !important;
  }
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
  .single-post-layout {
    grid-template-columns: 1fr 280px;
    gap: 25px;
  }

  .post-hero {
    height: 350px !important;
  }

  article[style*="padding"] {
    padding: 40px 30px !important;
  }

  .single-post-sidebar > div {
    padding: 25px !important;
  }

  .entry-content {
    font-size: 16px !important;
  }
}

/* Tablet portrait & Mobile landscape - 768px - Sidebar aşağıya iner */
@media (max-width: 768px) {
  .single-post-layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .single-post-sidebar {
    order: 2;
  }

  .single-post-main {
    order: 1;
  }

  .post-hero {
    height: 300px !important;
  }

  .post-hero h1 {
    font-size: clamp(24px, 5vw, 36px) !important;
    padding: 0 20px !important;
  }

  article[style*="padding"] {
    padding: 35px 25px !important;
  }

  .entry-content {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }

  .entry-content h2 {
    font-size: 26px !important;
    margin: 30px 0 15px 0 !important;
  }

  .entry-content h3 {
    font-size: 22px !important;
  }

  .entry-content h4 {
    font-size: 19px !important;
  }

  .entry-meta {
    flex-direction: column;
    gap: 12px !important;
    font-size: 13px !important;
  }

  .breadcrumb-section {
    padding: 12px 0 !important;
  }

  .breadcrumb-section .container {
    padding: 0 20px !important;
  }

  .breadcrumb-section [style*="flex"] {
    font-size: 13px !important;
    gap: 8px !important;
  }

  .single-post-sidebar > div {
    padding: 25px !important;
  }

  .single-post-sidebar h3 {
    font-size: 20px !important;
  }
}

/* Mobile - 600px */
@media (max-width: 600px) {
  .site-content {
    padding: 50px 15px !important;
  }

  article[style*="padding"] {
    padding: 30px 20px !important;
  }

  .post-hero {
    height: 250px !important;
  }

  .post-hero h1 {
    font-size: 22px !important;
  }

  .entry-content {
    font-size: 15px !important;
  }

  .entry-content h2 {
    font-size: 24px !important;
  }

  .entry-content h3 {
    font-size: 20px !important;
  }

  .entry-content h4 {
    font-size: 18px !important;
  }

  .entry-content p {
    margin-bottom: 18px !important;
  }

  .entry-content ul,
  .entry-content ol {
    margin-left: 25px !important;
  }

  .entry-content blockquote {
    padding: 20px 25px !important;
    font-size: 16px !important;
  }

  .single-post-sidebar > div {
    padding: 20px !important;
  }

  .single-post-sidebar h3 {
    font-size: 19px !important;
  }

  .single-post-sidebar a[style*="display: flex"] h4 {
    font-size: 14px !important;
  }
}

/* Very small mobile - 480px */
@media (max-width: 480px) {
  .site-content {
    padding: 40px 15px !important;
  }

  article[style*="padding"] {
    padding: 25px 18px !important;
    border-radius: 8px !important;
  }

  .post-hero {
    height: 220px !important;
  }

  .post-hero h1 {
    font-size: 20px !important;
    padding: 0 15px !important;
    line-height: 1.3 !important;
  }

  .entry-content {
    font-size: 15px !important;
  }

  .entry-content h2 {
    font-size: 22px !important;
  }

  .entry-content h3 {
    font-size: 19px !important;
  }

  .entry-content h4 {
    font-size: 17px !important;
  }

  .breadcrumb-section {
    padding: 10px 0 !important;
  }

  .breadcrumb-section .container {
    padding: 0 15px !important;
  }

  .breadcrumb-section [style*="flex"] {
    font-size: 12px !important;
    gap: 6px !important;
  }

  .entry-meta {
    gap: 10px !important;
    font-size: 12px !important;
  }

  .entry-meta span[style*="font-size: 16px"] {
    font-size: 14px !important;
  }

  .single-post-sidebar > div {
    padding: 18px !important;
  }

  .single-post-sidebar h3 {
    font-size: 18px !important;
    margin-bottom: 20px !important;
  }

  .single-post-sidebar a[style*="display: flex"] {
    gap: 12px !important;
  }

  .single-post-sidebar a[style*="display: flex"] div[style*="width: 80px"] {
    width: 70px !important;
    height: 70px !important;
  }

  .single-post-sidebar a[style*="display: flex"] h4 {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .comments-area {
    padding: 20px 15px !important;
  }

  .comments-title {
    font-size: 22px !important;
  }

  .tags a {
    font-size: 12px !important;
    padding: 5px 12px !important;
  }
}

/* Yeni class-based single post responsive stilleri eklendi */

/* Post Hero Section */
.post-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #2d3748;
}

.post-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.post-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(45, 55, 72, 0.6), rgba(45, 55, 72, 0.9));
}

.post-hero .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.post-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: white;
  line-height: 1.3;
  max-width: 900px;
  word-wrap: break-word;
}

/* Breadcrumb Section */
.breadcrumb-section {
  background: #f7fafc;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  flex-wrap: wrap;
  overflow-x: hidden;
}

.breadcrumb-link {
  color: #718096;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #c9a961;
}

.breadcrumb-separator {
  color: #cbd5e0;
}

.breadcrumb-current {
  color: #c9a961;
  word-break: break-word;
}

/* Post Article */
.post-article {
  background: white;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  overflow-x: hidden;
}

/* Entry Meta */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  padding: 0 0 25px 0;
  border-bottom: 2px solid #e2e8f0;
  font-size: 14px;
  color: #718096;
  margin-bottom: 35px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-icon {
  color: #c9a961;
  font-size: 16px;
}

/* Entry Content */
.entry-content {
  color: #4a5568;
  line-height: 1.9;
  font-size: 17px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  overflow-x: hidden;
  max-width: 100%;
}

.entry-content img,
.entry-content iframe,
.entry-content video,
.entry-content embed {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

.entry-content table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}

.entry-content pre {
  overflow-x: auto;
  max-width: 100%;
}

.entry-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  color: #c9a961;
  margin: 40px 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #e2e8f0;
  word-wrap: break-word;
}

.entry-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: #2d3748;
  margin: 35px 0 18px 0;
  word-wrap: break-word;
}

.entry-content h4 {
  font-size: 22px;
  font-weight: 600;
  color: #2d3748;
  margin: 30px 0 15px 0;
  word-wrap: break-word;
}

.entry-content p {
  margin-bottom: 22px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.entry-content a {
  color: #c9a961;
  text-decoration: none;
  border-bottom: 1px solid #c9a961;
  transition: all 0.3s ease;
  word-wrap: break-word;
}

.entry-content a:hover {
  color: #2d3748;
  border-bottom-color: #2d3748;
}

.entry-content ul,
.entry-content ol {
  margin: 25px 0 25px 35px;
  line-height: 1.9;
}

.entry-content li {
  margin-bottom: 12px;
  word-wrap: break-word;
}

.entry-content blockquote {
  border-left: 5px solid #c9a961;
  padding: 25px 35px;
  margin: 35px 0;
}

/* Adding complete sidebar styles for single post layout */
