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

/* Body styling */
body {
  background-color: #000;
  overflow-x: hidden;
  cursor: url('kursori.png') 24 24, auto; /* fallback */
}

/* Hover cursor for all links */
a:hover {
  cursor: url('kursorihover.png') 24 24, pointer; /* fallback pointer */
}

/* Fixed nav bar — overlaying the hero section */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 1.05rem 0;
  z-index: 10;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,   /* top: semi-transparent dark */
    rgba(0, 0, 0, 0) 100%     /* bottom: fully transparent */
  );
}

/* Nav link bigger */
nav a {
  font-family: 'Tiny5', sans-serif;
  text-decoration: none;
  color: #ffe6ce;
  text-shadow: 0 0 6px beige;
  font-size: 2.5rem;
  letter-spacing: 1px;
}

/* Hero section (brown background → brownnoise.png) */
.hero {
  height: 100vh;
  width: 100vw;
  background-image: url('village_screen.png');
  background-size: cover;      /* makes image cover the whole section */
  background-position: center bottom; /* center the image */
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Hero image with margin */
.hero img {
  max-width: 80%;  /* leave some horizontal space */
  max-height: 75%; /* leave some vertical space */
  object-fit: contain;
  margin: 1rem;    /* optional extra spacing around the image */
}

/* Gallery section (grey background → greynoise.png) */
.gallery {
  height: auto;
  width: 100vw;
  background-image: url('brownnoise.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 50px;
}

.gallery img {
  max-height: 80%;
  max-width: 80%;
  object-fit: contain;
}

/* Text section (auto height) */
.text-section {
  width: 100vw;
  background-color: #ffe6ce;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 4rem 1rem;
}

.text-content {
  max-width: 800px;
  text-align: left;
  color: #000000;
  line-height: 1.6;
}

.text-content h2 {
  font-family: 'Tiny5', sans-serif;
  font-size: 48px;
  line-height: 48px;
  margin-bottom: 1.5rem;
}

.text-content p {
  font-family: 'Rosarivo', serif;
  margin-bottom: 1.5rem;
}

.text-content a {
  font-family: 'Rosarivo', serif;
  margin-bottom: 1.5rem;
  color: black;
}

.imgtext-content {
  display: flex;
  justify-content: center;
}

.imgtext-content img {
  width: 80%;
  object-fit: contain;
  margin:20px;
}

.imgtext-content a {
  margin-left: 10px;
  margin-right: 10px;
}
