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

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

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

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

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

body.dark ::-webkit-scrollbar-thumb {
  background: #000;
}

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

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

body.dark {
  --body-color: #1a1b1f;
  --nav-color: #262931;
  --side-nav: #242526;
  --text-color: #ccc;
  --search-bar: #363636;
  --card-color: #21242a;
  --button-color: #5f6061;
}

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

/* DarkMode */
.darkLight-searchBox .dark-light,
.darkLight-searchBox .searchToggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Moon-Sun */
body.dark nav .darkLight-searchBox .dark-light .moon {
  color: #fff;
}

body.dark nav .darkLight-searchBox .dark-light .sun {
  color: #fff;
}

.darkLight-searchBox .dark-light .sun {
  color: #fff;
}

.darkLight-searchBox .dark-light .moon {
  color: #fff;
}

.dark-light i,
.searchToggle i {
  position: absolute;
  color: var(--search-bar);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dark-light i.sun {
  opacity: 0;
  pointer-events: none;
}

.dark-light.active i.sun {
  opacity: 1;
  pointer-events: auto;
  color: #fff;
}

.dark-light.active i.moon {
  opacity: 0;
  pointer-events: none;
}

/* 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;
}

/* 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;
  width: 100%;
  z-index: 998;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 0;

}

/* Anasayfa dışındaki sayfalarda navbar her zaman gradient olsun */
.blog-page nav,
.project-page nav,
.contact-page nav,
.software-page nav {
  background: linear-gradient(135deg, #013179, #002333) !important;
}

body.dark .blog-page nav,
body.dark .project-page nav,
body.dark .contact-page nav,
body.dark .software-page nav {
  background: linear-gradient(135deg, #1a1b1f, #0d1117) !important;
}

/* Sticky navbar */
nav.sticky {
  background: linear-gradient(135deg, #013179, #002333);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark nav {
  background: linear-gradient(135deg, #1a1b1f, #0d1117) !important;
}

body.dark nav.sticky {
  background: linear-gradient(135deg, #1a1b1f, #0d1117) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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);
}

.project-phone {
  transition: none !important;
  transform: none !important;
}

.nav-item.dropdown.open .project-phone,
.nav-item.dropdown:hover .project-phone {
  transform: none !important;
  transition: none !important;
}

.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, #1a1b1f, #0d1117);
  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;
}

/* Right Side Controls */
.nav-controls {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 10px;
  /* İkonlar arası boşluk */
}

/* Language Selector */
.language-selector {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.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: 6px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
}


.selected-lang:hover {
  background-color: #003cb5;
  color: #fff;
}

/* Dark Mode Toggle */
.dark-light {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 0;
  /* Sağ kenar boşluğunu kaldırdık */
  background-color: rgba(0, 102, 255, 0.1);
}

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

/* Hamburger and Cancel Buttons */
.menu-btn,
.cancel-btn {
  display: none;
  /* Web görünümünde gizle */
  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-color: rgba(0, 102, 255, 0.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

/* About */
section {
  padding-top: 100px;
  padding-bottom: 40px;
  animation: sectionFadeIn 0.8s ease;
}

@keyframes sectionFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

section .content {
  width: 90%;
  max-width: 1400px;
  margin: 50px auto;
  padding: 0 20px;
}

.about .about-details {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 30px;
  animation: fadeInUp 1s ease;
  transform: translateY(0);
}

.about .about-details .thumbnail {
  animation: fadeInLeft 0.8s ease;
}

.about .about-details .right {
  animation: fadeInRight 0.8s ease;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

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

section .title {
  display: flex;
  justify-content: center;
}

section .titlee {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

body.dark section .title span {
  color: var(--text-color);
}

section .title span {
  color: #10215A;
  font-size: 32px;
  font-weight: 700;
  position: relative;
  /* padding-top: 30px; */
  padding-bottom: 8px;
  animation: slideInDown 0.8s ease;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

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

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

section .titlee span {
  color: #10215A;
  font-size: 29px;
  font-weight: 500;
  position: relative;
  padding-bottom: 8px;
}

body.dark section .title span::before {
  background: var(--text-color);
}

body.dark section .title span::after {
  background: var(--text-color);
}

section .title span::before,
section .title span::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 100%;
  background: #10215A;
  left: 0;
  bottom: 0;
}

body.dark section .titlee span::before,
section .titlee span::after {
  background-color: var(--text-color);
}

section .titlee span::before,
section .titlee span::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 100%;
  background: #10215A;
  left: 0;
  bottom: 0;
}

section .title span::after {
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}

section .titlee span::after {
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}

.about-details .right {
  width: 60%;
}

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

section .topic {
  color: #10215A;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}

body.dark .about-details .right p {
  color: var(--text-color);
}

.about-details .right p {
  text-align: left;
  color: #000;
}

.thumbnail {
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 350px;
  display: block;
  margin-right: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.thumbnail:hover {
  opacity: 0.9;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 200px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal İçerik (resim) */
.modal-content {
  margin: 0 auto;
  display: block;
  width: 30%;
}

/* Animasyon Ekle */
.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

.out {
  animation-name: zoom-out;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(1);
  }

  to {
    -webkit-transform: scale(2);
  }
}

@keyframes zoom {
  from {
    transform: scale(0.4);
  }

  to {
    transform: scale(1);
  }
}

@keyframes zoom-out {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(0);
  }
}

/* Skills */
.skills {
  background: #dee7ef;
}

body.dark .skills {
  background-color: #202125;
}

.skills .content {
  padding: 40px 0;
}

.skills .skills-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skills-details .text {
  width: 50%;
}

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

.skills-details p {
  color: #10215A;
  padding-right: 50px;
}

.skills .skills-details .experience {
  display: flex;
  align-items: center;
  margin: 0 10px;
}

body.dark .skills-details .experience .num,
body.dark .skills-details .experience .exp {
  color: var(--text-color);
}

.skills-details .experience .num {
  color: #10215A;
  font-size: 80px;
}

.skills-details .experience .exp {
  color: #10215A;
  margin-left: 20px;
  font-size: 18px;
  font-weight: 500;
  margin: 0 6px;
}

.skills-details .boxes {
  width: 45%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.skills-details .box {
  width: calc(100% / 2 - 20px);
  margin: 20px 0;
}

.skills-details .boxes .topic {
  font-size: 20px;
  color: #10215A;
}

.skills-details .boxes .per {
  font-size: 60px;
  color: #10215A;
}

/* Skill Bar */
body.dark .container {
  background-color: #202125;
}

.container {
  position: relative;
  max-width: 600px;
  width: 100%;
  background: #dee7ef;
}

.container .skill-box {
  width: 100%;
  margin: 25px 0;
}

body.dark .skill-box .title {
  color: var(--text-color);
}

.skill-box .title {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
}

body.dark .skill-box .skill-bar {
  background: rgba(197, 196, 196, 0.1);
}

.skill-box .skill-bar {
  height: 8px;
  width: 100%;
  border-radius: 6px;
  margin-top: 6px;
  background: rgba(26, 26, 26, 10%);
}

body.dark .skill-bar .skill-per {
  background: var(--text-color);
  color: #000;
}

.skill-bar .skill-per {
  position: relative;
  display: block;
  height: 100%;
  width: 90%;
  border-radius: 5px;
  background: #10215A;
  animation: progress 0.4s ease-in-out forwards;
  opacity: 0;
}

.skill-per.css {
  width: 80%;
  animation-delay: 0.1s;
}

.skill-per.javascript {
  width: 30%;
  animation-delay: 0.2s;
}

.skill-per.nodejs {
  width: 45%;
  animation-delay: 0.3s;
}

@keyframes progress {
  0% {
    width: 0;
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

body.dark .skill-per .tooltip {
  background: var(--text-color);
  color: #000;
}

.skill-per .tooltip {
  position: absolute;
  right: -14px;
  top: -28px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  background: #10215A;
  z-index: 1;
}

body.dark .tooltip::before {
  background-color: var(--text-color);
}

.tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  height: 10px;
  width: 10px;
  z-index: -1;
  background-color: #10215A;
  transform: translateX(-50%) rotate(45deg);
}

/* Services */
.services .boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

@media (max-width: 1200px) {
  .services .boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services .boxes {
    grid-template-columns: 1fr;
  }
}

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

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

body.dark .services .boxes .box {
  background: var(--card-color);
}

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

.services .boxes .box {
  text-align: left;
  border-radius: 24px;
  padding: 35px 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(#ffffff 50%, #002333 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.box-number {
  font-size: 48px;
  font-weight: 900;
  color: #e8e8e8;
  line-height: 1;
  font-family: 'Poppins', sans-serif;
  transition: all 0.5s ease;
}

body.dark .box-number {
  color: #2a2a2c;
}

.services .boxes .box:hover .box-number {
  color: rgba(0, 102, 255, 0.15);
  transform: scale(1.2);
}

body.dark .services .boxes .box:hover .box-number {
  color: rgba(255, 255, 255, 0.1);
}

.services .boxes .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.services .boxes .box:hover::before {
  left: 100%;
}

.services .boxes .box:hover {
  color: #fff;
  background-position: 0 100%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

body.dark .services .boxes .box .icon {
  background: #2a2a2c;
}

.services .boxes .box .icon {
  height: 55px;
  width: 55px;
  background: linear-gradient(135deg, #0066ff, #002333);
  border-radius: 16px;
  text-align: center;
  line-height: 55px;
  font-size: 22px;
  color: #fff;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
  flex-shrink: 0;
}

body.dark .boxes .box:hover .icon {
  background: linear-gradient(135deg, #fff, #f0f0f0);
  color: #002333;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.boxes .box:hover .icon {
  background: linear-gradient(135deg, #fff, #f0f0f0);
  color: #002333;
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.services .boxes .box .topic {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #10215A;
  line-height: 1.3;
  transition: all 0.4s ease;
}

body.dark .services .boxes .box .topic {
  color: var(--text-color);
}

.services .boxes .box p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #666;
  transition: all 0.4s ease;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.dark .services .boxes .box p {
  color: #999;
}

.services .boxes .box:hover .topic,
.services .boxes .box:hover p {
  color: #002333;
  transition: all 0.4s ease;
}

.services .boxes .box:hover .topic,
.services .boxes .box:hover p {
  color: #fff;
}

.services .boxes .box button {
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.4s ease;
}

.services .boxes .box:hover button {
  transform: translateX(5px);
}

/* Mobil Projelerim */
body.dark .backgroundtech {
  background-color: #202125;
}

.backgroundtech {
  padding: 40px 0;
}

/* Proje Kartları */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.project-card {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: none;
  position: relative;
}

body.dark .project-card {
  background-color: #2a2a2c;
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #002333, #0066ff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  display: none;
}

.project-card:hover::after {
  opacity: 0;
  display: none;
}

.project-card:hover {
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.25);
}

/* BackSpeed Kartı */
.backspeed-card {
  border-bottom: 3px solid #1fc06a;
}

.backspeed-image {
  background: linear-gradient(145deg, #0a2e5c, #051d3b);
}

.project-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  object-fit: cover;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.project-card:hover .project-image img {
  transform: scale(1.1) rotate(2deg);
}

.backspeed-button {

  background-color: #46c381;
  background-image: linear-gradient(45deg, #46c381, #2e7d32);
}

.dropdown-icon {
  transition: transform 0.3s;
}

.backspeed-button:hover {
  background-image: linear-gradient(45deg, #2e7d32, #46c381);
}

/* BackHava Kartı */
.backhava-card {
  border-bottom: 3px solid #1e90ff;
}

.backhava-image {
  background: linear-gradient(145deg, #87CEEB, #1e90ff);
}

.backhava-button {
  background-color: #1e90ff;
  background-image: linear-gradient(45deg, #1e90ff, #0073e6);
}

.backhava-button:hover {
  background-image: linear-gradient(45deg, #0073e6, #1e90ff);
}

/* BackHesap Kartı */
.backhesap-card {
  border-bottom: 3px solid #ff6b00;
}

.backhesap-image {
  background: linear-gradient(145deg, #ff8c00, #ff6b00);
}

.backhesap-button {
  background-color: #ff6b00;
  background-image: linear-gradient(45deg, #ff8c00, #ff6b00);
}

.backhesap-button:hover {
  background-image: linear-gradient(45deg, #ff6b00, #ff8c00);
}

/* IPAK Kimya Kartı */
.ipak-card {
  border-bottom: 3px solid #241d49;
}

.ipak-image {
  background: linear-gradient(145deg, #241d49, #331d9e);
}

.ipak-button {
  background-color: #241d49;
  background-image: linear-gradient(45deg, #241d49, #331d9e);
}

.ipak-button:hover {
  background-image: linear-gradient(45deg, #331d9e, #241d49);
}

/* BackQR Kartı */
.backqr-card {
  border-bottom: 3px solid #0a7cb1;
}

.backqr-image {
  background: linear-gradient(145deg, #0a7cb1, #06a4ee);
}

.backqr-button {
  background-color: #0a7cb1;
  background-image: linear-gradient(45deg, #0a7cb1, #06a4ee);
}

.backqr-button:hover {
  background-image: linear-gradient(45deg, #06a4ee, #0a7cb1);
}

/* BackNot Kartı */
.backnot-card {
  border-bottom: 3px solid #8a56be;
}

.backnot-image {
  background: linear-gradient(145deg, #722abb, #a783cb);
}

.backnot-button {
  background-color: #722abb;
  background-image: linear-gradient(45deg, #722abb, #a783cb);
}

.backnot-button:hover {
  background-image: linear-gradient(45deg, #722abb, #8a56be);
}

/* BackTimer Kartı */
.backtimer-card {
  border-bottom: 3px solid #ff6b6b;
}

.backtimer-button {
  background-color: #ff6b6b;
  background-image: linear-gradient(45deg, #ff6b6b, #10215A);
}

.backtimer-button:hover {
  background-image: linear-gradient(45deg, #10215A, #ff6b6b);
}

/* Nöbet Bul Kartı */
.nobetbul-card {
  border-bottom: 3px solid #E53935;
}

.nobetbul-button {
  background-color: #E53935;
  background-image: linear-gradient(45deg, #E53935, #10215A);
}

.nobetbul-button:hover {
  background-image: linear-gradient(45deg, #10215A, #E53935);
}

.project-image img {
  max-height: 120px;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.project-info {
  padding: 25px;
  text-align: left;
}

.project-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #10215A;
  transition: all 0.4s ease;
}

.project-card:hover .project-info h3 {
  color: #0066ff;
  transform: translateX(5px);
}

body.dark .project-info h3 {
  color: #fff;
}

.project-card:hover body.dark .project-info h3 {
  color: #0066ff;
}

.project-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  transition: all 0.4s ease;
}

.project-card:hover .project-info p {
  color: #444;
}

body.dark .project-info p {
  color: #ccc;
}

.project-card:hover body.dark .project-info p {
  color: #aaa;
}

.project-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 13px;
  border: none;
  cursor: pointer;
}

.project-button::after {
  content: '→';
  font-size: 16px;
  transition: transform 0.3s ease;
}

.project-button:hover::after {
  transform: translateX(5px);
}

.project-button:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.project-button:hover:before {
  left: 100%;
}

.project-button:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px) scale(1.05);
}

/* Eski Mobil Proje Stilleri (Uyumluluk için korundu) */
.background-tech {
  margin: 0 auto;
  display: flex;
  max-width: 800px;
}

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

.newsapp p {
  text-align: justify;
}

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

.topic_app {
  color: #10215A;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}

.action {
  height: 150px;
  border-radius: 15px;
  margin-right: 50px;
}

.android {
  height: 22px;
  display: flex;
  align-items: center;
  padding-right: 5px;
}

.apkButton {
  display: flex;
  border: none;
}

body.dark button.apkButton {
  border: 1px solid #fff;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

body.dark .contact {
  background: linear-gradient(135deg, #1a1b1f 0%, #0d1117 100%);
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 51, 204, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.contact .content {
  margin: 0 auto;
  padding: 0;
  max-width: 1400px;
  width: 90%;
  position: relative;
  z-index: 1;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.contact-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  max-width: 1000px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0066ff, #0039c0, #0066ff);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.contact-card:hover {
  box-shadow: 0 30px 80px rgba(0, 102, 255, 0.2), 0 0 0 1px rgba(0, 102, 255, 0.1);
}

body.dark .contact-card {
  background: #1e1e2e;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body.dark .contact-card:hover {
  box-shadow: 0 30px 80px rgba(0, 102, 255, 0.3), 0 0 0 1px rgba(0, 102, 255, 0.2);
}

.contact-left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #0066ff 0%, #0039c0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
  position: relative;
  animation: pulse 2s ease-in-out infinite;
}

.contact-right {
  flex: 1;
  text-align: left;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.contact-icon::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066ff, #0039c0);
  opacity: 0.3;
  z-index: -1;
  animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.contact-icon i {
  font-size: 45px;
  color: #ffffff;
  z-index: 1;
  position: relative;
}

.contact-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: #0e2431;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #0066ff, #0039c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark .contact-card h3 {
  background: linear-gradient(135deg, #66b3ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-card p {
  font-size: 18px;
  line-height: 1.8;
  color: #5a5a5a;
  margin-bottom: 40px;
}

body.dark .contact-card p {
  color: var(--text-color);
  opacity: 0.9;
}

.contact-button-wrapper {
  margin-bottom: 30px;
  display: inline-block;
}

.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 57, 192, 0.05) 100%);
  border-radius: 12px;
  border-left: 4px solid #0066ff;
  margin-top: 10px;
}

body.dark .contact-address {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 57, 192, 0.1) 100%);
  border-left-color: #66b3ff;
}

.address-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0066ff 0%, #0039c0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.address-icon i {
  color: #ffffff;
  font-size: 18px;
}

.address-text {
  flex: 1;
}

.address-text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
}

.address-text p:first-child {
  margin-bottom: 5px;
}

body.dark .address-text p {
  color: var(--text-color);
  opacity: 0.95;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #0066ff 0%, #0039c0 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
  position: relative;
  overflow: hidden;
}

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

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

.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
}

.contact-button:active {
  transform: translateY(-1px);
}

.contact-button span {
  position: relative;
  z-index: 1;
}

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

.contact-button:hover i {
  transform: translateX(5px);
}

.contact-social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: #0066ff;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066ff, #0039c0);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.social-icon i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-icon:hover i {
  transform: rotate(360deg);
}

body.dark .social-icon {
  background: #2a2a3e;
  color: #66b3ff;
}

body.dark .social-icon:hover {
  color: #ffffff;
}

/* Eski stilleri koruyoruz (uyumluluk için) */
.contact .text {
  width: 80%;
  text-align: center;
  margin: auto;
}

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

/* Button */
body.dark button {
  background-color: var(--button-color);
}

body.dark button:hover {
  background-color: #0039c0;
}

button {
  padding: 10px 18px;
  font-size: 17px;
  outline: none;
  border: none;
  background-color: #002333;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid #fff;
}

button:hover {
  background-color: #003ec4;
}

/*Cv Button*/
body.dark .buton {
  background-color: var(--button-color);
  border: 1px solid #fff;
}

body.dark .buton:hover {
  background-color: #0039c0;
  border: 1px solid #fff;
}

.buton {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  padding: 10px 18px;
  margin-top: 20px;
  border-radius: 10px;
  background-color: #002333;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.buton:hover {
  background-color: #003ec4;
  transition: all 0.3s ease;
}

.buton .icon {
  font-size: 16px;
  color: #fff;
  margin-right: 10px;
  display: none;
}

.cvdown {
  margin-right: 8px;
  font-size: 15px;
}

.buton.checked .icon {
  display: flex;
}

.icon.spinner.spin {
  animation: spin 1.3s ease-in-out infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.icon.check {
  display: inline-flex;
  font-size: 16px;
  padding-left: 5px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.buton .btn-text {
  font-size: 17px;
  font-weight: 400px;
  color: #fff;
}

.fonticon {
  font-size: 25px;
  margin-right: 7px;
  height: 25px;
  width: 25px;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Footer */
body.dark footer {
  background: linear-gradient(135deg, #1a1b1f, #0d1117);
}

footer {
  width: 100%;
  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: 10px;
}

.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: -4px;
  height: 2px;
  width: 40px;
  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;
}

body.dark footer .bottom-details {
  background: linear-gradient(135deg, #0d1117, #010409);
}

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;
}

/* 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;
}

/* Dark Mode */
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);
}

/* Pulse Animation */
@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;
}

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

  .scroll-button a {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
}

/* Slider CSS */

.main {
  height: 100vh;
  width: 100%;
}

.wrapperrr,
.slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  overflow: hidden;
}

.slide::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.slide .image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.slide .image-data {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 100;
}

.image-data span.text {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

.image-data h2 {
  font-size: 45px;
  font-weight: 600;
  color: #fff;
}

a.button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 18px;
  border-radius: 50px;
  color: #333;
  background: #fff;
  text-decoration: none;
  margin-top: 30px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

a.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

a.button:hover::before {
  left: 100%;
}

a.button:hover {
  color: #fff;
  background-color: #0066ff;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.35);
}

/* Swiper Button CSS */
.nav-btn {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.swiper-button-next {
  right: 50px;
}

.swiper-button-prev {
  left: 50px;
}

.nav-btn::before,
.nav-btn::after {
  font-size: 25px;
  color: #fff;
}

.swiper-pagination-bullet {
  opacity: 1;
  height: 12px;
  width: 12px;
  background-color: #fff;
  visibility: hidden;
}

.swiper-pagination-bullet-active {
  border: 2px solid #fff;
  background-color: #0044ff;
}

/* MEDİA QUERY */
@media (max-width: 1500px) {
  .about-details .right {
    width: 60%;
    padding-left: 40px;
  }

  /* Skill Bar */
  .container {
    position: relative;
    max-width: 600px;
    width: 60%;
    background: #dee7ef;
  }

  /* Modal İçerik (resim) */
  .modal-content {
    margin: 0 auto;
    display: block;
    width: 40%;
  }
}

@media (max-width: 1190px) {
  section .content {
    width: 85%;
  }
}

@media (max-width: 1000px) {
  .about .about-details {
    justify-content: center;
    flex-direction: column;
  }

  .about .about-details .left {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .about-details .right {
    width: 90%;
    margin-top: 40px;
  }

  .about .about-details {
    padding-top: 0;
  }
}

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

@media (max-width: 900px) {
  nav .navbar {
    width: 96%;
    max-width: 100vw;
    padding: 0 2vw;
  }

  .nav-links {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    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(-100vw);
    transition: transform 0.35s cubic-bezier(.77, 0, .18, 1);
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.18);
  }

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

  .menu {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .menu .nav-item {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .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 */
  .menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    z-index: 1101;
    cursor: pointer;
    font-size: 28px;
    color: #fff;
    transition: color 0.2s;
  }

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

  /* Close Icon */
  .cancel-btn {
    display: flex !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: 28px;
    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 --- */

/* Navbar Responsive Styles */
nav .navbar {
  width: 95%;
}



nav .navbar .menu .nav-item {
  margin: 0 15px;
}

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

/* Modal İçerik (resim) */
.modal-content {
  margin: -100px auto 0 auto;
  display: block;
  width: 40%;
}


@media screen and (max-width: 768px) {
  .nav-btn {
    visibility: hidden;
  }

  .swiper-pagination-bullet {
    visibility: visible;
  }
}

@media (max-width: 750px) {
  nav .navbar {
    width: 90%;
  }

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

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

  nav .menu-btn,
  .navbar .menu .cancel-btn {
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
  }

  body.dark nav .navbar .menu {
    background-color: var(--nav-color);
  }

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

  nav .navbar .menu {
    position: fixed;
    left: -100%;
    top: 0;
    background: rgba(16, 33, 90, 0.98);
    ;
    height: 100vh;
    max-width: 270px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
  }

  .navbar.active .menu {
    left: 0px;
  }

  nav .navbar .menu a {
    display: flex;
    color: #fff;
    margin: 10px 0px;
    align-items: center;
  }

  nav.sticky .menu a:hover {
    color: #fff;
    transition: none;
  }

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

  .skills .skills-details {
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .skills-details .text {
    width: 100%;
  }

  .skills-details .boxes {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .services .boxes .box {
    margin: 20px 0;
    width: 100%;
  }

  .contact .text {
    width: 100%;
  }

  /* Contact Responsive */
  .contact {
    padding: 60px 0;
  }

  .contact-card {
    flex-direction: column;
    padding: 40px 30px;
    margin: 0 20px;
    border-radius: 20px;
    text-align: center;
  }

  .contact-left {
    margin-bottom: 20px;
  }

  .contact-right {
    text-align: center;
  }

  .contact-icon {
    width: 100px;
    height: 100px;
  }

  .contact-icon i {
    font-size: 40px;
  }

  .contact-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .contact-card p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .contact-button {
    padding: 14px 35px;
    font-size: 16px;
  }

  .contact-address {
    padding: 15px;
    gap: 12px;
  }

  .address-icon {
    width: 35px;
    height: 35px;
  }

  .address-icon i {
    font-size: 16px;
  }

  .address-text p {
    font-size: 14px;
  }

  /* Skill Bar */
  .container {
    position: relative;
    max-width: 600px;
    width: 100%;
    background: #dee7ef;
  }

  .darkLight-searchBox {
    padding: 2px 50px 0 0;
  }
}

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

  .nav-links {
    justify-content: flex-start;
  }

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

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

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

  .icon {
    margin-right: 15px;
  }

  /* Daha Küçük Ekranlarda %100 Görüntü Genişliği */
  .modal-content {
    width: 100%;
  }
}

@media screen and (max-width: 550px) {
  .popup {
    width: 100%;
    padding: 10px 15px 17px;
  }
}

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

  nav .navbar .logo-text {
    font-size: 20px;
  }

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

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

@media (max-width: 768px) {

  /* Mobil görünümde hamburger ve çarpı ikonlarını göster */
  .menu-btn {
    display: flex;
    position: relative;
    z-index: 1000;
  }

  .cancel-btn {
    display: flex;
  }

  .nav-controls {
    position: relative;
    z-index: 950;
    display: flex;
    align-items: center;
    margin: 0;
    gap: 10px;
    /* İkonlar arası boşluk */
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 300px;
    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);
  }

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

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

  nav .navbar .menu {
    flex-direction: column;
  }

  nav .navbar .menu .nav-item {
    margin: 5px 20px;
    width: 100%;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
  }

  .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);
  }

  /* Düzenlendi - bu kod yukarıda tanımlandı */

  .cancel-btn {
    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);
  }

  .menu-btn {
    margin-left: 0;
    /* Sol kenar boşluğunu kaldırdık */
    background-color: rgba(0, 102, 255, 0.15);
    width: 30px;
    height: 30px;
    font-size: 20px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  }

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

  .dark-light {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0;
    background-color: rgba(0, 102, 255, 0.1);

  }

  .dark-light {
    margin-right: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  }

  /* Bu kod kaldırıldı */

  .skills-details .boxes .per {
    font-size: 50px;
    color: #283c5a;
  }

  .thumbnail {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    height: 310px;
    width: 310px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

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

  .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;
  }

  body.dark .dropdown-content {
    background-color: var(--nav-color);
  }

  .darkLight-searchBox .dark-light,
  .darkLight-searchBox .searchToggle {
    position: absolute;
    right: 77px;
    color: #fff;
    display: flex;
    justify-content: center;
  }

  nav .navbar {
    width: 100%;
    display: flex;
    align-items: center;
    margin: auto;
  }

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

  .scroll-bar {
    display: none;
  }

  .scroll-button {
    display: none;
  }

  .buttons .button {
    border: none;
    color: #fff;
    padding: 6px 0;
    border-radius: 4px;
    cursor: pointer;
    width: calc(100% / 2 - 10px);
    transition: all 0.2s ease;
  }

  .wrapperr.hide {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: all 0.3s ease;
  }

  .wrapperr img {
    max-width: 90px;
    margin-bottom: 0px;
    margin-top: 15px;
  }

  .contentt header {
    font-size: 25px;
    font-weight: 600;
  }

  .contentt {
    margin-top: 10px;
  }

  .contentt p {
    color: #fff;
  }

  .contentt .buttons {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .skills-details p {
    color: #0e2431;
    padding-right: 0;
    text-align: center;
  }

  .about-details .right {
    width: 90%;
    padding: 0;
  }

  .about-details .right p {
    text-align: justify;
    color: #000;
  }

  .apkButton {
    display: flex;
    justify-content: center;
  }

  .buttons button {
    padding: 5px 15px;
    border: none;
    outline: none;
    color: #002333;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .buttons button:hover {
    transform: scale(0.97);
  }

  .buttons .item {
    margin: 0 10px;
    margin-bottom: -15px;
    margin-left: -3px;
  }

  .buttons a {
    color: #002333;
  }

  .wrapperr {
    right: 20px;
    z-index: 1;
    max-width: 370px;
    padding: 0px 25px 15px 25px;
  }

  .image-data h2 {
    font-size: 30px;
    padding: 0 30px;
    font-weight: 600;
    color: #fff;
  }

  .wrapperr img {
    display: none;
  }

  .buttons button {
    padding: 5px 15px;
    font-size: 13px;
  }

  a.button {
    display: inline-block;
    padding: 10px 16px;
    font-size: 15px;
    border-radius: 10px;
    color: rgb(0, 0, 0);
    background: #fff;
    text-decoration: none;
    margin-top: 25px;
    transition: all 0.3s ease;
  }

  /* News App */
  .background-tech {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .newsapp {
    padding: 0 20px;
  }

  .newsapp p {
    text-align: center;
  }

  .action {
    height: 120px;
    margin: 0;
    border-radius: 15px;
  }

  .topic_app {
    color: #0e2431;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 0;
  }

  .android {
    height: 22px;
    display: flex;
    border: none;
    align-items: center;
    padding-right: 5px;
  }

  /* Swipe Animated */
  .tag-list li {
    padding: 10px;
    background: #002333;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem -0.25rem var(--clr-primary-900);
  }

  body.dark .tag-list li {
    padding: 10px;
    background: #5f6061;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem -0.25rem var(--clr-primary-900);
  }

  /*Cv Button*/
  .buton {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 18px;
    margin-top: 20px;
    border-radius: 10px;
    background-color: #002333;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .buton .icon {
    font-size: 14px;
    color: #fff;
    margin-right: 10px;
    display: none;
  }

  .cvdown {
    margin-right: 8px;
    text-align: center;
    font-size: 14px;
  }

  .icon.check {
    font-size: 14px;
    margin-right: 7px;
    border-radius: 50%;
  }

  .buton .btn-text {
    font-size: 15px;
    font-weight: 400px;
    color: #fff;
  }

  .buttons .item {
    padding: 5px 15px;
    font-size: 14px;
  }

  .wrapper {
    max-width: 355px;
    margin: -10px auto -15px auto;
    padding-bottom: 20px;
  }

  .skills .skills-details .experience {
    margin: 25px 100px;
  }

  .skills-details .boxes {
    margin-top: -50px;
    margin-left: 50px;
  }

  section .topic {
    color: #0e2431;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
  }

  .skills .content {
    padding: 0 0 40px 0;
  }

  .skill-per .tooltip {
    font-size: 9px;
  }

  section .title span {
    font-size: 22px;
  }

  .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;
    margin-top: 0;
    background: #5372f0;
  }

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