/* CONTACT ONLY PAGE */

/* Transparent background + transparent navbar */
.contact-page,
.contact-page body {
  background: transparent !important;
}

.contact-page .navbar {
  background-color: transparent;
  box-shadow: none;
}

/* Page section adjustments */
.contact-page .page-section {
  padding-top: 0;
  padding-bottom: 0;
  background: transparent !important;
}

/* Layout wrapper */
.contact-full {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100vh;
  overflow: visible;
  background: transparent !important;
}

/* Video background */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: #000;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay exists in markup, but on contact-only it must be hidden */
.contact-page .bio-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: auto;
  opacity: 1 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 60px 100px;
}

/* CONTACT-ONLY: hide bio overlay + bio modal + back-link if present */
.contact-page.contact-only .bio-overlay,
.contact-page.contact-only .bio-modal {
  display: none !important;
}

.contact-page.contact-only .back-link {
  display: none !important;
}

/* Contact layout */
.contact-container {
  display: block;
  position: static !important;
}

.contact-info-full {
  position: fixed !important;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 5;
  background: transparent;
  padding: 30px 35px;
  border-radius: 12px;
  box-shadow: none;
  border: none;
  min-width: 320px;
  max-width: 90vw;
}

.contact-info-full h2 {
  color: #fff;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-details p {
  color: #fff;
}

.contact-details a {
  color: #fff;
  text-decoration: none;
}

.contact-details a:hover {
  opacity: 0.7;
}

/* Contact form */
.contact-form {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 8px 0;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 84px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: #ffd700;
}

.contact-form button {
  background: transparent;
  color: #fff;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  padding: 8px 0;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
}

.contact-form button:hover {
  color: #ffd700;
  border-bottom-color: #ffd700;
}

.contact-form-note {
  min-height: 14px;
  font-size: 10px;
  opacity: 0.7;
}

/* Footer pinned */
.contact-page footer {
  position: fixed;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 6;
  pointer-events: none;
  border-top: none;
}

/* Optional: bio modal exists in HTML but hidden on contact-only by rule above */
.bio-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100000;
}

.bio-modal.open {
  display: flex;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-info-full {
    position: static !important;
    transform: none;
    right: auto;
    top: auto;
    margin: 40px auto 0 auto;
    min-width: unset;
    width: 90vw;
    max-width: 100vw;
  }
}

@media (max-width: 768px) {
  /* contact-only mobile vertical centering */
  .contact-page.contact-only .contact-container {
    min-height: calc(100vh - 140px);
    margin-top: 140px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-page.contact-only .contact-info-full {
    margin-top: 0 !important;
    text-align: center;
    transform: translateY(-24px) !important;
  }

  .contact-page.contact-only .contact-details {
    align-items: center;
  }

  /* Also keep contact card responsive */
  .contact-page .contact-info-full {
    position: relative !important;
    margin-top: 20px;
    padding: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 92vw !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
  }

  .contact-page .contact-info-full .contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .contact-page .contact-info-full .contact-details p {
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
}

@media (max-width: 480px) {
  .contact-page.contact-only .contact-container {
    min-height: calc(100vh - 130px);
    margin-top: 130px !important;
  }

  .contact-page.contact-only .contact-info-full {
    transform: translateY(-16px) !important;
  }

  .contact-page .contact-info-full {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: clamp(6px, 2vw, 8px) !important;
    max-width: 520px !important;
    margin-top: clamp(0.4cm, 2vw, 0.6cm);
    width: 92vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .contact-page .contact-info-full .contact-details p {
    white-space: normal !important;
  }
}

@media (max-width: 375px) {
  .contact-page .contact-info-full {
    padding-left: 6vw !important;
    padding-right: 6vw !important;
  }
}
