/* Custom overrides and animations */

/* Prevent contact section from overlapping the footer */
#contacto.section,
#contacto {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer {
  position: relative;
  z-index: 2;
}

/* Honeypot field: hidden but not display:none for accessibility */
.hidden-field {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Smooth reveal animations */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.anim.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keep essential UI visible (navbar, background video) */
.navigation-bar,
.w-nav,
.background-video,
.w-background-video,
.w-background-video-atom {
  opacity: 1 !important;
  transform: none !important;
}

/* No animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .anim {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Thank you page */
.thank-you-container {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
}

.thank-you-container h1 {
  font-family: 'Varela Round', sans-serif;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #2c3e50;
}

.thank-you-container p {
  max-width: 600px;
  margin-bottom: 30px;
  color: #666;
  line-height: 1.6;
}

.thank-you-container .button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}
