body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #fff0d6, #ffe4ec);
  margin: 0;
  padding: 0;
  color: #2e2e2e;
}

/* Special background for index.html only */
body.index-page {
  background: url('background_zanzo_ai.png') no-repeat center center fixed;
  background-size: cover;
  color: white;
  position: relative;
}

/* Dark overlay for index page */
body.index-page .overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

/* Header/Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 999;
  padding: 10px 16px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.6em;
  font-weight: bold;
}

body.index-page .logo {
  color: black;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0 30px 0 0;
  flex-wrap: wrap;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1em;
  white-space: nowrap;
}

nav ul li a:hover {
  color: #007bff;
}

/* Main Content */
main {
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 30px 20px 60px;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 2.4em;
  color: inherit;
}

p {
  font-size: 1.1em;
  line-height: 1.8;
  color: inherit;
  margin-bottom: 20px;
}

.highlight {
  color: white;
  font-weight: bold;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 60px;
  color: #333;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.9em;
  z-index: 2;
}

footer a {
  color: #d45500;
  font-weight: bold;
  text-decoration: none;
}

/* Responsive Nav Fix */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  main {
    margin-top: 120px;
  }
}
