/*
=========================================================
Akü Bulucu - Kurumsal Platform Ortak Stil Dosyası (Nihai Sürüm)
=========================================================
*/

/* --- GENEL ve TEMEL AYARLAR --- */
body {
    background-color: #ffffff;
    font-family: 'Open Sans', 'Roboto', sans-serif;
    color: #34495e;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

main section {
    padding: 80px 0;
    overflow: hidden;
}

main section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    /* İSTEK: Hafif neon ışık efekti */
    text-shadow: 0 0 12px rgba(44, 62, 80, 0.2);
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #566573;
    max-width: 700px;
    margin: -10px auto 50px auto;
}


/* --- HEADER - YENİ DÜZENLEME (v2 - SADELEŞTİRİLMİŞ) --- */
.kurumsal-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: box-shadow 0.3s ease;
}

.kurumsal-header.scrolled {
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: normal;
    width: 100%;
    max-width: none;
    padding: 0 2.5%;
    box-sizing: border-box;
}

.logo {
    max-height: 95px; /* Logo boyutu 95px olarak güncellendi. */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-nav .nav-link {
    color: #34495e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.header-nav .nav-link:hover {
    color: #27ae60;
}

.bayi-giris-btn {
    background-color: #27ae60;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.bayi-giris-btn:hover {
    background-color: #2ecc71;
    transform: translateY(-2px);
}


/* --- BAYİ GİRİŞ SAYFASI (bayigirisi.html) --- */
.login-page-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f6f8;
}

.login-header {
    position: relative;
}

.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.login-form-container {
    background-color: #ffffff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
    text-align: center;
}

.login-icon {
    font-size: 3rem;
    color: #27ae60;
    margin-bottom: 15px;
}

.login-form-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
}
.login-form-container p {
    color: #566573;
    margin-bottom: 30px;
}
.login-form-container form {
    text-align: left;
}
.login-form-container .input-group {
    margin-bottom: 20px;
}
.login-form-container label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
}
.login-form-container input[type="email"],
.login-form-container input[type="password"] {
    width: 100%;
    padding: 14px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 1rem;
}
.login-form-container input:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 25px;
}
.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #555;
}
.forgot-password {
    color: #3498db;
    text-decoration: none;
}
.forgot-password:hover {
    text-decoration: underline;
}

.login-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.login-submit-btn:hover {
    background-color: #2ecc71;
}

.login-error-message {
    color: #e74c3c;
    background-color: #fdd;
    border: 1px solid #e74c3c;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}


/* --- ANA KURUMSAL SAYFA (index.html) --- */

/* HERO BÖLÜMÜ - YENİ DÜZENLEME */
.hero {
    position: relative;
    padding: 140px 20px;
    /* İSTEK: Arka plan rengi değiştirildi */
    background-color: #f8f9fa; 
    overflow: hidden;
}
/* İSTEK: Blur efekti kaldırıldı */
.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    /* İSTEK: Yazı rengi değiştirildi */
    color: #2a9547; 
    /* Gölge kaldırıldı */
    text-shadow: none; 
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    /* İSTEK: Yazı rengi değiştirildi */
    color: #0c0909; 
    font-weight: 600;
    /* Gölge kaldırıldı */
    text-shadow: none;
}

/* SAYILARLA GÜCÜMÜZ BÖLÜMÜ */
.sayilarla-gucumuz-section { background-color: #f0f2f5; } /* Hafif kontrast için renk ayarı */
.sayilar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.sayi-item {
    background-color: #ffffff;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}
.sayi-item i {
    font-size: 3rem;
    color: #27ae60;
    margin-bottom: 15px;
}
.sayi-item .sayac, .sayi-item .static-metric {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
}
.sayi-item p { font-size: 1.1rem; color: #566573; margin-top: 5px; }


/* SEKTÖRLER BÖLÜMÜ */
.sektorler-section { background-color: #ffffff; }
.sektorler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.sektor-karti {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    /* İSTEK: Hafif neon ışık için kutu gölgesi */
    box-shadow: 0 0 15px rgba(39, 174, 96, 0.3);
}
.sektor-karti:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.5);
}
.sektor-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}
.sektor-karti:hover .sektor-bg {
    transform: scale(1.1);
}
.sektor-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 70%);
    z-index: 2;
    transition: background 0.4s ease;
}
.sektor-karti:hover .sektor-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 30%, rgba(0,0,0,0.1) 70%);
}
.sektor-karti h3 {
    position: relative;
    z-index: 3;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    color: #ffffff;
}

