/* Masaüstü/Mobil görünüm kontrolleri */
.mobile-only {
  display: none;
}

/* Masaüstü görünümü için navbar stilleri (değiştirilmeden) */
@media (min-width: 769px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu li {
    padding: 10px 15px;
  }

  .dropdown-menu li:hover {
    background-color: #f5f5f5;
  }
}

/* Mobil görünüm için yeni stiller */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .hamburger {
    display: block !important;
    z-index: 9999;
  }

  .hamburger:hover {
    color: #1d4aaa;
  }

  .hamburger.active {
    color: #1d4aaa;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 1000;
  }

  .nav-links.active {
    display: block;
  }

  .nav-links li {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links li a {
    display: block;
    padding: 15px 25px;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
  }

  .nav-links li a:hover {
    background: rgba(29, 74, 170, 0.1);
    color: #1d4aaa;
    padding-left: 30px;
  }
}

/* Hamburger menü temel stilleri */
.hamburger {
  display: none;
  cursor: pointer;
  margin-right: 20px;
  font-size: 24px;
  color: #000000;
}

/* Hamburger menü açıkken arka plan rengi */
.nav-links.active {
  background-color: rgba(29, 74, 170, 0.9);
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 1rem 0;
}

/* Hamburger menü açıkken nav-links içindeki a etiketleri için stil */
.nav-links.active li a {
  background-color: rgba(29, 74, 170, 0.8);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
}

/* Hover durumu için */
.nav-links.active li a:hover {
  background-color: rgba(29, 74, 170, 1);
  color: white;
}

/* Dropdown menü stilleri */
.dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.dropdown-menu.active {
  display: block;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float i {
  margin-top: 0;
  color: #fff;
}

/* Mobil cihazlar için düzenleme */
@media screen and (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}
