/* --- RENKLİ VE SEVİMLİ STİL AYARLARI --- */
:root {
    --c-pink: #FF85A2;    /* Şeker Pembesi */
    --c-yellow: #FFDF6C;  /* Muz Sarısı */
    --c-blue: #4DCCFF;    /* Gökyüzü Mavisi */
    --c-wood: #FF9F43;    /* Turuncu (Ahşap için) */
    --c-purple: #A55EEA;  /* Oyun Moru */
    --c-green: #26DE81;   /* Fıstık Yeşili */

    --bg-color: #FFF9F4;  /* Çok açık krem */
    --text-dark: #4A4A4A;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Fredoka One', cursive; letter-spacing: 0.5px; }
a { text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER & NAVIGATION --- */
header {
    background: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; color: var(--c-blue); display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--c-pink); animation: wiggle 2s infinite; }
.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-menu a { color: var(--text-dark); font-weight: 700; font-size: 1.1rem; transition: 0.3s; }
.nav-menu a:hover { color: var(--c-pink); }
.game-login-btn {
    background: var(--c-purple); color: #fff !important; padding: 10px 25px; border-radius: 30px; 
    box-shadow: 0 4px 0 #8854d0; display: flex; align-items: center; gap: 8px; transition: 0.2s;
}
.game-login-btn:hover, .game-login-btn:active { transform: translateY(4px); box-shadow: none; }

/* --- HERO --- */
.hero { 
    padding-top: 140px; padding-bottom: 80px; text-align: center; 
     background-image: url("img/bg1.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; 
    position: relative; 
}
.hero h1 { 
    font-size: 3rem; line-height: 1.3; color: var(--text-dark); 
    margin-bottom: 20px; 
}
.hero h1 span.t-code { color: var(--c-blue); }
.hero h1 span.t-wood { color: var(--c-wood); }
.hero p { 
    font-size: 1.2rem; margin-bottom: 30px; color: #666; 
    max-width: 700px; margin: 0 auto 40px; 
}

/* SLAYT GÖSTERİSİ KAPSAYICISI */
.slider-container {
    max-width: 750px; /* Slaytın maksimum genişliği */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 6px solid var(--c-pink);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* SLAYT GÖRSEL GRUBU */
.slide-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Kaydırma animasyonu */
}

/* HER BİR SLAYT GÖRSELİ */
.slide {
    min-width: 100%; /* Her slayt kapsayıcı genişliğinin tamamını kaplar */
    height: 450px; /* Sabit bir yükseklik */
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi keserek doldurur */
}

/* SLAYT BUTONLARI */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: var(--c-pink);
    border: none;
    padding: 15px 10px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: var(--c-pink);
    color: #fff;
}

#prevBtn {
    left: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

#nextBtn {
    right: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.wave { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; }
.wave svg { width: 100%; height: 80px; fill: #fff; }

/* Animasyon */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* --- WORKSHOPS & GAME --- */
.workshops { background: #fff; padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: var(--c-pink); }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.fun-card { border-radius: 30px; padding: 30px; text-align: center; transition: 0.3s; border-bottom: 6px solid rgba(0,0,0,0.1); position: relative; overflow: hidden; background: #fff; }
.fun-card:hover { transform: translateY(-10px); }
.card-wood { background-color: #FFF3E0; border-bottom-color: var(--c-wood); }
.card-wood i { font-size: 3.5rem; color: var(--c-wood); background: #fff; padding: 20px; border-radius: 50%; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(255,159,67,0.2); }
.card-wood h3 { color: var(--c-wood); font-size: 1.8rem; margin-bottom: 10px; }
.card-code { background-color: #E1F5FE; border-bottom-color: var(--c-blue); }
.card-code i { font-size: 3.5rem; color: var(--c-blue); background: #fff; padding: 20px; border-radius: 50%; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(77,204,255,0.2); }
.card-code h3 { color: var(--c-blue); font-size: 1.8rem; margin-bottom: 10px; }
.tag { display: inline-block; padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; margin-bottom: 15px; background: #fff; }

.game-section { padding: 80px 0; background-color: var(--bg-color); position: relative; }
.game-banner { background: var(--c-purple); border-radius: 40px; padding: 50px; color: #fff; text-align: center; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(165, 94, 234, 0.3); border: 4px solid #fff; }
.decoration { position: absolute; opacity: 0.2; font-size: 8rem; color: #fff; }
.game-banner h2 { font-size: 2.8rem; margin-bottom: 15px; text-shadow: 2px 2px 0px rgba(0,0,0,0.2); }
.big-play-btn {
    background: var(--c-yellow); 
    color: var(--text-dark); 
    padding: 15px 40px; 
    font-size: 1.5rem; 
    font-family: 'Fredoka One', cursive; 
    font-weight: 700;
    border-radius: 50px; 
    margin-top: 1rem;
    display: inline-block; 
    box-shadow: 0 6px 0 #F7B731; 
    transition: 0.2s;
}

/* --- INSTAGRAM SLAYDER --- */
.instagram-gallery {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}
.gallery-wrapper {
    display: flex;
    overflow-x: scroll; 
    gap: 20px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
}
.gallery-wrapper::-webkit-scrollbar {
    display: none; 
}
.gallery-item {
    min-width: 250px;
    height: 250px;
    background-color: #eee;
    border-radius: 20px;
    overflow: hidden; 
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-link {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 133, 162, 0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: 0.3s;
}
.gallery-item:hover .gallery-link { opacity: 1; }
.gallery-link i { color: white; font-size: 2rem; }

/* --- VELİ GÖRÜŞLERİ --- */
.testimonials {
    padding: 60px 0;
    background-color: var(--bg-color);
    text-align: center;
}
.testimonials h2 { color: var(--c-green); margin-bottom: 40px; }
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: left;
    border-top: 5px solid var(--c-green);
}
.testimonial-card blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
    font-style: italic;
}
.author-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 10px;
    display: block;
}
.author-name small { color: var(--c-green); font-weight: 600; }
.rating { color: var(--c-yellow); font-size: 1.1rem; margin-bottom: 5px; }

/* --- HARİTA BÖLÜMÜ --- */
.map-section {
    padding: 50px 0;
    background-color: #f0f0f0;
    text-align: center;
}
.map-container {
    width: 100%;
    max-width: 1100px;
    height: 400px;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- FOOTER --- */
footer {
    background: #fff;
    padding: 40px 0 20px;
    text-align: center;
    border-top: 5px solid var(--c-pink);
}
.footer-social a {
    display: inline-flex; width: 45px; height: 45px;
    background: var(--bg-color); color: var(--text-dark);
    align-items: center; justify-content: center;
    border-radius: 50%; margin: 0 5px; font-size: 1.2rem;
    transition: 0.3s;
}

/* --- SABİT WHATSAPP BUTONU STİLİ --- */
.whatsapp-fixed-btn {
    position: fixed;
    bottom: 25px; 
    right: 25px; 
    z-index: 10000; 
    background-color: #25D366; 
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid #fff; 
}
.whatsapp-fixed-btn:hover {
    transform: scale(1.1); 
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* --- RESPONSIVE AYARLAR --- */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .navbar { justify-content: center; }
    .gallery-wrapper { padding: 20px 10px; }
    .gallery-item { min-width: 200px; height: 200px; }
    .map-container { height: 300px; }
    .slide { height: 300px; } /* Mobil için slayt yüksekliği */
    .slider-btn { padding: 10px 5px; font-size: 1.2rem; }
}