/* RESET */
* {
  margin: 0;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #f9fdfb;
  color: #111;
  line-height: 1.6;
  overflow-x: hidden !important;
}
/* HEADER artık hero içinde */
header.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  overflow: visible;
  background-color:#11207773;
}

header.main-header.scrolled {
  background-color: #0c0a44;
  box-shadow: 0 2px 6px rgba(47, 20, 110, 0.978);
}
/* Ana menü öğelerine çizgi */
.mobile-menu ul > li {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 20px;
}

/* Services altındaki öğelere çizgi yok */
.accordion-item .accordion-content li {
  border-bottom: none !important;
  background-color: #f5f5f5;
  padding: 12px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;

}

/* Hover efekti */
.accordion-item .accordion-content li:hover {
  background-color: #05a74381;
  cursor: pointer;
}


.accordion-item .accordion-content li.active a {
  color: white;
  font-weight: bold;
}

.accordion-content li {
  position: relative; /* gerekli */
}

.accordion-content li a {
  display: block;
  padding-right: 5px; /* sağ boşluk aç */
  position: relative;  /* after konumlandırma için */
}

.accordion-content li a:hover::after {
  content: "–";
  position: absolute;
  right: 200px; /* işte buradan ayarlarsın: daha küçük = yazıya daha yakın */
  top: 24%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 1.2rem;
  color: black;
}
/* OVERLAY (arka plan karartması) */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.507);
  z-index: 9998; /* mobile-menu 9999 olduğundan bir altına koyduk */
  display: none;
}

.overlay.active {
  display: block;
}

/* ==== VERDEO LANG DROPDOWN — ULTIMATE FIX ==== */
.main-header .lang-dropdown{ position:relative; z-index:10030; }
.main-header .lang-dropdown .lang-btn{
  display:flex; align-items:center; gap:8px; background:transparent; border:0;
  color:#fff; font-weight:700; padding:6px 8px; cursor:pointer; margin-bottom: -9px;
}
.main-header .lang-dropdown .lang-btn img{ width:22px; height:16px; border-radius:2px; object-fit:cover; }
.main-header .lang-dropdown .chevron{
  width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #fff;
  transition:transform .2s; margin-left:2px;
}
.main-header .lang-dropdown.open .chevron{ transform:rotate(180deg); }

/* Kutu */
.main-header .lang-dropdown .lang-menu{
  position:absolute; right:0; top:calc(100% + 8px);
  padding:6px 0; margin:0; list-style:none;
  display:none; background:rgba(10,12,40,.88); backdrop-filter:blur(6px);
  border-radius:12px; box-shadow:0 10px 28px rgba(0,0,0,.35); z-index:10040;
  overflow:visible; isolation:isolate;
}
.main-header .lang-dropdown.open .lang-menu{ display:block !important; }

/* — Görünürlük kilidi — */
.main-header .lang-menu li,
.main-header .lang-menu li *{
  display:initial !important;
  visibility:visible !important;
  opacity:1 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;  /* chrome/safari text bug */
  mix-blend-mode:normal !important;
  filter:none !important;
  text-shadow:none !important;
  transform:none !important;
}

/* Satır düzeni */
.main-header .lang-menu li{
  display:flex !important; align-items:center !important; gap:10px !important;
  padding:10px 14px !important; cursor:pointer; user-select:none;
  background:transparent !important; border:0 !important;
  font-size:14px !important; font-weight:700 !important; line-height:1.2 !important;
  position:relative !important; z-index:1 !important;
}
.main-header .lang-menu li img{
  width:24px !important; height:16px !important; border-radius:3px !important; object-fit:cover !important;
}
.main-header .lang-menu li span{ letter-spacing:.3px; }

/* Hover/active */
.main-header .lang-menu li:hover{ background:rgba(255,255,255,.12) !important; }
.main-header .lang-menu li.selected{ background:rgba(255,255,255,.18) !important; }

/* Başka menü kurallarını sıfırla */
.main-header .lang-menu a{ all:unset !important; }





.logo-img {
  object-fit: contain;
  background-color: transparent;
  padding-top: 30px;
  height: 80px;

}

.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 20px;
}

