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

/* === ACCESSIBILITÉ === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body {
  height: 100%;
  background-color: #000;
  color: #fff;
  font-family: "Roboto Flex", sans-serif;
  font-weight: 300;
}

/* === PAGE FADE TRANSITION === */
body {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

body.fade-in {
  opacity: 1;
}

main {
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

body {
  display: flex;
  flex-direction: column;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  z-index: 100;
}

.nav-left {
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  margin-left: -10px;
}

.nav-left .first-name {
  font-weight: 300;
  color: #bbb;
}

.nav-left .last-name {
  font-weight: 600;
  color: #fff;
}

.nav-left a.andrea-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.nav-left a.andrea-link:hover .last-name {
  color: #f5c518;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.nav-links .nav-item {
  font-size: 1rem;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-links .nav-item:hover {
  color: #f5c518;
}

/* === MAIN CONTACT === */
.contact-page {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  padding: 20px;
}

.contact-container {
  max-width: 800px;
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 15px 0;
}

.contact-value {
  font-size: 1.8rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.3px;
  text-align: center;
}

.copy-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 400;
  font-family: "Roboto Flex", sans-serif;
  color: #fff;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 80px;
}

.copy-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.copy-btn.copied {
  background-color: #f5c518;
  border-color: #f5c518;
  color: #111;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .navbar { height: 60px; padding: 0 25px; }
  .nav-left { font-size: 1.2rem; margin-left: -10px; }
}

@media (max-width: 768px) {
  .navbar { height: 60px; padding: 0 25px; }
  .nav-left { font-size: 1.2rem; margin-left: -10px; }

  .contact-page {
    padding: 20px 15px;
  }

  .contact-info {
    gap: 10px;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
  }

  .contact-value {
    font-size: 1rem;
    word-break: break-all;
  }

  .copy-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    width: 80px;
  }
}