/* --- Main Body and Background --- */
body {
  background-image: url('images/background.png'); /* PNG only */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white;
  font-family: sans-serif;
  text-align: center;
  margin-top: 10vh;
}

/* Optional: smoother on mobile Safari */
@media (max-width: 768px) {
  body { background-attachment: scroll; }
}

/* --- Content Containers --- */
.content-container {
  max-width: 960px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.logo-container {
  width: 720px;
  height: 330px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid white;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#main-logo {
  height: 200px; /* default */
  width: auto;
}

.content-box {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px 40px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* --- Navigation Menu --- */
.nav-container {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 5px 25px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.site-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px 0;
  margin-top: 0;
}

.site-navigation a {
  /* predictable card so labels align */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 5px;
  width: 130px;
  min-height: 90px;
  padding: 6px 4px;
  box-sizing: border-box;
}

.site-navigation span {
  color: black;
  font-size: 0.8em;
}

.site-navigation img {
  max-height: 50px;
  max-width: 120px;
  height: auto;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.site-navigation a:hover img {
  opacity: 1;
  transform: scale(1.08);
}

/* Visible state for current site */
.site-navigation a.current-site {
  border-bottom: 2px solid #333;
  padding-bottom: 5px;
  outline: none;
  outline-offset: 0;
}

.site-navigation a.current-site img {
  opacity: 1;
  transform: scale(1.12);
}

/* delete these lines when done verifying */
/* .site-navigation a.current-site { outline: 2px solid #66aaff; outline-offset: 2px; } */

/* Desktop: keep all 7 nav items on one row */
@media (min-width: 1024px) {
  .site-navigation {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .site-navigation a {
    width: calc((100% - (7 - 1) * 10px) / 7); /* (100% - total gaps) / 7 */
    min-width: 100px;
  }
}

/* Site-specific main logo sizing (only where needed) */
body.jobforgeai #main-logo {
  height: 240px; /* fits inside 330px oval */
  width: auto;
}

/* Site-specific main logo sizing (only where needed) */
body.amoetec #main-logo {
  height: 400px; /* fits inside 330px oval */
  width: auto;
}
/* Site-specific main logo sizing (only where needed) */
body.amoetech #main-logo {
  height: 400px; /* fits inside 330px oval */
  width: auto;
}
/* Site-specific main logo sizing (only where needed) */
body.iccra #main-logo {
  height: 240px; /* fits inside 330px oval */
  width: auto;
}