/* Genel Ayarlar */ body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f4f4f9; margin: 0; padding: 0; text-align: center; } .header { background-color: #2c3e50; color: white; padding: 20px 15px; margin-bottom: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); } h1 { margin: 0; font-size: 2em; } .subtitle { font-size: 1.1em; color: #bdc3c7; margin-top: 10px; } /* Soru Konteynerleri */ .question-container { background-color: white; padding: 25px 20px; border-radius: 15px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); width: 90%; max-width: 600px; margin: 0 auto 30px auto; transition: border 0.3s; border: 2px solid transparent; } .question-container img { width: 100%; height: auto; max-height: 300px; object-fit: cover; border-radius: 10px; margin-bottom: 20px; background-color: #ecf0f1; } .question { font-size: 1.3em; margin-bottom: 20px; font-weight: bold; color: #34495e; text-align: left; } /* Şıklar */ .options { display: flex; flex-direction: column; gap: 12px; } .option-btn { background-color: #ecf0f1; color: #2c3e50; border: 2px solid transparent; padding: 15px; font-size: 1.1em; border-radius: 10px; cursor: pointer; text-align: left; transition: all 0.2s ease; display: flex; align-items: center; gap: 10px; } .option-btn span { font-size: 1.3em; } .option-btn:hover { background-color: #e0e6ed; } .option-btn.selected { background-color: #3498db; color: white; border: 2px solid #2980b9; transform: scale(1.02); } /* Ana Buton */ .submit-btn { background-color: #e74c3c; color: white; border: none; padding: 18px 30px; font-size: 1.3em; font-weight: bold; border-radius: 10px; cursor: pointer; margin: 20px auto 50px auto; width: 90%; max-width: 600px; display: block; box-shadow: 0 4px 6px rgba(231, 76, 60, 0.4); transition: background-color 0.3s; } .submit-btn:hover { background-color: #c0392b; } /* Sonuç Ekranı */ .result-container { background-color: white; padding: 40px 20px; border-radius: 15px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); width: 90%; max-width: 600px; margin: 40px auto; border-top: 5px solid #3498db; } .result-title { font-size: 2em; font-weight: bold; color: #2c3e50; margin-bottom: 15px; } .result-desc { font-size: 1.1em; line-height: 1.6; color: #7f8c8d; } .result-emoji { font-size: 4em; margin: 10px 0; } .hidden { display: none !important; } /* Aksiyon Butonları */ .aksiyon-butonlari { display: flex; gap: 15px; margin-top: 30px; justify-content: center; } .yarim-buton { flex: 1; padding: 15px 10px; font-size: 1.1em; font-weight: bold; border-radius: 10px; cursor: pointer; border: none; color: white; transition: transform 0.2s, opacity 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 300px; } .yarim-buton:hover { transform: translateY(-2px); opacity: 0.9; } .tekrar-btn { background-color: #2ecc71; } /* Diğer Testler Bölümü */ .diger-testler { margin-top: 40px; padding-top: 20px; border-top: 2px dashed #ecf0f1; } .diger-testler h3 { color: #34495e; font-size: 1.4em; margin-bottom: 15px; } .test-linki { display: block; background-color: #f8f9fa; color: #2c3e50; text-decoration: none; padding: 15px; border-radius: 8px; margin-bottom: 10px; border: 1px solid #dfe6e9; font-weight: bold; transition: background-color 0.2s; } .test-linki:hover { background-color: #e0e6ed; color: #3498db; } 🌴 Hangi İzmir Semtisin? 🌴 İçindeki İzmir ruhunu keşfet! Aşağı kaydır ve soruları yanıtla. 1. İdeal bir hafta sonu planın hangisi? 🍻 Gece mekanlara akmak, sabahına boyoz yemek.🍷 Sakin bir bağ evinde takılmak.🏟️ Maça gitmek, tayfayla sahilde turlamak. 2. İzmirlinin vazgeçilmezi... Sence en iyi kombo nedir? 🍋 Sahilde midye dolma & soğuk içecek.🌻 Kordonda çimlere yayılıp çiğdem çitlemek.🦪 Kaliteli bir restoranda deniz ürünleri yemek. 3. Yazın o kavurucu İzmir sıcağından nasıl kaçarsın? 🌬️ Kalabalıktan uzak, esintili gizli bir koya kaçarım.🌊 Neresi olursa olsun ilk bulduğum yerden denize atlarım.🍹 Popüler bir beach club'da buzlu içeceğimi içerim. 4. Günlük giyim tarzını nasıl tanımlarsın? ✨ Her zaman modaya uygun, havalı ve iddialı.🌿 Keten gömlekler, rahat, bohem ve doğal.😎 Rahat, sportif, belki biraz da semt forması. 5. Şehir içi ulaşımda favorin hangisi? ⛴️ Kesinlikle Vapur! Martılara simit atmak şart.🚋 Tramvay veya hareketli sokaklarda yürümek.🚗 Kendi arabamla özgürce yeni yerler keşfetmek. Sonucu Gör 🔮 Tekrar Çöz 🔄 👇 Bunlar da İlgini Çekebilir 👇 Nihilist Penguen misin, Yoksa Punch mı? 🐧 const userAnswers = {}; function selectOption(questionNumber, answer, buttonElement) { userAnswers[questionNumber] = answer; document.getElementById('q' + questionNumber).style.border = "2px solid transparent"; const siblings = buttonElement.parentElement.children; for (let i = 0; i < siblings.length; i++) { siblings[i].classList.remove('selected'); } buttonElement.classList.add('selected'); } function calculateResult() { let isComplete = true; for (let i = 1; i highestScore) { highestScore = counts[semt]; finalResult = semt; } } const resultContainer = document.getElementById('result'); const resultTitle = document.getElementById('resultTitle'); const resultDesc = document.getElementById('resultDesc'); const resultEmoji = document.getElementById('resultEmoji'); if (finalResult === 'alsancak') { resultEmoji.textContent = "🍻💃"; resultTitle.textContent = "Sen Tam Bir Alsancak'sın!"; resultDesc.textContent = "Kordon'da çimlerde oturup güneşin batışını izlemekten, gece mekanlarına akmaya kadar İzmir'in kalbi sende atıyor. Enerjin hiç bitmiyor, her zaman sosyal ve havalısın!"; } else if (finalResult === 'karsiyaka') { resultEmoji.textContent = "🦅⛴️"; resultTitle.textContent = "Kaf Sin Kaf! Sen Karşıyaka'sın!"; resultDesc.textContent = "35½ ruhunu taşıyorsun! Asi, gururlu ve semtine aşık birisin. Vapurda martılara simit atmak ve o tatlı tatlı esen rüzgara karşı yürümek senin vazgeçilmezin."; } else { resultEmoji.textContent = "🍷🌿"; resultTitle.textContent = "Huzurun Başkenti: Sen Urla'sın!"; resultDesc.textContent = "Kalabalıktan uzak, kaliteli yaşamayı seven birisin. Taş evler, enginar tarlaları, üzüm bağları ve rüzgarlı plajlar tam sana göre. Yavaş yaşamak senin felsefen."; } resultContainer.classList.remove('hidden'); setTimeout(() => { resultContainer.scrollIntoView({ behavior: 'smooth' }); }, 100); }