/* Genel Ayarlar */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    background: #333;
    color: #fff;
    padding: 10px 20px;
}

header nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    position: relative;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    display: block;
}

header nav ul li ul {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: #444;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
}

header nav ul li:hover ul {
    display: block;
}

header nav ul li ul li {
    width: 150px;
}

section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

/* Ana Sayfa */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 100px);
    padding: 20px;
    text-align: left;
    flex-wrap: wrap;
}

.main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.main-text {
    max-width: 600px;
}

.main-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.main-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Oyunlar ve Modeller */
.games-container,
.models-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px;
}

.game, .model {
    width: 30%;
    text-align: center;
    margin-bottom: 20px;
}

.game img, .model img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.game img:hover, .model img:hover {
    transform: scale(1.05);
}

.game h2, .model h2 {
    font-size: 1.5rem;
    margin-top: 10px;
}

.game p, .model p {
    font-size: 1rem;
    color: #555;
}

/* İletişim ve Hakkında */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    display: block;
    width: 100%;
    background: #333;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.contact-form button:hover {
    background: #555;
}

/* Medya Sorguları */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
    }

    header nav ul li {
        text-align: center;
    }

    .main-container {
        height: auto;
        padding: 20px;
    }

    .main-content {
        flex-direction: column;
    }

    .games-container, .models-container {
        flex-direction: column;
    }

    .game, .model {
        width: 100%;
    }

    .main-text h1 {
        font-size: 2rem;
    }

    .main-text p {
        font-size: 1rem;
    }
}
