/* Navbar Container */
.navbar {
  padding: 1rem 0;
  background-color: var(--beyaz) !important;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}
.logo-img {
  height: auto;
  width: auto;
}
/* Ana Navbar Stilleri */
.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

/* Nav Item Genel */
.nav-item {
  position: relative;
  list-style: none;
}

/* Nav Link Stilleri */
.nav-link {
  display: block;
  padding: 20px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 500;
  position: relative;
}

  .nav-link:hover {
    color: red;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .nav-link:hover::after {
    width: 80%;
  }

/* Dropdown Toggle - Ok işareti için */
.dropdown-toggle::after {
  font-size: 20px;
  font-weight: bold;
  margin-left: 8px;
  vertical-align: middle;
}

/* Dropdown Menu - 1. Seviye (Aşağı açılır) */
.nav-item.dropdown > .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 240px;
  padding: 8px 0;
  margin: 0;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  list-style: none;
}

/* Dropdown Menu - 2. Seviye ve Sonrası (Sağa açılır) */
.dropdown-submenu > .dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 1000;
  display: none;
  min-width: 240px;
  padding: 8px 0;
  margin: 0;
  margin-left: 5px;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  list-style: none;
}

/* Dropdown Menu göster - Hover ile */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Submenu göster - Hover ile */
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* Dropdown Item Stilleri */
.dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 20px;
  clear: both;
  color: #333;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 6px;
  margin: 2px 8px;
  font-weight: 500;
}

  .dropdown-item:hover {
    background: transparent;
    color: red;
    transform: translateX(5px);
  }

/* Dropdown Submenu */
.dropdown-submenu {
  position: relative;
}

  /* Submenu için ok işareti - sağa bakan */
  .dropdown-submenu > .dropdown-item::after {
    content: "›";
    font-size: 24px;
    font-weight: bold;
    float: right;
    margin-left: 15px;
    line-height: 1;
    transition: all 0.3s ease;
  }

  .dropdown-submenu:hover > .dropdown-item::after {
    transform: translateX(3px);
  }

/* Animasyon efektleri */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-item.dropdown > .dropdown-menu {
  animation: slideInDown 0.3s ease;
}

.dropdown-submenu > .dropdown-menu {
  animation: slideInRight 0.3s ease;
}

/* Content Area */
.content {
  max-width: 1200px;
  margin: 50px auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

  .content h1 {
    color: #333;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .content h2 {
    color: #667eea;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .content ul {
    margin-left: 20px;
    line-height: 1.8;
  }

  .content li {
    margin-bottom: 10px;
    color: #555;
  }

  .content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
  }

.highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}

.demo-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  border-radius: 12px;
  color: white;
  margin-top: 20px;
}

  .demo-box h3 {
    margin-bottom: 10px;
  }

/* Mobile Toggle Button */
.navbar-toggler {
  display: none;
  background: none;
  border: 2px solid #667eea;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

  .navbar-toggler:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }

.navbar-toggler-icon {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #667eea;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar-toggler:hover .navbar-toggler-icon {
  background-color: white;
}
/* Mobil için - Sadece CSS ile */
@media (max-width: 991px) {
  /* Hamburger menü checkbox trick */
  #menu-toggle {
    display: none;
  }

    #menu-toggle:checked ~ .navbar-nav {
      display: flex;
    }

  /* Dropdown'lar için checkbox */
  .dropdown > input[type="checkbox"],
  .dropdown-submenu > input[type="checkbox"] {
    display: none;
  }

    .dropdown > input[type="checkbox"]:checked ~ .dropdown-menu,
    .dropdown-submenu > input[type="checkbox"]:checked ~ .dropdown-menu {
      display: block !important;
    }
}
/* Responsive - Mobil için */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 0 0 12px 12px;
  }

    .navbar-nav.show {
      display: flex;
    }

  .navbar-container {
    flex-wrap: wrap;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 15px 20px;
  }

    .nav-link::after {
      display: none;
    }

  .nav-item.dropdown > .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background-color: #f8f9fa;
    display: none;
    border-radius: 0;
  }

  .dropdown-submenu > .dropdown-menu {
    position: static;
    margin-left: 20px;
    background-color: #e9ecef;
    display: none;
    border-radius: 0;
  }

  .nav-item.dropdown.show > .dropdown-menu,
  .dropdown-submenu.show > .dropdown-menu {
    display: block;
  }

  .dropdown-submenu > .dropdown-item::after {
    content: "▼";
    font-size: 10px;
  }

  .dropdown-toggle::after {
    float: right;
  }

  .dropdown-item:hover {
    transform: translateX(0);
  }
}
