/* --- Reset Básico e Definições de Fonte --- */
body {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.font-cormorant {
  font-family: "Cormorant Garamond", serif;
}

.font-montserrat {
  font-family: "Montserrat", sans-serif;
}

/* --- Estilos do Slideshow --- */
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-color: transparent;
  filter: brightness(0.7);
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.slide.active {
  animation: none;
  transform: rotateY(0deg);
  z-index: 2;
}

.slide.turning {
  animation: pageTurn 1.9s ease-in-out forwards;
  z-index: 3;
}

@keyframes pageTurn {
  0% {
    transform: rotateY(0deg);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    transform: rotateY(-90deg);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
  }
  100% {
    transform: rotateY(-180deg);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* --- Overlays e Conteúdo Principal --- */
.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(202, 5, 26, 0) 0%,
    rgba(202, 5, 26, 0) 60%,
    rgba(202, 5, 26, 0.4) 75%,
    rgba(202, 5, 26, 0.85) 88%,
    #ca051a 95%
  );
  pointer-events: none;
}

.content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 2rem 1.5rem;
  min-height: 100%;
}

/* --- Botões de Ação (Glassmorphism) --- */
.icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: white;
  width: 90px;
  height: 100px;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.icon-btn:active {
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
  flex-shrink: 0;
}

.icon-btn span {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.2;
  width: 100%;
}

/* --- Botões de Navegação do Slideshow --- */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* --- Elementos Decorativos e Animações --- */
.hearts-decoration {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-animation {
  animation: float 3s ease-in-out infinite;
}

.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  margin: 1rem auto;
}

.ampersand {
  font-size: 2rem;
  opacity: 0.7;
  margin: 0 0.5rem;
}

/* --- Estilos do Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

/* --- Responsividade --- */
@media (min-width: 768px) {
  .icon-btn {
    width: 110px;
    height: 115px;
    padding: 1.25rem;
  }
  .icon-btn svg {
    width: 42px;
    height: 42px;
  }
  .icon-btn span {
    font-size: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .content-wrapper {
    padding-bottom: 4rem;
  }
}
