:root {
    --primary-color: #A0522D;
    --secondary-color: #F5F5DC;
    --accent-color: #8B4513;
    --text-color: #333;
    --light-text-color: #666;
    --white: #fff;
    --black: #000;
    --transition-speed: 0.3s ease;
    --animation-duration: 0.6s; 
     --background-light: #fdfaf6;
     --background-alt: #f7f2ec;
}


/* Hero Bölümü*/
.blog-hero,
.post-hero {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-alt) 100%);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero .hero-content,
.post-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: var(--text-color);
}

.blog-hero .hero-subtitle,
.post-hero .hero-subtitle {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.blog-hero h1,
.post-hero h1 {
    font-size: 3.8em;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--accent-color);
}

.post-hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
}


.blog-hero p {
    font-size: 1.2em;
    color: var(--light-text-color);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Meta Bilgileri (Tarih, Yazar vb.) */
.post-meta {
    font-size: 0.9em;
    color: var(--light-text-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: center; 
    gap: 20px;
    flex-wrap: wrap;
}

.blog-post-page .post-meta {
    justify-content: flex-start;
    margin-bottom: 30px;
    gap: 15px;
}


.post-meta span i {
    color: var(--primary-color);
    margin-right: 5px;
}


.highlight {
    color: var(--primary-color);
    font-weight: 800;
}

/* Blog Liste Bölümü */
.blog-list-section .section-title {
     margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; 
}

.blog-post-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.blog-post-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-post-card .post-image img {
    width: 100%;
    height: 220px; 
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.blog-post-card .post-content {
    padding: 20px 25px 25px 25px; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-card .post-content .post-meta {
     margin-bottom: 15px;
     gap: 15px; 
     justify-content: flex-start; 
}


.blog-post-card .post-title {
    font-size: 1.4em;
    color: var(--accent-color);
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-post-card .post-title a {
     color: var(--accent-color);
     transition: color var(--transition-speed);
}
.blog-post-card .post-title a:hover {
     color: var(--primary-color);
}


.blog-post-card .post-excerpt {
    font-size: 0.95em;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1; 
}

.read-more-link {
    display: inline-block;
    font-size: 1em;
    font-weight: 600;
    color: var(--primary-color);
    transition: color var(--transition-speed), transform var(--transition-speed);
}
.read-more-link i {
    margin-left: 5px;
    transition: transform var(--transition-speed);
}
.read-more-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}
.read-more-link:hover i {
     transform: translateX(5px);
}

.post-main-image {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.post-main-image img {
    display: block;
    width: 100%;
    height: auto;
}

.post-body {
     max-width: 800px; 
     margin: 0 auto;
     font-size: 1.1em;
     line-height: 1.8;
     color: var(--text-color);
}

.post-body h2,
.post-body h3,
.post-body h4 {
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: left; 
}
.post-body h2 { font-size: 2em; }
.post-body h3 { font-size: 1.6em; }
.post-body h4 { font-size: 1.3em; }


.post-body p {
    margin-bottom: 20px;
}

.post-body figure {
    margin: 30px 0;
    text-align: center;
}
.post-body figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.post-body figcaption {
    font-size: 0.9em;
    color: var(--light-text-color);
    margin-top: 10px;
    font-style: italic;
}

.post-body ul,
.post-body ol {
    margin: 20px 0;
    padding-left: 25px;
    color: var(--text-color);
}
.post-body ul li,
.post-body ol li {
    margin-bottom: 10px;
    line-height: 1.6;
}


/* Animasyon Stilleri */
.animate-on-scroll {
    opacity: 0;
    transition: opacity var(--animation-duration) ease-out, transform var(--animation-duration) ease-out;
}

.fade-in { transform: translateY(20px); }
.fade-in-up { transform: translateY(40px); }
.slide-in-left { transform: translateX(-50px); }
.slide-in-right { transform: translateX(50px); }


.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Animasyon Gecikmeleri */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }


/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .blog-hero h1, .post-hero h1 {
        font-size: 2.8em;
    }
    .post-hero h1 { 
        font-size: 2.2em;
    }

     .blog-hero p {
        font-size: 1.1em;
     }
      .blog-grid {
          gap: 30px;
      }
       .blog-post-card .post-content {
           padding: 20px; 
       }
        .blog-post-card .post-title {
            font-size: 1.2em;
        }
        .blog-post-card .post-excerpt {
            font-size: 0.9em;
        }
        .post-meta {
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
        .blog-post-page .post-meta {
             align-items: flex-start; 
        }

        .post-body {
            font-size: 1em; 
        }
         .post-body h2 { font-size: 1.8em; }
         .post-body h3 { font-size: 1.4em; }
         .post-body h4 { font-size: 1.2em; }

         .post-body figure {
             margin: 20px 0;
         }
}

@media (max-width: 480px) {
     .blog-hero h1, .post-hero h1 {
         font-size: 2.2em;
     }
     .post-hero h1 { 
         font-size: 1.8em;
     }
      .blog-hero p {
          font-size: 1em;
      }
      .blog-grid {
          grid-template-columns: 1fr; 
      }
      .blog-post-card .post-image img {
          height: 200px; 
      }
      .blog-post-card .post-title {
          font-size: 1.1em;
      }
       .blog-post-card .post-excerpt {
           font-size: 0.85em;
       }
       .post-body {
            font-size: 0.95em;
       }
        .post-body h2 { font-size: 1.5em; }
        .post-body h3 { font-size: 1.2em; }
        .post-body h4 { font-size: 1.1em; }
}