/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* NAVBAR */
.nav {
  background: #000;
  color: #fff;
  padding: 10px 30px;
  position: sticky;
  top: 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.logo {
  font-weight: bold;
}

.links a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* HERO (ADJUSTED) */
.hero {
  text-align: center;
  padding: 75px 20px; /* reduced from 90 */
  background: #000;
  color: #fff;
}

.hero h1 {
  font-size: 2.4rem; /* reduced */
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  color: #ccc;
}

/* SECTIONS */
.section {
  padding: 35px 20px; /* reduced */
}

.section.light {
  background: #f9f9f9;
}

.content {
  max-width: 1100px;
  margin: auto;
}

/* HEADINGS */
h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* SPLIT LAYOUT */
.split {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.split.reverse {
  flex-direction: row-reverse;
}

.text {
  flex: 1;
}

.image {
  flex: 1;
}

.image img {
  width: 100%;
  border-radius: 10px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #fff;
  margin-top: 40px;
}

/* Default (on hero - black background) */
.nav {
  background: transparent;
  color: white;
  position: fixed;
  width: 100%;
  transition: all 0.3s ease;
}

.links a {
  color: white;
}

/* When scrolled */
.nav.scrolled {
  background: white;
  color: black;
}

.nav.scrolled .links a {
  color: black;
}