/* Genel Stil Ayarları */
:root {
    --primary-color: #E63946; /* Canlı Kırmızı - Vurgu, başlık altı çizgileri */
    --secondary-color: #1D3557; /* Koyu Lacivert - Başlıklar, arka planlar */
    --accent-color: #457B9D; /* Orta Mavi - Linkler, buton hover */
    --text-color: #333333; /* Genel metin rengi */
    --light-text-color: #F1FAEE; /* Koyu arka planlardaki metin */
    --bg-color: #F8F9FA; /* Hafif Gri Arka Plan */
    --card-bg-color: #FFFFFF; /* Kartlar ve içerik kutuları */
    --border-color: #E0E0E0; /* İnce kenarlıklar */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7; /* Daha rahat okunabilirlik */
    color: var(--text-color);
    background-color: var(--bg-color);
    scroll-behavior: smooth; /* Yumuşak kaydırma */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 { font-size: 3.2em; font-weight: 700; text-transform: uppercase; }
h2 { font-size: 2.5em; font-weight: 700; margin-top: 30px; }
h3 { font-size: 1.9em; font-weight: 700; }

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.read-more {
    display: inline-flex; /* Icon ile yan yana hizalama */
    align-items: center;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.95em;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    color: var(--light-text-color); /* Hover'da renk değişimi olmasın */
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.category {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text-color);
    font-size: 0.75em;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}


/* Header */
.main-header {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    padding: 20px 0;
    border-bottom: 6px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    margin: 0;
}

.logo a {
    color: var(--light-text-color);
    font-family: 'Oswald', sans-serif;
    font-size: 2.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--light-text-color);
    font-weight: 700;
    padding: 8px 0;
    position: relative;
    font-size: 1.05em;
    letter-spacing: 0.5px;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Menü açıldığında üstte kalması için */
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--light-text-color);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background-color: var(--secondary-color);
    padding: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-post {
    position: relative;
    width: 100%;
    height: 600px; /* Daha dergivari, büyük bir görsel alanı */
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* İçeriği aşağıda hizala */
}

.hero-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Resmi karartarak metni vurgula */
    transition: filter 0.5s ease;
}

.hero-post:hover img {
    filter: brightness(0.5);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6) 50%, rgba(0,0,0,0)); /* Daha belirgin geçiş */
    color: var(--light-text-color);
    text-align: left; /* Metni sola hizala */
}

.hero-overlay .category {
    background-color: var(--primary-color);
    margin-bottom: 15px;
}

.hero-overlay h2 {
    color: var(--light-text-color);
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    transition: color 0.3s ease;
}

.hero-overlay h2 a {
    color: var(--light-text-color);
}
.hero-overlay h2 a:hover {
    color: var(--primary-color);
}

.hero-overlay .excerpt {
    font-size: 1.15em;
    max-width: 800px;
    margin-bottom: 25px;
    color: var(--light-text-color);
    font-family: 'Merriweather', serif; /* Özel font kullanımı */
    font-style: italic;
    line-height: 1.5;
}

/* Featured Articles & Latest Reviews */
.featured-articles, .latest-reviews {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.featured-articles h2, .latest-reviews h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.featured-articles h2::after, .latest-reviews h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}


.article-grid, .review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card, .review-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; /* İçeriğin dikey sıralanması */
}

.article-card:hover, .review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.article-image-wrapper, .review-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px; /* Sabit yükseklik, tutarlı kart görünümü */
    overflow: hidden;
}

.article-card img, .review-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover img, .review-card:hover img {
    transform: scale(1.05); /* Hover'da hafif büyütme efekti */
}

.article-image-wrapper .category, .review-image-wrapper .category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1; /* Kategorinin resmin üstünde görünmesini sağlar */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.article-card h3, .review-card h3 {
    padding: 18px 20px 10px;
    font-size: 1.6em;
    margin-bottom: 0;
    flex-grow: 1; /* Başlık alanı esnek olsun */
}

.article-card h3 a, .review-card h3 a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}
.article-card h3 a:hover, .review-card h3 a:hover {
    color: var(--primary-color);
}

.article-card .excerpt, .review-card .excerpt {
    padding: 0 20px 15px;
    font-size: 0.98em;
    color: #666;
}

.review-card .rating {
    padding: 0 20px 10px;
    color: var(--primary-color); /* Puanlama rengi */
    font-weight: 700;
    font-size: 1.1em;
}

.review-card .rating .fas, .review-card .rating .far {
    color: #FFC107; /* Yıldız rengi */
    margin-right: 2px;
}

.review-card .rating span {
    color: var(--secondary-color);
    margin-left: 5px;
}


.article-card .read-more, .review-card .read-more {
    display: block;
    text-align: center;
    padding: 12px 20px;
    margin: 0 20px 20px;
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    border-radius: 5px;
    font-size: 0.9em;
}

.article-card .read-more:hover, .review-card .read-more:hover {
    background-color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 60px 0;
    text-align: center;
    margin-top: 40px;
}

.newsletter-section h2 {
    color: var(--light-text-color);
    margin-bottom: 20px;
}

.newsletter-section p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.05em;
    outline: none;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
}

.newsletter-form input[type="email"]::placeholder {
    color: #777;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}


/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    padding: 40px 0 20px;
    border-top: 6px solid var(--primary-color);
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.footer-brand, .footer-nav, .footer-social {
    flex: 1;
    min-width: 200px; /* Küçük ekranlarda sığması için */
    margin-bottom: 20px;
}

.footer-brand h3, .footer-nav h3, .footer-social h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.footer-brand p {
    font-size: 0.95em;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95em;
}
.footer-nav ul li a:hover {
    color: var(--primary-color);
}

.footer-social a {
    color: var(--light-text-color);
    font-size: 1.8em;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    width: 100%;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85em;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.6em; }

    .main-nav {
        display: none;
        width: 100%;
        order: 1;
        background-color: var(--secondary-color);
        margin-top: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start; /* Sola hizala */
        padding: 10px 20px;
    }

    .main-nav ul li {
        margin: 10px 0;
        width: 100%;
    }

    .main-nav ul li a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }

    .hero-post {
        height: 450px;
    }

    .hero-overlay {
        padding: 30px;
    }

    .hero-overlay h2 {
        font-size: 2.2em;
    }

    .hero-overlay .excerpt {
        font-size: 1em;
    }

    .article-grid, .review-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav ul {
        align-items: center;
        padding: 0;
    }

    .footer-social {
        margin-top: 10px;
    }
    .footer-social a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 2.2em;
    }
    .hero-post {
        height: 350px;
    }
    .hero-overlay {
        padding: 20px;
    }
    .hero-overlay h2 {
        font-size: 1.8em;
    }
    .hero-overlay .excerpt {
        font-size: 0.9em;
    }
}