* {
  margin: 0;
}

/* GENEL STİL */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #f9fdfb;
  color: #111;
  line-height: 1.6;
}
/* HEADER (Verdeo tarzı) */
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: #0c0a44;
}

/* 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; }
.accordion-content li a {
  display: block;
  padding-right: 5px;
  position: relative;
}
.accordion-content li a:hover::after {
  content: "–";
  position: absolute;
  right: 200px;
  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; }

header.main-header.scrolled {
  background-color: #0c0a44;
  box-shadow: 0 2px 6px rgba(47, 20, 110, 0.978);
}

/* ==== 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;
  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;
  overflow: visible;
}

.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: #2362d7; }

.main-header.scrolled .menu a {
  color: black;
  text-shadow: none;
}

.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;
  font-weight: 500;
}

/* ▼▼▼ KAPANMA SORUNU FİX — BAŞLANGIÇ ▼▼▼ */
.nav-links .menu > li.dropdown{
  position: relative;
}
.nav-links .menu > li.dropdown::after{
  content:"";
  position:absolute;
  left:0; right:0;
  top:100%;
  height:10px;              /* görünmez hover köprüsü */
}
.nav-links .menu > li.dropdown > a{
  padding-bottom: 14px;     /* tetikleyici hover alanını büyüt */
}
/* ▼▼▼ KAPANMA SORUNU FİX — BİTİŞ ▼▼▼ */



.dropdown-content li:last-child { border-bottom: none; }




.dropdown:hover .dropdown-content { display: block; }

.nav-links .dropdown:hover  { color: rgb(14, 2, 2); }

.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);
}

/* === DROPDOWN (ENEXUS tarzı) — beyaz kutu + yeşil şerit === */

/* Referans ve hover köprüsü */
.nav-links .menu > li { position: relative; }
.nav-links .menu > li.dropdown{ position:relative; }
.nav-links .menu > li.dropdown::after{
  content:"";
  position:absolute;
  left:0; right:0;
  top:100%;
  height:10px;               /* hover kopmasın */
}
.nav-links .menu > li.dropdown > a{
  padding-bottom:14px;        /* tetikleyici hover alanını büyüt */
}

/* Panel */
.nav-links .menu > li.dropdown .dropdown-content{
  position:absolute;
  top:100%;                   /* gap yok */
  left:0;                     /* sola hizalı */
  transform:none;
  width:300px;                /* istersen 260–320 arası */
  background:#fff;
  border:1px solid #e9ecef;
  border-top:4px solid #1e7005;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  padding:0;
  z-index:10000;
  display:none;
  pointer-events:auto;
}

/* Açılma */
.nav-links .menu > li.dropdown:hover .dropdown-content{ display:block; }

/* Satır çizgileri */
.nav-links .menu > li.dropdown .dropdown-content li{
  list-style:none;
  border-bottom:1px solid #eef1f3;
  margin:0;
}
.nav-links .menu > li.dropdown .dropdown-content li:last-child{ border-bottom:none; }

/* Link tipografisi */
.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:hover > a {
  color: #1e7005;
}
/* Hover: açık gri zemin + yeşil yazı */
.nav-links .menu > li.dropdown .dropdown-content a:hover{
  background:#f5f7f8;
  color:#1e7005;
}

/* Güvenli bastırma (eski kurallar kalırsa) */
.dropdown-content a:hover{
  background:#f5f7f8 !important;
  color:#1e7005 !important;
  text-shadow:none !important;
}

.nav-links .dropdown:hover a{ text-shadow: #160c0c }
.nav-links a:hover{ color: #1e7005; }

.main-header.scrolled .menu a { color: white; text-shadow: none; }
.main-header.scrolled .menu a:hover { color: #1e7005; }
.main-header.scrolled .menu .dropdown:hover a:hover{ color: white; }

ul.dropdown-content{ list-style-type: none; }

/* Services*/
.services-container {
  padding: 80px 10vw;
  background-color: #fff;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}
.services-header h1 {
  font-size: 2.5rem;
  margin-top: 40px;
  color: #333;
}
.services-header p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 50px;
}
.services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}
.service-box {
  background-color: #f5f5f5;
  border-radius: 16px;
  width: 300px;
  transition: transform 0.3s ease;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}
.service-box:hover { transform: translateY(-10px); }
.service-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.service-info { padding: 25px; }
.service-info h3 {
  color: #009688;
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.service-info p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-cards { flex-direction: column; align-items: center; }
  .services-header h1 { font-size: 2rem; }
  .services-header p { font-size: 1rem; }
  .service-info p { font-size: 0.95rem; }
  .service-box { width: 90%; }
}

.service-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #009688;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease, transform 0.2s ease;
}
.service-btn:hover {
  background-color: #00796b;
  transform: translateY(-2px);
}

/* 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; }

.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;
  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; transform: scale(1.1); }

/* 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; }
}
@media (max-width: 768px) {
  .section-hero-dayahead {
    background-size: contain;
    background-repeat: no-repeat;
    height: auto;
    min-height: 234px;
  }
}

.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;
}
.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;
}
.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 {
  left: 16px;
  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); }

/* Masaüstünde tamamen gizle */
@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 */
}
