@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root {
    --main-color: #3498db;
    --black-color: #000000;
    --white-color: #ffffff;
    --border: 0.1rem solid rgba(255, 255, 255, 0.4);
    --hover-color: #3498db;
    --shadow-color: rgba(52, 152, 219, 0.3);
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

html {
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

body {
    background: url(../images/arkaplan3.jpg) no-repeat center center/cover;
    color: var(--white-color);
    line-height: 1.8; /* Satır yüksekliğini biraz daha artırdım */
}

/* General styling for sections */
section {
    padding: 4rem 5%;
}

/* Hero, about sections */
.hero,
.about {
    padding: 20px;
}

.hero p{font-size: 1rem;}
.about p {
    text-indent: 20px;
    font-size: 1.5rem;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
}

.header .navbar a {
    margin: 0 1rem;
    color: var(--white-color);
    font-size: 1.5rem;
}

.header .navbar a.active,
.header .navbar a:hover {
    color: var(--hover-color);
}

.logo img {
    height: 2rem;
}

/* Game Introduction */
.game-introduction h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
   
}

.game-introduction p{ text-indent: 10px;font-size: 1.5rem;
    margin-bottom: 2rem;}
.game-introduction ul {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.game-introduction ul {
    list-style-type: none;
    padding-left: 0;
}

.game-introduction ul li {
    margin-bottom: 1rem;
}

/* Game Learnings */
.game-learnings h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.game-learnings p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.game-learnings ul {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.game-learnings ul li {
    margin-bottom: 1rem;
}

/* Screenshots */
.game-screenshots {
    margin-bottom: 3rem;
}

.game-screenshots h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Screenshots */
.game-screenshots {
    margin-bottom: 3rem;
}

.game-screenshots h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Screenshots */
.game-screenshots {
    margin-bottom: 3rem;
}

.game-screenshots h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.screenshots {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.screenshot {
    width: 32%;
    border-radius: 1rem;
    object-fit: cover;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
    position: relative;
}

/* Resim tıklandığında büyüme ve ekranın ortasına yerleşme */
.screenshot.active {
    transform: scale(1.7); /* Büyütme faktörünü düşürdük, daha uygun bir büyüklük için */
    position: fixed; /* Sayfanın ortasında sabit kalması için 'fixed' kullanıyoruz */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.7); /* Ortaya yerleştirme */
    z-index: 100; /* Üstte görünmesi için */
    max-width: 90vw; /* Ekranı tamamen kaplamaması için genişliği sınırladık */
    max-height: 90vh; /* Ekranı tamamen kaplamaması için yüksekliği sınırladık */
}

/* Arka planı sayfa tıklamalarıyla kapatma */
body.active .overlay {
    display: block;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Koyu arka plan */
    display: none;
    z-index: 99;
}


/* Gameplay Video */
.gameplay-video {
    margin-bottom: 3rem;
}

.gameplay-video h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

iframe {
    width: 100%;
    height: 526px;
}

/* Contact */
.contain {
    padding: 5rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-box {
    max-width: 550px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 19px 5px rgba(0, 0, 0, 0.19);
}

h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
}

h4::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 120px;
    border-radius: 2px;
    background-color: var(--hover-color);
}

.field {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    color: var(--black-color);
}

.field:focus {
    border: 2px solid rgba(30, 85, 250, 0.47);
}

.textarea {
    min-height: 150px;
}

.btn {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    background: var(--main-color);
    color: var(--white-color);
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Projects */
.projects,
.devlog {
    padding: 5rem 5%;
}

.project-list,
.post-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.project-card,
.post-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover,
.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.project-card img,
.post-card img {
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.project-card h3,
.post-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.project-card p,
.post-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.post-card a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--main-color);
    color: var(--white-color);
    border-radius: 0.5rem;
    text-decoration: none;
}

.post-card a:hover {
    background-color: var(--hover-color);
}

/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-info p {
    margin: 5px 0;
}

.footer-social {
    margin-top: 10px;
}

.footer-social a {
    color: #fff;
    font-size: 20px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ffcc00;
}

.footer a {
    color: var(--main-color);
    text-decoration: none;
}

.footer a:hover {
    color: var(--hover-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .navbar a {
        margin: 0.5rem 0;
    }

    .anasayfa .content h3 {
        font-size: 3rem;
    }

    .anasayfa .content h1 {
        font-size: 2rem;
    }

    .profil img {
        height: 20rem;
        width: 15rem;
    }

    .hakkimda-col-1 {
        flex-basis: 100%;
    }

    .hakkimda-col-2 h1,
    .hakkimda-col-3 p,
    .hakkimda-col-4 p {
        font-size: 1.5rem;
    }

    .project-card,
    .post-card {
        width: 100%;
    }

}
header h1 {
    padding: 20px; /* Üst, sağ, alt, sol kenarlara 20px padding ekler */
    text-align: center; /* Başlık ortalanır */
    font-size: 100px;
}

/* Oyun Hikayesi, Seviye Tasarımları ve Oynanış Mekanikleri Başlıkları */
.game-story h2{font-size: 2rem;} 
.game-story p{font-size: 1.5rem; text-indent: 10px;}

.game-levels h2{font-size: 2rem;}
.game-levels li{font-size: 1.5rem;} 

.game-mechanics h2 {
    font-size: 2rem; /* Daha büyük başlık boyutu */
    font-weight: bold;
    text-align: center; /* Ortalanmış metin */
    margin-bottom: 1.5rem;
}
.game-mechanics li{font-size: 1.5rem}


.download  h2{font-size:3rem ;}
.download li{font-size: 1.5rem; }
.download a {color:white;}


.social-links a {color: white;}
.hakkimda-text p{font-size: 1.5rem; text-indent: 10px;}
.hakkimda-content h1{font-size: 3rem; text-align: center;}

.hakkimda-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hakkimda-header h1 {
    font-size: 2.5em;
    color: var(--white-color);
    margin-bottom: 10px;
}

.hakkimda-header h3 {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.hakkimda-text {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.hakkimda-text p {
    font-size: 1.1rem;
    text-indent: 20px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.social-links {
    text-align: center;
    margin: 30px 0;
}

.social-links a {
    margin: 0 15px;
    font-size: 28px;
    color: var(--white-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--main-color);
    transform: translateY(-3px);
}

.skills {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.skills h2 {
    font-size: 1.8em;
    color: var(--white-color);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.skills h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--main-color);
    border-radius: 2px;
}

.skills ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skills ul li {
    font-size: 1.1em;
    padding: 10px 20px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.skills ul li:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

.skills ul li i {
    margin-right: 10px;
    color: var(--main-color);
    font-size: 1.2em;
}

.education {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.education h2 {
    font-size: 1.8em;
    color: var(--white-color);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.education h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--main-color);
    border-radius: 2px;
}

.education ul {
    list-style: none;
    padding: 0;
}

.education li {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    position: relative;
}

.education li i {
    color: var(--main-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.education li strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: var(--white-color);
}

.education li p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* Galeri Stilleri */
.gallery-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 90vh;
}

.gallery-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.gallery-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

/* Mobil Menü */
.hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--white-color);
    margin: 5px 0;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 20px;
        transition: 0.3s;
    }

    .navbar.active {
        left: 0;
    }

    .navbar a {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    .gallery-nav {
        padding: 10px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .gallery-nav.prev {
        left: 10px;
    }

    .gallery-nav.next {
        right: 10px;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
    font-size: 2.5rem;
}



