/* =============================================
   CONTACT.CSS — Thokozani Nkutha Photography
   ============================================= */



/* Navbar styles live in global.css (shared with about.css) */

/* ══════════════════════════════════════════
   MAIN — centred
══════════════════════════════════════════ */
.contact-main {
  flex: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}

/* ══════════════════════════════════════════
   DETAILS LIST
══════════════════════════════════════════ */
.contact-details {
  max-width: 760px;
  flex-direction: column;
  align-items: center;
  display: flex;
  gap: 2.5rem;
  width: 100%;
}

.contact-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  padding-bottom: 2rem;
  text-align: center;
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-600);
}

.contact-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  transition: color var(--transition);
  line-height: 1.2;
}
.contact-val:hover { color: var(--grey-400); }

.contact-note {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-top: 2px;
}

/* ══════════════════════════════════════════
   LAYOUT — fill the viewport so the details
   centre in the space the footer left behind
══════════════════════════════════════════ */
[data-barba="container"] {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════════════════════
   ANIMATION
══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 600px) {
  .contact-main { padding: 3rem 1.5rem; }
  .contact-details { max-width: 100%; flex-direction: column; }
}

/* ==========================================
   PAGE CONTENT TRANSITIONS
========================================== */

.page-content {
    flex: 1;
    display: flex;
    flex-direction: column;

    opacity: 0;
    transform: translateY(10px);
    animation: contentFadeIn .45s cubic-bezier(.22,1,.36,1) forwards;
}

.page-content.page-exit {
    animation: contentFadeOut .25s ease forwards;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contentFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}