/* ====================
   Contact Page Styles
   ==================== */

.contact-page {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
  color: var(--white);
}

.contact-page h1 {
  font-family: var(--font-body);
  font-size: 3rem;
  color: var(--accent-orange); /* Page highlight color */
  text-transform: lowercase;
  margin-bottom: 0.3rem;
}

.contact-page .tagline {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-white);
  margin-bottom: 3rem;
}

/* ========== Social Icons ========== */

.social-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.icon-link {
  position: relative;
  width: 64px;
  height: 64px;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.25s ease; /* new */
}

.icon-link:hover {
  transform: scale(1.1); /* slight zoom on hover */
}


.icon-link img {
  width: 100%;
  height: auto;
  max-width: 64px;
  max-height: 64px;
  display: block;
  margin: 0 auto;
}


/* SVG layers */
.icon-white,
.icon-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Start with white version visible */
.icon-white {
  opacity: 1;
  display: block;
}

/* Hide color version until hover */
.icon-color {
  opacity: 0;
}

/* On hover: fade in color, fade out white */
.icon-link:hover .icon-white {
  opacity: 0;
}

.icon-link:hover .icon-color {
  opacity: 1;
}

/* ========== CTA Button ========== */

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid var(--accent-orange);
  background: transparent;
  color: var(--white);
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  user-select: none;
  text-align: center;
  margin-bottom: 4rem;
}

.cta-button:hover {
  background-color: var(--accent-orange);
  color: black;
}

/* ========== Responsive ========== */
@media (max-width: 600px) {
  .social-icons {
    gap: 2rem;
  }

  .icon-link {
    width: 48px;
    height: 48px;
  }

  .icon-white,
  .icon-color {
    width: 48px;
    height: 48px;
  }

  /* .contact-page h1,
  .contact-page h2 {
    font-size: 2.2rem;
  } */

  .contact-page .tagline {
    font-size: 1.1rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
  }
}
