/* === Reset & global === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fdf1de;
  color: #2C3E50;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* === Dark mode === */
body.dark-mode {
  background-color: #1E1E1E;
  color: #EAEAEA;
}

body.dark-mode .navbar {
  background: rgba(40, 40, 40, 0.85);
}

body.dark-mode footer {
  background: #1E1E1D;
}

/* === Navbar === */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(253, 241, 222, 0.85);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.4s ease;
}

.logo span {
  font-weight: 700;
  font-size: 1.2rem;
  color: inherit;
}

/* === Navigation === */
.navbar nav a {
  text-decoration: none;
  color: inherit;
  margin: 0 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.navbar nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: #5DADE2;
  transition: width 0.3s;
  width: 0;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.navbar nav a:hover::after,
.navbar nav a.active::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* === Buttons === */
.btn-darkmode {
  background: transparent;
  border: 2px solid #5DADE2;
  color: #5DADE2;
  font-size: 1.1rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-darkmode:hover {
  background: #5DADE2;
  color: white;
}

/* === CGV container === */
.cgv-container {
  padding: 8rem 2rem 3rem;
  max-width: 900px;
  margin: auto;
  line-height: 1.7;
}

.cgv-container h1 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 2.5rem;
  color: #2C3E50;
}

body.dark-mode .cgv-container h1 {
  color: #EAEAEA;
}

.cgv-container h2 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: #5DADE2;
}

.cgv-container p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* === Footer === */
footer {
  background: #fdf1de;
  text-align: center;
  padding: 1.2rem;
  margin-top: 3rem;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
  transition: background 0.4s ease;
}