/* Tema değişkenleri */
:root {
  --bg-color: #312f2f;
  --text-color: #eaeaea;
  --heading-color: #d4af37;
  --link-color: #f1c40f;
  --blockquote-bg: #1c1c1c;
}

.light-mode {
  --bg-color: #f9f9f9;
  --text-color: #222222;
  --heading-color: #946d00;
  --link-color: #c79000;
  --blockquote-bg: #f0f0f0;
}

/* Genel body stilleri */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Georgia', 'Times New Roman', serif;
  transition: background-color 0.4s, color 0.4s;
}


/* Tema ikonları */
.theme-toggle {
  position: fixed;
  top: 30px;
  right: 40px;
  z-index: 100;
  display: block;
  gap: 10px;
}

.theme-toggle span {
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  border-radius: 8px;
  background-color:grey;
  transition: background-color 0.3s;
}

.theme-toggle span:hover {
  background-color: var(--link-color);
}

/* Makale içeriği */
.makale-container {
  max-width: 1050px;
  margin: 0 auto ;
  padding: 180px 30px 50px;
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.75;
  color: var(--text-color);
  background-color: var(--bg-color);
  box-shadow: 10px 10px 30px rgba(24, 24, 24, 0.05);
  border-radius: 12px;
  transition: box-shadow 0.3s ease, background-color 0.4s, color 0.4s;
}

.makale-container:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Başlıklar */
.makale-icerik h1 {
  font-size: 2.4rem;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.3;
  border-bottom: 1px solid #555;
  padding-bottom: 14px;
  color: var(--heading-color);
}

.makale-icerik h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  border-left: 4px solid var(--link-color);
  padding-left: 12px;
  font-weight: 600;
  color: var(--link-color);
}

.makale-icerik h3 {
  font-size: 1.5rem;
  margin-top: 36px;
  margin-bottom: 18px;
  color: var(--link-color);
  font-weight: 600;
  border-left: 4px solid var(--heading-color);
  padding-left: 10px;
}

/* Paragraflar */
.makale-icerik p {
  margin-bottom: 22px;
  font-size: 1.05rem;
  text-align: justify;
  letter-spacing: 0.02em;
  line-height: 1.75;
  word-spacing: 0.05em;
  color: var(--text-color);
}

/* Liste */
.makale-icerik ul {
  list-style-type: disc;
  padding-left: 32px;
  margin-bottom: 28px;
}

.makale-icerik ul li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* Alıntı */
.makale-icerik blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  background-color: var(--blockquote-bg);
  border-left: 5px solid var(--link-color);
  font-style: italic;
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.6;
  border-radius: 8px;
}

/* Resim */
.image-law {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 40px auto;
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.15);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.image-law img {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
}

.image-law:hover {
  transform: scale(1.02);
}

.hakkimizda-logo-content {
    margin-bottom: 140px;
}
.hakkımızda-logo
{
     width: 250px;
    height: 250px;
}
.hakkımızda-logo img
{
    width: 100%;
    height: 100%;
}

.madde-turk-medeni {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding-left: 35px;
}


.accordion {
    width: 100%;
    max-width: 800px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #fff;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 15px 20px;
    cursor: pointer;
    background: #555;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #0056b3;
}

.accordion-header h4 {
    color: #fff;
    font-size: 14px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: #f9f9f9;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-content p {
    margin: 15px 0;
    line-height: 1.6;
    color: #333;
}

.accordion-header span {
    transition: transform 0.3s ease;
}

.accordion-header.active span {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
  .makale-container {
    margin: 0px 15px;
    padding: 100px 20px 40px;
  }
.theme-toggle
{
  position: relative;
  padding-right: 50px;
  font-size: 12px;
  top: 20px;
}
  .makale-icerik h1 {
    font-size: 2rem;
  }

  .makale-icerik h2 {
    font-size: 1.6rem;
  }

  .makale-icerik h3 {
    font-size: 1.25rem;
  }

  .makale-icerik p,
  .makale-icerik ul li {
    font-size: 1rem;
  }

  .theme-toggle {
    top: 12px;
    right: 12px;
  }
}
