/* Blog Header Stili */
.blog-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/blog/blog-header.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

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

/* Logo Stili */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

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

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s;
}

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

.post-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.post-content {
    background: var(--card-bg);
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.post-meta .category {
    color: var(--primary-color);
    font-weight: bold;
}

.post-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.3;
}

.post-content p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.read-more:hover {
    color: var(--dark-bg);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Sabit Butonlar */
.floating-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-call a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.call-btn {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.floating-call a:hover {
    transform: scale(1.1);
}

.floating-call i {
    font-size: 1.8rem;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 180px;
    right: 30px;
    z-index: 999;
    background: var(--card-bg);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle:hover i {
    transform: rotate(30deg);
}

/* Responsive Tasarım */
@media screen and (max-width: 768px) {
    .blog-header {
        height: 200px;
        margin-top: 60px;
    }

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

    .post-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .post-image {
        height: 200px;
    }

    .post-content h2 {
        font-size: 1.3rem;
    }
}
