@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap");

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

:root {
  font-size: 13px;
  --color-text: #fff;
  --color-bg: #000;
  --color-link: #fff;
  --color-link-hover: #fff;
  --img-width: 190px;
  --img-ratio: 1.1;
  --img-offset-x: 20px;
  --img-offset-y: 20px;
  --img-border-radius: 7px;
  --color-bg-content: rgba(255, 255, 255, 0.05);
  --color-bg-demos: rgba(255, 255, 255, 0.05);
}

body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: "Josefin Sans", sans-serif;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
}

html,
body {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: #fff;
}

nav {
  width: 100%;
  display: flex;
  height: 6vw;
  align-items: center;
  justify-content: space-between;
  padding: 0 3vw;
  position: fixed;
  background-color: #000;
  z-index: 999999;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 700;
}

nav .menu {
  display: flex;
  gap: 2rem;
}
nav .menu a {
  text-transform: uppercase;
  text-decoration: none;
  color: gray;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  transition: all 0.3s ease;
}

nav .menu a.active {
  color: #157000;
}

nav .menu a:hover {
  color: #157000;
}

nav .socile {
  display: flex;
  gap: 1.5vw;
  color: grey;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

nav .socile i:hover {
  color: var(--color-text);
}

.gallery {
  padding: 1vw 3vw;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  /* margin-top: 5rem; */
}

.gallery_hed {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10%;
}

.gallery_hed h1 {
  color: #fff;
  font-size: 6rem;
  font-weight: 300;
}

.gallery_img {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.gallery_box_img {
  width: 100%;
  height: 300px;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
  will-change: filter, transform;
  cursor: pointer;
}

/* Background images for each gallery item */
.gallery_box_img:nth-child(1) {
  background-image: url("./img/nature_small_1.jpeg");
}
.gallery_box_img:nth-child(2) {
  background-image: url("./img/nature_small_2.jpeg");
}
.gallery_box_img:nth-child(3) {
  background-image: url("./img/nature_small_3.jpeg");
}
.gallery_box_img:nth-child(4) {
  background-image: url("./img/nature_small_4.jpeg");
}
.gallery_box_img:nth-child(5) {
  background-image: url("./img/nature_small_5.jpeg");
}
.gallery_box_img:nth-child(6) {
  background-image: url("./img/nature_small_6.jpeg");
}
.gallery_box_img:nth-child(7) {
  background-image: url("./img/nature_small_6.jpeg");
}
.gallery_box_img:nth-child(8) {
  background-image: url("./img/nature_small_1.jpeg");
}
.gallery_box_img:nth-child(9) {
  background-image: url("./img/nature_small_2.jpeg");
}
.gallery_box_img:nth-child(10) {
  background-image: url("./img/nature_small_3.jpeg");
}
.gallery_box_img:nth-child(11) {
  background-image: url("./img/nature_small_4.jpeg");
}
.gallery_box_img:nth-child(12) {
  background-image: url("./img/nature_small_5.jpeg");
}

/* Hover effect: remove grayscale and zoom in */
.gallery_box_img:hover {
  filter: grayscale(0%);
  transform: scale(1.05); /* Slight zoom */
}

footer {
  width: 100%;
  height: 6vw;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer h3 {
  color: #888;
}

footer a {
  text-decoration: none;
  color: #fff;
  color: #157000;
  cursor: pointer;
}
