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

:root {
  --primary: #ff4c00;
  --intermediate: #ff9500;
  --secondary: #ffb60b;
  --dark: #393939;
  --grey: #565656;
  --lightgrey: #b0b0b0;
  --light: #efefef;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--grey);
  color: var(--light);
  overflow-x: hidden;

  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Prend 100% de la hauteur de l'écran */
  margin: 0;
}

.page-wrapper {
  flex: 1; /* Occupe tout l'espace restant */
  padding-top: 150px;
  padding-bottom: 150px;
}

/* Navigation */
.nav-toggle {
  display: none;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--dark);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.5rem 0;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}

body.dark-mode nav {
  background: rgba(248, 250, 252, 0.95);
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  max-height: 48px;
  max-width: 48px;
}

.logo-img {
  max-width: 100px;
  max-height: 100px;
  margin-top: 20px;
  width: auto;
  object-fit: contain;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--light);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* footer */
footer {
  position: fixed;
  min-height: 10vh;
  top: 95vh;
  width: 100vw;
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 1rem 0;
}

footer a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  margin-left: 0.5rem;
}

footer a:hover {
  text-decoration: underline;
}
