:root {
  --font1: "Urbanist", Helvetica, Arial, sans-serif;
  --primary-orange: #d4af67;
  --radius: 3px;
}

body {
  font-family: var(--font1);
  padding: 0px;
  margin: 0px;
}

body.menu-open {
  overflow: hidden;
}

/* Site Header: Genel ve Masaüstü */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #07111c99;
  backdrop-filter: blur(8px);
  z-index: 1000;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  padding: 0;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 4% 10px 4%;
}

.header-left,
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.header-left {
  justify-content: flex-start;
}

.header-right {
  justify-content: flex-end;
  gap: 20px;
}

.header-center {
  flex: 0 0 auto;
}

.site-header .logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header .logo img {
  height: 50px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.header-right .icon-link {
  color: #fff;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-right .icon-link:hover {
  color: var(--primary-orange);
}

.header-right .icon-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.header-bottom {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 4% 15px 4%;
}

.site-header .main-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.site-header .main-nav ul#main-menu {
  display: flex;
  list-style: none;
  gap: 35px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-header .main-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  align-items: center;
  display: flex;
}

.site-header .main-nav a:hover {
  color: var(--primary-orange);
}

/* Alt Menüler: Masaüstü */
.site-header .nav-item.nav-submenu {
  position: relative;
}

.site-header .nav-submenu>a::after {
  content: "▼";
  font-size: 0.6em;
  margin-left: 7px;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.site-header .nav-submenu ul {
  list-style: none;
  padding: 10px;
  margin: 0;
  margin-top: 15px;
  background-color: #0b1a2c;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 220px;
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 10;
}

.site-header .nav-submenu ul li {
  padding: 0;
  margin: 0;
}

.site-header .nav-submenu ul a {
  padding: 10px 15px;
  display: block;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
}

.site-header .nav-item.nav-submenu:hover>ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header .nav-item.nav-submenu:hover>a::after {
  transform: rotate(180deg);
}

/* Hamburger Menü Butonu */
.site-header .menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.site-header .menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.4s;
}

.site-header .menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header .menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.site-header .menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobil Menü Arka Plan Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* Mobil Görünüm */
@media (max-width: 1200px) {
  .site-header .menu-toggle {
    display: block;
  }

  .site-header .main-nav {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    justify-content: flex-end;
  }

  .site-header .main-nav ul#main-menu {
    overflow-y: auto;
    padding-bottom: 40px;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #1a1a1a;
    padding: 80px 40px 40px;
    align-items: flex-start;
    gap: 15px;
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
  }

  .site-header .main-nav ul#main-menu.is-active {
    left: 0;
  }

  .site-header .main-nav ul a {
    font-size: 18px;
    width: 100%;
  }

  .site-header .main-nav ul li {
    position: relative;
  }

  .site-header .main-nav ul li .mobil-logo {
    margin-bottom: 25px;
    display: block !important;
  }

  /* Mobil Alt Menüler */
  .site-header .nav-submenu>li::after {
    content: "›";
    font-size: 1.8em;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease-in-out;
  }

  .site-header .nav-submenu ul {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 0 10px 20px;
    margin-top: 10px;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out,
      margin 0.4s ease-in-out;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
  }

  .site-header .nav-submenu.submenu-open>ul {
    max-height: 500px;
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-header .nav-submenu.submenu-open>a::after {
    transform: translateY(-50%) rotate(90deg);
  }
}

a.WhatsApp1 {
  display: flex;
  font-size: 18px;
  background: #2eb843;
  font-weight: 600;
  width: 51px;
  height: 51px;
  position: fixed;
  bottom: 20px;
  left: 20px;
  border-radius: 50%;
  -webkit-transition: all 0.1s ease-out 0s;
  -moz-transition: all 0.1s ease-out 0s;
  -ms-transition: all 0.1s ease-out 0s;
  -o-transition: all 0.1s ease-out 0s;
  transition: all 0.1s ease-out 0s;
  color: #fff;
  align-items: center;
  justify-content: center;
  animation: whatsapp infinite 2s linear;
  z-index: 9999;
}

