/*!
Theme Name: GeneratePress Benzeri Tema
Theme URI: https://example.com
Author: Manus AI
Author URI: https://example.com
Description: GeneratePress'e yakın, modern ve temiz tasarıma sahip, WhatsApp iletişim butonlu bir WordPress teması. Kolayca sayfa ve blog yazısı ekleyebilirsiniz.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress-benzeri
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.2
*/

/* ============================================
   GENEL STİLLER
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

a {
  color: #0073aa;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #005a87;
}

/* ============================================
   BAŞLIK VE NAVİGASYON
   ============================================ */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.site-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.site-title a {
  color: #333;
}

.site-title a:hover {
  color: #0073aa;
}

.site-description {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
  display: none;
}

.main-navigation {
  display: flex;
  gap: 2rem;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-navigation a {
  color: #333;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.current {
  color: #0073aa;
  border-bottom-color: #0073aa;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* ============================================
   ANA İÇERİK ALANI
   ============================================ */

.site-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

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

.content-area {
  flex: 1;
}

.entry-header {
  margin-bottom: 2rem;
}

.entry-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #333;
}

.entry-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.entry-meta span {
  margin-right: 1.5rem;
}

.entry-meta a {
  color: #0073aa;
}

.entry-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.entry-content h1 {
  font-size: 2rem;
}

.entry-content h2 {
  font-size: 1.75rem;
}

.entry-content h3 {
  font-size: 1.5rem;
}

.entry-content h4 {
  font-size: 1.25rem;
}

.entry-content h5 {
  font-size: 1.125rem;
}

.entry-content h6 {
  font-size: 1rem;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

.entry-content ul,
.entry-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  border-left: 4px solid #0073aa;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: #666;
  font-style: italic;
}

.entry-content code {
  background-color: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.entry-content pre {
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 3px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.entry-content pre code {
  background-color: transparent;
  padding: 0;
}

/* ============================================
   KENAR ÇUBUĞU
   ============================================ */

.sidebar {
  width: 300px;
  margin-left: 2rem;
}

.widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 0.5rem;
}

.widget ul {
  list-style: none;
}

.widget ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul a {
  color: #0073aa;
}

.widget ul a:hover {
  color: #005a87;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 3rem 2rem 1rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-widget {
  color: #ecf0f1;
}

.footer-widget-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

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

.footer-widget ul li {
  margin-bottom: 0.5rem;
}

.footer-widget a {
  color: #ecf0f1;
  transition: color 0.3s ease;
}

.footer-widget a:hover {
  color: #0073aa;
}

.site-footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 1rem;
  text-align: center;
  color: #95a5a6;
  font-size: 0.9rem;
}

/* ============================================
   WHATSAPP BUTONU
   ============================================ */

.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-button:hover {
  background-color: #1ead50;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.whatsapp-button-tooltip {
  position: absolute;
  bottom: 70px;
  right: 0;
  background-color: #333;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-button:hover .whatsapp-button-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: 75px;
}

/* ============================================
   BLOG YAZILARI LISTESI
   ============================================ */

.posts-list {
  display: grid;
  gap: 2rem;
}

.post-item {
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}

.post-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.post-item .entry-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.post-item .entry-title a {
  color: #333;
}

.post-item .entry-title a:hover {
  color: #0073aa;
}

.post-item .entry-meta {
  margin-bottom: 1rem;
}

.post-excerpt {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  background-color: #0073aa;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #005a87;
}

/* ============================================
   SAYFALAMA
   ============================================ */

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pagination a,
.pagination span {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #0073aa;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #0073aa;
  color: #ffffff;
  border-color: #0073aa;
}

.pagination .current {
  background-color: #0073aa;
  color: #ffffff;
  border-color: #0073aa;
}

/* ============================================
   BUTONLAR
   ============================================ */

.btn,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0073aa;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  background-color: #005a87;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ============================================
   FORMLAR
   ============================================ */

.contact-form,
.comment-form {
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="url"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* ============================================
   RESPONSIVE TASARIM
   ============================================ */

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-toggle {
    display: block;
    align-self: flex-end;
  }

  .main-navigation {
    display: none;
    width: 100%;
  }

  .main-navigation.active {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation a {
    padding: 1rem;
    border-bottom: 1px solid #e5e5e5;
  }

  .site-content {
    padding: 1rem;
  }

  .entry-title {
    font-size: 1.75rem;
  }

  .entry-content h1 {
    font-size: 1.5rem;
  }

  .entry-content h2 {
    font-size: 1.25rem;
  }

  .entry-content h3 {
    font-size: 1.125rem;
  }

  .sidebar {
    width: 100%;
    margin-left: 0;
    margin-top: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .whatsapp-button {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-button svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  .entry-title {
    font-size: 1.5rem;
  }

  .entry-content h1 {
    font-size: 1.25rem;
  }

  .entry-content h2 {
    font-size: 1.125rem;
  }

  .entry-content h3 {
    font-size: 1rem;
  }

  .main-navigation {
    gap: 0;
  }

  .main-navigation ul {
    gap: 0;
  }

  .whatsapp-button {
    width: 45px;
    height: 45px;
  }

  .whatsapp-button svg {
    width: 24px;
    height: 24px;
  }
}
