﻿* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}


/* ==========================================================================
   Temel Reset & Sayfa Yüksekliği
   ========================================================================== */
html,
body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
}

    /* ==========================================================================
   Anasayfa Arkaplanı (yalnızca body.home-page için)
   ========================================================================== */
    body.home-page {
        background: url('stars.gif') no-repeat center center fixed;
        background-size: cover;
    }

        body.home-page .wrapper {
            background: url('images/home-bg.jpg') no-repeat center center fixed;
            background-size: cover;
        }

    body:not(.home-page) {
        background: #111;
    }

/* ==========================================================================
   WRAPPER
   ========================================================================== */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
nav {
    background: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
}
    /* ==========================================================================
   Logo alanı: shrink-wrap
   ========================================================================== */
        nav .logo {
        flex: 0 0 auto;
    }

        nav .logo a {
            display: inline-block;
            padding: 0;
            margin: 0;
        }

            nav .logo a img.logo-img {
                height: 40px;
                max-width: 150px;
                width: auto;
            }

    /* ==========================================================================
   Menü bağlantılarını ortala
   ========================================================================== */
        nav .nav-links {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
    }

        nav .nav-links a {
            margin: 0 20px;
            padding: 8px 16px;
            color: #000;
            text-decoration: none;
            font-weight: bold;
            border-radius: 4px;
            transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
        }

            nav .nav-links a:hover,
            nav .nav-links a.active {
                background-color: #000;
                color: #fff;
                border: 1px solid #000;
            }

    /* ==========================================================================
   Eğer kullanıyorsan spacer’ı gizle
   ========================================================================== */
        nav .nav-spacer {
        display: none;
    }


/* ==========================================================================
   HERO BÖLÜMÜ
   ========================================================================== */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: transparent;
}

    .hero h1 {
        font-size: 2.5em;
        margin-bottom: 10px;
    }

    .hero p.slogan {
        font-size: 1.2em;
        color: #ccc;
        margin-bottom: 20px;
    }

/* ==========================================================================
   GÖRSEL ALANI
   ========================================================================== */
.image-placeholder {
    width: 600px;
    height: 400px;
    margin: 60px auto 0;
    background: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    border-radius: 8px;
}

    .image-placeholder img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

/* ==========================================================================
   AÇIKLAMA
   ========================================================================== */
.description {
    text-align: center;
    margin-top: 40px;
    color: #bbb;
    font-style: italic;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    margin-top: auto;
}

    .footer .footer-link {
        display: inline-block;
        color: #4ea7f2;
        text-decoration: none;
        font-size: 0.9em;
        margin-bottom: 10px;
    }

        .footer .footer-link:hover {
            text-decoration: underline;
            color: #71c0ff;
        }

    .footer p {
        margin: 0;
        font-size: 0.9em;
        color: #4ea7f2;
    }

/* ==========================================================================
   Privacy Policy Sayfası İçeriği
   ========================================================================== */
.privacy-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.6;
}

    .privacy-content h1 {
        font-size: 2em;
        text-align: center;
        margin-bottom: 5px;
    }

    .privacy-content .effective-date {
        text-align: center;
        font-style: italic;
        color: #4ea7f2;
        margin-bottom: 30px;
    }

    .privacy-content p {
        margin-bottom: 20px;
        color: #ddd;
    }

    .privacy-content a {
        color: #4ea7f2;
        text-decoration: none;
    }

        .privacy-content a:hover {
            text-decoration: underline;
        }

    .privacy-content hr {
        border: none;
        border-top: 1px solid #444;
        margin: 30px 0;
    }

    .privacy-content h2 {
        font-size: 1.5em;
        margin-bottom: 10px;
        color: #fff;
    }

    .privacy-content ul {
        list-style: disc inside;
        margin: 0 0 20px 20px;
    }

        .privacy-content ul li {
            margin-bottom: 10px;
        }

/* ==========================================================================
   Games Resim ve Yazı Sayfası İçeriği
   ========================================================================== */
.games-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
}

    .games-section .game-image {
        flex: 1 1 40%;
        min-width: 280px;
        overflow: hidden;
        border-radius: 8px;
    }

        .games-section .game-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

    .games-section .game-description {
        flex: 1 1 55%;
        min-width: 300px;
    }

        .games-section .game-description h2 {
            font-size: 2em;
            margin-bottom: 20px;
            color: #fff;
        }

        .games-section .game-description p {
            margin-bottom: 16px;
            line-height: 1.6;
            color: #ddd;
        }

            .games-section .game-description p strong {
                color: #fff;
            }

/* ==========================================================================
   Mobil için
   ========================================================================== */

@media (max-width: 768px) {

    /* NAVBAR */
    nav {
        flex-direction: column;
        padding: 12px;
    }

        nav .logo {
            margin-bottom: 10px;
        }

        nav .nav-links {
            flex-direction: column;
            align-items: center;
        }

            nav .nav-links a {
                margin: 6px 0;
                width: 100%;
                text-align: center;
            }

    /* HERO */
    .hero {
        padding: 40px 16px;
    }

        .hero h1 {
            font-size: 1.8em;
        }

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

    /* IMAGE PLACEHOLDER */
    .image-placeholder {
        width: 100%;
        height: auto;
        margin: 30px auto 0;
    }

    /* GAMES PAGE */
    .games-section {
        flex-direction: column;
    }

        .games-section .game-image,
        .games-section .game-description {
            min-width: 100%;
        }
}
