:root {
    --primary-color: #9448ff;
    --secondary-color: #fdf7f4;
    --accent-color: #1446d0;
    --background-color: #fdf7f4;
    --text-color: #333333;
    --light-text: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    text-align: center;
    padding: 5rem 0;
    margin-top: 10vh;
}

h1 {
    text-align: center;
    margin-top: 20%;
    font-size: 4em;
    color: orange;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

header h1 {
    font-size: 3.5rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 8px var(--shadow-color);
    margin-bottom: 1rem;
}

/* Bulut arka planı düzenlemeleri */
.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    /* Arka plandan üstte olacak */
    overflow: hidden;
    pointer-events: none;
    /* Bulutların tıklanabilir olmaması için */
}

.clouds-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Intro bölümü için yeni stil */
.intro-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    /* Bulut ve arka planın üstünde */
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 15px;
}

.intro-logo {
    width: 100%;
    height: auto;
    max-width: 600px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.intro-text {
    width: 100%;
    font-size: 3.5rem;
    color: var(--secondary-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    opacity: 0;
    margin-top: 0.5rem;
    animation: fadeInSlowly 3s ease-in-out forwards;
}

/* Oyunlarımız başlığı için özel stil */
.games-title {
    position: relative;
    text-align: center;
    font-size: 3rem;
    color: var(--secondary-color);
    margin: 3rem 0;
    padding-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    animation: float 4s ease-in-out infinite;
}

.games-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    border-radius: 2px;
}

.games-title::before {
    content: "🎮";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: spin 6s linear infinite;
}

@keyframes spin {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

/* Logo stilleri düzenleme */
.logo {
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
    width: 220px;
    height: auto;
    transition: all 0.3s ease;
}

header h2 {
    font-size: 4rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* Oyun kartları bölümü */
.game-cards {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    margin: 0 auto;
    flex-wrap: wrap;
}

.card {
    width: 40%;
    height: 450px;
    background-color: white;
    /* Kart arkaplan rengi beyaz */
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s, box-shadow 0.5s;
    transform-style: preserve-3d;
}

.card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(10deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    /* Daha belirgin gölge */
}

.game-cover {
    width: 100%;
    height: 70%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .game-cover {
    transform: scale(1.05);
}

.card-info {
    padding: 1.5rem;
    background: linear-gradient(to top, var(--secondary-color), transparent);
    position: absolute;
    bottom: 0;
    width: 100%;
    color: var(--light-text);
    /* Beyaz metin */
    text-align: center;
}

.card-info h2 {
    margin: 0 0 10px;
    color: var(--primary-color);
    /* Başlık beyaz */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    /* Okunabilirlik için gölge */
    font-size: 1.8rem;
}

.card-info p {
    color: white;
    /* Metin beyaz */
    font-style: italic;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    /* Okunabilirlik için gölge */
}

/* Daha modern hover efekti için */
.hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(189, 10, 209, 0.684), rgba(209, 10, 169, 0.684));
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    color: var(--light-text);
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    font-style: italic;
    /* Daha modern görünüm için */
    filter: blur(0px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Daha yumuşak animasyon */
    padding: 1.5rem;
    gap: 0.5rem;
    z-index: 2;
    transform: scale(0.9);
    /* Hover olmadan önce küçük başlasın */
}

.card:hover .hover-info {
    opacity: 1;
    transform: scale(1);
    /* Hover olduğunda tam boyuta gelsin */
}

.hover-info img {
    width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    transform: translateY(10px);
    /* Başlangıçta biraz aşağıda */
    opacity: 0;
    transition: all 0.3s ease 0.1s;
    /* Gecikmeli animasyon */
}

.card:hover .hover-info img {
    transform: translateY(0);
    opacity: 1;
}

/* İkinci resim için ek gecikme */
.hover-info img:nth-child(2) {
    transition-delay: 0.2s;
}

/* Oyun detay metni ekleyelim */
.hover-info .game-details {
    color: white;
    text-align: center;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.3s;
    /* En son görünsün */
}

.card:hover .hover-info .game-details {
    opacity: 1;
    transform: translateY(0);
}

.game-details h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.game-details p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Hover'da çıkacak platform ikonları */
.platforms {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.platforms i {
    font-size: 1.5rem;
    color: white;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

.card:hover .platforms i {
    opacity: 1;
    transform: translateY(0);
}

/* Her ikona farklı gecikme ekleyelim */
.platforms i:nth-child(1) {
    transition-delay: 0.3s;
}

.platforms i:nth-child(2) {
    transition-delay: 0.4s;
}

.platforms i:nth-child(3) {
    transition-delay: 0.5s;
}

/* Bölüm stilleri */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 4rem 0 2rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.about-section,
.team-section,
.contact-section {
    padding: 2rem;
    margin: 2rem auto;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
}


.section-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.section-image {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-text {
    flex: 1;
    min-width: 300px;
}

.section-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Takım üyeleri stilleri */
.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.team-member {
    width: 250px;
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-color);
    opacity: 0.8;
}

/* İletişim formu stilleri */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--primary-color);
}

.contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

/* Footer bölümü */
footer {
    background: var(--primary-color);
    padding: 3rem 0;
    text-align: center;
    color: white;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
    /* Arka planın üstünde */
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background-color: var(--secondary-color);
    transition: transform 0.3s, background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

social-links a:hover {
    transform: translateY(-5px);
    background-color: var(--accent-color);
}

footer p {
    opacity: 0.8;
}

/* Arka plan resmi için stil */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    /* En arkada */
    overflow: hidden;
    pointer-events: none;
}

.background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    /* Bulanıklık efekti */
    opacity: 0.7;
    /* Biraz şeffaf */
}

/* Sayfanın diğer kısımları için z-index değerleri */
main {
    position: relative;
    z-index: 1;
    /* Arka planın üstünde */
}

/* Slideshow için stiller */
.game-slideshow {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev {
    opacity: 0;
    transform: translateX(-100%);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}