/* 
   Full Footer Skill CSS 
   Centrally managed in Skills/footer.css
*/

.footer-story {
  position: relative;
  height: 300vh;
  background: #000;
  margin-top: 0; /* Removed gap */
}

.footer-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.footer-frame-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(248, 244, 235, 0.28);
  border-top-color: var(--amber, #f2ae58);
  background: rgba(5, 8, 10, 0.34);
  z-index: 8;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  animation: footerFrameLoaderSpin 0.85s linear infinite;
}

.footer-frame-loader.is-visible {
  opacity: 0.9;
}

@keyframes footerFrameLoaderSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.footer-keyframes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer-keyframes img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform 0.1s linear;
}

.footer-copy {
  position: relative;
  z-index: 5;
  pointer-events: none;
}

.footer-beat {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%; /* Slightly more space */
  max-width: 1200px; /* Increased from 1000px */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-beat .kicker {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--amber, #f2ae58);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.footer-beat h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: white;
  margin: 0 0 24px 0;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.footer-beat .scene-text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px; /* Increased from 600px */
}

.footer-end {
  position: relative;
  z-index: 10;
  background: #000;
  padding: 120px clamp(24px, 6vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: -1px; /* Overlap to prevent sub-pixel gaps */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-info h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 700;
  color: white;
}

.footer-info .scene-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.contact-form {
  display: grid;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--amber, #f2ae58);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  outline: none;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #f2ae58;
  background: rgba(255, 255, 255, 0.08);
}

.btn-submit {
  padding: 20px;
  background: #f8f4eb;
  color: #05080a;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-submit:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.legal-footer {
  margin-top: 100px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.legal-links {
  display: flex;
  gap: 32px;
}

.legal-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: #f2ae58;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
