/* GENERAL */

body {
  margin: auto;
  font-family: "Montserrat", sans-serif;
  background-color: #32323c;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAV */

.navbar {
  background-color: rgb(50, 50, 60, 0.95);
  color: #e6e6e6;
  display: flex;
  font-size: 15px;
  justify-content: center;
  margin: 0;
  padding: 8px;
  position: fixed;
  width: 100%;
  z-index: 2;
}

.navbar a {
  padding: 0 15px 8px;
}

.navbar a:hover {
  border-bottom: 2px solid #e6e6e6;
  color: #1b1b20;
  transition: color 0.3s ease-in-out;
}

/* INDEX */

.header-content {
  background-image: url("images/s-m-A4Pzp82JHK8-unsplash.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
  justify-content: center;
  align-content: center;
  padding: 50px 20px;
  height: 100dvh;
  position: relative;
}
@media (max-width: 600px) {
  .header-content {
    height: 60vh;
  }
}

.header-content::before {
  content: "";
  position: absolute;
  inset: 0;
  /* width: 100vw; */
  /* height: 100vh; */
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.header-text,
.header-button,
.contact-button {
  position: relative;
  z-index: 10;
  padding: 5px;
}

.header-content h1 {
  color: #e6e6e6;
  font-size: 32px;
  margin: 0;
}

.header-content p {
  color: #e6e6e6;
  font-size: 16px;
  margin: 15px 0;
}

.header-button button,
.contact-button {
  position: relative;
  color: #e6e6e6;
  font-size: 18px;
  transition: transform 0.2s;
  background-color: transparent;
  outline: none;
  border-radius: 3px;
  margin: 0 10px;
  padding: 23px 33px;
  border: 3px solid transparent;
}

.start-button::before,
.contact-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid #e6e6e6;
  transition: opacity 0.3s, border 0.3s;
}

.start-button:hover::before,
.contact-button:hover::before {
  opacity: 0;
}

.start-button::after,
.contact-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 3px solid #e6e6e6;
  opacity: 0;
  z-index: -1;
  transform: scaleX(1.1) scaleY(1.3);
  transition: transform 0.3s, opacity 0.3s;
}

.start-button:hover::after,
.contact-button:hover::after {
  opacity: 1;
  transform: scaleX(1) scaleY(1);
}

/* discover area */

.discover-section {
  min-height: 400px;
  align-items: center;
  justify-content: center;
  display: flex;
  margin: 10px auto;
}

.discover {
  background-color: #3c3c47;
  width: 50%;
  position: relative;
  margin: auto;
  padding: 30px;
  border-radius: 8px;
  box-shadow: #343436 0px 4px 15px;
  max-width: 750px;
}

.discover h1 {
  border-bottom: 2px solid #e6e6e6;
  font-size: 24px;
  text-align: left;
  margin: 0;
  color: #e6e6e6;
  display: inline-block;
}

.discover p {
  text-align: left;
  color: #e6e6e6;
  font-size: 18px;
  line-height: 25px;
}

@media (max-width: 600px) {
  .discover p {
    font-size: 14px;
  }
}

/* FOOTER */

.footer {
  background-color: #3c3c47;
  color: #e6e6e6;
  font-size: 14px;
  height: 200px;
  margin: 0;
  padding: 20px;
}

.footer p {
  font-size: 16px;
  text-align: center;
}

.footer ul {
  display: flex;
  justify-content: center;
  padding: 0;
}

.footer li {
  display: inline-block;
  justify-content: space-around;
  padding: 10px;
}

footer a {
  color: #e6e6e6;
  transition: color 0.3s ease-in-out;
}
.footer a:hover {
  color: #1b1b20;
}

/* GALLERY */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 70px;
  /* text-align: center; */
  align-items: center;
  justify-content: center;
  justify-items: center;
}
@media (max-width: 2500px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1500px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}

.gallery-item {
  position: relative;
  width: 350px;
  height: 350px;
  background-color: #3c3c47;
}

.gallery-item p {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #e6e6e6;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  display: none;
}

.gallery-item:hover p {
  display: block;
  transition: display 0.5s ease-in-out;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #e6e6e6;
}

.gallery-item:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}

/* CONTACT */

.contact-section {
  background-color: #3c3c47;
  padding: 50px 20px 20px;
  text-align: center;
}

.contact-header h1 {
  color: #e6e6e6;
  font-size: 32px;
  margin: 0;
  padding: 20px 0;
}
.contact-section form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.contact-section .contact-info {
  max-width: 600px;
  height: 550px;
  margin: 20px auto;
  padding: 20px;
  background-color: #4c4c57;
  border-radius: 8px;
  box-shadow: #343436 0px 4px 15px;
}

.contact-section input,
.contact-section textarea {
  font-family: "Montserrat", sans-serif;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #e6e6e6;
  color: #1b1b20;
  font-size: 16px;
  border: none;
}

.contact-section textarea {
  resize: none;
  height: 340px;
}

.contact-section input:focus,
.contact-section textarea:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* ABOUT */

.about-header {
  background-color: #32323c;
  height: auto;
  padding: 100px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-header-image {
  background-image: url("images/s-m-A4Pzp82JHK8-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #e6e6e6;
  z-index: 1;
}

.about-header-text {
  text-align: left;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #e6e6e6;
}
.about-header-text h1 {
  font-size: 32px;
  margin: 0;
}
.about-header-text p {
  font-size: 18px;
  line-height: 25px;
  margin-top: 20px;
  text-align: left;
}

@media (max-width: 1000px) {
  .about-header {
    grid-template-columns: 1fr;
    height: auto;
  }
  .about-header-image {
    height: 300px;
  }
  .about-header-text {
    text-align: center;
  }
}

.book-section {
  background-color: #2f585f;
  color: #e6e6e6;
  padding: 50px 20px 70px;
  text-align: center;
}

/* TOURS */

.tours-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

.tour {
  background-color: #3c3c47;
  width: 80%;
  max-width: 800px;
  margin: 20px auto;
  padding: 30px;
  border-radius: 8px;
  box-shadow: #343436 0px 4px 15px;
  color: #e6e6e6;
  font-size: 14px;
}

.tours-text {
  margin: 0 8px;
}

.learn {
  margin: 0;
}

.tour-odd {
  text-align: left;
  display: grid;
  grid-template-columns: 3fr 2fr;
}

.tour-even {
  text-align: right;
  display: grid;
  grid-template-columns: 2fr 3fr;
}

.tours-image-container-1 {
  background-image: url("images/pexels-rizk-nas-1463375-3125852.jpg");
  background-size: cover;
  background-position: center center;
}

.tours-image-container-2 {
  background-image: url("images/pexels-jess-vide-5007031.jpg");
  background-size: cover;
  background-position: center center;
}

.tours-image-container-3 {
  background-image: url("images/pexels-turkogluenes-7510411.jpg");
  background-size: cover;
  background-position: center center;
}

.tours-image-container-4 {
  background-image: url("images/pexels-koolshooters-9750947.jpg");
  background-size: cover;
  background-position: center center;
}

.tour-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #e6e6e6;
  margin: px;
  /* justify-content: center;
  align-items: center;
  display: flex; */
}
