@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

:root {
  --body-color: #e4e9f7;
  --nav-color: #4070f4;
  --side-nav: #010718;
  --text-color: #fff;
  --search-bar: #f2f2f2;
  --search-text: #010718;
  --card-color: #ffffff;
}

body.dark {
  --body-color: #061528;
  --nav-color: #0a2142;
  --side-nav: #0a1a30;
  --text-color: #ccc;
  --search-bar: #0d2244;
  --card-color: #0d2244;
  --button-color: #0a2142;
}

/* Scrool Bar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #003ec4;
  border-radius: 10px;
  transition: all 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #0051ff;
}

body {
  background: #ffffff;
}

body.dark {
  background-color: #061528;
}

/* DarkMode - Eski yapı için uyumluluk */
.darkLight-searchBox .dark-light,
.darkLight-searchBox .searchToggle {
  height: 40px;
  width: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Moon-Sun - Eski darkLight-searchBox yapısı için uyumluluk */
body.dark nav .darkLight-searchBox .dark-light .moon {
  color: #fff;
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden !important;
}

body.dark nav .darkLight-searchBox .dark-light .sun {
  color: #fff;
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible !important;
}

.darkLight-searchBox .dark-light .sun {
  color: #002333;
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden !important;
}

.darkLight-searchBox .dark-light .moon {
  color: #fff;
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible !important;
}

nav.sticky .darkLight-searchBox .dark-light .moon {
  color: #fff;
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible !important;
}

nav.sticky .darkLight-searchBox .dark-light .sun {
  color: #fff;
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden !important;
}

body.dark nav.sticky .darkLight-searchBox .dark-light .moon {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden !important;
}

body.dark nav.sticky .darkLight-searchBox .dark-light .sun {
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible !important;
}

/* Yeni navbar yapısı için dark-light stilleri */
.nav-controls .dark-light {
  display: flex !important;
  position: relative;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  opacity: 1 !important;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 0;
  background: transparent;
}

.nav-controls .dark-light i {
  position: absolute;
  color: #fff !important;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Light mode'da: Ay ikonu görünür */
.nav-controls .dark-light .sun {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden !important;
}

.nav-controls .dark-light .moon {
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible !important;
}

/* Dark mode'da: Güneş ikonu görünür */
body.dark .nav-controls .dark-light .sun {
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible !important;
}

body.dark .nav-controls .dark-light .moon {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden !important;
}

/* Eski dark-light yapısı için uyumluluk */
.dark-light i,
.searchToggle i {
  position: absolute;
  color: var(--text-color);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Light mode'da: Ay ikonu görünür (dark mode'a geçmek için) */
.dark-light .sun {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden !important;
}

.dark-light .moon {
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible !important;
}

/* Dark mode'da: Güneş ikonu görünür (light mode'a geçmek için) */
body.dark .dark-light .sun {
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible !important;
}

body.dark .dark-light .moon {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden !important;
}

/* Internet Connected */
.popup {
  position: fixed;
  left: 50%;
  top: -25%;
  z-index: 999;
  visibility: hidden;
  width: 490px;
  border-radius: 5px;
  padding: 13px 17px 20px;
  background: #fff;
  display: flex;
  border-top: 3px solid #d0342c;
  transform: translateX(-50%);
  box-shadow: 0 10px 25px rgba(52, 87, 220, 0.1);
  transition: all 0.25s ease;
}

.popup.show {
  top: 0;
  visibility: visible;
}

.popup.online {
  border-color: #2ecc71;
}

.popup .icon i {
  width: 40px;
  height: 40px;
  display: flex;
  color: #fff;
  margin-right: 15px;
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #d0342c;
}

.popup.online .icon i {
  background: #2ecc71;
}

.popup .title {
  font-size: 1.2rem;
}

.popup .desc {
  color: #474747;
  margin: 3px 0 10px;
  font-size: 1.04rem;
}

.popup .reconnect {
  border: none;
  outline: none;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 13px;
  border-radius: 4px;
  background: #5372f0;
}

.popup.online .reconnect {
  background: #bfbfbf;
  pointer-events: none;
}

/* Navigation Bar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 998;
  padding: 10px 0;
  transition: background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.45s ease;
}

nav:not(.sticky) {
  background: linear-gradient(135deg, #013179, #002333);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

body.dark nav:not(.sticky) {
  background: linear-gradient(135deg, #061528 0%, #0a2142 50%, #020817 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

/* Blog detay sayfalarında link renkleri beyaz olsun */
body.blog-page .navbar .menu .nav-item a,
body.project-page .navbar .menu .nav-item a,
body.contact-page .navbar .menu .nav-item a,
body.software-page .navbar .menu .nav-item a,
body.blog-page nav .navbar .menu .nav-item a,
body.project-page nav .navbar .menu .nav-item a,
body.contact-page nav .navbar .menu .nav-item a,
body.software-page nav .navbar .menu .nav-item a {
  color: #ffffff !important;
}

body.blog-page .navbar .menu .nav-item a:hover,
body.project-page .navbar .menu .nav-item a:hover,
body.contact-page .navbar .menu .nav-item a:hover,
body.software-page .navbar .menu .nav-item a:hover,
body.blog-page nav .navbar .menu .nav-item a:hover,
body.project-page nav .navbar .menu .nav-item a:hover,
body.contact-page nav .navbar .menu .nav-item a:hover,
body.software-page nav .navbar .menu .nav-item a:hover {
  color: #0066ff !important;
}

/* Blog detay sayfalarında dropdown icon renkleri */
body.blog-page .navbar .menu .nav-item .dropdown-icon,
body.project-page .navbar .menu .nav-item .dropdown-icon,
body.contact-page .navbar .menu .nav-item .dropdown-icon,
body.software-page .navbar .menu .nav-item .dropdown-icon,
body.blog-page nav .navbar .menu .nav-item .dropdown-icon,
body.project-page nav .navbar .menu .nav-item .dropdown-icon,
body.contact-page nav .navbar .menu .nav-item .dropdown-icon,
body.software-page nav .navbar .menu .nav-item .dropdown-icon {
  color: #ffffff !important;
}

body.blog-page .navbar .menu .nav-item a:hover .dropdown-icon,
body.project-page .navbar .menu .nav-item a:hover .dropdown-icon,
body.contact-page .navbar .menu .nav-item a:hover .dropdown-icon,
body.software-page .navbar .menu .nav-item a:hover .dropdown-icon {
  color: #0066ff !important;
}

/* Blog detay sayfalarında logo renkleri */
body.blog-page nav .navbar .logo-text,
body.project-page nav .navbar .logo-text,
body.contact-page nav .navbar .logo-text,
body.software-page nav .navbar .logo-text {
  color: #ffffff !important;
}

body.blog-page .logo-highlight,
body.project-page .logo-highlight,
body.contact-page .logo-highlight,
body.software-page .logo-highlight {
  color: #ffffff !important;
}

body.blog-page .logo-dot,
body.project-page .logo-dot,
body.contact-page .logo-dot,
body.software-page .logo-dot {
  color: #ffffff !important;
}



/* Sticky navbar — kaydırmada opak gradient */
nav.sticky {
  background: linear-gradient(135deg, #013179, #002333) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

body.blog-page nav.sticky,
body.project-page nav.sticky,
body.contact-page nav.sticky,
body.software-page nav.sticky {
  background: linear-gradient(135deg, #013179, #002333) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

body.dark nav.sticky {
  background: linear-gradient(135deg, #061528 0%, #0a2142 50%, #020817 100%) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

body.dark.blog-page nav.sticky,
body.dark.project-page nav.sticky,
body.dark.contact-page nav.sticky,
body.dark.software-page nav.sticky {
  background: linear-gradient(135deg, #061528 0%, #0a2142 50%, #020817 100%) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Hamburger ve çarpı ikonlarını varsayılan olarak gizle */
/* Varsayılan olarak menu-btn ve cancel-btn gizli */
/* Cancel button varsayılan olarak gizli, sadece mobilde görünür */
.cancel-btn {
  display: none;
}

/* Menu-btn varsayılan olarak gizli, mobil görünümde görünür olacak */
nav .menu-btn,
.navbar .menu-btn,
.nav-controls .menu-btn {
  display: none;
}

/* Masaüstü görünümünde cancel-btn ve menu-btn kesinlikle görünmesin */
@media (min-width: 901px) {

  .cancel-btn,
  .nav-links .cancel-btn,
  nav .cancel-btn,
  .navbar .cancel-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .menu-btn {
    display: none !important;
  }

  /* Masaüstü görünümünde nav-controls düzgün görünsün */
  .nav-controls {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .selected-lang {
    border-radius: 50%;
    background-color: #10215a;
    color: #fff;
    height: 40px;
    width: 40px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    padding: 0;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    flex-shrink: 0;
  }

  body.dark .selected-lang {
    background-color: #0a1f3a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .selected-lang:hover {
    background-color: #003cb5;
    color: #fff;
    transform: scale(1.05);
  }

  body.dark .selected-lang:hover {
    background-color: #005a8a;
  }

  .dark-light {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0;
    background: transparent;
    flex-shrink: 0;
  }

  .dark-light:hover {
    background-color: rgba(0, 102, 255, 0.1);
    transform: scale(1.05);
  }

  .dark-light i {
    position: absolute;
    font-size: 20px;
    color: #fff !important;
    transition: all 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* Light mode'da: Ay ikonu görünür */
  .dark-light .sun {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden !important;
  }

  .dark-light .moon {
    opacity: 1 !important;
    pointer-events: auto;
    visibility: visible !important;
  }

  /* Dark mode'da: Güneş ikonu görünür */
  body.dark .dark-light .sun {
    opacity: 1 !important;
    pointer-events: auto;
    visibility: visible !important;
  }

  body.dark .dark-light .moon {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden !important;
  }
}

nav .navbar {
  width: 90%;
  max-width: 1400px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
}

/* Logo Styles */
nav .navbar .logo {
  display: flex;
  align-items: center;
}

nav .navbar .logo-text {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 1px;
  display: block;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.logo-highlight {
  color: #FFFFFF;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo-dot {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 32px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

nav .navbar .logo-text:hover {
  transform: scale(1.02);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Navigation Links Container */
.nav-links {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
}

/* Menu Styles */
nav .navbar .menu {
  display: flex;
  position: relative;
  margin: 0;
  padding: 0;
}

nav .navbar .menu .nav-item {
  list-style: none;
  font-weight: 500;
  margin: 0 20px;
  position: relative;
}

.navbar .menu .nav-item a {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  padding: 10px 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.navbar .menu .nav-item a:hover {
  color: #0066ff;
}

.navbar .menu .nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0066ff;
  transition: width 0.3s ease;
}

.navbar .menu .nav-item:hover::after,
.navbar .menu .nav-item.active::after {
  width: 100%;
}

.nav-icon {
  margin-right: 8px;
  font-size: 14px;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-icon {
  margin-left: 6px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.project-chevron {
  transition: transform 0.3s;
}

.nav-item.dropdown.open .project-chevron {
  transform: rotate(180deg);
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, #013179, #002333);
  min-width: 220px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 0;
}

body.dark .dropdown-menu {
  background: linear-gradient(135deg, #061528, #020817);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu li:last-child .dropdown-item {
  border-bottom: none;
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  padding: 12px 20px !important;
  color: #fff;
  font-size: 15px !important;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover {
  background-color: rgba(0, 102, 255, 0.1);
  color: #0066ff !important;
  border-left-color: #0066ff;
}

.icon {
  margin-right: 6px;
}

/* Right Side Controls */
.nav-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  flex-shrink: 0;
}

/* Dark Mode Toggle */
.dark-light {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  flex-shrink: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.dark-light:hover {
  background-color: rgba(0, 102, 255, 0.1);
}

.dark-light i {
  position: absolute;
  font-size: 20px;
  color: #fff !important;
  transition: all 0.3s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Light mode'da: Ay ikonu görünür */
.dark-light .sun {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden !important;
}

.dark-light .moon {
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible !important;
}

/* Dark mode'da: Güneş ikonu görünür */
body.dark .dark-light .sun {
  opacity: 1 !important;
  pointer-events: auto;
  visibility: visible !important;
}

body.dark .dark-light .moon {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden !important;
}

/* Hamburger and Cancel Buttons */
.menu-btn,
.cancel-btn {
  display: none;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.menu-btn:hover,
.cancel-btn:hover {
  background-color: rgba(0, 102, 255, 0.1);
}

/* Logo düzeni mobilde */
@media (max-width: 750px) {

  nav .navbar .logo {
    flex: 1;
    max-width: calc(100% - 70px);
  }

  nav .navbar .logo-text {
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* SECTİON - MODERN PROFESYONEL TASARIM */
#home {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  padding: 160px 5% 100px;
  min-height: calc(100vh - 80px);
  background: #ffffff;
  position: relative;
  max-width: 1700px;
  margin: 0 auto;
}

body.dark #home {
  background: #061528;
}

#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.1), transparent);
}

.mainContent {
  flex: 1;
  max-width: 1200px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 60px;
  margin-bottom: 0;
  transition: none;
  position: relative;
  overflow: visible;
  border: none;
}

body.dark .mainContent {
  background: transparent;
  box-shadow: none;
  border: none;
}

.mainContent:hover {
  box-shadow: none;
  border-color: transparent;
}

.mainContent::before,
.mainContent::after {
  display: none;
}

.otherContents {
  width: 380px;
  flex-shrink: 0;
  margin-top: 0;
  padding: 0;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.otherContents .ContentTitle {
  margin-bottom: 35px;
  position: relative;
  font-size: 26px;
  font-weight: 800;
  color: #002333;
  padding-bottom: 15px;
  letter-spacing: -0.3px;
}

body.dark .otherContents .ContentTitle {
  color: var(--text-color);
}

.otherContents .ContentTitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0066ff 0%, #00a3ff 50%, #002333 100%);
  border-radius: 2px;
}

body.dark .cardStructure {
  background-color: var(--side-nav);
}

.cardStructure {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
  position: relative;
  border: 1px solid #e5e7eb;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: auto;
}

body.dark .cardStructure {
  background-color: #08182d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cardStructure:hover {
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 102, 255, 0.2);
  transform: translateY(-2px);
}

.cardStructure::before,
.cardStructure::after {
  display: none;
}

.cardStructure .PageControl {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 16px;
  gap: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.cardStructure:hover .PageControl {
  background: transparent;
}


.ContentTitle {
  color: #000000;
  font-weight: 700;
  font-size: 24px;
  padding-left: 15px;
  margin-bottom: 25px;
  letter-spacing: 0.3px;
}

body.dark .ContentTitle {
  color: var(--text-color);

}

.cardStructure img {
  border-radius: 12px;
  padding: 0;
  object-fit: cover;
  width: 140px;
  height: 100px;
  min-width: 140px;
  max-width: 140px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: block;
  align-self: flex-start;
  margin-top: 0;
}

body.dark .cardStructure img {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cardStructure:hover img {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 102, 255, 0.2);
}

.cardStructure .subContent {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.cardStructure .subContent h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  color: #1a202c;
  transition: color 0.3s ease;
  display: block;
  overflow: visible;
  word-break: break-word;
  letter-spacing: -0.01em;
  hyphens: auto;
}

body.dark .cardStructure .subContent h4 {
  color: #f1f5f9;
}

.cardStructure:hover .subContent h4 {
  color: #0066ff;
}

body.dark .cardStructure:hover .subContent h4 {
  color: #0066ff;
}

.cardStructure .subContent .dateTime {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

body.dark .cardStructure .subContent .dateTime {
  color: #94a3b8;
}

body.dark .subContent {
  color: var(--text-color);
}

.subContent .dateTime {
  font-size: 12px;
}

.PageControl .subContent {
  color: #002333;
}

body.dark .PageControl .subContent {
  color: var(--text-color);
}

body.dark .cardStructure .subContent .dateTime {
  color: rgba(255, 255, 255, 0.7);
}

.cards {
  position: relative;
  padding: 0;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cards p {
  line-height: 2;
  font-size: 17px;
  margin: 32px 0;
  font-weight: 400;
  color: #2d3748;
  text-align: justify;
  letter-spacing: 0.01em;
  word-spacing: 0.05em;
}

body.dark .cards p {
  color: #e2e8f0;
}

body.dark h1 {
  color: var(--text-color);
}

body.dark h2 {
  color: var(--text-color);
}

body.dark h3 {
  color: var(--text-color);
}

body.dark .cards p {
  color: var(--text-color);
}

h1 {
  font-size: 48px;
  margin: 0 0 24px 0;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 0;
}

body.dark h1 {
  color: #f1f5f9;
}

h1::after {
  display: none;
}

h2 {
  margin-top: 56px;
  margin-bottom: 24px;
  padding: 0;
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 102, 255, 0.1);
}

body.dark h2 {
  color: #f1f5f9;
  border-bottom-color: rgba(0, 102, 255, 0.2);
}

h2:hover {
  border-bottom-color: rgba(0, 102, 255, 0.3);
}

h3 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.5;
  position: relative;
  padding-left: 0;
}

h3::before {
  display: none;
}

body.dark h3 {
  color: #e2e8f0;
}

table tr td .table-p {
  font-size: 16px;
  margin: 20px;
}

table {
  width: 100%;
}

iframe {
  width: 100%;
  height: 560px;
}

.cards img {
  object-fit: cover;
  border-radius: 24px;
  height: 100%;
  width: 100%;
  margin: 48px auto;
  display: block;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

body.dark .cards img {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 12px 32px rgba(0, 0, 0, 0.2);
}

.cards img:hover {
  box-shadow:
    0 8px 24px rgba(0, 102, 255, 0.15),
    0 16px 48px rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.2);
}

.php-link {
  color: #0051ff;
}

.php-link:hover {
  text-decoration: underline;
}

body.dark .ic-donanım {
  color: var(--text-color);
}

.ic-donanım {
  line-height: 1.8;
  margin-top: 24px;
  font-weight: 400;
  margin-left: 0;
  list-style: none;
  color: #334155;
  padding: 24px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid rgba(0, 102, 255, 0.08);
  transition: all 0.3s ease;
}

body.dark .ic-donanım {
  color: #cbd5e1;
  background: rgba(30, 32, 37, 0.6);
  border-color: rgba(0, 102, 255, 0.15);
}

.ic-donanım li {
  padding: 10px 0 10px 32px;
  position: relative;
  margin-bottom: 8px;
}

.ic-donanım li::before {
  content: '▸';
  position: absolute;
  left: 12px;
  color: #0066ff;
  font-weight: 600;
}

.ic-donanım li:last-child {
  margin-bottom: 0;
}

.ic-donanim-number {
  line-height: 1.8;
  margin-top: 24px;
  font-weight: 400;
  margin-left: 0;
  text-align: left;
  list-style: none;
  counter-reset: item;
  color: #334155;
  padding: 24px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid rgba(0, 102, 255, 0.08);
  transition: all 0.3s ease;
}

body.dark .ic-donanim-number {
  color: #cbd5e1;
  background: rgba(30, 32, 37, 0.6);
  border-color: rgba(0, 102, 255, 0.15);
}

.ic-donanim-number li {
  padding: 10px 0 10px 40px;
  position: relative;
  margin-bottom: 8px;
  counter-increment: item;
}

.ic-donanim-number li::before {
  content: counter(item) '.';
  position: absolute;
  left: 12px;
  color: #0066ff;
  font-weight: 600;
}

.ic-donanim-number li:last-child {
  margin-bottom: 0;
}

body.dark .source {
  color: var(--text-color);
}

body.dark .source li a {
  color: var(--text-color);
}

.source {
  line-height: 40px;
  margin-top: 15px;
  font-weight: 500;
  margin-left: 28px;
  list-style: decimal;
}

.source li a {
  color: #003cb5;
}

body.dark .ic-donanim-number {
  color: var(--text-color);
}

.ic-donanim-number a {
  color: #003ec4;
}

body.dark strong {
  color: #fff;
  font-weight: 600;
}

strong {
  color: #060606;
}

body.dark .ic-donanım li {
  color: var(--text-color);
}

body.dark .dıs-donanım {
  color: var(--text-color);
}

.dıs-donanım {
  line-height: 1.8;
  margin-top: 24px;
  font-weight: 400;
  margin-left: 0;
  list-style: none;
  color: #334155;
  padding: 24px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid rgba(0, 102, 255, 0.08);
  transition: all 0.3s ease;
}

body.dark .dıs-donanım {
  color: #cbd5e1;
  background: rgba(30, 32, 37, 0.6);
  border-color: rgba(0, 102, 255, 0.15);
}

.dıs-donanım li {
  padding: 10px 0 10px 32px;
  position: relative;
  margin-bottom: 8px;
}

.dıs-donanım li::before {
  content: '▸';
  position: absolute;
  left: 12px;
  color: #0066ff;
  font-weight: 600;
}

.dıs-donanım li:last-child {
  margin-bottom: 0;
}

body.dark .cardDate {
  color: var(--text-color);
}

.dateicon {
  margin-right: 5px;
  color: #0066ff;
  font-size: 14px;
}

/* Code Example Styles for C# Page */
.code-example {
  margin: 48px 0;
  padding: 0;
}

.code-example h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 20px;
  line-height: 1.4;
}

body.dark .code-example h2 {
  color: #f1f5f9;
}

.code-block {
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 16px;
  border: 1px solid rgba(0, 102, 255, 0.1);
}

body.dark .code-block {
  background: #0f172a;
  border-color: rgba(0, 102, 255, 0.2);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(0, 102, 255, 0.1);
  border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

body.dark .code-header {
  background: rgba(0, 102, 255, 0.15);
  border-bottom-color: rgba(0, 102, 255, 0.3);
}

.code-lang {
  font-size: 13px;
  font-weight: 600;
  color: #0066ff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.copy-code-btn {
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: #0066ff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.copy-code-btn:hover {
  background: rgba(0, 102, 255, 0.3);
  border-color: rgba(0, 102, 255, 0.5);
  transform: translateY(-1px);
}

.copy-code-btn i {
  font-size: 14px;
}

.code-block pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  background: transparent;
}

.code-block code {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #e2e8f0;
  white-space: pre;
  display: block;
}

body.dark .code-block code {
  color: #cbd5e1;
}

.code-block::-webkit-scrollbar {
  height: 8px;
}

.code-block::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.code-block::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.5);
  border-radius: 4px;
}

.code-block::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 102, 255, 0.7);
}

/* Legacy box styles for backward compatibility */
.box {
  margin: 48px 0;
  padding: 0;
}

.box h5 {
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 20px;
  line-height: 1.4;
}

body.dark .box h5 {
  color: #f1f5f9;
}

.text-boxes {
  margin-top: 16px;
}

.text-box {
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.1);
  padding: 0;
}

body.dark .text-box {
  background: #0f172a;
  border-color: rgba(0, 102, 255, 0.2);
}

.text-box .topic {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(0, 102, 255, 0.1);
  border-bottom: 1px solid rgba(0, 102, 255, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: #0066ff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

body.dark .text-box .topic {
  background: rgba(0, 102, 255, 0.15);
  border-bottom-color: rgba(0, 102, 255, 0.3);
  color: #0066ff;
}

.text-box textarea {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #e2e8f0;
  background: transparent;
  border: none;
  padding: 20px;
  width: 100%;
  resize: none;
  overflow-x: auto;
}

body.dark .text-box textarea {
  color: #cbd5e1;
}

.CopyButton {
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: #0066ff;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
  margin-top: 12px;
  margin-left: 20px;
  margin-bottom: 20px;
}

.CopyButton:hover {
  background: rgba(0, 102, 255, 0.3);
  border-color: rgba(0, 102, 255, 0.5);
  transform: translateY(-1px);
}

body.dark .CopyButton {
  background: rgba(0, 102, 255, 0.2);
  border-color: rgba(0, 102, 255, 0.3);
  color: #0066ff;
}

body.dark .CopyButton:hover {
  background: rgba(0, 102, 255, 0.3);
  border-color: rgba(0, 102, 255, 0.5);
}

.cardDate {
  font-size: 15px;
  margin-bottom: 32px;
  margin-top: 0;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(0, 102, 255, 0.04);
  border-radius: 12px;
  width: fit-content;
}

body.dark .cardDate {
  color: #94a3b8;
  background: rgba(0, 102, 255, 0.1);
  border-left-color: #0066ff;
}

.cardDate .dateicon {
  color: #0066ff;
  font-size: 16px;
}

.dateicon {
  margin-right: 5px;
  color: #0066ff;
  font-size: 14px;
}

#check:checked {
  accent-color: blue;
}

#check:checked~label {
  color: blue;
}

/* Footer */
body.dark footer {
  background: linear-gradient(135deg, #061528, #020817);
}

body.dark footer .bottom-details {
  background: linear-gradient(135deg, #020817, #01060d);
}

footer {
  width: 100%;
  margin-top: 100px;
  background: linear-gradient(135deg, #013179, #002333);
  width: 100%;
  bottom: 0;
  left: 0;
}

footer .content {
  max-width: 1250px;
  margin: auto;
  padding: 30px 40px 40px 40px;
}

footer .content .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.content .top .logo-details img {
  height: 70px;
}

.content .top .media-icons {
  display: flex;
  padding-top: 20px;
}

.content .top .media-icons a {
  height: 40px;
  width: 40px;
  margin: 0 8px;
  border-radius: 10px;
  text-align: center;
  line-height: 40px;
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.top .media-icons a:nth-child(1) {
  background: #24292e;
  border: 1px solid #fff;
  color: #fff;
  transition: all 0.2s ease;
}

.top .media-icons a:nth-child(2) {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  transition: all 0.2s ease;
}

.top .media-icons a:nth-child(3) {
  background: linear-gradient(29.61deg, #f38334, #da2e7d 50.39%, #6b54c6);
  color: #fff;
  border: 1px solid #fff;
  transition: all 0.2s ease;
}

.top .media-icons a:nth-child(4) {
  background: #0e76a8;
  color: #fff;
  border: 1px solid #fff;
  transition: all 0.2s ease;
}


footer .content .link-boxes {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.content .link-boxes .box .link_name {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
}

.link-boxes .box .link_name::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 35px;
  background: #fff;
}

.content .link-boxes .box li {
  margin: 6px 0;
  list-style: none;
}

.content .link-boxes .box li a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.4s ease;
}

.content .link-boxes .box li a:hover {
  opacity: 1;
  text-decoration: underline;
}

footer .bottom-details {
  width: 100%;
  background: linear-gradient(135deg, #002333, #001122);
}

footer .bottom-details .bottom_text {
  max-width: 1250px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
}

.bottom-details .bottom_text span,
.bottom-details .bottom_text a {
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
}

.bottom-details .bottom_text a:hover {
  opacity: 1;
  text-decoration: underline;
}

.bottom-details .bottom_text a {
  margin-right: 10px;
}

/* Scroll Button */
.scroll-button a {
  position: fixed;
  bottom: 30px;
  z-index: 1;
  right: 30px;
  color: #fff;
  background: #003ec4;
  padding: 6px 12px;
  font-size: 18px;
  border-radius: 10px;

  outline: none;
}

.scroll-button a:hover {
  background-color: #0051ff;
  transition: 0.5s;
}

/* Share Button */
.shareContainer {
  margin-top: 50px;
}

body.dark .shareButton {
  background-color: var(--side-nav);
}

body.dark .shareSpan {
  color: var(--text-color);
}

.shareButton {
  border: none;
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

body.dark .shareButton {
  background: linear-gradient(135deg, var(--side-nav), var(--nav-color));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.shareButton:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.shareButton::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0066ff, #002333);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: 1;
}

.shareButton:hover::before {
  transform: scaleX(1);
}

.shareButton .a2a_kit {
  justify-content: space-around;
  display: flex;
  gap: 15px;
}

.shareSpan {
  color: #002333;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  letter-spacing: 0.3px;
}

body.dark .shareSpan {
  color: var(--text-color);
}

.shareSpan i {
  margin-right: 10px;
  font-size: 22px;
  color: #0066ff;
}

/* MEDİA QUERY */
@media (max-width: 1650px) {
  #home {
    padding-left: 4%;
    padding-right: 4%;
  }

  .otherContents {
    width: 35%;
  }

  iframe {
    width: 100%;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 1500px) {
  #home {
    padding-left: 4%;
    padding-right: 4%;
  }

  .otherContents {
    width: 35%;
  }

  iframe {
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 1400px) {
  #home {
    padding-left: 4%;
    padding-right: 4%;
  }

  .otherContents {
    width: 40%;
  }
}

@media (max-width: 1200px) {
  #home {
    flex-direction: column;
    gap: 40px;
    padding: 140px 4% 80px;
  }

  .mainContent {
    max-width: 100%;
    padding: 50px;
  }

  .otherContents {
    width: 100%;
    position: static;
    margin-top: 0;
  }

  .cardStructure {
    margin-bottom: 18px;
  }

  .cardStructure img {
    width: 120px;
    height: 90px;
    min-width: 120px;
    max-width: 120px;
  }

  .cardStructure .subContent h4 {
    font-size: 13px;
    line-height: 1.5;
  }

  iframe {
    width: 100%;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  #home {
    padding: 130px 3% 60px;
    gap: 30px;
  }

  .mainContent {
    padding: 40px;
    border-radius: 24px;
  }

  .otherContents {
    width: 100%;
  }

  .cardStructure {
    margin-bottom: 16px;
  }

  .cardStructure .PageControl {
    padding: 14px;
    gap: 14px;
  }

  .cardStructure img {
    width: 110px;
    height: 85px;
    min-width: 110px;
    max-width: 110px;
  }

  .cardStructure .subContent h4 {
    font-size: 13px;
    line-height: 1.5;
  }

  .cardStructure .subContent .dateTime {
    font-size: 11px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
    margin-top: 40px;
  }

  h3 {
    font-size: 22px;
  }

  .cards p {
    font-size: 16px;
    line-height: 1.85;
  }

  footer .content .link-boxes {
    flex-wrap: wrap;
  }

  .scroll-bar {
    display: none;
  }

  table tr td .table-p {
    font-size: 14px;
    line-height: 25px;
    margin: 10px 8px;
    text-align: inherit;
  }
}

/* --- MODERN HAMBURGER MENU YAPISI --- */

@media (max-width: 900px) {
  nav {
    padding: 10px 15px;
  }

  nav .navbar {
    width: 96%;
    max-width: 100vw;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
  }

  nav .navbar .logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 90px);
    overflow: hidden;
  }

  nav .navbar .logo-text {
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Nav Controls */
  .nav-controls {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Dark Mode Toggle */
  .dark-light {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    flex-shrink: 0;
  }

  .dark-light:hover {
    background-color: rgba(0, 102, 255, 0.1);
  }

  .dark-light i {
    position: absolute;
    font-size: 20px;
    color: #fff !important;
    transition: all 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* Light mode'da: Ay ikonu görünür */
  .dark-light .sun {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden !important;
  }

  .dark-light .moon {
    opacity: 1 !important;
    pointer-events: auto;
    visibility: visible !important;
  }

  /* Dark mode'da: Güneş ikonu görünür */
  body.dark .dark-light .sun {
    opacity: 1 !important;
    pointer-events: auto;
    visibility: visible !important;
  }

  body.dark .dark-light .moon {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden !important;
  }

  /* Hamburger Button */
  .menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    z-index: 1101;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .menu-btn:hover {
    background-color: rgba(0, 102, 255, 0.1);
  }

  /* Cancel Button - 900px */
  .cancel-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background-color: rgba(0, 102, 255, 0.15);
    border: none;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1102;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    transition: all 0.3s ease;
  }

  .cancel-btn:hover {
    background-color: rgba(0, 102, 255, 0.2);
    color: #0066ff;
  }

  .nav-links {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(16, 33, 90, 0.97);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 80px;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(.77, 0, .18, 1);
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.dark .nav-links {
    background: rgba(6, 21, 40, 0.97);
  }

  .nav-links.active,
  .navbar.active .nav-links {
    transform: translateX(0);
  }

  .menu {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .menu .nav-item {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    opacity: 1 !important;
    transform: translateX(0) !important;
    visibility: visible !important;
    display: block !important;
  }

  .menu .nav-item:last-child {
    border-bottom: none;
  }

  .menu .nav-item a {
    width: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 18px;
    padding: 16px 32px;
    transition: background 0.2s;
    border-radius: 0;
    background: none;
  }

  .menu .nav-item a:hover {
    background: rgba(0, 102, 255, 0.09);
    color: #fff;
  }

  .dropdown-menu {
    background: rgba(0, 102, 255, 0.07);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(.77, 0, .18, 1);
    box-shadow: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
  }

  .dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 8px 0 8px 0;
    overflow: visible;
  }

  .dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 12px !important;
    padding: 12px 32px 12px 48px;
    font-size: 16px;
    color: #fff;
    border-radius: 0;
    background: none;
    margin: 0;
    transition: background 0.2s;
  }

  .dropdown-item:hover {
    background: rgba(0, 102, 255, 0.17);
    color: #fff;
  }

  /* Hamburger Icon */
  nav .menu-btn,
  .navbar .menu-btn,
  .nav-controls .menu-btn,
  .menu-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    z-index: 1101;
    cursor: pointer;
    font-size: 22px;
    color: #fff;
    transition: color 0.2s;
  }

  .menu-btn.active {
    color: #0066ff;
  }

  /* Close Icon */
  .cancel-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 24px;
    top: 22px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    z-index: 1102;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    transition: color 0.2s;
  }

  .cancel-btn:hover,
  .menu-btn:hover {
    color: #0066ff;
  }

  /* Kapatıldığında scroll engelle */
  body.menu-open {
    overflow: hidden;
  }
}

/* --- SON MODERN HAMBURGER MENU YAPISI --- */

@media screen and (max-width: 768px) {
  nav {
    padding: 10px 15px;
  }

  nav .navbar {
    width: 96%;
    max-width: 100vw;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
  }

  nav .navbar .logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 90px);
    overflow: hidden;
  }

  nav .navbar .logo-text {
    font-size: 27px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Nav Controls */
  .nav-controls {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Dark Mode Toggle */
  .dark-light {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(0, 102, 255, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
  }

  .dark-light:hover {
    background-color: rgba(0, 102, 255, 0.15);
  }

  .dark-light i {
    position: absolute;
    font-size: 20px;
    color: #fff !important;
    transition: all 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* Light mode'da: Ay ikonu görünür */
  .dark-light .sun {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden !important;
  }

  .dark-light .moon {
    opacity: 1 !important;
    pointer-events: auto;
    visibility: visible !important;
  }

  /* Dark mode'da: Güneş ikonu görünür */
  body.dark .dark-light .sun {
    opacity: 1 !important;
    pointer-events: auto;
    visibility: visible !important;
  }

  body.dark .dark-light .moon {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden !important;
  }

  /* Hamburger Button */
  .menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 102, 255, 0.15);
    border: none;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1101;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .menu-btn:hover {
    background-color: rgba(0, 102, 255, 0.2);
  }

  /* Cancel Button */
  .cancel-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 102, 255, 0.15);
    border: none;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1102;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s ease;
  }

  .cancel-btn:hover {
    background-color: rgba(0, 102, 255, 0.2);
    color: #0066ff;
  }

  /* Cancel Button - 768px */
  .cancel-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 102, 255, 0.15);
    border: none;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1102;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s ease;
  }

  .cancel-btn:hover {
    background-color: rgba(0, 102, 255, 0.2);
    color: #0066ff;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 100%;
    max-width: 270px;
    background-color: rgba(16, 33, 90, 0.98);
    display: block;
    padding: 80px 0 0 0;
    text-align: left;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    border-right: 2px solid rgba(0, 102, 255, 0.3);
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.dark .nav-links {
    background-color: rgba(6, 21, 40, 0.98);
  }

  .nav-links.active,
  .navbar.active .nav-links {
    left: 0;
  }

  .nav-links.active .nav-item {
    opacity: 1 !important;
    transform: translateX(0) !important;
    visibility: visible !important;
  }

  nav .navbar .menu {
    flex-direction: column;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  nav .navbar .menu .nav-item {
    margin: 5px 20px;
    width: calc(100% - 40px);
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
    visibility: visible !important;
    display: block !important;
  }

  .navbar .menu .nav-item a {
    padding: 12px 15px;
    font-size: 18px;
    margin: 5px 0;
  }

  .navbar .menu .nav-item a:hover {
    background-color: rgba(0, 102, 255, 0.1);
  }

  .navbar .menu .nav-item::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(0, 102, 255, 0.05);
    border-radius: 8px;
    box-shadow: none;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 5px 0;
    transition: all 0.3s ease;
  }

  .dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 10px 0;
  }

  .dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 12px !important;
    padding: 12px 15px 12px 35px !important;
    font-size: 16px !important;
    margin: 2px 5px;
    border-radius: 6px;
  }

  .dropdown-item:hover {
    background-color: rgba(0, 102, 255, 0.15);
  }

  .cancel-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    background-color: rgba(0, 102, 255, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1102;
    cursor: pointer;
    color: #fff;
    transition: color 0.2s;
  }

  .cancel-btn:hover {
    color: #0066ff;
  }

}

@media (max-width: 750px) {
  #home {
    padding: 120px 15px 50px;
    gap: 30px;
  }

  .mainContent {
    padding: 30px 20px;
    border-radius: 20px;
  }

  h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 24px;
    margin-top: 36px;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  h3 {
    font-size: 20px;
    margin-top: 32px;
  }

  .cards p {
    font-size: 15px;
    margin: 24px 0;
    line-height: 1.8;
  }

  .cardDate {
    font-size: 14px;
    padding: 10px 16px;
    margin-bottom: 24px;
  }

  .ic-donanım,
  .ic-donanim-number,
  .dıs-donanım {
    padding: 20px;
    margin-top: 20px;
  }

  nav {
    padding: 10px 15px;
  }

  nav .navbar {
    justify-content: space-between;
  }

  nav .navbar .logo {
    flex: 1;
    max-width: calc(100% - 70px);
  }

  nav .navbar .logo-text {
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Liste Elemanları Mobil Düzeni */
  .ic-donanim-number {
    line-height: 28px;
    margin-top: 15px;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 20px;
    font-weight: 400;
    text-align: left;
    list-style: decimal;
    color: #2b2b2b;
  }

  body.dark .ic-donanim-number {
    color: var(--text-color);
  }

  .ic-donanim-number li {
    margin-bottom: 10px;
    padding-right: 10px;
  }

  body.dark .ic-donanım {
    color: var(--text-color);
  }

  .ic-donanım li {
    margin-bottom: 10px;
    padding-right: 10px;
  }

  .dıs-donanım {
    line-height: 28px;
    margin-top: 15px;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 20px;
    font-weight: 400;
    list-style: inside;
  }

  body.dark .dıs-donanım {
    color: var(--text-color);
  }

  .dıs-donanım li {
    margin-bottom: 10px;
    padding-right: 10px;
  }

  .icerik li {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 15px 0 15px 18px;
    transition: all 0.4s ease;
  }

  nav.sticky .menu a:hover {
    background: rgba(0, 126, 195, 0.15);
    color: #fff;
    padding-left: 30px;
  }

  nav .navbar .media-icons {
    display: none;
  }

  nav .menu-btn,
  .navbar .menu .cancel-btn {
    display: flex;
    outline: none;
  }

  .navbar .menu .cancel-btn {
    position: fixed;
    right: 20px;
    top: 30px;
    color: #fff;
    z-index: 1002;
  }

  .icon {
    margin-right: 15px;
  }

  iframe {
    width: 100%;
    height: 315px;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  footer {
    position: relative;
  }

  .content .top .logo-details img {
    height: 65px;
  }

  footer .content .link-boxes .box {
    width: calc(100% / 3 - 10px);
  }

  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a {
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  footer::before {
    top: 145px;
  }

  footer .content .top {
    flex-direction: column;
    margin-bottom: 30px;
  }

  footer .content .link-boxes .box {
    width: calc(100% / 2 - 10px);
  }
}

@media (max-width: 500px) {
  #home {
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
    padding: 100px 12px 40px;
    gap: 24px;
  }

  .mainContent {
    padding: 24px 16px;
    border-radius: 16px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  h2 {
    font-size: 22px;
    margin-top: 32px;
  }

  h3 {
    font-size: 18px;
  }

  .cards p {
    font-size: 14px;
    margin: 20px 0;
  }

  /* Other Content */
  .otherContents {
    width: 100%;
    padding: 10px;
    margin: 0;
  }

  .cardStructure {
    margin-bottom: 14px;
  }

  .cardStructure .PageControl {
    display: flex;
    flex-direction: row;
    padding: 12px;
    gap: 12px;
  }

  .ContentTitle {
    color: #002333;
    font-weight: 700;
    font-size: 20px;
    padding-left: 10px;
    margin-bottom: 18px;
  }

  .cardStructure img {
    border-radius: 10px;
    width: 100px;
    height: 80px;
    min-width: 100px;
    max-width: 100px;
    padding: 0;
  }

  .cardStructure .subContent {
    padding: 0;
    gap: 6px;
  }

  .subContent h4 {
    font-size: 12px;
    line-height: 1.5;
  }

  .subContent .dateTime {
    font-size: 10px;
  }

  .PageControl .subContent {
    color: #002333;
  }

  /* Share Button */
  .shareButton .a2a_kit {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  nav .navbar .menu a {
    font-size: 16px;
    padding: 7px 17px;
    display: flex;
    color: #fff;
    margin: 10px 0px;
    align-items: center;
  }


  nav .navbar .logo img {
    height: 60px;
    padding: 5px;
  }

  .icerik li {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 15px 0 15px 18px;
    transition: all 0.4s ease;
  }

  .icerik li:hover {
    color: #003cb5;
    transition: all 0.4s ease;
  }

  .dropdown-content {
    position: absolute;
    background-color: #002333;
    min-width: 240px;
    margin-left: 15px;
    z-index: 1;
    padding: 0;
    border-radius: 5px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 10px rgb(119 119 119 / 20%);
  }

  nav.sticky .dropdown-content {
    background-color: #002333;
    display: none;
    position: absolute;
    min-width: 240px;
    z-index: 1;
    border-radius: 5px;
    padding: 0;
    transition: all 0.4s ease;
    box-shadow: 0 5px 10px rgb(119 119 119 / 20%);
  }

  .dropdown-content a {
    font-size: 12px;
    border-bottom: 1px solid #fff;
  }

  /* Liste Elemanları 500px için */
  .ic-donanim-number {
    line-height: 26px;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 15px;
    font-size: 14px;
  }

  .ic-donanim-number li {
    margin-bottom: 8px;
    padding-right: 5px;
  }


  .ic-donanım li {
    margin-bottom: 8px;
    padding-right: 5px;
  }

  .dıs-donanım {
    line-height: 26px;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 15px;
    font-size: 14px;
  }

  .dıs-donanım li {
    margin-bottom: 8px;
    padding-right: 5px;
  }

  .mainContent {
    border-radius: 5px;
    margin: 0 auto;
    width: 100%;
    padding: 20px;
  }

  .cards {
    border-radius: 5px;
  }

  .cards p {
    margin: 10px 0;
    font-size: 16px;
    text-align: left;
  }

  h1 {
    font-size: 28px;
    margin: 20px 0;
    padding: 0;
    font-weight: 700;
    line-height: 1.2;
  }

  h2 {
    border-left: 6px solid #0066ff;
    padding-left: 10px;
    margin: 25px 0;
    font-size: 22px;
    font-weight: 600;
  }

  table tr td .table-p {
    font-size: 10px;
    line-height: 15px;
    margin: 10px 8px;
    text-align: left;
  }

  iframe {
    height: 180px;
    width: 100%;
  }

  .scroll-button {
    display: none;
  }

  .cardDate {
    font-size: 13px;
    margin-bottom: 15px;
    margin-top: 5px;
  }

  .ic-donanim-number {
    line-height: 30px;
    margin-top: 15px;
    font-weight: 400;
    text-align: left;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 20px;
    list-style: decimal;
    color: #2b2b2b;
  }

  body.dark .ic-donanim-number {
    color: var(--text-color);
  }

  .ic-donanim-number li {
    margin-bottom: 10px;
    padding-right: 10px;
  }


  body.dark .ic-donanım {
    color: var(--text-color);
  }

  .ic-donanım li {
    margin-bottom: 10px;
    padding-right: 10px;
  }

  .dıs-donanım {
    line-height: 30px;
    margin-top: 15px;
    font-weight: 500;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 20px;
    list-style: inside;
  }

  body.dark .dıs-donanım {
    color: var(--text-color);
  }

  .dıs-donanım li {
    margin-bottom: 10px;
    padding-right: 10px;
  }

  .cards img {
    width: 100%;
    height: 100%;
    margin: 20px 0;
  }

  .content .link-boxes .box li a {
    font-size: 13px;
  }

  /* Internet Connected */
  .popup {
    position: fixed;
    left: 50%;
    top: -25%;
    z-index: 999;
    visibility: hidden;
    width: 340px;
    border-radius: 5px;
    padding: 10px;
    background: #fff;
    display: flex;
    border-top: 3px solid #d0342c;
    transform: translateX(-50%);
    box-shadow: 0 10px 25px rgba(52, 87, 220, 0.1);
    transition: all 0.25s ease;
  }

  .popup.show {
    top: 0;
    visibility: visible;
  }

  .popup.online {
    border-color: #2ecc71;
  }

  .popup .icon i {
    width: 40px;
    height: 40px;
    display: flex;
    color: #fff;
    margin-right: 0;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d0342c;
  }

  .popup.online .icon i {
    background: #2ecc71;
  }

  .popup .title {
    font-size: 16px;
  }

  .popup .desc {
    color: #474747;
    margin: 3px 0 10px;
    font-size: 14px;
  }

  .popup .reconnect {
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 4px;
    background: #5372f0;
  }

  .popup.online .reconnect {
    background: #bfbfbf;
    pointer-events: none;
  }
}

/* Modern Animated Scroll Up Button */
.scroll-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-button.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #007ec3 0%, #005a8a 100%);
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 126, 195, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  outline: none;
}

.scroll-button a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.scroll-button a:hover::before {
  width: 300px;
  height: 300px;
}

.scroll-button a:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 126, 195, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

.scroll-button a i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.scroll-button a:hover i {
  transform: none;
}

body.dark .scroll-button a {
  background: linear-gradient(135deg, #007ec3 0%, #005a8a 100%);
  box-shadow: 0 8px 25px rgba(0, 126, 195, 0.5);
}

body.dark .scroll-button a:hover {
  box-shadow: 0 12px 35px rgba(0, 126, 195, 0.6);
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(0, 126, 195, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 126, 195, 0.5);
  }
}

.scroll-button.show a {
  animation: pulse 2s ease-in-out infinite;
}

.scroll-button.show a:hover {
  animation: none;
}

@media (max-width: 768px) {
  .scroll-button {
    bottom: 20px;
    right: 20px;
  }

  .scroll-button a {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
}
/* THEME-INIT: html.dark erken arka plan */
html.dark {
  background-color: #061528;
}