@keyframes whatsapp {
  0% {
    box-shadow: 0 0 0 0 #2eb843;
  }

  50% {
    box-shadow: 0 0 0 10px #015dc700;
  }

  100% {
    box-shadow: 0 0 0 0 #015dc700;
  }
}

@media (max-width: 1024px) {
  a.WhatsApp1 {
    bottom: 60px;
  }

  .btn {
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
  }

  .btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  .mobilbuttonlar {
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 999;
    display: flex;
  }

  .btn1 {
    background: #5f8f8f;
    border-color: #5f8f8f;
    color: #fff;
  }

  .btn2 {
    background: #497676;
    border-color: #497676;
    color: #fff;
  }

  .btn3 {
    background: #375f5f;
    border-color: #375f5f;
    color: #fff;
  }
}

.mobilbuttonlar {
  display: none;
}

/* ==========================================
   Dil Seçici (header-top-dil) Tasarımı
   ========================================== */
.header-top-dil {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 4px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.header-top-dil li {
  margin: 0;
  padding: 0;
  display: flex;
}

.header-top-dil a.diil {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font1);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
  line-height: 1;
}

/* Bayrak İkon Kapsayıcısı */
.header-top-dil a.diil .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.header-top-dil a.diil .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Dil Metni (TR / EN) */
.header-top-dil a.diil span {
  letter-spacing: 0.5px;
  padding-top: 1px;
}

/* Hover & Aktif Durumu (Altın/Turuncu tema renginize uyarlandı) */
.header-top-dil a.diil:hover,
.header-top-dil a.diil.active {
  background-color: var(--primary-orange);
  color: #07111c;
  box-shadow: 0 2px 10px rgba(212, 175, 103, 0.4);
}

.header-top-dil a.diil:hover .icon img {
  transform: scale(1.12);
}

/* Masaüstünde mobil dil seçicileri gizle */
.nav__ust-sag {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-top-dil--mobil-ust,
.nav__menu-dil-item {
  display: none !important;
}

.header-top-dil--masaustu {
  margin-bottom: 12px;
  align-self: center;
}

/* Masaüstünde logo %100 tam görünsün (kesik olmasın) ve başlıklar hemen altında dursun */
@media (min-width: 1025px) {
  .nav__container {
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  .nav__ust {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    overflow: visible !important;
    flex: 0 0 auto !important;
  }

  .nav__logo {
    width: 100% !important;
    display: block !important;
  }

  .nav__logo-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
  }

  .nav__menu {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: auto !important;
  }

  .nav__alt {
    margin-top: auto !important;
  }
}

/* ==========================================
   Mobil Uyumluluk (1200px ve altı)
   ========================================== */
@media (max-width: 1200px) {

  /* 1) Üst barda hamburger menünün hemen solunda kompakt görünüm */
  .header-top-dil--mobil-ust {
    display: inline-flex !important;
    padding: 3px;
  }

  .header-top-dil--mobil-ust a.diil {
    padding: 4px 8px;
    font-size: 11px;
    gap: 4px;
  }

  .header-top-dil--mobil-ust a.diil .icon {
    width: 15px;
    height: 15px;
  }

  /* 2) Mobil menü açıldığında menü listesinin altında tam görünüm */
  .nav__menu-dil-item {
    display: flex !important;
    width: 100%;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
  }

  .header-top-dil--mobil-menu {
    display: inline-flex !important;
  }

  .header-top-dil--mobil-menu a.diil {
    font-size: 13px;
    padding: 6px 12px;
  }

  /* Eğer .nav__alt mobilde de görünüyorsa çift görünmemesi için masaüstü olanı gizle */
  .header-top-dil--masaustu {
    display: none !important;
  }
}

/* Çok küçük ekranlarda (360px altı) üst bardaki dil yazısını gizleyip sadece bayrak göster (logoyu sıkıştırmamak için) */
@media (max-width: 360px) {
  .header-top-dil--mobil-ust a.diil span:not(.icon) {
    display: none;
  }

  .header-top-dil--mobil-ust a.diil {
    padding: 5px;
  }
}