/* ========== Base (Desktop/Tablet) Styles ========== */
header {
  width: 100%;
  height: 15vh; /* 15% of the viewport height */
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.65);
  background-color: #EEEEEE; 
  z-index: 1000;
  padding: 10px 0;
}

#header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;

}

.contacts {
  display: flex;
}

.contact-item {
  margin: 20px;
  display: flex;
  padding: 10px;
  align-items: center; /* Center vertically */
}



.contact-icon, .language-icon {
  width: 32px;
  height: 32px;
  margin-right: 10px;

}

.languages {
  display: flex;
  flex-direction: row;
  align-items: center;   
}

.languages button {
  margin-right: 10px;
  padding: 10px 20px;
  font-size: 1rem;

  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  background-color: #326273;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s;  
  width: 100px;

}

.languages button:hover {
  background-color: #5C9EAD;
  color: #000;
}

#menuButton {
  display: none; /* Hidden by default, shown on mobile/tablet via media query */
  width: 50px;
  height: 50px;
  font-size: 20px;
  background-color: white;
  border: none;
  cursor: pointer;
}

/* Main content */
.banner-content {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  height: 800px; /* Example: set to 1000px; anything past is cropped */
  overflow: hidden; /* Hide anything beyond 1000px */
}

.banner-content img {
  width: 100%;
  object-fit: none; 
  height: 800px;
  display: block;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Overlay text */
.overlay-text {
  position: absolute;   
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; 
  color: #fff; 
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100px;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 5px;
}

.overlay-text h1 {
  font-size: 3rem;
  margin: 0 0 10px;
}

.overlay-text p {
  font-size: 1.5rem;
  margin: 0;
}
#navMenu {
  display: none; /* Hidden by default on mobile */
}

/* ========== Mobile/Tablet Styles ========== */
@media (max-width: 768px) {
  /* Header adjustments */
  header {
    height: auto;

    padding: 10px 0;
  }

  #header-box {
    width: 90%;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Show burger menu button on mobile */
  #menuButton {
    display: block;
    margin-left: auto; /* Keep button on the right side */
    margin-right: auto;
    margin-bottom: 10px;
    width: 100%;
    margin-top: 10px;
    background-color: #326273;
    color: #fff;
    border-radius: 10px;
  }
  #menuButton:hover {

    background-color: #326273;
    color: #fff;
  }

  /* Hide contacts by default for mobile, but allow toggling with .active */
  .contacts {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  #header-contact-div{
    display: none;
    
  }

  .contact-item {
    margin: 20px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    align-items: center; /* Center vertically */
  }

  #header-contact-div.active{
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center;  

  }

  #languages-div{
    display: none;
  }

  #languages-div.active{
    display: flex;
  }
  .languages {
    display: flex;
    flex-direction: column;
    align-items: center;   
    width: 100%;
  }
  .languages button {
    width: 100%;
    margin: 0px;

  
  }
  /* Adjust contact item spacing */
  .contact-item {
    margin: 10px 0;
    padding: 5px;
  }
  .contact-icon, .language-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    margin-bottom: 10px;
  }
  /* Languages: add some spacing */
  .languages {
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
  }
  .languages button {
    margin-bottom: 10px;
  }


  /* Adjust overlay text font sizes for smaller screens */
  .overlay-text h1 {
    font-size: 2rem;
  }
  .overlay-text p {
    font-size: 1rem;
  }
}

/* ========== Additional Content Styles ========== */
.gallery {
  display: grid;
  grid-template-columns: 1fr; /* One column on mobile, adjust as needed */
  gap: 20px;
  margin: 0 auto;
}

.gallery-item {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Wrapped images */
.wrapped-image-left {
  float: left;
  margin: 15px;
  width: 300px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.wrapped-image-right {
  float: right;
  margin: 15px;
  width: 300px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wrapped-content p {
  text-align: justify;
}

/* Footer */
footer {
  background-color: #fff;
  color: black;
}

.footer-content {
  width: 90%;
  padding: 20px 0;
  margin: 0 auto;
  text-align: center;
}
