/*
Theme Name: AlvaEnerji
Theme URI: https://www.ornek.com
Author: Sen
Author URI: https://www.ornek.com
Description: Alva Enerji için özel mobil uyumlu tema
Version: 1.0
*/

:root {
  --primary-color: #00a88f;
}

/* Genel body ayarları */
body {
  margin: 0;
  font-family: 'Myriad Pro', sans-serif;
  color: #333;
  background: #fff;
}

/* Linkler */
a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: #008f7a;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 9999;
  padding: 20px 40px;
  display: flex;
  flex-direction: column; /* Logo üstte, menü altta */
  align-items: flex-end; /* Masaüstünde sağa hizala */
  gap: 75px;
}

/* Logo */
.logo {
  max-width: 350px;
  width: 100%;
}

.logo a {
  display: block;
  user-select: none;
}

.logo a img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Menü */
nav.main-navigation {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

nav.main-navigation ul {
  display: flex;
  gap: 15px; /* Menüde öğeler arası boşluk */
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.main-navigation ul li a {
  font-family: 'Myriad Pro', sans-serif;
  font-weight: bold;
  font-style: normal;
  text-transform: capitalize; /* Sadece baş harfleri büyük */
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 10px 10px;
  color: #333;
  white-space: nowrap;
  transition: color 0.3s ease;
}

nav.main-navigation ul li.current-menu-item > a,
nav.main-navigation ul li.current_page_item > a {
  color: var(--primary-color);
  font-weight: bold;
}

nav.main-navigation ul li a:hover {
  color: var(--primary-color);
}

/* Mobil Menü Butonu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBİL */
@media (max-width: 992px) {
  header {
    flex-direction: row; /* Logo ve menü yan yana */
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
  }

  .logo {
    max-width: 150px;
  }

  .logo a img {
    max-height: 40px;
    width: auto;
  }

  nav.main-navigation {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: #fff;
    flex-direction: column;
    display: none;
    z-index: 9999;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px 0;
  }

  nav.main-navigation.active {
    display: flex;
  }

  nav.main-navigation ul {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    text-align: center;
  }

  nav.main-navigation ul li {
    border-bottom: 1px solid #eee;
    width: 100%;
  }

  nav.main-navigation ul li a {
    font-size: 18px;
    padding: 15px 0;
  }

  .menu-toggle {
    display: flex;
  }
}

/* FOOTER */
footer {
  background: #f8f8f8;
  padding: 40px 20px;
  font-size: 14px;
  color: #333;
  user-select: none;
  text-align: left;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 250px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a,
.footer-contact p,
.footer-social a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-social a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: var(--primary-color);
  font-weight: 500;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  footer {
    padding: 20px 10px;
    text-align: center;
  }
}
.page-header {
  background-size: cover;
  background-position: center;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 40px;
  position: relative;
}

.breadcrumb-overlay {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.breadcrumb-box {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95); /* yarı şeffaf beyaz kutu */
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 16px;
  font-weight: 500;
  max-width: 100%;
}

.breadcrumb-box a {
  text-decoration: none;
  color: #008375;
  font-weight: 600;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #666;
}

.breadcrumb-current {
  color: #444;
}

/* Responsive (mobil/tablet) */
@media (max-width: 1024px) {
  .page-header {
    min-height: 180px;
    padding: 0 20px;
    justify-content: center;
    text-align: center;
  }

  .breadcrumb-box {
    display: block;
    margin: 10px auto;
    font-size: 14px;
    padding: 10px 16px;
  }

  .breadcrumb-separator {
    margin: 0 4px;
  }
}
.editor-content {
  max-width: 900px;           /* kutu genişliği */
  margin: 40px auto;          /* üst-alt boşluk + ortala */
  padding: 30px 40px;         /* içerik iç boşluğu */
  background: #fff;           /* beyaz kutu */
  border-radius: 12px;        /* köşeleri yuvarlat */
  box-shadow: 0 8px 25px rgba(0,0,0,0.08); /* hafif gölge */
  line-height: 1.7;           /* okunabilir satır aralığı */
  font-size: 16px;            /* okunabilir font */
  color: #333;                /* yazı rengi */
  box-sizing: border-box;     /* padding + genişlik doğru hesaplanır */
  transition: all 0.3s ease;  /* hover efekt için hazır */
}

/* Mobil uyum */
@media (max-width: 768px) {
  .editor-content {
    max-width: 100%;
    margin: 20px 10px;
    padding: 20px;
  }
}

/* Hover efekti (isteğe bağlı) */
.editor-content:hover {
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
