:root {
  --font-main: 'Outfit', sans-serif;
  --color-text: #f0f0f0;
  --color-bg: #0a0a0a;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

h1 {
  font-size: 5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

p {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 600px;
}

.section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  background-color: #050505;
  text-align: center;
  background-image: url('https://images.wallpaperscraft.com/image/single/sand_dunes_stones_1240621_1280x720.jpg');
  background-size: cover;
  background-position: center;
  color: #000000;
}

.hero h1,
.hero p {
  color: inherit;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  /* Dark overlay for text readability */
  filter: brightness(0.6);
}

.cave-bg {
  background-image: url('assets/cave.png');
}

.valley-bg {
  background-image: url('assets/valley.png');
}

.mountain-bg {
  background-image: url('assets/mountain.png');
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.text-block {
  opacity: 0;
  transform: translateY(50px);
}

.text-block.left {
  text-align: left;
}

.text-block.right {
  text-align: right;
  margin-left: auto;
}

.text-block.center {
  text-align: center;
  margin: 0 auto;
}

.text-block.center p {
  margin-left: auto;
  margin-right: auto;
}

.object-display {
  flex-shrink: 0;
  width: 40vw;
  display: flex;
  justify-content: center;
}

.soil-object {
  width: 100%;
  max-width: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  opacity: 0;
  transform: scale(0.8);
}

.final-object {
  max-width: 700px;
  border-radius: 50%;
}

.horizontal-scroll {
  flex-direction: row;
  justify-content: flex-start;
  width: 300vw; /* 3 screens wide */
  gap: 10vw;
  padding: 0 10vw;
}

.horizontal-scroll .text-block {
  width: 80vw;
}

.footer {
  background-color: #050505;
  height: 50vh;
}
