/* Contact Page Styles */
body.contact-page {
  position: relative;
  height: auto;
  overflow: auto;
  background-color: #1D1D1D;
  color: #f1f1f1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation - override for dark theme */
.contact-page #nav,
.contact-page .contact-nav-bar {
  position: relative;
  z-index: 99;
}

.contact-page #la,
.contact-page #la span,
.contact-page #n-r a,
.contact-page .n-t {
  color: #f1f1f1;
}

.contact-page #n-r .u-link::after {
  background-color: #f1f1f1;
}

/* Main Content */
.contact-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(2rem, 5vw, 6rem);
  text-align: center;
}

.contact-label {
  font-size: clamp(1rem, 1.5vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: clamp(1.5rem, 3vw, 4rem);
  text-transform: uppercase;
  color: #888;
}

/* Email Section */
.contact-email-section {
  margin-bottom: clamp(4rem, 8vw, 10rem);
}

.contact-email-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.email-line {
  display: block;
  font-size: clamp(2.5rem, 8vw, 12rem);
  font-weight: 600;
  letter-spacing: clamp(-0.05em, -0.02em, 0);
  line-height: 1.1;
  position: relative;
  text-transform: uppercase;
  overflow: hidden;
  padding-bottom: 0.15em;
}

.email-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(0.2rem, 0.5vw, 0.6rem);
  background-color: currentColor;
  transform: translateX(0);
}

.contact-email-link:hover .email-line::after {
  animation: slideLeftToRight 0.5s ease-in-out;
}

/* Social Section */
.contact-social-section {
  margin-bottom: clamp(2rem, 5vw, 6rem);
}

.contact-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 2rem);
}

.social-link {
  display: inline-block;
  font-size: clamp(2.5rem, 7vw, 10rem);
  font-weight: 600;
  letter-spacing: clamp(-0.05em, -0.02em, 0);
  line-height: 1.1;
  text-decoration: none;
  color: inherit;
  position: relative;
  text-transform: uppercase;
  overflow: hidden;
  padding-bottom: 0.15em;
}

.social-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(0.2rem, 0.5vw, 0.6rem);
  background-color: currentColor;
  transform: translateX(0);
}

.social-link:hover::after {
  animation: slideLeftToRight 0.5s ease-in-out;
}

/* Footer - same as home/projects but with dark theme colors */
.contact-footer-bar {
  padding: clamp(2rem, 4vw, 4rem);
}

.contact-footer-bar .cdt {
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  color: #f1f1f1;
}

.contact-footer-bar .ro-s {
  gap: clamp(1rem, 2vw, 2rem);
}

.contact-footer-bar .ro-s a {
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  color: #f1f1f1;
}

.contact-footer-bar .u-link::after {
  background-color: #f1f1f1;
}

/* Override noise for dark background */
.contact-page .noise-overlay {
  mix-blend-mode: soft-light;
  opacity: 0.3;
}

/* Animation for underline slide left to right */
@keyframes slideLeftToRight {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(100%);
  }
  51% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