/* ENERJİ SORUMLULUĞUMUZ BÖLÜMÜ */
.enerji-sorumlulugu-section {
    background-color: #f8f9fa;
}
.sorumluluk-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.sorumluluk-gorsel {
    flex: 1;
}
.sorumluluk-gorsel img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}
.sorumluluk-icerik {
    flex: 1.2;
}
.sorumluluk-icerik h2 {
    text-align: left;
}
.sorumluluk-icerik h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #27ae60;
    margin-top: 15px;
    border-radius: 3px;
}
.sorumluluk-icerik p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 15px;
}


/* VİZYONUMUZ BÖLÜMÜ */
.buyuk-resmimiz-section { background-color: #ffffff; }
.buyuk-resmimiz-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.buyuk-resmimiz-gorsel {
    flex: 1;
}
.buyuk-resmimiz-gorsel img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}
.buyuk-resmimiz-icerik {
    flex: 1.2;
}
.buyuk-resmimiz-icerik h2 { text-align: left; }
.buyuk-resmimiz-icerik h2::after { content: ''; display: block; width: 80px; height: 4px; background-color: #27ae60; margin-top: 15px; border-radius: 3px; }
.buyuk-resmimiz-icerik p { font-size: 1.1rem; line-height: 1.9; }


/* BİLGİ AL (CTA) BÖLÜMÜ */
.hemen-bilgi-alin-section {
    background: #2c3e50;
    color: #fff;
    text-align: center;
}
.hemen-bilgi-alin-section h2 { color: #fff; }
.hemen-bilgi-alin-container p {
    max-width: 700px;
    margin: -10px auto 40px auto;
}
.cta-button {
    display: inline-block;
    background: #27ae60;
    color: white !important;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: background-color 0.3s, transform 0.3s;
}
.cta-button:hover {
    background-color: #2ecc71;
    transform: scale(1.05);
}


/* FOOTER */
.footer-kurumsal {
    background-color: #1d2124;
    color: #a9a9a9;
    padding: 40px 0;
    text-align: center;
    font-size: 0.95rem;
}


/* ANİMASYON SINIFLARI */
.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- DUYARLILIK (RESPONSIVE) --- */
@media (max-width: 992px) {
    main section h2 { font-size: 2.2rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .sayilar-grid { grid-template-columns: repeat(2, 1fr); }
    .buyuk-resmimiz-container, .sorumluluk-container { flex-direction: column; }
    .buyuk-resmimiz-icerik h2, .sorumluluk-icerik h2 { text-align: center; }
    .buyuk-resmimiz-icerik h2::after, .sorumluluk-icerik h2::after { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .header-container { 
        justify-content: space-between; 
        flex-wrap: nowrap;
    }
    .header-nav .nav-link {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    .bayi-giris-btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    .logo {
        max-height: 95px; /* Mobil için logo boyutu da 95px olarak güncellendi. */
    }

    .sayilar-grid { gap: 20px; }
    .sektorler-grid { grid-template-columns: 1fr; }
    .sektor-karti { min-height: 300px; }
}

@media (max-width: 480px) {
    main section h2 { font-size: 1.8rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1.1rem; }
    .sayilar-grid { grid-template-columns: 1fr; }
    .login-form-container { padding: 30px 25px; }
}

/* --- TÜRKİYE HARİTASI BÖLÜMÜ --- */
.turkiye-harita-section {
    background-color: #f8f9fa;
    padding-bottom: 40px;
}

#map-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 30px auto 0 auto;
    min-height: 450px; /* Harita yüklenirken boşluk bırakır */
}

#map-container svg {
    width: 100%;
    height: auto;
    stroke: #fff;
    stroke-width: 1;
}

/* Tıklandığında çıkan varsayılan çerçeveyi kaldır */
#map-container svg g[data-city-name]:focus {
    outline: none;
}

/* Şehri temsil eden gruba cursor:pointer ekleniyor */
#map-container svg g[data-city-name] {
    cursor: pointer;
}

/* Şehir path'lerinin temel stilleri - Canlı mavi renk */
#map-container svg path {
    fill: #27ae60; /* JS ile aynı yeşil renk */
    transition: fill 0.2s ease;
}

/* Bir şehrin grubunun üzerine gelindiğinde, neon parlama efekti uygula */
#map-container svg g[data-city-name]:hover path {
    fill: #2ecc71; /* Hover için daha açık yeşil */
}
#map-container svg g[data-city-name]:hover {
    filter: drop-shadow(0 0 5px #2eff7b) drop-shadow(0 0 10px #2eff7b);
    transition: filter 0.2s ease;
}

/* Plaka kodu stilleri kaldırıldı */

.tippy-box[data-theme~='custom'] {
    background-color: #2c3e50;
    color: #ffffff;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
}
.tippy-box[data-theme~='custom'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: #2c3e50;
}
.tippy-box[data-theme~='custom'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color: #2c3e50;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top-color: #27ae60;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}