/* contact.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  background: #000;
  color: #fff;
  font-family: Consolas, 'Courier New', monospace;
  position: relative;
  overflow: hidden;
}

/* FORCER un fond de body direct au lieu de pseudo-element first, pour test */
body {
  background-image: url('images/contact.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Si tu veux assombrir le fond, on peut mettre une couche derrière le contenu */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: none;
  z-index: 0;
  animation: bg-blur-fade 900ms ease-out both;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Entrance animations */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bg-blur-fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

header .branding {
  animation: fade-up 700ms ease-out both;
}

header nav {
  animation: fade-up 700ms ease-out 120ms both;
}

/* Name above email */
main > div:first-of-type .name {
  display: inline-block;
  animation: fade-up 700ms ease-out 160ms both;
}

h1 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #fff;
}

.contact-info {
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0.9;
  color: #fff;
  animation: fade-up 700ms ease-out 220ms both;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #bbb;
}

.back-link {
  margin-top: 40px;
  font-size: 0.9rem;
  animation: fade-up 700ms ease-out 360ms both;
}

.back-link a {
  color: #fff;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.back-link a:hover {
  opacity: 1;
}
