/* Styles communs: variables, reset, navbar */

:root {
  --cream: #f5e6d3;
  --charcoal: #2c2c2c;
  --rust: #c4764e;
  --sage: #8b9f8f;
  --off-white: #fafaf8;
  --mustard: #d4a574;
  --terracotta: #b85c4f;
}

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

/* NAVBAR (base) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 3rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar__list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.navbar__link {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: lowercase;
  transition: color 0.3s ease;
  position: relative;
}

.navbar__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rust);
  transition: width 0.3s ease;
}

.navbar__link:hover {
  color: var(--rust);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__link--active {
  color: var(--rust);
}

.navbar__link--active::after {
  width: 100%;
}
