@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  scroll-behavior: smooth;
}
/* Navbar Styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background-color: #f2f2f2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: fixed;
  z-index: 1000;
  width: 100%;
}
.logo {
  height: 50px;
  width: 200px;
  background-image: url("logo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.navbar {
  width: 60%;
}
nav .navbar a {
  text-decoration: none;
  margin: 0 15px;
  font-size: 18px;
  color: #333;
}
nav .navbar a:hover {
  color: #008083;
}
.navbar a#active {
  color: #008083;
}
.lang-menu{
  position: absolute;
  right: 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  top: 20%;
  padding: .5rem;
}
.toggle-lang i{
  font-size: 2rem;
}
.toggle-lang i:hover{
  color: #008083;
}
.lang-details{
  display: none;
}
.lang-details.active{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: .5rem;
  background-color: #f2f2f2;
  padding: .8rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 1rem 0 1rem 1rem;
  height: 100px;
}
.lang-details a{
  text-decoration: none;
  color: #333;
  font-size: 1rem;
}
.lang-details a:hover{
  color: #008083;
}
.lang-details a#active{
  color: #008083;
}
.intro {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  gap: 2rem;
  height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)),
    url("background-img2.jpg");
  background-size: cover;
  background-position: center;
}

.intro-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
}
.intro-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #fff;
}
.expl {
  text-decoration: none;
  padding: 10px 20px;
  background-color: #008083;
  color: #fff;
  border-radius: 0.7rem;
  font-size: 1rem;
}
.expl:hover {
  background-color: #006666;
  transition: background-color 0.3s ease;
}
.doors-navbar {
  display: flex;
  align-self: center;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  bottom: -30%;
  position: relative;
  padding: .5rem;
}
.doors-navbar a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 5px;
  padding: 5px 10px;
}
.doors-navbar a:hover {
  color: #008083;
  border-bottom: 2px solid #008083;
  transition: all 0.3s ease-in-out;
}
.doors-navbar a.active {
  color: #008083;
  border-bottom: 2px solid #008083;
}
.doors {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  z-index: 1;
}
.items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem;
  width: 100%;
  z-index: 1;
}
.item {
  width: 400px;
  height: 700px;
  border: 1px solid #ddd;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.item:hover {
  transform: translateY(-10px);
}

/* show only the first image inside .slider */
.slider img {
  display: none !important;
}
.slider img:first-child {
  display: block !important;
  width: 100%;
  height: 100%;
}
.slider {
  width: 100%;
  height: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.item-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 40%;
}
.item-text h3 {
  font-size: 1.7rem;
  margin: 10px;
  color: #333;
}
.item-text p {
  font-size: 1rem;
  margin: 10px;
  color: #555;
}
.view {
  font-size: 1rem;
  color: #555;
  font-weight: bold;
  border: none;
  border: 1px solid #555;
  align-self: center;
  padding: 10px 20px;
  border-radius: 1rem;
  background-color: #fff;
  width: 50%;
}
.item.expanded {
  position: fixed;
  top: 15%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 80%;
  z-index: 1000;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.item.expanded .view {
  width: auto;
  padding: 10px 20px;
  border-radius: 1rem;
  background-color: #008083;
  color: #fff;
  border: none;
  align-self: flex-start;
  margin-left: 1rem;
  margin-bottom: 0;
}
/* When an item is expanded, show all images inside its slider */
.item.expanded .slider {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-x: scroll;
  scroll-behavior: smooth;
}

.item.expanded .slider img {
  display: flex !important;
  width: 100%;
  height: 100%;
  margin: 0 5px;
}

/* Footer Styles */
footer {
  background-color: #f2f2f2;
  padding: 1rem;
  text-align: center;
  font-size: 1rem;
  color: #555;
  position: relative;
  bottom: 0;
  width: 100%;
}
.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}
.footer-firstsection {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.footer-firstsection p {
  margin-bottom: 1rem;
}
.footer-linksection {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  flex-direction: column;
}
.footer-linksection div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.footer-linksection div a {
  text-decoration: none;
  color: #888;
  margin-bottom: 0.5rem;
}
.footer-linksection div a:hover {
  color: #008083;
  transition: 0.1s ease-in-out;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.footer-contact h3 {
  margin-bottom: 1rem;
  color: #333;
}
.contact-links {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  flex-direction: column;
}
.contact-links p {
  margin-bottom: 0.5rem;
  color: #555;
}
.contact-links a {
  text-decoration: none;
  color: #555;
  margin-bottom: 0.5rem;
}
.contact-links i {
  color: #555;
}
.contact-links button {
  border: none;
  font-size: 1rem;
  color: #555;
  cursor: pointer;
}
.contact-links button:hover {
  color: #008083;
  transition: 0.1s ease-in-out;
}
.footer-contact a:hover {
  color: #008083;
  transition: 0.1s ease-in-out;
}
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-direction: column;
}
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.social-links a {
  text-decoration: none;
  color: #555;
  font-size: 1.6rem;
}
.social-links a:hover {
  color: #008083;
  transition: 0.1s ease-in-out;
}

@media only screen and (max-width: 1800px) {
  .item {
    width: 350px;
    height: 750px;
  }
  .item.expanded {
    left: 20%;
    height: 80%;
    top: 17%;
    width: 65%;
  }

  .item.expanded .slider {
    height: 50%;
    overflow-x: scroll;
    scroll-behavior: smooth;
  }
  .item.expanded .slider img {
    width: 80%;
  }
  .item.expanded .item-text h3 {
    font-size: 1.2rem;
  }
  .item.expanded .item-text p {
    font-size: 0.9rem;
  }
  .item.expanded .view {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}
@media only screen and (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    width: 15%;
    margin-right: .5rem;
  }
  .logo {
    height: 40px;
    width: 150px;
  }
  .nav-menu {
    display: none;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
  }
  .nav-menu .nav-link {
    font-size: 1rem;
    padding: 0.2rem;
  }
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    opacity: 1;
    z-index: -1;
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.2);
    background-color: #f2f2f2;
  }
  .toggle-nav .bar {
    display: block;
    background-color: #333;
    width: 25px;
    height: 3px;
    margin: 5px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
  }
  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
    .lang-menu{
    right: .5rem;
  }
  .toggle-lang i{
    font-size: 1.5rem;
  }
  .intro {
    height: 90vh;
    padding: 0 1rem;
  }
  .intro-text h1 {
    font-size: 1.5rem;
  }
  .intro-text p {
    font-size: 0.8rem;
  }
  .expl {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
  .doors-navbar {
    gap: 1rem;
    position: relative;
    bottom: -30%;
  }
  .doors-navbar a{
    padding: 0;
    color: white;
  }
  .item {
    width: 300px;
    height: 600px;
  }
  .slider {
    height: 50%;
  }
  .item-text {
    height: 50%;
  }
  .item-text h3 {
    font-size: 1.5rem;
  }
  .item-text p {
    font-size: 0.9rem;
  }
  .view {
    font-size: 0.9rem;
    width: 60%;
    margin-top: 1rem;
  }
  .item.expanded {
    top: 20%;
    left: 5%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 75%;
  }

  footer {
    font-size: 0.9rem;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-firstsection,
  .footer-linksection,
  .footer-contact,
  .footer-social,
  .contact-links {
    align-items: flex-start;
  }
  .footer-contact {
    border-bottom: 1px solid black;
    width: 100%;
  }

  .footer-contact h3 {
    margin-bottom: 0.5rem;
  }
  .footer-contact a,
  .contact-links a,
  .contact-links button {
    font-size: 0.9rem;
  }
}
@keyframes dropdown {
  from {
    height: 0;
  }
  to {
    height: 120px;
  }
}

@keyframes FadeUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animation {
  opacity: 0;
}
