:root {
  --color-primary: #5BA04B;
  --color-secondary: #94B396;
  --color-background: #E3F0E0;
  --color-text: #000000;
  --color-heading: #2FC137;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-background);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
}

/* ---------- HEADER ---------- */
header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 10px 30px;
  gap: 100px;
}

.header-logo a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 50px;
  font-weight: bold;
  font-family: "League Gothic", sans-serif;
}

.header-logo a:hover {
  color: var(--color-heading);
}

/* barre de navigation */
.header-nav {
  position: relative;
  display: flex;
  gap: 150px;
  padding: 2px 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* --- effet "loupe" --- */
.header-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--x, 0px);
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at center,
              rgba(255, 255, 255, 0.35) 0%,
              rgba(255, 255, 255, 0.15) 40%,
              rgba(255, 255, 255, 0.05) 70%,
              transparent 100%);
  border: 1px solid rgba(255, 255, 255, 0.199);
  border-radius: 50%;
  backdrop-filter: blur(25px) saturate(250%);
  -webkit-backdrop-filter: blur(25px) saturate(250%);
  pointer-events: none;
  transition: left 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.header-nav:hover::before {
  opacity: 1;
}

/* liens */
.header-nav a {
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: var(--color-text);
  font-size: 20px;
  font-weight: bold;
  padding: 10px 20px;
  transition: transform 0.3s ease, color 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.header-nav a:hover {
  transform: scale(1.2);
  color: var(--color-heading);
}

/* icônes */
.lien-header img {
  width: 40px;
  height: 40px;
}

.lien-header img:hover {
  transform: scale(1.2);
}

/* ---------- FOOTER ---------- */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-text);
  padding: 15px 30px;
}

.lien-footer img {
  width: 30px;
  height: 30px;
  text-decoration: none;
}

.lien-footer img:hover {
  transform: scale(1.2);
  text-decoration: none;
}

/* ========================================
RESPONSIVE
======================================== */

@media (max-width: 1025px) {
  /* Réduction de la taille de la barre */
  .header-nav {
    gap: 1px;
    padding: 5px 15px;
    border-radius: 25px;
  }

  .header-nav a {
    font-size: 16px;
    padding: 8px 10px;
  }

  /* On masque le logo texte "Marti Studio" */
  .header-logo {
    display: none;
  }

  /* On masque les icônes de réseaux */
  .lien-header {
    display: none;
  }
}