/* Blog Hero Section */
.blog-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/Healty\ Food\ Vegetable\ Banner\ Landscape.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    max-width: 600px;
}

/* Blog Posts */
.blog-posts {
    padding: 5rem 5%;
    background: var(--light-green);
}

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

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 400px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .blog-image {
        height: 300px;
    }

    .blog-content h2 {
        font-size: 1.5rem;
    }
}

/* Blog Detay Sayfası */
.blog-detail-hero {
    height: 60vh;
    overflow: hidden;
    position: relative;
}

.blog-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-content {
    margin-top: -100px;
    position: relative;
    z-index: 2;
    padding: 0 5%;
}

.blog-detail-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-detail-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.blog-section {
    margin: 2.5rem 0;
}

.blog-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-section p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.blog-conclusion {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light-green);
    border-radius: 10px;
}

.blog-conclusion h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.blog-tags span {
    color: var(--text-color);
    margin-right: 1rem;
}

.blog-tags a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    background: var(--light-green);
    color: var(--primary-color);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-tags a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Blog Meta Güncellemesi */
.blog-meta {
    display: flex;
    gap: 2rem;
    color: #666;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .blog-detail-hero {
        height: 40vh;
    }

    .blog-detail-container {
        padding: 2rem;
    }

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

    .blog-section h2 {
        font-size: 1.5rem;
    }
}

/* Navbar için özel stiller */
.navbar {
    background: var(--primary-color);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    /* Menu Toggle Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }
} 