* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-image: url(../img/buta2.png);
  background-attachment: fixed; /* Scroll edərkən şəkil sabit qalır */
  background-color: #f8f8f8; /* Əgər şəkil tam örtmürsə, fon rəngi */
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background-image: url(../img/buta2.png);

  opacity: 0.1; /* Şəffaflıq dərəcəsi */
  z-index: -1; /* Kontenti qabaqda göstərir */
}

.all-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  position: relative; /* Əgər overlay və ya pseudo-element əlavə etmək istəsək */
  background-color: rgba(255, 255, 255, 0.6); /* Yüngül ağ, şəffaf fon */
  border-radius: 15px; /* Küncləri yumşaltmaq üçün */
  padding: 2rem; /* Daxili boşluq */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); /* Qəşəng yüngül kölgə effekti */
}
.allHeader {
  background-color: #1f4e79;
  padding: 10px;
}

.header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
}
.header h1,
h2 {
  color: white;
}
.header h1 {
  font-size: 35px;
}
.header h2 {
  font-size: 20px;
}
.logo img {
  width: 200px;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #236391;
  border-radius: 5px;
}
.header-nav img {
  width: 30px;
}
.header-nav a {
  font-size: 17px;
  padding: 10px 0;
  color: white;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}
.header-nav .url {
  font-size: 17px;
  padding: 10px 0;
  color: white;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}
.headerLangDetals {
  background-color: #236391;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  padding: 10px 30px;
}
.language {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  font-size: 20px;
  text-transform: uppercase;
}
.language a {
  text-decoration: none;
  color: #fff;
}
.detals {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
}
.detals img {
  width: 25px;
}
.footer {
  background: linear-gradient(135deg, #1f4e79, #163a5a);
  color: #fff;
  padding: 60px 20px 30px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 40px;
  align-items: flex-start;
}

/* BRAND */
.footer-brand h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-brand a {
  text-decoration: none;
  color: #fff;
}

.footer-brand a:hover h2 {
  color: #cce4ff;
}

/* CONTACT */
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-contact a {
  color: #ddd;
  text-decoration: none;
  font-size: 15px;
}

.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

/* MAP */
.footer-map .map-wrapper {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* COPY */
.footer-copy {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 14px;
  color: #cfd8e3;
}

.nav-item {
  position: relative;
}

/* SUBMENU (BAĞLI HAL) */
.nav-item .submenu {
  position: absolute;
  top: 100%;
  left: 0;

  background-color: #ffffff;
  border: 1px solid #ccc;
  z-index: 999;

  /* GRID */
  display: none; /* VACİB */

  gap: 8px 20px;

  padding: 15px;
  min-width: 440px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}

/* SUBMENU LINKLƏRİ */
.nav-item .submenu a {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.nav-item .submenu a:hover {
  background-color: #f2f2f2;
  border-radius: 4px;
}

/* HOVER OLUNANDA AÇ */
.nav-item:hover .submenu {
  display: grid;
}
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}
.burger-menu span {
  width: 30px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: 0.3s;
}
.burger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
}
.burger-menu.active span:nth-child(2) {
  opacity: 0;
}
.burger-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
}

@media (max-width: 768px) {
  .footer-container {
    display: block;
  }
  .map-wrapper {
    margin: 30px 0;
  }

  .logo img {
    width: 80px;
  }
  .header h1 {
    font-size: 18px;
  }
  .header h2 {
    font-size: 12px;
  }
  .burger-menu {
    display: flex;
  }

  .header-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-item .submenu {
    position: static;
    display: none;
    background: #1f4e79;
  }

  .nav-item.active .submenu {
    display: block;
  }

  .nav-item .submenu a {
    color: white;
  }
}
@media (max-width: 768px) {
  .detals {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
  }
  .header-nav {
    flex-direction: column;
    align-items: flex-start;
    display: none; /* Başlanğıcda gizlət */
    width: 100%;
  }

  .header-nav.active {
    display: flex; /* Burger klikləyəndə göstər */
  }

  .nav-item .submenu {
    position: static;
    display: none; /* Başlanğıcda gizlət */
    width: 100%;
    background: #1f4e79;
  }

  .nav-item.active .submenu {
    display: block; /* Klikləyəndə submenu açılır */
  }

  .nav-item a {
    width: 100%;
    padding: 10px;
    color: white;
  }

  .nav-item .submenu a {
    color: white;
    padding-left: 20px;
  }
}
