/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.main-container {
  display: flex;
  height: 100vh;
}

.section {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s ease-in-out;
  z-index: 1;
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(35%);
  transition: filter 0.5s ease, transform 0.6s ease;
  z-index: 0;
}

.section:hover .bg-image {
  filter: brightness(20%);
  transform: scale(1.1);
  z-index: 1;
}

.section:hover {
  flex: 3;
  z-index: 2;
  transition: flex 0.6s ease-in-out;
}

.text-box {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

.text-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.text-box p {
  font-size: 1.25rem;
}

/* Logo centrale */
.logo-section {
  width: 300px;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.logo-section img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

/* Link style */
a, a:visited, a:hover, a:focus {
  text-decoration: none !important;
  color: white !important;
  outline: none !important;
}

.zoom-effect {
  transform: scale(1.1) rotate3d(1, 1, 0, 5deg);
  transition: transform 1.8s cubic-bezier(0.25, 1, 0.3, 1);
}