@import url("https://fonts.cdnfonts.com/css/pp-neue-montreal");

.galleries-embedded,
.galleries-embedded * {
  font-family: var(--font-primary, "PP Neue Montreal"), sans-serif;
  color: #fff;
}

.galleries-embedded {
  position: relative;
  padding: 80px 0;
}

.galleries-container {
  padding: 75px 0;
  margin: 0 auto;
  width: min(1140px, 90vw);
  position: relative;
  z-index: 2;
}

.galleries-container h1,
.galleries-container h2 {
  position: relative;
  margin-bottom: 45px;
  font-family: var(--font-primary, "PP Neue Montreal"), sans-serif;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #f5f5f5;
}

.gallery-subtitle {
  margin: -30px 0 35px;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
}

.gallery-wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 70vh;
}

.item {
  flex: 1;
  height: 100%;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: none;
  transition: flex 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.item:hover {
  flex: 7;
}

.item-1 {
  background-image: url("../pictures/slideshows/fofto.jpg");
}

.item-2 {
  background-image: url("../pictures/slideshows/recital.jpg");
}

.item-3 {
  background-image: url("../pictures/slideshows/babel.jpg");
}

.item-4 {
  background-image: url("../pictures/slideshows/Kamil_Jade et Nadege.jpeg");
}

.item-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.9rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  pointer-events: none;
}

.social {
  position: absolute;
  right: 35px;
  bottom: 0;
}
.social img {
  display: block;
  width: 32px;
}

/* Main menu (same placement as homepage) */
.galleries-page .footer-links {
  position: fixed;
  left: var(--spacing-medium);
  bottom: var(--spacing-medium);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 20;
  background: rgba(0, 0, 0, 0.65);
  padding: 1rem 1.2rem;
  border-radius: 0.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.galleries-page .footer-link {
  position: relative;
  color: #d8d8d8;
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  font-family: "PP Neue Montreal", sans-serif;
}

.galleries-page .footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: translateY(-50%);
  transition: width var(--transition-fast), opacity var(--transition-fast);
}

.galleries-page .footer-link:hover {
  color: #ffffff;
  padding-left: 1rem;
}

.galleries-page .footer-link:hover::before {
  width: 0.8rem;
  opacity: 1;
}

.galleries-page .menu-toggle {
  display: none;
  position: fixed;
  bottom: var(--spacing-large);
  left: var(--spacing-large);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #fff;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  padding: 10px;
  cursor: pointer;
  z-index: 21;
}

.galleries-page .menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.galleries-page .menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.galleries-page .menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.galleries-page .menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .container {
    width: 100%;
    padding: 60px 20px;
  }

  .gallery-wrap {
    height: auto;
    min-height: 60vh;
  }

  .galleries-page .footer-links {
    display: none;
    background: rgba(0, 0, 0, 0.85);
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    bottom: calc(var(--spacing-large) + 3.5rem);
    left: var(--spacing-medium);
    right: var(--spacing-medium);
  }

  .galleries-page .footer-links.open {
    display: flex;
  }

  .galleries-page .menu-toggle {
    display: inline-flex;
  }
}

.header-area {
  position: fixed;
  top: var(--spacing-large);
  left: 0;
  width: 100%;
  padding: 0 var(--spacing-large);
  display: flex;
  justify-content: center;
  z-index: 10;
}

.center-logo {
  text-align: center;
  z-index: 10;
  height: 3rem;
  padding: 0.45rem 1.6rem;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#logo-image {
  height: 4.5rem;
  width: auto;
}
