:root {
  --bg-light: #F4F2ED;   
  --text-dark: #2A2A2A;
  --accent: #8A735E;    
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
}

.navbar {
  position: fixed;
  top: 10%;
  width: 100%;
  padding: 2rem 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  z-index: 1000;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.navbar a {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  overflow: hidden; 
  transition: color 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
}

.navbar a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-dark);
  z-index: -1;
  
  transform-origin: top; 
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.navbar a:hover::before {
  transform-origin: bottom;
  transform: scaleY(1);
}

.navbar a:hover {
  color: var(--bg-light);
}