/* --- GENEL AYARLAR --- */
:root {
    --primary-navy: #1A2238;
    --primary-orange: #FF851B;
    --soft-blue-bg: #F8FAFC;
    --hero-blob-color: #E3F2FD; 
    --white: #FFFFFF;
    --radius-md: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Poppins', sans-serif; 
    color: var(--primary-navy); 
    background-color: var(--white); 
    overflow-x: hidden; 
    position: relative;
    cursor: url('image/cursor.png'), auto;
}

/* Tıklanabilir imleç */
a, button, .btn, summary, .chat-widget-btn, .insta-item, .partner-link, .close-btn, input, textarea, .mobile-menu-btn, .close-login, .close-chat, .game-card, .gallery-item {
    cursor: url('image/cursor.png'), pointer;
}

ul { list-style: none; }
.container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

h2 { 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 70px; 
    color: var(--primary-navy); 
    font-weight: 700; 
    position: relative; 
}
h2::after {
    content: ''; display: block; width: 70px; height: 5px; background: var(--primary-orange);
    margin: 20px auto 0; border-radius: 5px;
}

/* --- HEADER --- */
header { padding: 25px 0; position: relative; width: 100%; top: 0; z-index: 100; margin-bottom: 0; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; position: relative; flex-wrap: wrap; }
.logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 10px; color: #2980b9; text-decoration: none; z-index: 1002; white-space: nowrap; } /* Logo z-index artırıldı */
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; color: #555; font-size: 0.95rem; text-decoration: none; transition: 0.3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-orange); }
.header-actions { display: flex; gap: 15px; align-items: center; z-index: 101; }

/* Mobil Menü Butonu */
.mobile-menu-btn { 
    display: none; 
    font-size: 28px; 
    color: var(--primary-navy); 
    cursor: pointer; 
    z-index: 1002; /* Menünün üzerinde kalmalı */
    margin-left: 15px;
    transition: 0.3s;
}

/* --- BUTONLAR --- */
.btn { padding: 12px 35px; border-radius: 50px; font-weight: 600; display: inline-block; transition: 0.3s; border: none; cursor: pointer; text-align: center; text-decoration: none; font-size: 0.95rem; }
.btn-orange { background-color: var(--primary-orange); color: white; box-shadow: 0 4px 15px rgba(255, 133, 27, 0.3); }
.btn-orange:hover { transform: translateY(-3px); background-color: #e67e00; box-shadow: 0 10px 25px rgba(255, 133, 27, 0.4); }
.btn-center-wrapper { text-align: center; margin-top: 50px; }

/* --- LOGIN POPUP (MOBİL FIX) --- */
.login-overlay { 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0,0,0,0.6); /* Biraz daha koyu arka plan */
    z-index: 10000; 
    display: none; /* JS ile flex olacak */
    align-items: center; /* Dikey ortala */
    justify-content: center; /* Yatay ortala */
    backdrop-filter: blur(8px); 
    padding: 20px; 
}

.login-box { 
    background: white; 
    width: 100%; 
    max-width: 400px; /* Masaüstü max genişlik */
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); 
    position: relative; 
    text-align: center; 
    animation: zoomIn 0.3s ease; 
    margin: auto; /* Garanti ortalama */
}

