/* === Base Styles === */
html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: black;
  color: #f5deb3; /* warm off-white/gold */
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* === Canvas Background === */
#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* === Content Layout === */
.content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
}

/* === Section Styling === */
.section {
  min-height: 100vh;
  padding: 8rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-margin-top: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Override padding for hero (center it perfectly) */
.hero, .about, .projects, .now, .contact {
  padding: 0 2rem;
}

/* Typography */
h1, h2 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: white;
}

p, li {
  max-width: 750px;
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0.5rem 0;
  color: #f0c674;
}

/* === Sidebar Navigation (Desktop) === */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  font-size: 2rem;
  color: #f0c674;
  cursor: pointer;
}

.sidebar {
  position: fixed;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  z-index: 10;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 1.2rem;
}

.sidebar a {
  text-decoration: none;
  color: #888;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  position: relative;
}

.sidebar a.active,
.sidebar a:hover {
  color: #f0c674;
}

.sidebar a.active::before {
  content: "•";
  position: absolute;
  left: -1rem;
  color: #f0c674;
  font-size: 1.2rem;
}

/* === Mobile Styles === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 6rem;
    text-align: center;
    z-index: 15;
  }

  .sidebar.open {
    transform: translateY(0);
  }

  .sidebar ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .sidebar li {
    margin: 0;
  }

  .sidebar a {
    font-size: 1.5rem;
    color: #ccc;
  }

  .sidebar a.active {
    color: #f0c674;
  }

  .sidebar a::before {
    display: none;
  }
}

/* === Optional Header (not used, but safe to keep) === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9;
  color: white;
  font-weight: 600;
}