* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #f3f2f2;
  margin: 0;
  padding: 0;
}
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.wrapper.background-img {
  flex: 1;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.AMEAlogo {
  width: 135px;
}
.header {
  display: flex;
  gap: 30px;
  margin: 15px 0;
  align-items: center;
}
.header-text h1 {
  color: #a62321;
  font-size: 28px;
  font-weight: 700;
  line-height: 33.6px;
}
.header-text p {
  color: #a62321;
  font-size: 16px;
  font-weight: 400;
}
.header-nav {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-around;
  border-radius: 5px;
  align-items: center;
  background-color: #0c1a6b;
  padding: 0 30px;
  font-family: Arial, sans-serif;
  height: 60px;
  z-index: 1000;
}

.navLogo {
  display: none;
  position: relative;
  z-index: 1001;
}

.headerItem {
  text-decoration: none;
  position: relative;
  padding: 10px 25px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.headerItem:hover {
  background-color: #16257f;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0c1a6b;
  min-width: 220px;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  z-index: 99999;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  font-weight: normal;
}

.dropdown-content a:hover {
  background-color: #1f2d85;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
  display: block;
  opacity: 1;
  visibility: visible;
}

.arrow-icon {
  width: 15px;
  height: auto;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.dropdown:hover .arrow-icon {
  transform: rotate(180deg);
}
.footer {
  background-color: #0c1a6b;
  color: #fff;
  padding: 40px 20px;
}

.footer .footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer .footer-container .footer-column {
  flex: 1;
  min-width: 180px;
  margin: 10px;
}

.footer .footer-container .footer-column h2,
.footer .footer-container .footer-column h3 {
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.footer .footer-container .footer-column h2::after,
.footer .footer-container .footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #ffd700;
  transition: width 0.3s ease;
}

.footer .footer-container .footer-column h2:hover::after,
.footer .footer-container .footer-column h3:hover::after {
  width: 100%;
}

.footer .footer-container .footer-column p {
  margin: 0;
  color: #ccc;
  font-size: 14px;
}

.footer .footer-container .footer-column ul {
  list-style: none;
  padding: 0;
}

.footer .footer-container .footer-column ul li {
  margin-bottom: 5px;
}

.footer .footer-container .footer-column ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  position: relative;
}

.footer .footer-container .footer-column ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #ffd700;
  transition: width 0.3s ease;
}

.footer .footer-container .footer-column ul li a:hover::after {
  width: 100%;
}

.footer .footer-container .footer-column ul li a:hover {
  color: #ffd700;
}

.footer .footer-copy {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
}

.burger-icon {
  display: none;
  width: 30px;
  cursor: pointer;
}
/* --- RESPONSIVLİK ÜÇÜN --- */
@media screen and (max-width: 768px) {
  .header-nav {
    justify-content: normal;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: #0c1a6b;
    flex-direction: column;
    padding-top: 60px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
  }

  .header-nav.active {
    transform: translateX(0);
  }

  .header-nav .headerItem,
  .header-nav .dropdown {
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
  }

  .header-nav .dropdown-content {
    position: relative;
    display: none;
    flex-direction: column;
    padding-left: 10px;
  }

  .header-nav .dropdown.open .dropdown-content {
    display: flex;
  }

  .burger-icon {
    display: block;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
  }

  .overlay.active {
    display: block;
  }
}
