/* Genel Ayarlar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f9fafc;
  color: #333;
}

/* Konteyner */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo kapsayıcı */
.logo {
  height: 80px; /* istediğin yükseklik */
  display: flex;
  align-items: center; /* dikey ortala */
}

/* Logo resmi */
.logo img {
  max-height: 100%;
  width: auto;
  display: block;
  transition: transform 0.7s ease; /* yumuşak geçiş */
  transform: scale(2);
}

.logo img:hover {
  transform: scale(3); /* 2 katına büyüt */
}
/* Üst Menü */
header {
  background: #004080;
  color: #fff;
  padding: 5px 0;
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: rgba(6, 134, 34, 0.559);
}

/* Hero */
.hero {
  background: url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b")
    no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 135px 20px;
  position: relative;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.55);
  padding: 60px;
  border-radius: 12px;
  display: inline-block;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  background: #ffcc00;
  color: #333;
  padding: 12px 28px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn:hover {
  background: #e6b800;
  transform: translateY(-3px);
}

/* İçerik */
.content {
  padding: 70px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.content h2 {
  color: #004080;
  margin-bottom: 35px;
  font-size: 2rem;
}

/* Kartlar */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.card a {
  color: #004080;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.05rem;
}

.card a:hover {
  text-decoration: underline;
}

/* Alt Bilgi */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 18px;
  margin-top: 50px;
  font-size: 0.9rem;
}
.whatsapp-btn {
  display: inline-block;
  background: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.whatsapp-btn:hover {
  background: #1ebe5c;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: row; /* Menü yatay kalsın */
    justify-content: space-between;
  }

  .logo img {
    height: 40px; /* Logo küçülsün */
    width: auto;
  }

  nav ul {
    gap: 10px; /* Menü araları küçülsün */
  }

  nav a {
    font-size: 0.9rem; /* Yazılar küçülsün */
  }
}

.hero h2 {
  font-size: 2rem;
}
/* Hero içindeki logo */
.hero-logo {
  text-align: left; /* sola hizalama */
  margin: 20px 0;
}

.hero-logo img {
  width: 200px;
  height: auto;
  display: block;
}
.logo img {
  height: 50px;
}
.tel {
  text-decoration: none;
}
.tel:hover {
  color: rgba(6, 134, 34, 0.559);
}

#il:hover {
  transform: translateY(-3px);
}
.f20 {
  font-size: 20px;
}
/* Hamburger simgesi */
/* Hamburger ikon çizgileri */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: auto; /* sağa yasla */
}
.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  border-radius: 3px;
}

/* Mobil */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #004080;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    padding: 15px;
    border-bottom-left-radius: 10px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);

    z-index: 999; /* BURAYA EKLE */
  }
  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}
