* {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  color: white;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

h1 {
  font-family: 'Bitcount Grid Double', sans-serif;
  font-weight: 400;
}
h1::selection {
  color: black;
  background-color: white;
}
h2::selection {
  color: black;
  background-color: white;
}
h3::selection {
  color: black;
  background-color: white;
}
h4::selection {
  color: black;
  background-color: white;
}
p::selection {
  color: black;
  background-color: white;
}
i::selection {
  color: black;
  background-color: white;
}
button::selection {
  color: black;
  background-color: white;
}

html {
  scroll-behavior: smooth;
}

.snap {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  background: black;
}

/* Header */
.hero {
  height: 100vh;

  scroll-snap-align: start;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65)),
    url('images/header.avif') center/cover no-repeat;
}
header {
  width: 100%;
  text-align: center;
  padding-bottom: 5%;
  padding-top: 3vh;
}
header h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  padding: 0 10vw;
}
header h4 {
  font-weight: 400;
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;

  transform: translateX(-50%);

  font-size: 2rem;

  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
}

/* Intro */
.content {
  scroll-snap-align: start;
  min-height: 100vh;
  padding: 7%;
  padding-bottom: 15%;
}
.content.project {
  min-height: none;
  padding-bottom: 0;
  padding-top: 1%;
}
.intro {
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 3%;
  display: flex;
  flex-direction: column;
}
.intro h3 {
  padding-bottom: 15px;
}
.intro p {
  display: block;
  width: 85%;
  font-weight: 300;
  padding-top: 12px;
}
.intro p::selection {
  font-weight: 400;
  color: black;
  background-color: white;
}
.line {
  border-top: 2.5px solid white;
  height: 8px;
  width: 150px;
}
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4%;
  gap: 15px;
}
.socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  gap: 3px;
}
.socials a i {
  font-size: 1.25rem;
}
.socials a p {
  padding: 0;
}

/* Gallery */
.gallery {
  width: 100%;
}
.item {
  display: block;
  margin-bottom: 15px;

  overflow: hidden;
  border-radius: 12px;
  position: relative;
  text-decoration: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.item img {
  display: block;
  width: 100%;
  height: auto;

  transition: transform 0.4s ease;
}
.item:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}
.item:hover img {
  transform: scale(1.06);
}
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  opacity: 0;
  transition: 0.3s;
  width: 100%;
  text-align: center;
  gap: 15px;
}
.overlay h2 {
  width: 80%;
}
.item:hover .overlay {
  opacity: 1;
}
.hidden {
  display: none;
}
.seemore {
  margin-top: 40px;

  display: flex;
  justify-content: center;

  display: flex;
  justify-content: center;
  align-items: flex-end;

  background: linear-gradient(transparent, black 70%);

  transition: opacity 0.4s ease;
}
.seemore button {
  background: none;
  border: none;
  width: 100%;
  padding: 5px;
  font-size: 1rem;
}
.seemore button:hover {
  font-weight: 600;
  cursor: pointer;
}
.seemore.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Contact Me*/
.contact {
  scroll-snap-align: start;
}
.contactme {
  min-height: 95vh;
  padding: 7%;
  padding: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-intro {
  max-width: 700px;
  text-align: center;
  margin-bottom: 60px;
  margin-top: 25px;
}
.contact-block {
  width: min(80%, 700px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-block h3 {
  margin-bottom: 15px;
}
.or {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 35px 0 50px;
}
.tagline {
  width: 100%;
  text-align: center;
  padding: 2vh;
  color: black;
  background-color: white;
  font-weight: 300;
  font-family: 'Bitcount Grid Double', sans-serif;
}

.p-tagline {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 100%;
  padding: 30px;
  background: white;
}
.p-tagline p {
  color: black;
  font-family: 'Bitcount Grid Double', sans-serif;
  font-weight: 300;
}
.book-btn {
  color: black;
  /* background: black; */
  text-decoration: none;

  border: 1px solid black;
  padding: 12px 26px;
  border-radius: 999px;

  transition: 0.25s;
}
.book-btn:hover {
  color: white;
  background: black;
}

form {
  width: min(600px, 100%);
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
form input,
form textarea {
  width: 100%;
  padding: 16px 18px;
  background: #111;
  color: white;
  border: 1px solid #333;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
form textarea {
  resize: none;
  min-height: 180px;
}
form input::placeholder,
form textarea::placeholder {
  color: #888;
}
form input:focus,
form textarea:focus {
  outline: none;
  border: 2px solid white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}
form button {
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: white;
  color: black;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
form input[type='date'] {
  color: white;
  cursor: pointer;
}
form input[type='date']::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}
form label {
  align-self: flex-start;
  margin-bottom: -8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.blog-caption {
  width: min(900px, 90%);
  margin: 40px auto;
  text-align: center;
}
.blog-caption h2 {
  margin-bottom: 15px;
}
.blog-caption p {
  line-height: 1.8;
  font-weight: 300;
}
.blog-image {
  width: min(1200px, 95%);
  margin: 80px auto;
}
.blog-image img {
  width: 100%;
  display: block;
  border-radius: 14px;
}
.blog-gallery {
  width: min(1400px, 95%);
  margin: 80px auto;
}

.blog-gallery img {
  width: 100%;
  display: block;
  margin-bottom: 20px;
  border-radius: 12px;
}
.project-hero {
  height: 80vh;
  margin-top: 10vh;
  margin-bottom: 10vh;
}

.return-home {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}
.return-home a {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 28px;

  text-decoration: none;
  border: 1px solid white;
  border-radius: 999px;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.return-home a:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
}
.return-home a:hover i {
  color: black;
}

/* Phones */
@media (max-width: 600px) {
  .item {
    grid-row-end: auto !important;
  }
  header {
    padding-top: 5vh;
  }
  .intro {
    padding-bottom: 7%;
  }
  .contact-block {
    width: 95%;
  }
  .p-tagline {
    flex-direction: column;
    gap: 12px;
  }
}
