/*
Theme Name: Finans Rehberi
Theme URI: https://finansrehberi.com
Description: Finans Rehberi için özel WordPress teması
Version: 1.0
Author: Finans Rehberi
Text Domain: finans-rehberi
Domain Path: /languages
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===== TEMEL STİLLER ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

body {
  background-color: #E8F4F8;
  font-family: 'Inter', 'Arial', sans-serif;
  color: #0f2540;
  line-height: 1.6;
}

a {
  color: #5B9FBE;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #4A7BA7;
}

/* ===== BAŞLIKLAR ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #0f2540;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* ===== HEADER ===== */
header {
  background: white;
  border-bottom: 2px solid #D0E8F2;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.site-logo {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.site-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f2540;
  margin: 0;
}

.site-description {
  font-size: 0.75rem;
  font-weight: 500;
  color: #5B9FBE;
  margin: 0;
}

/* ===== NAVIGASYON ===== */
nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: #0f2540;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 1rem;
  width: 0;
  height: 2px;
  background: #5B9FBE;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 2rem);
}

.nav-link.active {
  color: #5B9FBE;
}

/* ===== MAIN CONTENT ===== */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== POSTS GRID ===== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.post-card {
  background: white;
  border-radius: 0.75rem;
  border: 1px solid #D0E8F2;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(91, 159, 190, 0.15);
}

.post-thumbnail {
  width: 100%;
  height: 192px;
  object-fit: cover;
  background: linear-gradient(135deg, #5B9FBE33 0%, #5B9FBE15 100%);
}

.post-content {
  padding: 1.5rem;
}

.post-category {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid;
}

.post-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: #0f2540;
}

.post-excerpt {
  font-size: 0.875rem;
  color: #5B9FBE;
  margin: 1rem 0;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #5B9FBE;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #D0E8F2;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #5B9FBE 0%, #7BB3CC 100%);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #E8F4F8;
  color: #0f2540;
  border: 2px solid #D0E8F2;
}

.btn-secondary:hover {
  background: #D0E8F2;
}

/* ===== FORM ELEMENTS ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #D0E8F2;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #0f2540;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 159, 190, 0.2);
  border-color: #5B9FBE;
}

textarea {
  resize: vertical;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid #D0E8F2;
  background-color: #E8F4F8;
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  font-size: 0.875rem;
  color: #5B9FBE;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .site-header {
    padding: 0.75rem 1rem;
  }

  main {
    padding: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.slide-up {
  animation: slideUp 0.7s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(91, 159, 190, 0.15);
}

/* ===== WORDPRESS UYUMLULUK ===== */
.wp-block-image {
  margin-bottom: 1.5rem;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #F8FAFB;
  border: 1px solid #E8F4F8;
  border-radius: 0.5rem;
}

.comment-author {
  font-weight: 700;
  color: #0f2540;
  margin-bottom: 0.5rem;
}

.comment-meta {
  font-size: 0.75rem;
  color: #5B9FBE;
  margin-bottom: 1rem;
}

.comment-text {
  color: #4A7BA7;
  line-height: 1.6;
}

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #E8F4F8;
}

::-webkit-scrollbar-thumb {
  background: #7BA8C0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  backgrou