/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* CSS Değişkenleri (Renk Paleti) */
:root {
    --primary-green: #28a745;
    --dark-green: #1e7e34;
    --light-green-bg: #f4fbf4;
    --dark-text: #343a40;
    --border-color: #dee2e6;
    --primary-blue: #007bff;
}

/* --- GİRİŞ EKRANI STİLLERİ --- */
#login-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(244, 251, 244, 0.9), rgba(232, 245, 233, 0.9)), url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="%23e9f5e9" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>'); display: flex; justify-content: center; align-items: center; z-index: 9999; }
#login-box { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 100%; max-width: 400px; text-align: center; }
#login-box .logo { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
#login-box h2 { margin: 0 0 25px 15px; font-size: 24px; color: var(--dark-text); }
#login-form .form-group { text-align: left; margin-bottom: 20px; }
#login-form label { display: block; font-weight: 600; margin-bottom: 8px; }
#login-form input { width: 100%; box-sizing: border-box; padding: 12px; border-radius: 8px; border: 1px solid var(--border-color); font-size: 16px; }
#login-form button { width: 100%; padding: 14px; background-color: var(--primary-green); color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color 0.3s; }
#login-form button:hover { background-color: var(--dark-green); }
#login-error { color: #d90429; margin-top: 15px; font-weight: 600; }
@keyframes shake { 10%, 90% { transform: translate3d(-1px, 0, 0); } 20%, 80% { transform: translate3d(2px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-4px, 0, 0); } 40%, 60% { transform: translate3d(4px, 0, 0); } }
.shake { animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both; }