.close-login { position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer; color: #999; }
.close-login:hover { color: red; }

/* --- USER MENU --- */
.user-dropdown-container { position: relative; } 
.user-btn { background: var(--soft-blue-bg); color: var(--primary-navy); padding: 8px 15px; border-radius: 50px; font-weight: 600; display: flex; align-items: center; gap: 8px; border: 1px solid #dcdfe6; white-space: nowrap; font-size: 0.9rem; cursor: pointer; }
.user-dropdown-menu { position: absolute; top: 120%; right: 0; background: white; min-width: 180px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 10px; display: none; flex-direction: column; border: 1px solid #eee; z-index: 10001; }
.user-dropdown-menu a { padding: 12px 20px; font-size: 0.9rem; color: #555; text-decoration: none; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f9f9f9; }
.user-dropdown-menu a:hover { background: #f9f9f9; color: var(--primary-orange); }
.user-dropdown-container:hover .user-dropdown-menu { display: flex; }

/* --- CHAT WIDGET --- */
.chat-widget-btn { position: fixed; bottom: 30px; left: 30px; width: 70px; height: 70px; z-index: 9999; transition: 0.3s; animation: floatRobot 3s ease-in-out infinite; }
.chat-widget-btn:hover { transform: scale(1.1); }
.chat-widget-btn img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 15px rgba(52, 152, 219, 0.4)); }
.chat-tooltip { position: absolute; left: 80px; top: 15px; background: var(--white); padding: 8px 15px; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); font-size: 0.9rem; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; transition: 0.3s; }
.chat-widget-btn:hover .chat-tooltip { opacity: 1; visibility: visible; }
.chat-popup { position: fixed; bottom: 110px; left: 30px; width: 320px; background: var(--white); border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); z-index: 9998; opacity: 0; visibility: hidden; transform: translateY(20px); transition: 0.3s; border: 2px solid var(--soft-blue-bg); }
.chat-popup.active { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-header { background: var(--primary-navy); color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; border-radius: 18px 18px 0 0; }
.chat-body { padding: 20px; max-height: 400px; overflow-y: auto; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 5px; color: var(--primary-navy); }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; }

/* --- FOOTER --- */
.footer { background-color: var(--soft-blue-bg); padding: 80px 0; margin-top: 100px; width: 100%; position: relative; z-index: 5; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; padding: 0 20px; text-align: center; } 

/* --- HERO --- */
.hero { padding: 100px 0 150px; display: flex; align-items: center; position: relative; }
.hero-content-wrapper { display: flex; align-items: center; width: 100%; justify-content: space-between; gap: 30px; }
.hero-text { flex: 1; padding-left: 50px; z-index: 2; } 
.hero-img { flex: 1; text-align: center; display: flex; justify-content: center; position: relative; z-index: 2; }
.hero-img img { width: 100%; max-width: 450px; animation: floatRobot 3s ease-in-out infinite; } 
.hero-text h1 { font-size: 4rem; line-height: 1.1; color: var(--primary-navy); margin-bottom: 20px; }
.hero-text p { font-size: 1.1rem; color: #5A6A85; margin-bottom: 30px; font-weight: 500; }

/* --- SECTIONS (GÜNCELLENDİ: DAHA GENİŞ BOŞLUKLAR) --- */
section { position: relative; z-index: 2; padding: 100px 0; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
.card { background: white; padding: 40px 30px; border-radius: 20px; text-align: center; transition: 0.4s ease; border: 1px solid #f0f0f0; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.card.c-code { border-bottom: 5px solid #9B59B6; } .card.c-unity { border-bottom: 5px solid #000; } .card.c-pixel { border-bottom: 5px solid #E74C3C; }
.card-icon-box { width: 90px; height: 90px; background: var(--soft-blue-bg); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 35px; transition: 0.3s; }
.card:hover .card-icon-box { transform: scale(1.1); background: white; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.card h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--primary-navy); }
.card p { font-size: 0.9rem; color: #777; line-height: 1.5; }
.c-sharp { color: #9B59B6; } .unity { color: #000; } .pixel { color: #E74C3C; }

/* MÜFREDAT */
.curriculum-details { max-width: 800px; margin: 60px auto 0; width: 100%; }
.syllabus-item { background: var(--white); margin-bottom: 20px; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); overflow: hidden; border: 1px solid #f5f5f5; }
details { width: 100%; transition: 0.3s; }
summary { padding: 20px; cursor: pointer; font-weight: 600; color: var(--primary-navy); position: relative; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f078'; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--primary-orange); transition: 0.3s; }
details[open] summary { background-color: #fcfcfc; color: var(--primary-orange); }
details[open] summary::after { transform: rotate(180deg); }
.syllabus-content { padding: 20px; font-size: 0.95rem; color: #666; line-height: 1.6; border-top: 1px solid #f0f0f0; animation: fadeIn 0.4s ease; }

/* SHOWCASE */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 200px 200px; gap: 25px; }
.sc-item { border-radius: 15px; overflow: hidden; height: 100%; position: relative; background: #eee; transition: 0.3s; }
.sc-item:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.sc-item img { width: 100%; height: 100%; object-fit: cover; }
.sc-tall { grid-column: 3 / 4; grid-row: 1 / 3; }

/* INSTAGRAM */
/* --- MASONRY GALERİ (PINTEREST TARZI) --- */
.masonry-gallery {
    column-count: 3; /* Masaüstünde 3 sütun */
    column-gap: 20px; /* Sütunlar arası boşluk */
    padding: 20px 0;
}

.masonry-item {
    break-inside: avoid; /* Öğenin sütun arasında bölünmesini engeller */
    margin-bottom: 20px; /* Alt boşluk */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: #000; /* Video yüklenirken arkası siyah olsun */
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.masonry-item img, 
.masonry-item video {
    width: 100%;
    height: auto; /* Orantıyı koru */
    display: block; /* Alt boşluk sorununu çözer */
}

/* İkon (Instagram/Play) */
.masonry-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    transition: 0.3s;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.masonry-item:hover .masonry-icon {
    opacity: 1;
}

/* Okul Logosu Rozeti */
.masonry-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
}
.masonry-badge img { width: 20px; height: 20px; }

/* RESPONSIVE AYARLAR */
@media (max-width: 992px) {
    .masonry-gallery {
        column-count: 2; /* Tablette 2 sütun */
    }
}

@media (max-width: 600px) {
    .masonry-gallery {
        column-count: 1; /* Telefonda 1 sütun */
    }
}

/* PARTNERS */
.partners-flex { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; align-items: center; }
.partner-link img { width: 130px; filter: grayscale(100%); opacity: 0.7; transition: 0.3s; }
.partner-link:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.1); }

/* TEAM */
.team-flex { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; align-items: center; }
.team-member { text-align: center; }
.avatar { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; border: 3px solid transparent; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-blue .avatar { border-color: #3498DB; } .t-orange .avatar { border-color: #E67E22; } .t-green .avatar { border-color: #2ECC71; }
.team-member.leader .avatar { width: 150px; height: 150px; border: 4px solid var(--primary-orange); box-shadow: 0 10px 20px rgba(255, 133, 27, 0.2); }
.team-member.leader h4 { font-size: 1.3rem; color: var(--primary-orange); font-weight: 700; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.bubble { padding: 40px 30px; border-radius: 20px; color: white; position: relative; font-size: 0.95rem; line-height: 1.6; }
.bubble::after { content: ''; position: absolute; bottom: -12px; left: 30px; border-width: 15px 15px 0 0; border-style: solid; }
.b-blue { background-color: #5DADE2; border-color: #5DADE2 transparent transparent transparent; }
.b-orange { background-color: #F5B041; border-color: #F5B041 transparent transparent transparent; }
.b-green { background-color: #7DCEA0; border-color: #7DCEA0 transparent transparent transparent; }
.parent-info { margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 10px; }
.parent-info h4 { font-size: 1rem; margin-bottom: 2px; }
.parent-info span { font-size: 0.8rem; opacity: 0.9; font-weight: 500; }
.stars { margin-top: 15px; font-size: 12px; }

/* EXTRA PAGES CSS */
.library-grid, .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.game-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; display: block; text-decoration: none; color: inherit; }
.game-card:hover { transform: translateY(-5px); }
.game-thumb { height: 180px; width: 100%; object-fit: cover; }
.game-info { padding: 20px; }
.gallery-item { position: relative; border-radius: 15px; overflow: hidden; height: 250px; }
.gallery-item img.main-img { width: 100%; height: 100%; object-fit: cover; }
.school-badge { position: absolute; top: 10px; right: 10px; background: white; padding: 5px 10px; border-radius: 20px; display: flex; align-items: center; gap: 5px; font-size: 0.75rem; font-weight: 600; }
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 20000; display: none; align-items: center; justify-content: center; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: 10px; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.mv-box { background: var(--soft-blue-bg); padding: 40px; border-radius: 20px; }
.team-contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.team-card { text-align: center; border: 1px solid #eee; padding: 30px; border-radius: 20px; }
.game-screen { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: white; margin-bottom: 20px; }
.game-details-info { background: var(--soft-blue-bg); padding: 30px; border-radius: 20px; margin-bottom: 50px; }

/* PROFIL SAYFASI */
.profile-wrapper { display: flex; gap: 40px; margin-top: 40px; }
.profile-card { flex: 1; background: white; padding: 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; height: fit-content; border: 1px solid #eee; }
.profile-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 5px solid var(--soft-blue-bg); }
.profile-info h3 { color: var(--primary-navy); margin-bottom: 5px; }
.profile-info p { color: #666; font-size: 0.9rem; margin-bottom: 15px; }
.profile-details { text-align: left; margin-top: 20px; border-top: 1px solid #eee; padding-top: 20px; }
.progress-section { flex: 2; }
.progress-box { background: white; padding: 20px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); margin-bottom: 15px; border: 1px solid #eee; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 600; color: var(--primary-navy); }
.progress-bar-bg { width: 100%; height: 10px; background: #eee; border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 10px; background: var(--primary-orange); width: 0; transition: width 1s ease-in-out; }

/* ASSET STORE */
.asset-section { padding: 60px 0; }
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-bottom: 60px; }
.asset-card { background: white; border-radius: 20px; overflow: hidden; border: 1px solid #eee; transition: 0.3s; position: relative; }
.asset-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.asset-thumb { width: 100%; height: 180px; background-color: var(--soft-blue-bg); display: flex; align-items: center; justify-content: center; padding: 20px; }
.asset-thumb img { max-width: 80%; max-height: 80%; object-fit: contain; transition: 0.3s; }
.asset-card:hover .asset-thumb img { transform: scale(1.1); }
.asset-info { padding: 20px; }
.asset-type { display: inline-block; font-size: 0.75rem; padding: 3px 8px; border-radius: 10px; background: #eee; color: #666; margin-bottom: 10px; }
.asset-type.pack { background: #E3F2FD; color: #1565C0; } 
.asset-type.student { background: #E8F5E9; color: #2E7D32; } 
.asset-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }
.student-badge { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #555; }
.student-badge img { width: 25px; height: 25px; border-radius: 50%; }
.download-btn-sm { background: var(--soft-blue-bg); color: var(--primary-navy); width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.download-btn-sm:hover { background: var(--primary-orange); color: white; }
.upload-cta-box { background: linear-gradient(135deg, var(--primary-navy) 0%, #2c3e50 100%); border-radius: 20px; padding: 50px; text-align: center; color: white; margin-top: 50px; position: relative; overflow: hidden; }
.upload-cta-box h3 { color: white; margin-bottom: 15px; }
.upload-cta-box p { color: #ccc; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* PIXEL ART */
.pixel-wrapper { display: flex; gap: 40px; align-items: flex-start; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.tools-panel { background: white; padding: 25px; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee; width: 250px; text-align: center; }
.color-palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.color-btn { width: 40px; height: 40px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; transition: 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.color-btn:hover { transform: scale(1.1); }
.color-btn.active { border-color: var(--primary-navy); transform: scale(1.1); }
.tool-btn { width: 100%; padding: 10px; margin-bottom: 10px; border-radius: 10px; border: 1px solid #ddd; background: #f9f9f9; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 500; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tool-btn:hover { background: #eee; }
.tool-btn.active { background: var(--primary-orange); color: white; border-color: var(--primary-orange); }
.canvas-container { background: white; padding: 20px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid #eee; }
#pixelCanvas { display: grid; width: 500px; height: 500px; background-color: #ffffff; border: 2px solid #333; cursor: crosshair; }
.pixel-cell { width: 100%; height: 100%; border-right: 1px solid #eee; border-bottom: 1px solid #eee; background-color: transparent; }

/* INSTRUCTOR CARDS */
.instructor-list { display: flex; flex-direction: column; gap: 30px; max-width: 900px; margin: 0 auto 60px; }
.instructor-card { display: flex; background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.03); border: 1px solid #eee; transition: 0.3s ease; align-items: center; }
.instructor-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--primary-orange); }
.inst-img { width: 250px; height: 250px; flex-shrink: 0; overflow: hidden; }
.inst-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.instructor-card:hover .inst-img img { transform: scale(1.05); }
.inst-content { padding: 30px; flex: 1; }
.inst-content h3 { margin: 0 0 5px 0; color: var(--primary-navy); font-size: 1.4rem; text-align: left; }
.inst-title { display: inline-block; background: var(--soft-blue-bg); color: var(--primary-orange); padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 15px; }
.inst-desc { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 15px; }
.inst-contact-info { display: flex; gap: 20px; font-size: 0.9rem; color: var(--primary-navy); font-weight: 500; border-top: 1px solid #f0f0f0; padding-top: 15px; }
.inst-contact-info i { color: var(--primary-orange); margin-right: 5px; }

/* KEYFRAMES */
@keyframes floatRobot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* BLOB'LAR */
.decoration-blob { position: absolute; background: var(--hero-blob-color); z-index: 0; opacity: 0.6; pointer-events: none; }
.blob-hero-main { top: -150px; right: -100px; width: 65%; height: 800px; background: linear-gradient(135deg, #eaf6ff 0%, #f0f9ff 100%); border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; transform: rotate(-15deg); }
.blob-hero-small { top: -80px; left: -80px; width: 350px; height: 350px; border-radius: 50% 50% 70% 30% / 30% 50% 50% 70%; }
.blob-middle-right { top: 1200px; right: -50px; width: 300px; height: 300px; background: #f0f8ff; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; opacity: 0.5; }
.blob-lower-left { top: 2500px; left: -100px; width: 400px; height: 400px; background: #eaf6ff; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; opacity: 0.5; }

/* ================== RESPONSIVE DÜZELTMELER (TAM EKRAN MENÜ) ================== */
@media (max-width: 992px) {
    .hero-content-wrapper { flex-direction: column-reverse; text-align: center; }
    .hero-text { padding-left: 0; margin-top: 30px; }
    .mobile-menu-btn { display: block; z-index: 10002; color: var(--primary-navy); }
    
    /* Navigasyon Wrapper */
    .nav-wrapper { flex-wrap: wrap; }
    
    /* TAM EKRAN MOBİL MENÜ */
    .nav-links { 
        display: flex; /* Flex yap ama gizle */
        position: fixed; /* Ekranı kaplasın */
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100vh; /* Tam yükseklik */
        background: rgba(255,255,255,0.98); /* Hafif transparan beyaz */
        flex-direction: column; 
        justify-content: center; /* Dikey ortala */
        align-items: center; /* Yatay ortala */
        gap: 40px; /* Linkler arası boşluk */
        z-index: 10000; /* Her şeyin üstünde */
        transform: translateX(100%); /* Başlangıçta sağda gizli */
        transition: transform 0.4s ease-in-out;
    }
    
    /* Aktif olunca ekrana gelsin */
    .nav-links.active { transform: translateX(0); }
    
    .nav-links a { font-size: 1.5rem; font-weight: 700; color: var(--primary-navy); }
    
    /* Menü açıldığında Hamburger ikonunun rengini beyaz yapmasın, koyu kalsın çünkü arka plan beyaz */
    
    /* Diğer Responsive Ayarlar */
    .header-actions { margin-left: auto; order: 2; } 
    .mobile-menu-btn { order: 3; } 
    .user-btn span { display: none; }
    .user-btn { padding: 8px; border-radius: 50%; width: 40px; height: 40px; justify-content: center; } 
    .cards-grid, .testimonials-grid, .showcase-grid, .insta-grid, .mission-vision, .asset-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-rows: auto; }
    .sc-tall { grid-column: span 1; height: 300px; }
    .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
    .profile-wrapper { flex-direction: column; }
    
    /* Login Popup Mobilde Ortala */
    .login-box { width: 90%; max-width: 350px; padding: 30px; margin: auto; }
    
    /* Pixel Art Mobil */
    .pixel-wrapper { flex-direction: column; align-items: center; }
    .tools-panel { width: 100%; max-width: 500px; }
    #pixelCanvas { width: 320px; height: 320px; }
    
    /* Eğitmen Kartı Mobil */
    .instructor-card { flex-direction: column; text-align: center; }
    .inst-img { width: 100%; height: 250px; }
    .inst-content h3 { text-align: center; }
    .inst-contact-info { justify-content: center; flex-wrap: wrap; }
}



/* --- KOD SÖZLÜĞÜ (FLIP CARDS) --- */
.dictionary-search {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}
.dictionary-search input {
    width: 100%;
    padding: 15px 20px;
    padding-left: 50px;
    border-radius: 50px;
    border: 2px solid #eee;
    font-size: 1rem;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.dictionary-search input:focus { border-color: var(--primary-orange); outline: none; }
.dictionary-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #aaa; font-size: 1.2rem; }

.dictionary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    perspective: 1000px; /* 3D Efekt için gerekli */
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 250px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.flip-card-front {
    background-color: white;
    border: 1px solid #eee;
}

.flip-card-front i { font-size: 3rem; color: var(--primary-navy); margin-bottom: 15px; }
.flip-card-front h3 { font-size: 1.3rem; color: var(--primary-navy); margin: 0; }

.flip-card-back {
    background-color: var(--primary-navy);
    color: white;
    transform: rotateY(180deg);
    border: 2px solid var(--primary-orange);
}

.flip-card-back h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--primary-orange); }
.flip-card-back p { font-size: 0.9rem; line-height: 1.5; }




/* 404 SAYFASI STİLİ */
.error-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--soft-blue-bg);
}
.error-img { max-width: 400px; margin-bottom: 30px; animation: floatRobot 4s infinite ease-in-out; }
.error-title { font-size: 6rem; color: var(--primary-navy); line-height: 1; margin-bottom: 10px; }
.error-text { font-size: 1.5rem; color: #666; margin-bottom: 30px; }