/* --- Base styles --- */
body {
  font-family: 'Nunito Sans', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #000;
  color: #fff;
}

/* --- NAVIGATION --- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  background: #000;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
}

.top-nav a {
  color: #fff;
  margin-left: 1.5rem;
  text-decoration: none;
}

.top-nav a:hover {
  text-decoration: underline;
}

/* --- Section styling --- */
.section {
  padding: 4rem 2rem;
}

.dark-section {
  background: #000;
  color: #fff;
}

.light-section {
  background: #fff;
  color: #000;
}

/* --- Grid layout --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.text-column, .image-column {
  flex: 1 1 450px;
  padding: 1rem;
  text-align: left;
}

.image-column img {
  display: block;
  height: auto;
  max-width: 100%;    /* prevents overflow on small screens */
  margin: 0 auto;     /* centers the image horizontally */
  width: auto;        /* allows image to keep its natural width */
}


/* --- Typography --- */
.text-column h1 {
  font-family: 'Literata', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 2.6rem;
  margin: 0 0 0.5rem;
}

.text-column h2 {
  font-size: 2.2rem;
  font-family: 'Literata', serif;
  font-weight: 500;
  margin: 0 0 1rem;
}

.text-column p {
  font-size: 1.1rem;
  color: inherit;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    margin-top: 1rem;
  }

  .top-nav a {
    display: inline-block;
    margin-left: 0;
    margin-right: 1.5rem;
  }
}