/* --- GENEL UYGULAMA STİLLERİ --- */
.hidden { display: none !important; }
body { font-family: 'Poppins', sans-serif; background-color: var(--light-green-bg); margin: 0; color: var(--dark-text); -webkit-font-smoothing: antialiased; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.site-header { background-color: #fff; padding: 15px 0; border-bottom: 3px solid var(--primary-green); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.site-header .logo a { text-decoration: none; font-size: 24px; font-weight: 700; color: var(--dark-text); margin-left: 10px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav li { margin-left: 25px; }
.main-nav a { text-decoration: none; color: var(--dark-text); font-weight: 600; padding-bottom: 5px; transition: color 0.3s, border-bottom-color 0.3s; }
.main-nav a:hover { color: var(--primary-green); border-bottom: 2px solid var(--primary-green); }

/* Ana İçerik ve Bölümler */
main { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px 0; }
.map-container, .info-section, .knowledge-section, .calculator-section, .accreditation-section { width: 100%; max-width: 1140px; box-sizing: border-box; padding: 40px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.map-container { background-color: #ffffff; text-align: center; }
h1 { font-size: 28px; color: var(--dark-text); margin-top: 0; }
.subtitle { color: #6c757d; margin-top: -10px; margin-bottom: 25px; }
#map-placeholder { width: 100%; margin-top: 15px; }
#map-placeholder svg { width: 100%; height: auto; }
#turkiye path { stroke: #ffffff; stroke-width: 0.5px; transition: fill 0.2s, transform 0.2s; }
#turkiye path:hover { fill: #ffd700 !important; cursor: pointer; transform: translateY(-2px); }
.info-section { background-color: #fff; }
.info-section h2, .knowledge-section h3, .calculator-section h2, .accreditation-section h2 { text-align: center; font-size: 28px; margin-bottom: 10px; }
.info-subtitle { text-align: center; color: #6c757d; max-width: 600px; margin: 0 auto 40px auto; }
.info-boxes { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.info-box { background-color: var(--light-green-bg); padding: 30px; border-radius: 12px; text-align: center; width: 100%; max-width: 350px; border: 1px solid #e0e0e0; }
.info-box.highlight { background-color: var(--primary-green); color: #fff; border-color: var(--dark-green); }
.info-box.highlight h3, .info-box.highlight p { color: #fff; }
.info-box h3 { margin-top: 0; }
.info-box .icon { font-size: 48px; color: var(--dark-green); margin-bottom: 15px; }
.info-box.highlight .icon { color: #fff; }
.accreditation-section { background-color: #e8f5e9; text-align: center; border-top: 1px solid #c8e6c9; }
.accreditation-section h2 { color: var(--dark-green); font-size: 24px; margin-top: 10px; margin-bottom: 10px; }
.accreditation-section p { max-width: 700px; margin: 0 auto; line-height: 1.7; color: #333; }
.accreditation-section .icon-large { font-size: 48px; color: var(--dark-green); margin-bottom: 15px; }

/* BİLGİ KÖŞESİ (AKORDEON) */
.knowledge-section { background-color: #fff; }
.knowledge-columns { display: flex; gap: 40px; flex-wrap: wrap; }
.knowledge-column { flex: 1; min-width: 300px; }
.knowledge-column h4 { font-size: 20px; color: var(--dark-text); margin-top: 0; margin-bottom: 20px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; }
.knowledge-list { list-style: none; padding: 0; margin: 0; }
.accordion-item { background: var(--light-green-bg); margin-bottom: 10px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); overflow: hidden; }
.accordion-header { display: flex; align-items: center; gap: 15px; padding: 15px 20px; cursor: pointer; user-select: none; }
.accordion-header i { font-size: 24px; width: 30px; text-align: center; }
.accordion-toggle { margin-left: auto; font-size: 24px; font-weight: 300; transition: transform 0.3s ease; }
.accordion-item.active .accordion-toggle { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.accordion-content p { margin: 0; padding: 0 20px 0 65px; line-height: 1.7; }
.accordion-item.active .accordion-content { max-height: 200px; padding-bottom: 20px; }
.knowledge-list.green { border-left: 4px solid var(--primary-green); }
.knowledge-list.green i { color: var(--primary-green); }
.knowledge-list.blue { border-left: 4px solid var(--primary-blue); }
.knowledge-list.blue i { color: var(--primary-blue); }

/* Hesaplama Aracı Bölümü */
.calculator-section { background-color: #fff; }
#hesaplama-form { max-width: 800px; margin: 30px auto; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.form-group { flex: 1; min-width: 200px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; }
.form-group select, .form-group input { width: 100%; box-sizing: border-box; padding: 12px; border-radius: 8px; border: 1px solid var(--border-color); font-family: 'Poppins', sans-serif; font-size: 16px; }
#hesaplama-form button { display: block; width: 200px; margin: 0 auto; padding: 14px; background-color: var(--primary-green); color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color 0.3s; }
#hesaplama-form button:hover { background-color: var(--dark-green); }
.results-container { display: flex; justify-content: center; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.result-column { background-color: var(--light-green-bg); padding: 25px; border-radius: 12px; text-align: center; width: 100%; max-width: 350px; border: 1px solid #e0e0e0; }
.result-column.highlight { border: 2px solid var(--primary-green); }
.result-column h3 { margin-top: 0; }
.result-value { font-size: 24px; font-weight: 700; margin: 10px 0; }
.result-cost { font-size: 28px; font-weight: 700; color: #d90429; margin: 10px 0; }
.result-column.highlight .result-cost { color: var(--dark-green); }
.savings { margin-top: 15px; font-size: 18px; font-weight: 600; color: var(--primary-green); }
.factor-display { margin-top: 10px; padding: 8px 12px; background-color: #e8f5e9; border-radius: 6px; font-size: 14px; color: var(--dark-green); border: 1px solid #c8e6c9; }

/* Footer */
.site-footer { background-color: var(--dark-text); color: #fff; padding: 20px 0; text-align: center; border-top: 3px solid var(--primary-green); }
.site-footer p { margin: 0; }
.tooltip { display: none; position: absolute; background-color: #fff; border-radius: 8px; padding: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); width: 200px; z-index: 1000; pointer-events: none; text-align: center; border: 1px solid var(--border-color); transition: background-color 0.3s ease; }
.tooltip h3, .tooltip p { color: var(--dark-text); transition: color 0.3s ease; }
.gauge-container { position: relative; width: 160px; height: 80px; margin: 0 auto; overflow: hidden; }
.gauge-bg { width: 100%; height: 100%; background: conic-gradient(from -90deg at 50% 100%, #d90429 0%, #f9c74f 50%, #28a745 100%); border-radius: 80px 80px 0 0; }
.gauge-needle { position: absolute; bottom: 0; left: 50%; width: 2px; height: 70px; background-color: var(--dark-text); transform-origin: bottom center; transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1); transform: translateX(-50%) rotate(0deg); }
.gauge-center { position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; background-color: #333; border-radius: 50%; border: 2px solid #fff; z-index: 1; }
.context-menu { display: none; position: absolute; z-index: 1001; width: 220px; background-color: #ffffff; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.15); padding: 8px 0; font-size: 14px; border: 1px solid var(--border-color); }
.context-menu .menu-header { padding: 8px 16px; color: #6c757d; font-size: 13px; border-bottom: 1px solid var(--border-color); margin-bottom: 4px; font-weight: 600; }
.context-menu ul { list-style: none; margin: 0; padding: 0; }
.context-menu li a { display: block; padding: 9px 16px; text-decoration: none; color: var(--dark-text); transition: background-color 0.2s, color 0.2s; }
.context-menu li a:hover { background-color: var(--primary-green); color: #fff; }
.context-menu .separator { height: 1px; background-color: var(--border-color); margin: 4px 0; }

/* İl Renkleri */
#TR-01 { fill: #e6194B; } #TR-02 { fill: #3cb44b; } #TR-03 { fill: #ffe119; } #TR-04 { fill: #4363d8; } #TR-05 { fill: #f58231; } #TR-06 { fill: #911eb4; } #TR-07 { fill: #42d4f4; } #TR-08 { fill: #f032e6; } #TR-09 { fill: #bfef45; } #TR-10 { fill: #fabed4; } #TR-11 { fill: #469990; } #TR-12 { fill: #dcbeff; } #TR-13 { fill: #9A6324; } #TR-14 { fill: #fffac8; } #TR-15 { fill: #800000; } #TR-16 { fill: #aaffc3; } #TR-17 { fill: #808000; } #TR-18 { fill: #ffd8b1; } #TR-19 { fill: #000075; } #TR-20 { fill: #a9a9a9; } #TR-21 { fill: #55a630; } #TR-22 { fill: #f3722c; } #TR-23 { fill: #8338ec; } #TR-24 { fill: #00b4d8; } #TR-25 { fill: #6a040f; } #TR-26 { fill: #5f0f40; } #TR-27 { fill: #c9184a; } #TR-28 { fill: #0ead69; } #TR-29 { fill: #e07a5f; } #TR-30 { fill: #b5179e; } #TR-31 { fill: #f8961e; } #TR-32 { fill: #f9c74f; } #TR-33 { fill: #90be6d; } #TR-34 { fill: #43aa8b; } #TR-35 { fill: #4d908e; } #TR-36 { fill: #577590; } #TR-37 { fill: #277da1; } #TR-38 { fill: #ef476f; } #TR-39 { fill: #ffd166; } #TR-40 { fill: #06d6a0; } #TR-41 { fill: #118ab2; } #TR-42 { fill: #073b4c; } #TR-43 { fill: #ffbe0b; } #TR-44 { fill: #fb5607; } #TR-45 { fill: #ff006e; } #TR-46 { fill: #3a86ff; } #TR-47 { fill: #61a5c2; } #TR-48 { fill: #2a6f97; } #TR-49 { fill: #014f86; } #TR-50 { fill: #219ebc; } #TR-51 { fill: #ee6c4d; } #TR-52 { fill: #011627; } #TR-53 { fill: #7209b7; } #TR-54 { fill: #2ec4b6; } #TR-55 { fill: #4cc9f0; } #TR-56 { fill: #ff9f1c; } #TR-57 { fill: #007f5f; } #TR-58 { fill: #585123; } #TR-59 { fill: #31572c; } #TR-60 { fill: #b08968; } #TR-61 { fill: #7f5539; } #TR-62 { fill: #606c38; } #TR-63 { fill: #283618; } #TR-64 { fill: #fca311; } #TR-65 { fill: #bc6c25; } #TR-66 { fill: #6d597a; } #TR-67 { fill: #d4a373; } #TR-68 { fill: #354f52; } #TR-69 { fill: #52796f; } #TR-70 { fill: #84a98c; } #TR-71 { fill: #cad2c5; } #TR-72 { fill: #3d405b; } #TR-73 { fill: #e07a5f; } #TR-74 { fill: #f2cc8f; } #TR-75 { fill: #81b29a; } #TR-76 { fill: #6b705c; } #TR-77 { fill: #ddbea9; } #TR-78 { fill: #cb997e; } #TR-79 { fill: #a5a58d; } #TR-80 { fill: #b7b7a4; } #TR-81 { fill: #8d99ae; }

/* --- RESPONSIVE TASARIM (MOBİL UYUMLULUK) --- */
@media (max-width: 768px) {
    .site-header .container { flex-direction: column; gap: 15px; }
    .main-nav ul { justify-content: center; flex-wrap: wrap; }
    .main-nav li { margin: 5px 10px; }
    h1, .info-section h2, .calculator-section h2 { font-size: 24px; }
    .map-container, .info-section, .knowledge-section, .calculator-section, .accreditation-section { padding: 20px; }
    .info-boxes, .form-row, .results-container { flex-direction: column; align-items: center; }
}