/* === GENEL AYARLAR === */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  direction: rtl;
}

:root {
  --ana-renk: #095c5e;
  --ikincil-renk: #093636;
  --vurgu-renk: #161616;
  --arka-plan: #dddddd;
  --yazi-renk: #333333;
  --yazi-renk-2: #666666;
  --border-renk: #dddddd;
  --beyaz: #ffffff;
  --siyah: #000000;
}

html {
  scroll-behavior: smooth;
  background: #efefef;
  
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

/* === HEADER STICKY YAPISI === */
#header-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

header {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--arka-plan);
  font-weight: bold;
}

/* === ÜST BÖLÜM === */
.ust {
  max-width: 1400px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 40px;
  background-color: var(--arka-plan);
  background-image: url(../svg/ust.svg);
  background-size: cover;
  background-position: center;
  margin: auto;
}

.ust .sag img {
  height: 120px;
  padding-left: 70px;
  transition: transform 0.3s ease;
}

.ust .sag img:hover {
  transform: scale(1.05);
}

.ust .sol {
  text-align: right;
}

.ust .sol h1 {
  font-size: 30px;
  color: var(--yazi-renk);
  font-weight: bolder;
}

.Hbaslık {
  font-size: 18px;
  color: var(--vurgu-renk);
  line-height: 1.6;
  font-weight: bold;
}

/* === PC MENU === */
.pc_menu {
  background-color: var(--ana-renk);
  width: 100%;
  border-bottom: 1px solid #dcdcdc;
}

.nav-menu.pc {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--ana-renk);
  padding: 12px;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
}

.menu {
  color: var(--beyaz);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 1px;
  transition: all 0.3s ease;
  font-size: 14px;
  white-space: nowrap;
  background-color: var(--ana-renk);
}

.menu:hover,
.menu.active {
  background-color: var(--ikincil-renk);
}

/* === MOBİL MENÜ === */
.navbar.mobil {
  display: none;
  background-color: var(--ana-renk);
  padding: 10px 15px;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* Hamburger Icon */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  z-index: 1003;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger Animasyon */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobil Menü Container */
.nav-menu.mobil {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--ana-renk);
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 1002;
  transition: right 0.4s ease;
  overflow-y: auto;
}

.nav-menu.mobil.active {
  right: 0;
  padding-top: 40px;
}

/* Mobil Menü Overlay */
.nav-menu.mobil.active::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}

/* Mobil Menü İçeriği */
.Mlogo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  color: var(--beyaz);
  margin-bottom: 20px;
  text-decoration: none;
  font-size: 18px;
  padding: 10px;
  border-bottom: 1px solid var(--beyaz);
}

.Mlogo img {
  width: 40px;
  height: 40px;
}

.menuMB, .yola {
  display: block;
  text-decoration: none;
  color: var(--beyaz);
  padding: 12px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  border: 1px solid transparent;
  width: 100%;
}

.menuMB:hover {
  background-color: var(--ikincil-renk);
  color: var(--beyaz);
  border-color: var(--beyaz);
  transform: translateX(-5px);
}

.yola {
  background-color: var(--ikincil-renk);
  color: white;
  text-align: center;
  margin-top: 15px;
  font-weight: bold;
}

.yola:hover {
  background-color: #0d7b7d;
  transform: translateY(-2px);
}

/* Mobil menü link container */
.popupM {
  display: block;
}

/* === FOOTER === */
.footer {
  background-color: var(--ana-renk);
  color: #ffffff;
  padding: 40px 0 20px;
  text-align: right;
  margin: 0 auto;
  max-width: 1400px;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  font-size: 20px;
  color: #f9f9f9;
  margin-bottom: 15px;
  border-bottom: 2px solid #0fd1d3;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-section p,
.footer-section a {
  color: #e0e0e0;
  text-decoration: none;
  display: block;
  margin: 8px 0;
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #0fd1d3;
  transform: translateX(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  color: #dcdcdc;
  margin-top: 20px;
}

/* === RESPONSIVE TASARIM === */
@media (max-width: 900px) {
  /* PC Menü Gizle */
  .pc_menu {
    display: none;
  }
  
  /* Mobil Menü Göster */
  .navbar.mobil {
    display: flex;
  }
  
  /* Üst Bölüm Gizle */
  .ust {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Footer Düzenleme */
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .footer-section {
    min-width: 100%;
  }

  .footer-section h3 {
    border: none;
    font-size: 18px;
  }

  .footer-section a:hover {
    transform: none;
  }
  
  /* Mobil Menü Genişlik */
  .nav-menu.mobil {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .nav-menu.mobil {
    width: 100%;
    right: -100%;
  }
  
  .nav-menu.mobil.active {
    right: 0;
  }
  
  .footer {
    padding: 30px 0 15px;
  }
  
  .footer-content {
    padding: 0 15px;
  }
  
  .ust {
    padding: 20px;
  }
  
  .ust .sag img {
    height: 80px;
    padding-left: 15px;
  }
  
  .ust .sol h1 {
    font-size: 22px;
  }
}