/* ===============================
   ASHIVA BLOG CSS
   Blog Sayfaları için Ortak Stiller
   =============================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&display=swap');

/* Root Variables */
:root {
    --primary-color: #215020;
    --secondary-color: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-lighter: #999999;
    --border-color: rgba(33, 80, 32, 0.1);
    --bg-light: #f8f9fa;
    --shadow-light: 0 2px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.12);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blog Container */
.blog-container {
    min-height: 100vh;
    background: var(--secondary-color);
}

/* Blog Hero Section */
.blog-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3d1a 0%, #215020 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0; /* Header şeffaf olduğu için üst boşluk kaldırıldı */
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--secondary-color);
    max-width: 1000px;
    padding: 0 40px;
}

.blog-date {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 20px;
}

.blog-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 400;
    font-style: italic;
    opacity: 0.95;
    line-height: 1.5;
}

/* Blog Content */
.blog-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* Blog Intro */
.blog-intro {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    font-style: italic;
    text-align: center;
}

/* Blog Sections */
.blog-section {
    margin-bottom: 60px;
}

.blog-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-left: 30px;
}

.blog-section h2::before {
    content: '🌿';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
}

.blog-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 40px 0 20px 0;
}

.blog-section p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 25px;
    text-align: justify;
}

/* Feature List */
.feature-list {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.feature-list li::before {
    content: '✔️';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

/* Quote Box */
.quote-box {
    background: linear-gradient(135deg, rgba(33, 80, 32, 0.05) 0%, rgba(33, 80, 32, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 30px 40px;
    margin: 40px 0;
    position: relative;
}

.quote-box p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.8;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
}

/* Highlight Box */
.highlight-box {
    background: var(--bg-light);
    padding: 40px;
    margin: 50px 0;
    border-radius: 8px;
    text-align: center;
}

.highlight-box h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.highlight-box p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
}

/* Blog Image */
.blog-image {
    width: 100%;
    margin: 40px 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

.blog-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.blog-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    text-align: center;
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-lighter);
    font-style: italic;
}

/* Blog CTA Section */
.blog-cta {
    background: linear-gradient(135deg, #215020 0%, #2d6e2c 100%);
    padding: 60px 40px;
    margin-top: 80px;
    text-align: center;
    border-radius: 8px;
}

.blog-cta h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.blog-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.blog-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
    border-radius: 4px;
}

.blog-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

/* Related Posts */
.related-posts {
    padding: 80px 40px;
    background: var(--bg-light);
}

.related-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 300;
}

.related-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.related-card {
    background: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-base);
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.related-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3d1a 0%, #215020 100%);
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.related-card:hover .related-card-image img {
    transform: scale(1.1);
}

.related-card-content {
    padding: 30px;
}

.related-card-date {
    font-size: 0.9rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.related-card-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.related-card-excerpt {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Blog Navigation */
.blog-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 60px auto;
    padding: 0 40px;
}

.blog-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.blog-nav-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.blog-nav-link.prev:hover {
    transform: translateX(-5px);
}

.blog-nav-link span {
    font-size: 1.5rem;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    font-size: 0.95rem;
    position: absolute;
    top: 100px; /* Header'ın altında konumlandırma */
    left: 0;
    right: 0;
    z-index: 10;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8); /* Beyaz renk, hero üzerinde görünmesi için */
    text-decoration: none;
    transition: color var(--transition-base);
}

.breadcrumb a:hover {
    color: rgba(255, 255, 255, 1);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-content {
        padding: 60px 30px;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-subtitle {
        font-size: 1.2rem;
    }

    .blog-intro {
        font-size: 1.2rem;
    }

    .blog-section h2 {
        font-size: 1.8rem;
    }

    .blog-section p {
        font-size: 1.1rem;
    }

    .quote-box {
        padding: 25px 30px;
    }

    .quote-box p {
        font-size: 1.2rem;
    }

    .highlight-box {
        padding: 30px 25px;
    }

    .blog-cta {
        padding: 40px 30px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-nav {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .blog-content {
        padding: 40px 20px;
    }

    .blog-hero {
        height: 50vh;
    }

    .blog-title {
        font-size: 1.8rem;
    }

    .blog-section h2 {
        font-size: 1.5rem;
        padding-left: 25px;
    }

    .blog-section p {
        font-size: 1rem;
    }

    .feature-list li {
        font-size: 1rem;
    }
}