/* =====================================================
   OLGU HUKUK BÜROSU - Ana Stil Dosyası
   ===================================================== */

/* CSS Variables */
:root {
  /* Colors */
  --primary: #1a365d;
  --primary-light: #2c5282;
  --primary-dark: #0f2341;
  --accent: #b8860b;
  --accent-light: #d4a017;
  --text: #2d3748;
  --text-light: #718096;
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --bg-dark: #edf2f7;
  --border: #e2e8f0;
  --success: #38a169;
  --error: #e53e3e;
  --mock-bg: #fff3cd;
  --mock-border: #ffc107;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --container: 1200px;
  --section-padding: 80px;
  --card-radius: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Mock Data Indicator */
.mock-data {
  background: var(--mock-bg) !important;
  border: 2px dashed var(--mock-border) !important;
  position: relative;
}

.mock-data::after {
  content: '📝 MOCK - Düzenlenecek';
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 10px;
  background: var(--mock-border);
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: var(--accent-light);
  color: white;
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  /* Padding azaltıldı - logo daha büyük görünsün */
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-text span {
  color: var(--accent);
}

.logo-img {
  height: 64px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zM22.344 0L13.858 8.485 15.272 9.9l9.9-9.9h-2.828zM32 0l-3.486 3.485-1.414-1.414L30.172 0H32zM0 5.373l.828-.83 1.415 1.415L0 8.2V5.374zm0 5.656l.828-.829 2.243 2.243L0 14.686V11.03zm0 5.657l.828-.828 3.485 3.486L0 21.17V16.686zm0 5.657l.828-.828 4.9 4.9L0 27.656v-5.313zm0 5.657l.828-.828 6.314 6.314-2.828 2.828L0 32zm0 5.657l.828-.828 7.728 7.728-2.828 2.828L0 38.172v-.515zm0 5.657l.828-.828 9.142 9.142L7.142 44l-2.828 2.828L0 45.17v-1.343zm0 5.657l.828-.828L12.314 52l-2.828 2.828L0 50.343v-.515z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  margin-bottom: 32px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  text-align: left;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  display: block;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: var(--section-padding) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.125rem;
}

/* =====================================================
   SERVICES / FEATURES
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  padding: 32px;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  font-size: 1.5rem;
  border-radius: 12px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Corporate SVG Icon Styles */
.service-icon-corporate {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: 12px;
  margin-bottom: 20px;
}

.service-icon-corporate svg {
  stroke: white;
}

/* 3-column services grid */
.services-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
  .services-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   TEAM SECTION
   ===================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.team-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .team-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid-4 {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: white;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  /* Default - faces move down */
}

/* Individual photo adjustments */
.team-photo img[alt*="Ahmet"] {
  /* Ahmet: Daha aşağı göster = daha fazla gövde görünür = uzaklaşmış etkisi */
  object-position: center 20%;
}

.team-photo img[alt*="Ravza"] {
  /* Ravza: object-position ile kafayı ayarla. 0%=en üst, 50%=orta */
  object-position: center 0%;
  transform: scale(1.05);
  /* Hafif zoom: 1.05 = %5 büyütme */
}

.team-photo-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}

.team-info {
  padding: 24px;
}

.team-info h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
  min-height: 3.5em;
  /* 2 satırlık isimler için yeterli yükseklik */
  display: flex;
  align-items: flex-start;
  /* İsimleri üstten hizala */
}

.team-title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.team-bio {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.team-contact {
  display: flex;
  gap: 12px;
}

.team-contact a {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.team-contact a:hover {
  background: var(--primary);
  color: white;
}

/* =====================================================
   ARTICLES / BLOG
   ===================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.article-card {
  background: white;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-alt);
}

.article-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--text-light);
}

.article-category {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-card h3 a {
  color: var(--primary);
}

.article-card h3 a:hover {
  color: var(--accent);
}

.article-excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.read-more {
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover {
  color: var(--primary);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--primary);
  border-radius: 12px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: var(--font-main);
}

.contact-item-content p {
  margin: 0;
  color: var(--text-light);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-main);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-grid-3 {
  grid-template-columns: 2fr 1fr 1fr;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: var(--font-main);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer ul a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--accent-light);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-stats {
    gap: 32px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat {
    flex: 1 1 45%;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* =====================================================
   ARTICLE DETAIL PAGE
   ===================================================== */
.article-detail {
  padding-top: 120px;
  padding-bottom: 60px;
}

.article-detail-header {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.article-detail-header h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--text-light);
}

.article-detail-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.9;
}

