/* === Genel Ayarlar === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f1f2;
  color: #08306b;
  min-height: 150vh;
}

/* === Navbar === */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.logo {
  height: 45px;
  width: auto;
}

/* === Menü (Home / Contact) === */
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: #08306b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #1565bc;
}

/* === Dil Butonları === */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.2rem; /* sağ boşluğu azalttık */
  transform: translateX(-70px); /* butonları 50 px sola kaydırır */
}


.lang-switch a {
  text-decoration: none;
}

.lang-switch button {
  background-color: #1565bc;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.1s ease-in-out;
}

.lang-switch button:hover {
  background-color: #004d40;
  transform: scale(1.05);
}

/* Aktif dil butonu */
.lang-switch button.active {
  background-color: #08306b;
  cursor: default;
  transform: none;
}

/* === Hero === */
.hero {
  margin-top: 80px;
  height: 100vh;
  background: url('images/Expat-insider.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 101, 188, 0.75);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: #f0f1f2;
  color: #1565bc;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn:hover {
  background-color: #ffffff;
}

/* === About & Contact === */
.about,
.contact {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.contact {
  background-color: #e0e3e7;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

/* Görünür olunca animasyon */
.contact.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Footer === */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #08306b;
  color: white;
  margin-top: 2rem;
}


@media screen and (max-width: 768px) {
  nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.8rem 0 !important;
    height: auto !important;
    gap: 0.6rem !important;
  }

  .nav-left, .nav-center, .nav-right {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .logo {
    height: 40px;
    margin-bottom: 0.5rem;
  }

  .nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    padding: 0;
    margin: 0;
  }

  .nav-menu li a {
    color: #08306b;
    text-decoration: none;
    font-size: 1rem;
  }

  .lang-switch button {
    background-color: #1565bc;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
  }
}



@media (max-width: 768px) {
  .nav-right {
    justify-content: flex-end !important;
    margin-right: 1,1rem !important;   /* sağa hizalama */
    gap: 0.4rem !important;
  }

  .lang-switch button {
    padding: 3px 7px !important;
    font-size: 0.7rem !important;
    border-radius: 4px !important;
  }
}