.nav-links {
  display: inline;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.nav-links a {
  white-space: nowrap;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: color 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.nav-links a:hover {
  color: #1e7005;
}

.main-header.scrolled .menu a {
  color: white;
  text-shadow: none;
}

.main-header.scrolled .menu a:hover{
  color: #1e7005;
}


.menu{
  display: flex;
  gap: 60px;
  margin-right: 151px;
  list-style: none;
  margin-top: 16px;
}

/*DROPDOWN*/

.menu li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: #fff;
  padding: 10px 15px;
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e7005;
  min-width: 80px;
  z-index: 9999;
  border-radius: 10px;
  padding: 12px 0;
}
.dropdown-content li {
  border-bottom: 1px solid rgb(2, 2, 2);
}

.dropdown-content li:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: #e8e3e23b;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* DROPDOWN FIX */
.nav-links .menu > li.dropdown:hover > a { color: #1e7005; }
.nav-links .menu > li { position: relative; }
.nav-links .menu > li.dropdown::after {
  content:""; position:absolute; left:0; right:0; top:100%; height:10px;
}
.nav-links .menu > li.dropdown .dropdown-content {
  top: 100%; left: 0; transform: none;
  width: 300px; background: #fff;
  border-top: 4px solid #1e7005; border-radius: 6px;
  overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 0; pointer-events: auto; z-index: 10000;
}
.nav-links .menu > li.dropdown > a { padding-bottom: 14px; }
.nav-links .menu > li.dropdown .dropdown-content li { border-bottom: 1px solid #e7e7e7; }
.nav-links .menu > li.dropdown .dropdown-content li:last-child { border-bottom: none; }
.nav-links .menu > li.dropdown .dropdown-content a {
  display:block; padding:10px 16px;
  font-size:13px; font-weight:700; color:#222;
  text-decoration:none; text-shadow:none; background:#fff;
  transition:background-color .2s ease, color .2s ease;
}
.nav-links .menu > li.dropdown .dropdown-content a:hover {
  background: #f5f5f5; color: #1e7005;
}


.section-hero-balancing {
  background-image: url("../IMAGES/Balancing_Market_Revenue_CLEAN.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-text {
  padding: 40px;
  border-radius: 12px;
  color: #fff;
  background-color: #15070754;    
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.2rem;
}

/* Aşağı kaydır oku */
.scroll-cue {
  position: absolute;
  align-self: center;
  bottom: 75px;
  transform: translateX(-50%);
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  color: #1e7005;
  opacity: .9;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid white;
  backdrop-filter: blur(4px);
  z-index: 2;
  animation: float-down 1.5s ease-in-out infinite;
}
@keyframes float-down {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

/* Scroll hedefi header altında güzel dursun */
#about-content { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Mobilde kontrastı az daha artır */
@media (max-width: 768px) {
  .scroll-cue {
    display: none;
  }
}


.section-info {
  background-color: #f9fdfb;
  padding: 60px 20px;
}

.container-info {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.container-info h2 {
  color: #009688;
  margin-bottom: 20px;
  font-size: 2rem;
}

.container-info .highlight {
  font-weight: bold;
  color: #222;
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  background-color: #ffffff;
}

.card {
  background-color: #f3f9f6;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  pointer-events: none; /* tıklamayı tamamen engeller */
}

.card:hover {
  transform: translateY(-8px);
}

.card i {
  font-size: 2.5rem;
  color: #009688;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #222;
}

.card p {
  font-size: 0.95rem;
  color: #444;
}

.section-advantages {
  background-color: #e1f5f2;
  padding: 60px 30px;
  text-align: center;
}

.section-advantages h2 {
  color: #111;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.adv-list {
  list-style: none;
  padding: 0;
}

.adv-list li {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #333;
}

.adv-list i {
  color: #009688;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .section-hero-balancing {
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Dikeyde ortala */
    align-items: center;      /* Yatayda ortala */
    height: 60vw;             /* Yüksekliği orantılı yap, örn: 60vw veya min 240px */
    min-height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .hero-text {
    padding: 16px;
    border-radius: 12px;
    color: #fff;
    background-color: rgba(21,7,7,0.33);
    text-align: center;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-top: 70px;
  }
  .hero-text h1 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
  }
  .hero-text p {
    font-size: 0.93rem;
    margin: 0;
  }
}
.zigzag-section {
  padding: 60px 20px;
  background-color: #fff;
}

.zigzag-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.zigzag-block.left {
  flex-direction: row;
}

.zigzag-block.right {
  flex-direction: row-reverse;
}

.zigzag-block img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 12px;
}

.zigzag-text {
  flex: 1;
  max-width: 600px;
}

.zigzag-text h3 {
  font-size: 1.4rem;
  color: #009688;
  margin-bottom: 10px;
}

.zigzag-text p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .zigzag-block {
    flex-direction: column !important;
    text-align: center;
  }

  .zigzag-block img {
    margin-bottom: 20px;
  }
}







/* FOOTER */
.footer {
  background-color: #0c0a44;
  color: white;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-section a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-section a:hover {
  color:#08b74b81; /* İstediğin hover rengi */
}

.footer-logo {
  width: 150px;
  margin-left: -10px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid #1e7005;
  display: inline-block;
  padding-bottom: 4px;
  margin-top: 13.5px;  
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-section ul li i {
  color: white;
  margin-right: 6px;
}

.footer-section p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-section i {
  color: white;
  margin-right: 8px;
}

.social-media h3 {
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid #1e7005;
  padding-bottom: 4px;
  margin-top: 13.5px;   
}

.social-link {
  display: inline-flex;
  align-items: center;
  background-color: #0a66c2; /* LinkedIn kurumsal mavi */
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-link i {
  margin-right: 8px;
  font-size: 18px;
}

.social-link:hover {
  background-color: #004182; /* Hover’da koyu mavi */
  transform: scale(1.1);     /* Hafif büyüsün */
}


/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links .menu {
    flex-direction: column;
    gap: 10px;
  }
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .logo-img {
    height: 60px;

  }

}


.fa-bars::before, .fa-navion::before{

  content: "\f0c9";
  margin-right: 30px;
}


/* === Language soft refresh overlay === */
.lang-transition{
  position: fixed; inset: 0;
  background: rgba(12,10,68,0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 100000; /* her şeyin üstünde */
}
.lang-transition.show{ opacity: 1; pointer-events: auto; }

.lang-transition .lt-card{
  background: rgba(20,22,60,0.92);
  padding: 14px 16px; border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  display: flex; align-items: center; gap: 10px;
  transform: scale(.98); transition: transform .15s ease;
}
.lang-transition.show .lt-card{ transform: scale(1); }

.lt-spinner{
  width: 22px; height: 22px;
  border: 3px solid #fff; border-top-color: transparent;
  border-radius: 50%;
  animation: ltspin 1s linear infinite;
}
@keyframes ltspin { to { transform: rotate(360deg); } }

.lt-text{ color: #fff; font-weight: 700; letter-spacing: .3px; font-size: .9rem; }

/* Reduce Motion dostu */
@media (prefers-reduced-motion: reduce){
  .lang-transition{ transition: none; }
  .lang-transition .lt-card{ transition: none; }
  .lt-spinner{ animation: none; }
}


/* Varsayılan: sadece mobilde göster */
.mobile-only { display: none; }
@media (max-width: 768px) {
  .mobile-only { display: block; }
}

/* Bileşen stili */
.mobile-lang {
  position: relative;
  padding: 12px 16px;       /* menü öğeleriyle hizalı dursun */
}
.mobile-lang__btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  color: inherit;
}
.mobile-lang .flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
}

/* Chevron SVG için animasyon */
.mobile-lang .chev svg {
  display: inline-block;
  vertical-align: middle;
  transition: transform .15s ease;
}

/* Menü açıldığında oku döndür */
.mobile-lang.open .chev svg {
  transform: rotate(-46deg);
}

.mobile-lang__btn:focus,
.mobile-lang__btn:active {
  outline: none;
  box-shadow: none;
}

.mobile-lang__btn img.flag-btn {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

/* Açılır menü */
.mobile-lang__menu {
  position: absolute;
  left: 16px;               /* solda hizalı, görseldeki gibi */
  top: calc(100% + 8px);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #3a3a3a;
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  display: none;
  z-index: 9999;
}

.mobile-lang__menu li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.mobile-lang__menu li:hover { background: rgba(255,255,255,.08); }

/* Açık durum */
.mobile-lang.open .mobile-lang__menu { display: block; }
.mobile-lang.open .chev { transform: rotate(-135deg); } /* ok yukarı baksın */

/* Masaüstünde tamamen gizle (desktopta zaten var dedin) */
@media (min-width: 769px) {
  .mobile-lang { display: none; }
}

/* Anchor'a giderken başlık header'ın altında kalsın */
:root { --header-offset: 120px; }         /* desktop için yaklaşık header yüksekliği */
@media (max-width: 768px) {
  :root { --header-offset: 90px; }        /* mobil için */
}

/* id verilmiş başlık/bölümlere offset uygula */
h1[id], h2[id], h3[id], section[id] {
  scroll-margin-top: var(--header-offset);
}

/* isteğe bağlı: yumuşak kaydırma */
html { scroll-behavior: smooth; }

/* Back to Top Button */
#backToTop {
  display: none; /* başta görünmez */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: #1e7005; /* senin header rengin */
  color: white;
  border: none;
  border-radius: 50%;
  padding: 15px 20px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s;
}

#backToTop:hover {
  background-color: #0c0a44; /* hover rengi */
}

/* Copyright yazısı için ortalama ve aşağı kaydırma */
.pbmit-footer-copyright-text-area {
  text-align: center;   /* ortala */
  font-size: 14px;
  color: #ccc;          /* dilersen daha soluk görünmesi için */
  margin-top: 20px;     /* üstten boşluk */
}

/* Footer copyright linklerinin rengini değiştir */
.pbmit-footer-copyright-text-area a {
  color: #1e7005;        /* istediğin rengi yaz (#fff, red, yellow vs) */
  text-decoration: none; /* alt çizgiyi kaldırır */
  font-weight: bold;
}

.pbmit-footer-bottom {
  border-top: 1px solid #1e700569 ;
  text-align: center;   /* her şeyi ortala */
  padding: 4px 0 2px; /* üstten 40px, alttan 20px boşluk */
}

.pbmit-footer-copyright-text-area a:hover {
  color: #1e7005;       /* üzerine gelince farklı yeşil */
  text-decoration: underline; /* hoverda alt çizgi */
}