/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8;
}

a {
    text-decoration: none;
    color: inherit;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;  
}

p {
    text-decoration: none;
    color: inherit;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;  
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;  
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 5px 10px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav .logo img {
  height: 60px; /* Logo'nun yüksekliğini belirleyin */
  margin-top: 2%;
  margin-left: 10%;
  width: auto; /* Genişliği otomatik olarak ayarlansın */
}

.nav-links {
  list-style: none;
  display: flex;
  margin-right: 25rem;
  text-align: center;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  padding: 8px 15px;
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;  
}

.nav-links a:hover {
  background-color: #fff;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 230px;
  z-index: 1;
}

.dropdown-content a {
  padding: 12px 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;  
  display: block;

}

.dropdown-content a:hover {
  background-color: #F5F5F5;
}

.dropdown-content li a:hover {
  background-color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}


/* Overlay (karartma alanı) */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Yarı şeffaf siyah arka plan */
  display: none; /* Başlangıçta gizli */
  z-index: 400; /* Menü arkasında kalacak şekilde */
}

.hamburger {
  display: none;
  font-size: 40px;
  margin-right: 3%;
  color: #000;
  padding-bottom: 2%;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 8%;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 500;
}

.mobile-menu.active {
  display: block;
  left: 0; /* Move to the left side of the screen when active */
}


.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  text-align: center;
  border-top: 1px solid #f4f4f4;
}

.mobile-nav-links a {
  display: block;
  color: black;
  text-decoration: none;
  padding: 15px;
}

.mobile-nav-links button a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 15px;
}

.mobile-nav-links a:hover {
  background-color: #f4f4f4;
}

@media screen and (max-width: 1024px) {
  .nav-links {
    display: none; /* Hide the default navigation */
  }

  .hamburger {
    display: block;
  }

  .mobile-menu.active {
    display: block; /* Show mobile menu when active */
  }

  .mobile-nav-links li button {
    padding: 12px 20px;
    width: 100%;
    background-color: #007BFF;
    border: none;
    color: white;
    cursor: pointer;
    text-align: center;
  }

  .mobile-nav-links li button:hover {
    background-color: #3E9BFF;
  }

  .dropdown-content {
    position: static; /* Make dropdown menu stack below the button on mobile */
    display: none; /* Hide dropdown by default on mobile */
    width: 100%;
  }

  .dropdown.active .dropdown-content {
    display: block; /* Show dropdown on click */
  }
}

/* Section1 */
#section {
  padding: 50px 20px;
  text-align: left;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  color: white;
}

#section h2 {
  font-size: 2rem;
  margin-bottom: 5px;
  margin-top: 25%;
  margin-left: 5%;
}

#section p {
  font-size: 1rem;
  margin-bottom: 5px;
  margin-right: 12%;
  padding: 10px;
  border-radius: 8px;
  margin-left: 5%;
}

.SectionButton {
  display: inline-block;
  padding: 12px 30px; /* Butonun içindeki boşluklar */
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* Yazı rengi */
  background-color: transparent; /* Şeffaf arka plan */
  border: 2px solid #fff; /* Kenarlık çizgisi */
  border-radius: 1px; /* Kenarlara yuvarlaklık */
  text-align: center;
  text-decoration: none; /* Altı çizili olmaması için */
  transition: all 0.3s ease; /* Geçiş efekti */
  margin-left: 6%;
}






/* Genel Footer Stili */
footer {
  background-color: #173A5F; /* Koyu gri arka plan */
  padding: 20px;
  font-family: 'Roboto', sans-serif;
  text-align: left;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  min-width: 100%;
  margin: 0 auto;
}

.footer-left, .footer-right {
  flex: 1;
  padding: 10px;
}

/* Footer left kısmı */
.footer-left h1, .footer-right h1 {
  color: #fff;
  font-size: 1.5rem;
}

.footer-left p, .footer-right p {
  margin-top: 0.5rem;
  color: #CCCCCC;
}

/* Footer right kısmındaki margin düzenlemeleri */
.footer-right {
  text-align: left;
  margin-right: 0.1rem;
  margin-left: 5rem;
}

.footer-left {
  margin-left: 1rem;
}

/* Sosyal Medya İkonlarının Stili */
.footer-icons {
  display: flex;
  gap: 20px;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.footer-icon img {
  width: 40px;  /* İkon boyutunu buradan ayarlıyoruz */
  height: 40px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-icon img:hover {
  transform: scale(1.1);  /* Hoverda biraz büyüme */
  filter: brightness(1.2); /* Hoverda biraz parlama efekti */
}

/* Mobil cihazlarda responsive düzenlemeler */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-left, .footer-right {
    flex: 1 100%;  /* Her iki alan da tam genişlikte olacak */
    text-align: center;
    margin: 10px 0;
  }

  .footer-right {
    margin-left: 0;
  }

  .footer-icons {
    justify-content: center;
    margin-top: 1rem;
  }

  .footer-icon img {
    width: 30px;  /* İkon boyutunu küçültüyoruz */
    height: 30px;
  }

  .footer-left p, .footer-right p {
    margin-top: 0.5rem;
    font-size: 0.9rem;  /* Metin boyutunu biraz küçültüyoruz */
  }
}

/* Daha küçük mobil ekranlar için */
@media (max-width: 480px) {
  .footer-left h1, .footer-right h1 {
    font-size: 1.2rem;  /* Başlıkları biraz küçültüyoruz */
  }

  .footer-left p, .footer-right p {
    font-size: 0.85rem;  /* Metin boyutunu biraz daha küçültüyoruz */
  }

  .footer-icons {
    gap: 15px;
  }

  .footer-icon img {
    width: 25px;  /* İkon boyutunu daha da küçültüyoruz */
    height: 25px;
  }

  nav .logo img {
    height: 55px; /* Logo'nun yüksekliğini belirleyin */
    margin-left: 3%;
    width: auto; /* Genişliği otomatik olarak ayarlansın */
  }
}


/* ----------------- İletişim bilgileri ----------------- */
.contact-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40rem;
}

.info-item {
  background-color: #fff;
  margin-left: 2rem;
  margin-right: 2rem;
  padding: 20px;
  width: 30%;
  text-align: center;
}

.info-item h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #333;
}

.info-item p {
  font-size: 16px;
  color: #555;
}

/* Harita */
.map {
  margin-top: 5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.map iframe {
  width: 95%; /* Sayfa genişliğine tam uyar */
  height: 500px; /* Yüksekliği istediğiniz gibi ayarlayabilirsiniz */
  border: none;
  margin-left: 2rem;
  margin-right: 2rem;
}


.map h2{
  font-size: 1.5rem;
  color: #1B63AF;
  margin-left: 5rem;
  margin-bottom: 2rem;
}