.article-detail-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.article-detail-content p {
  margin-bottom: 24px;
}

.article-detail-content ul,
.article-detail-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-detail-content li {
  margin-bottom: 8px;
}

/* =====================================================
   PAGE HEADERS
   ===================================================== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 140px 0 80px;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

.mb-0 {
  margin-bottom: 0;
}

.mt-4 {
  margin-top: 32px;
}

/* =====================================================
   ACADEMIC ARTICLES - TABLE OF CONTENTS
   ===================================================== */
.article-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 24px 32px;
  margin-bottom: 40px;
}

.article-toc h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--primary);
  font-family: var(--font-main);
  font-weight: 600;
}

.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc li {
  margin-bottom: 8px;
}

.article-toc li a {
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition);
  display: block;
  padding: 4px 0;
}

.article-toc li a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.article-toc .toc-h2 {
  font-weight: 600;
}

.article-toc .toc-h3 {
  padding-left: 20px;
  font-size: 0.9rem;
}

.article-toc .toc-h4 {
  padding-left: 40px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* =====================================================
   ACADEMIC ARTICLES - CONTENT STYLES
   ===================================================== */
.article-detail-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-detail-content h3 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 16px;
}

.article-detail-content h4 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 12px;
  font-family: var(--font-main);
}

/* Academic Article Header */
.article-academic-header {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 32px;
  margin-bottom: 32px;
  text-align: center;
}

.article-academic-header .university {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-academic-header .thesis-type {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}

.article-academic-header h1 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.article-academic-header .author-info {
  color: var(--text);
  font-weight: 600;
}

.article-academic-header .publication-info {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Footnotes / Dipnotlar */
.footnote-ref {
  color: var(--accent);
  font-size: 0.75em;
  vertical-align: super;
  cursor: pointer;
  font-weight: 600;
}

.footnote-ref:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footnotes-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.footnotes-section h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-family: var(--font-main);
}

.footnotes-section ol {
  padding-left: 24px;
}

.footnotes-section li {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footnotes-section li::marker {
  color: var(--accent);
  font-weight: 600;
}

/* Academic Quote Block */
.article-detail-content blockquote {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text);
}

/* Scroll offset for anchor links */
.article-detail-content h2[id],
.article-detail-content h3[id],
.article-detail-content h4[id] {
  scroll-margin-top: 100px;
}

/* Bibliography / Kaynakça */
.bibliography {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.bibliography h2 {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

.bibliography p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  padding-left: 32px;
  text-indent: -32px;
}

/* =====================================================
   ACADEMIC ARTICLE - TABLE OF CONTENTS
   ===================================================== */
.article-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 24px 32px;
  margin-bottom: 40px;
}

.article-toc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.article-toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.article-toc>ul>li {
  margin-bottom: 8px;
}

.article-toc ul ul {
  padding-left: 20px;
  margin-top: 6px;
}

.article-toc ul ul ul {
  padding-left: 20px;
}

.article-toc li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.article-toc a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.article-toc a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.article-toc .toc-section {
  font-weight: 600;
  color: var(--primary);
}

/* Academic Article Header */
.academic-header {
  text-align: center;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
}

.academic-header .university {
  font-size: 0.95rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.academic-header h1 {
  font-size: 1.75rem;
  line-height: 1.4;
  margin-bottom: 16px;
}

.academic-header .authors {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

.academic-header .date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* Page numbers (hidden but kept for structure) */
.page-number {
  display: none;
}

/* Form feed character styling */
.article-detail-content .page-break {
  display: none;
}

/* =====================================================
   FOOTNOTE TOOLTIPS
   ===================================================== */
/* Hide the inline footnote sections in academic articles */
.article-detail-content .footnotes-section {
  display: none;
}

/* Footnote reference number styling */
.article-detail-content sup {
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.article-detail-content sup:hover {
  color: var(--primary);
}

/* Footnote tooltip container */
.footnote-tooltip {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: calc(100% - 40px);
  background: var(--primary-dark);
  color: white;
  padding: 16px 20px;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.footnote-tooltip.active {
  opacity: 1;
  visibility: visible;
}

.footnote-tooltip-number {
  color: var(--accent-light);
  font-weight: 700;
  margin-right: 8px;
}

.footnote-tooltip-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.footnote-tooltip-close:hover {
  color: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .footnote-tooltip {
    bottom: 10px;
    padding: 14px 16px;
    font-size: 0.85rem;
  }
}