* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0; padding: 0;
  background: #cccbcb;
  color: #333;
}

header {
  background: #ffffff;
  padding: 10px 0;
  text-align: center;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav .logo img {
  height: 80px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  margin: 0; padding: 0;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

.hero-banner {
  text-align: center;
  max-width: 100%;
  max-height: 100%;

}

.hero-banner .hero-image {
  max-width: 100%;
  height: auto;
}


section {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
}

.container {
  flex: 1;
  margin: 40px auto;
  max-width: 600px;
  padding: 20px;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  width: 90%; /* mobilde kapsayıcıyı genişlet */
}

h2 {
  border-bottom: 2px solid #0a74da;
  padding-bottom: 8px;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin: 10px 0 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #636262;
  border-radius: 4px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  margin-top: 15px;
  padding: 12px;
  background: #00509e;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.contact-form button:hover {
  background: #003366;
}

footer {
  text-align: center;
  padding: 20px;
  background: #003366;
  color: white;
  margin-top: 40px;
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    justify-content: center; /* Menü ortalanır */
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin-top: 10px;
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }

  nav .logo img {
    height: 60px; /* Logo küçült */
    margin-bottom: 10px;
  }
}