@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200;300;400;500;600&family=DM+Sans:wght@400;600&display=swap');

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  gap: 40px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar .logo {
  max-height: 50px; /* ya da istediğin yüksekliğe göre ayarla */
  height: auto;
  width: auto;
  object-fit: contain;
}
.logo {
  max-height: 50px;
  margin-right: 12px;
}

.brandLogo {
  font-family: 'Unbounded', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #000000; /* Ana mavi */
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: default;
  transition: transform 0.3s ease, color 0.3s ease;
}
.brandLogo {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  margin-right: auto; 
}

.brandLogo:hover {
  color: #1d35cc;
  transform: scale(1.05);
}

.navbar nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #1e1e1e;
  font-weight: 500;
}
.navlink {
  color: #1e1e1e;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.navlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #000; 
  transition: width 0.3s ease;
}

.navlink:hover::after {
  width: 100%;
}

.navbar .actions {
  display: flex;
  gap: 12px;
}

.buttonPrimary {
  background-color: #e5385d;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.buttonOutline {
  background-color: white;
  color: #2e4fff;
  border: 2px solid #2e4fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.buttonDemo{
  background-color: #e86815;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}
.buttonDemo,
.buttonOutline,
.buttonPrimary {
  text-decoration: none !important;
  transition: transform 0.2s ease;
}

.buttonDemo:hover {
  background-color: #cf590f;  /* Hoverda biraz daha koyu turuncu */
  transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
}

.buttonOutline:hover {
  background-color: #f0f0f0; /* Hoverda biraz daha açık gri */
  transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
}

.buttonPrimary:hover {
  background-color: #d42f4c; /* Hoverda biraz daha koyu pembe */
  transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
}

#language-select {
  padding: 6px 8px;
}
.dropdown {
    z-index: 999;
    margin: 0 1rem;
    position: relative;
    display: inline-block;
}
.dropbtn {
    background-color: white;
    width: 3rem;
    padding: 10px;
    font-size: 16px;
    border: 1px solid var(--form-border);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.05);
    transition: box-shadow 0.2s;
}
.dropbtn img {
    width: 30px;
    height: auto;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 60px;
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}
.dropdown-content a {
    background-color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    color: var(--font-dark);
    font-size: 1rem;
    transition: background 0.2s;
}
.dropdown-content a img {
    width: 30px;
    height: auto;
}
.dropdown-content a:hover {
    background: #f1f3f4;
}
.dropdown:hover .dropdown-content {
    display: block;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #1e1e1e;
  z-index: 1001;
}

/* Mobile menu wrapper */
.navContent {
  display: flex;
  flex-direction: column;
  width: 100%;
}


@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
  }

  .hamburger {
    display: block;
  }

  .navContent {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    flex-direction: column;
    gap: 16px;
  }

  .navContent.show {
    display: flex;
  }

  .navbar nav,
  .navbar .actions,
  .navbar .dropdown {
    width: 100%;
    align-items: flex-start;
  }

  .navbar nav a,
  .navbar .actions a {
    width: 100%;
    display: block;
  }
}

@media (min-width: 769px) {
  .navContent {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: static !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .navLinks,
  .actions,
  .dropdown {
    all: unset; /* önceki mobil stilleri temizle */
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .actions a {
    width: auto !important;
  }
}
