/*
Theme Name: Wantagames Teması
Theme URI: https://example.com/wantagames-temasi/
Author: Cline (Sizin Adınız veya Şirket Adı)
Author URI: https://example.com/
Description: Wantagames statik sitesinden dönüştürülmüş WordPress teması.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, theme-options, translation-ready
Text Domain: wantagames-temasi
*/

/* ===== GENEL STILLER ===== */
:root {
    --primary-color: #B30000; /* Koyu kırmızı */
    --secondary-color: #b0bec5; /* Gri */
    --accent-color: #FF0000; /* Neon kırmızı */
    --light-color: #f5f5f5; /* Beyaz-gri */
    --dark-color: #828080; /* Koyu gri */
    --text-color: #ffffff; /* Beyaz */
    --light-text: #000000; /* Beyaz */
    --background-color: #808080; /* Siyah arka plan */
    --gray-color: #424242; /* Koyu gri */
    --border-color: #333333; /* Koyu sınır */
    --shadow: 0 4px 6px rgba(255, 0, 0, 0.3); /* Koyu gölge */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color); /* Siyah arka plan */
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--light-text);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* ===== HEADER ===== */
header {
    background-color: var(--light-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color); /* Orijinal CSS'de --text-color beyazdı, header arka planı açık renk olduğu için bunu değiştirmek gerekebilir */
    /* Header arka planı açık renk olduğu için menü link rengini koyu yapalım */
    color: var(--dark-color); /* Koyu gri */
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}


/* ===== HERO SECTION ===== */
.hero {
    /* Placeholder URL yerine temanın içindeki bir görseli kullanmak daha iyi olur */
    /* background: linear-gradient(rgba(33, 33, 33, 0.8), rgba(33, 33, 33, 0.9)), url('https://via.placeholder.com/1920x1080') no-repeat center/cover; */
    background: linear-gradient(rgba(33, 33, 33, 0.8), rgba(33, 33, 33, 0.9)); /* Şimdilik sadece gradyan */
    background-color: var(--gray-color); /* Geçici arka plan */
    color: var(--light-color); /* Hero metin rengini açık yapalım */
    text-align: center;
    padding: 120px 0;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 80px 0;
    background-color: var(--light-color); /* Arka planı açık renk yapalım */
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background-color: var(--gray-color); /* Feature arka planını gri yapalım */
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature i { /* FontAwesome gibi ikon kütüphanesi kullanılıyorsa çalışır */
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light-color); /* Başlık rengini açık yapalım */
}

.feature p { /* Feature içindeki paragraf metni için */
    color: var(--light-color); /* Metin rengini açık yapalım */
}


/* ===== BLOG SECTION ===== */
.blog {
    padding: 80px 0;
    background-color: var(--background-color);
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post {
    background-color: var(--light-text); /* Post arka planını açık renk yapalım */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark-color); /* Başlık rengini koyu yapalım */
}

.post-content p { /* Post içindeki paragraf metni için */
    color: var(--dark-color); /* Metin rengini koyu yapalım */
}


.post-date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

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

/* ===== FOOTER ===== */
footer {
    background-color: #4e4c4c;
    color: var(--light-color); /* Footer metin rengini açık yapalım */
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--light-color); /* Footer başlık rengi */
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 10px;
    color: var(--light-color); /* Footer paragraf rengi */
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b4b9e8; /* Footer link rengi */
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--light-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--light-color); /* İkon rengi */
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color); /* Footer alt metin rengi */
}

/* WordPress'e özgü stiller */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Menü için ek stiller gerekebilir */
.main-navigation ul { /* Nav etiketine ID veya class eklenmişse ona göre güncellenmeli */
    display: flex;
    padding: 0;
    margin: 0;
}

.main-navigation li {
    margin-left: 30px;
}

/* Aktif sayfa linki için WordPress class'ı */
.main-navigation .current-menu-item > a {
    color: var(--primary-color);
}

.main-navigation .current-menu-item > a::after {
    width: 100%;
}

/* Mobil menü butonu (varsa) */
.menu-toggle {
    display: none; /* Varsayılan olarak gizli, mobil için gösterilecek */
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== İLETİŞİM SAYFASI (contact.html) ===== */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-color); /* Açık arka plan */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1100px;
    margin: auto;
    background-color: var(--gray-color); /* İçerik kutusu arka planı */
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3, .contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light-color); /* Başlık rengi */
}

.contact-info p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--light-color); /* Metin rengi */
}

.contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--light-color); /* Liste elemanı rengi */
}

.contact-info ul li i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px; /* İkon hizalaması için */
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--light-color); /* Etiket rengi */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--light-color); /* Input arka planı */
    color: var(--dark-color); /* Input metin rengi */
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

/* ===== HAKKIMIZDA SAYFASI (about.html) ===== */
.about-section {
    padding: 80px 0;
    background-color: var(--background-color); /* Koyu arka plan */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--light-text); /* Açık renk başlık */
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--light-text); /* Açık renk metin */
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.team-section {
    padding: 80px 0;
    background-color: var(--light-color); /* Açık arka plan */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background-color: var(--gray-color); /* Üye kartı arka planı */
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--primary-color);
}

.team-member h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--light-color); /* İsim rengi */
}

.team-member p {
    font-style: italic;
    color: var(--secondary-color); /* Pozisyon rengi */
}

/* ===== PROJELER/OYUNLAR SAYFASI (projects.html) ===== */
.projects-section {
    padding: 80px 0;
    background-color: var(--background-color); /* Koyu arka plan */
}

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

.project-card {
    background-color: var(--light-text); /* Kart arka planı */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.project-image img {
    display: block;
    width: 100%;
    height: 220px; /* Sabit yükseklik */
    object-fit: cover; /* Resmi kırp */
}

.project-content {
    padding: 25px;
    flex-grow: 1; /* İçeriğin kalan alanı doldurmasını sağla */
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--dark-color); /* Başlık rengi */
}

.project-content p {
    margin-bottom: 20px;
    flex-grow: 1; /* Paragrafın alanı doldurmasını sağla */
    color: var(--dark-color); /* Metin rengi */
}

.project-content .btn {
    align-self: flex-start; /* Butonu sola yasla */
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        /* Mobil menü için gizle/göster mantığı JS ile eklenecek */
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--light-text); /* Mobil menü arka planı */
        position: absolute;
        top: 100%; /* Header'ın hemen altına */
        left: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    nav ul.active { /* JS ile eklenecek class */
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        color: var(--dark-color); /* Mobil menü link rengi */
    }
     nav ul li a:hover {
        background-color: #f0f0f0;
    }
    nav ul li a::after {
        display: none; /* Mobil menüde alt çizgiyi kaldır */
    }
     nav ul li a.active {
        color: var(--primary-color);
        background-color: #e9e9e9;
    }


    .menu-toggle {
        display: block; /* Mobil menü butonunu göster */
        position: absolute;
        top: 25px; /* Dikey hizalama */
        right: 20px;
    }


    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .feature-grid, .blog-posts, .team-grid, .project-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin-top: 30px;
    }
}
