/* Light Mode */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 15px;
}

/* Typography */
h1,
h2,
h3 {
  color: #000;
  margin-top: 0;
  margin-bottom: 0.5em;
  transition: color 0.3s;
}

h1 {
  font-size: 2em;
  margin-bottom: 5px;
}

h2 {
  font-size: 1.5em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-top: 30px;
  transition: border-color 0.3s;
}

h3 {
  font-size: 1.2em;
  margin-bottom: 0.3em;
}

p {
  margin-bottom: 1em;
}

ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

#one ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  text-align: center;
}

#one li {
  font-size: 0.9em;
  color: #555;
  transition: color 0.3s;
}


a {
  color: #000;
  text-decoration: underline;
  transition: color 0.3s;
}

a:hover {
  color: #555;
  /* Darker gray on hover */
}

header {
  text-align: center;
  padding: 20px 15px;
  border-bottom: 1px solid #ddd;
  transition: border-color 0.3s;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

nav a {
  text-decoration: none;
  font-weight: bold;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  padding: 5px 10px;
  margin-left: 10px;
  order: 99;
  transition: transform 0.2s;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

#banner {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f8f8;
  transition: background-color 0.3s;
}

#banner h2 {
  font-size: 2.5em;
  border-bottom: none;
  margin-bottom: 10px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  border: 1px solid #000;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.button:hover {
  background-color: #eee;
}

section {
  padding: 40px 0;
  /* Padding handled by container's side margins */
  border-bottom: 1px solid #eee;
  transition: border-color 0.3s;
}

.content-section {
  padding: 40px 0;
  border-bottom: 1px solid #eee;
  transition: border-color 0.3s;
}

.content-section h2 {
  border-bottom: none;
  text-align: center;
  margin-top: 0;
  padding-bottom: 0;
  font-size: 2.5em;
}

.footnote {
  font-size: 0.8em;
  color: #777;
  margin-top: 20px;
}

.spotlight {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.spotlight h2 {
  font-style: italic;
}

.features {
  list-style: none;
  padding: 0;
}

.features li {
  margin-bottom: 20px;
  padding: 15px 0;
  border-bottom: 1px dotted #ccc;
  transition: border-color 0.3s;
}

.features li:last-child {
  border-bottom: none;
}

/* Minimal form styling for Contact (index.html) */
#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  box-sizing: border-box;
  border-radius: 4px;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}

#contact .actions input {
  cursor: pointer;
  padding: 10px 20px;
  border: 1px solid #000;
  background-color: #fff;
  color: #000;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.3s, border-color 0.3s;
}

#contact .actions input:hover {
  background-color: #eee;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid #ddd;
  font-size: 0.8em;
  color: #777;
  transition: border-color 0.3s, color 0.3s;
}

.social-icons a {
  margin: 0 5px;
  font-size: 1.2em;
}

/* Dark Mode */

body.dark-mode {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3 {
  color: #fff;
}

.dark-mode a {
  color: #90d3ff;
}

.dark-mode a:hover {
  color: #b3e6ff;
}

.dark-mode header {
  border-bottom-color: #444;
}

.dark-mode h2 {
  border-bottom-color: #555;
}

.dark-mode #banner {
  background-color: #2a2a2a;
}

.dark-mode .button {
  border-color: #fff;
  background-color: #1a1a1a;
  color: #fff;
}

.dark-mode .button:hover {
  background-color: #333;
}

.dark-mode #one li {
  color: #ccc;
}

.dark-mode section {
  border-bottom-color: #2a2a2a;
}

.dark-mode .features li {
  border-bottom-color: #555;
}

.dark-mode .content-section {
  border-bottom-color: #2a2a2a;
}

.dark-mode .footnote {
  color: #b0b0b0;
}

.dark-mode footer {
  border-top-color: #444;
  color: #b0b0b0;
}

.dark-mode #contact input[type="text"],
.dark-mode #contact input[type="email"],
.dark-mode #contact textarea {
  border-color: #555;
  background-color: #333;
  color: #e0e0e0;
}

.dark-mode #contact .actions input {
  border-color: #fff;
  background-color: #2a2a2a;
  color: #fff;
}

.dark-mode #contact .actions input:hover {
  background-color: #444;
}

@media (min-width: 600px) {

  .spotlight {
    flex-direction: row;
    gap: 20px;
    text-align: left;
  }

  .spotlight .content {
    flex: 2;
  }

  #one ul {
    flex-direction: row;
    gap: 40px;
  }
}