/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Header styling */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  z-index: 1000;
  color: black;
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Logo and title */
.logo-title {
  display: flex;
  align-items: center;
}

.logo {
  max-width: 60px;
  height: auto;
  margin-right: 15px;
}

.site-title {
  font-weight: 600;
  font-size: 18px;
  color: burlywood;
}

/* Navigation */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: burlywood;
  font-size: 20px;
  transition: color 0.3s ease;
  padding: 5px;
}

.nav-links li a:hover {
  color: #ffd700;
}

/*This whole section is for language buttons*/

.lang-btn {
  background-color: burlywood;
  border: none;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffd700;
}

/* Language switcher in header when scrolled */
.site-header.scrolled .lang-btn {
  border: 1px solid #333;
  color: #333;
}

.site-header.scrolled .lang-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: #666;
}

.site-header.scrolled .lang-btn.active {
  background: #333;
  color: white;

}

/*Language button sections*/

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 15px 20px;
  }

  .nav-links {
    margin-top: 10px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links li a {
    color: burlywood;
  }

  .language-switcher {
    position: static;
    order: -1;
    margin-bottom: 10px;
    justify-content: center;
    width: 100%;
  }

  .lang-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .language-switcher {
    gap: 3px;
  }

  .lang-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* ===== Burger Menu Styles ===== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 2000;
}

.burger div {
  width: 100%;
  height: 3px;
  background-color: burlywood;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation for burger toggle */
.burger.toggle div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.toggle div:nth-child(2) {
  opacity: 0;
}

.burger.toggle div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Mobile Header & Nav Slide ===== */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .site-header {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
  }

  .logo-title {
    margin-left: 15px;
  }

  /* Hide nav initially */
  .site-nav {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    padding-top: 80px;
  }

  /* Slide-in active state */
  .site-nav.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    text-align: left;
    padding-left: 25px;
  }

  .nav-links li a {
    font-size: 16px;
    color: burlywood;

  }

  .language-switcher {
    justify-content: flex-start;
    margin-left: 25px;
  }
}

/* Footer styling */
footer {
  background-color: #ffffff;
  text-align: center;
  padding: 5px;
  border-top: 1px solid #ddd;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

footer p {
  margin: 0;
  color: #000;
  font-size: 14px;
  text-align: center;
  flex-grow: 1;
}

.footer-logo {
  max-width: 100px;
  width: 60px;
  height: auto;
}