/* RESET FULL SCREEN */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* CONTAINER */
#entry-filter {
  display: flex;
  width: 100vw;
  height: 100vh;
  font-family: 'Montserrat', sans-serif;
  position: relative; /* pour placer les flags */
}

/* PANELS */
.entry {
  position: relative;
  width: 50%;
  height: 100%;
  transition: all 0.6s ease;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  cursor: pointer;
}

.entry-private {
  background-image: url('../img/private-kitchen.png');
}

.entry-business {
  background-image: url('../img/business-cnc.png');
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 1;
}

/* CONTENT */
.content {
  position: relative;
  z-index: 2;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.content h2 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 12px;
}

.content p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 24px;
  max-width: 420px;
}

/* BUTTON */
.btn.ghost {
  border: 1.5px solid #fff;
  padding: 10px 26px;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn.ghost:hover {
  background: #fff;
  color: #000;
}

/* LOGO DIVIDER */
.entry-divider {
  position: relative;
  width: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.entry-divider img {
  position: absolute;
  width: 90px;
  height: 90px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  padding: 18px;
}

/* DESKTOP HOVER */
#entry-filter.hover-private .entry-private {
  width: 60%;
  filter: grayscale(0%);
}

#entry-filter.hover-private .entry-business {
  width: 40%;
}

#entry-filter.hover-business .entry-business {
  width: 60%;
  filter: grayscale(0%);
}

#entry-filter.hover-business .entry-private {
  width: 40%;
}

/* LANGUAGE SWITCHER */
.language-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 20; /* toujours au-dessus */
 
}

.language-switcher img {
  width: 25px;
  height: 25px;
  cursor: pointer;
  border-radius: 50px;
  transition: transform 0.3s;
   background-color: #fff;
  
}

.language-switcher img:hover {
  transform: scale(1.1);
}

/* MOBILE */
@media (max-width: 768px) {

  #entry-filter {
    flex-direction: column;
  }

  .entry {
    width: 100%;
    height: 50%;
    filter: grayscale(0%);
    transition: none !important; /* désactiver l'animation mobile */
  }

  /* MOBILE ACTIVE STATES */
  #entry-filter.mobile-private .entry-private {
    height: 70%;
  }

  #entry-filter.mobile-private .entry-business {
    height: 30%;
  }

  #entry-filter.mobile-business .entry-business {
    height: 70%;
  }

  #entry-filter.mobile-business .entry-private {
    height: 30%;
  }

  .entry-divider {
    display: none;
  }

  /* language switcher mobile */
  .language-switcher {
    top: 8px;
    right: 8px;
  }
  
}
