/*
 * FHPB Page Styles  
 * Page-specific styles that don't fit in components
 */

/* ===== Landing Page Styles ===== */
.landing-header {
  position: relative;
  background-color: black;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
  padding-bottom: 2em;
}

.landing-header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: var(--z-background);
  transform: translateX(-50%) translateY(-50%);
}

.landing-header .container {
  position: relative;
  z-index: var(--z-content);
}

.landing-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.45;
  z-index: var(--z-overlay);
}

.landing-header a {
  color: white;
}

.landing-header a:visited {
  color: #ccc;
}

.landing-header a:visited:hover,
.landing-header a:hover {
  color: #28a745;
}

/* Landing page animations */
#tagline3 {
  animation: fallIn 0.75s linear 1.5s 1 normal forwards;
  opacity: 0;
}

@keyframes fallIn {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Form Page Styles ===== */
.form-page {
  background-color: var(--bg-form);
}

.form-container {
  padding: 2rem 0;
}

/* ===== Trophy Page Styles ===== */
.trophy-page {
  background-image: url('/images/trophy-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

/* ===== Error & Status Pages ===== */
.error-page {
  text-align: center;
  padding: 4rem 0;
}

.error-page .error-code {
  font-size: 6rem;
  font-weight: 300;
  color: #6c757d;
}

/* ===== Legal Pages (Terms, Privacy) ===== */
.legal-page {
  background-color: var(--bg-form);
  padding: 2rem 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.legal-content h1 {
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #495057;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 767px) {
  .landing-header {
    min-height: 20rem;
  }
  
  .form-container {
    padding: 1rem 0;
  }
  
  .legal-content {
    margin: 0 1rem;
    padding: 1.5rem;
  }
  
  .error-page .error-code {
    font-size: 4rem;
  }
}