section.background .container.eleven {
  position: absolute;
  top: 1000dvh; 
  height: 100dvh;
  width: 100%;
}

section.third .container.eleven {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100dvh;
  width: 100%;
  max-width: 2000px;
  display: flex;
  opacity: 0; /* Hidden initially */
  pointer-events: none;
  flex-direction: column;
  box-sizing: border-box;
  color: #ffffff;
}

.container.eleven .back {
  overflow: hidden;
}

.container.eleven .back .scene-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Glass wrapper for the footer content, reusing the .front glass treatment */
.front.eleven {
  position: absolute;
  top: 50%;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 640px;
  min-width: unset;
  height: auto;
  min-height: unset;
  max-height: none;
  overflow: visible;
  padding: 60px 20px 40px;
  box-sizing: border-box;
}

.social-media, .sitemap, .logo-copyright {
  display: block;
  width: 100%; 
  text-align: center;
  padding: 20px; 
  /* background-color: #75706941; */
}

.cabana-logo-sun {
  width: 15rem;
  height: auto;
  margin-right: 10px;
}

.logo-copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.logo-copyright-images {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: auto;
  gap: 50px;
  margin-bottom: 30px;
}

.logo-copyright img {
  height: 30px;
  width: auto;
  flex: none;
  max-width: 150px;
  object-fit: contain;
}

.logo-copyright p {
  font-size: 0.9rem;
  font-weight: 400;
}

.logo-copyright a {
  color: inherit; 
  text-decoration: none;
}

.logo-copyright a:hover {
  opacity: 0.8; 
}

.logo-copyright a:visited {
  color: inherit; 
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 0.75;
}

.sitemap {
  padding-bottom: 0px; 
}

.sitemap ul {
  list-style: none;
  padding: 20px;
  display: inline-block; 
  vertical-align: top;
  text-align: left;
  font-size: .9rem;
  line-height: normal;
}

.sitemap li {
  margin: 5px 0;
  /* background-color: #fbedde; */
  line-height: 1;

}

.sitemap a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: block;
  padding: 8px 0;
  line-height: 1.2;
}

.sitemap a:hover {
  opacity: 0.75;
}

.sitemap .sitemap-link {
  color: #ffffff;
  text-decoration: none;
  display: block;
  padding: 0;
}

.sitemap .sitemap-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.footer-logo {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.linco-logo {
  filter: brightness(0) invert(1);
}

.footer-divider {
  width: 70%;
  max-width: 340px;
  border: none;
  border-top: 2px solid #ffffff;
  margin: 0px auto 10px auto;
  opacity: 0.4;
}

.container.eleven .sitemap .nav-link {
  /* footer visual styles only — stronger selector than .nav-link */
  color: #ffffff;
  background: transparent;
  text-decoration: none;
  padding: 6px 0;
  display: block;
}

@media (max-width: 1024px) {
  .front.eleven {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    height: 100dvh;
    min-height: unset;
    border-radius: 0;
    padding: calc(100px + env(safe-area-inset-top)) 20px 30px;
    justify-content: center;
  }

  .front.eleven::before {
    border-radius: 0;
  }

  .cabana-logo-sun {
    width: clamp(6rem, 40vw, 12rem);
    margin-right: 0;
  }
}
