.contact-form {
  margin: 2rem 0 0 0;
  max-width: 600px;
  width: 100%;
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form label {
  color: var(--color-text);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea {
  background-color: var(--color-background);
  border: 1px solid var(--color-text);
  border-radius: 4px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-accent);
  outline: none;
}
.contact-form .submit-button {
  background-color: var(--color-text);
  border: none;
  border-radius: 4px;
  color: var(--color-background);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  transition: opacity 0.2s;
}
.contact-form .submit-button:hover {
  opacity: 0.9;
}
.contact-form .submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
}
.form-status.sending {
  color: var(--color-text);
}
.form-status.success {
  color: #4caf50;
}
.form-status.error {
  color: #f44336;
}

.content-page {
  margin: 0 auto;
  margin-top: var(--header-height);
  max-width: var(--max-width);
  padding: 4rem 2rem;
}
.content-page h1 {
  color: var(--color-text);
  font-size: 2rem;
  margin-bottom: 2rem;
}
.content-page h2 {
  color: var(--color-text);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}
.content-page h3 {
  color: var(--color-text);
  font-size: 1rem;
  margin: 1.5rem 0 1rem;
}

.content-body {
  max-width: 65ch;
  margin: 0 auto;
}
.content-body p {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.content-body ul, .content-body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}
.content-body ul li, .content-body ol li {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.content-body a {
  color: var(--color-text);
  text-decoration: underline;
  transition: color 0.2s ease;
}
.content-body a:hover {
  color: var(--color-text-muted);
}

.content-footer {
  border-top: 1px solid var(--color-text-muted);
  margin-top: 3rem;
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .content-page {
    padding: 2rem 1rem;
  }
  .content-page h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .content-page h2 {
    font-size: 1.75rem;
    margin: 1.5rem 0 1rem;
  }
  .content-page h3 {
    font-size: 1.25rem;
    margin: 1.25rem 0 0.75rem;
  }
  .content-body p, .content-body ul li, .content-body ol li {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}
.hero-container {
  --overlay-opacity: 0;
  height: 750px;
  margin-top: var(--header-height);
  width: 100%;
}
.hero-container::after {
  background-color: var(--color-background);
  content: "";
  inset: 0;
  opacity: var(--overlay-opacity);
  position: absolute;
  z-index: 0;
}
.hero-container .hero-image {
  height: 750px;
  left: 0;
  object-fit: cover;
  position: fixed;
  top: var(--header-height);
  width: 100%;
  z-index: -1;
}

.gallery {
  background-color: var(--color-background);
  padding: 4rem 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.featured-container {
  margin: 0 auto;
}
.featured-container img {
  background-color: #fff;
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: 1200px;
  max-width: 1350px;
  padding: 2rem;
  width: auto;
}

.featured-has-margin {
  margin-top: 1rem;
}

.featured-title {
  color: var(--color-text);
  font-size: 0.8rem;
  margin: 1.5rem auto 4rem;
  max-width: 1200px;
  text-align: center;
}

.thumbnail-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 400px);
  justify-content: center;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 2rem;
}
.thumbnail-grid .thumbnail-wrapper {
  display: block;
  height: 267px;
  overflow: hidden;
  width: 400px;
}
.thumbnail-grid .thumbnail-wrapper:hover {
  opacity: 0.8;
}
.thumbnail-grid .thumbnail-wrapper img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 1400px) {
  .thumbnail-grid {
    grid-template-columns: repeat(2, 400px);
  }
  .featured-container img {
    max-width: 900px;
    padding: 1rem;
  }
}
@media (max-width: 900px) {
  .thumbnail-grid {
    gap: 1.5rem;
    grid-template-columns: repeat(1, 400px);
  }
  .featured-container img {
    height: 100%;
    margin-top: 1rem;
    object-fit: contain;
    padding: 1rem;
    width: 100%;
  }
}
@media (min-width: 2000px), (max-width: 750px) {
  .hero-container {
    display: none;
  }
}
@media (max-width: 500px) {
  .featured-container {
    margin-top: 2rem;
  }
  .featured-container img {
    padding: 0.5rem;
    width: 100%;
  }
  .thumbnail-grid {
    grid-template-columns: repeat(1, 300px);
    padding: 1rem;
  }
  .thumbnail-grid .thumbnail-wrapper {
    height: 200px;
    width: 300px;
  }
}
.main-nav {
  display: flex;
  height: 100%;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 2rem;
}

nav {
  background-color: var(--color-background);
  display: grid;
  padding: 0 1rem;
  place-items: center;
  position: sticky;
  top: 0;
}
nav .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
nav .nav-links a {
  font-size: 1rem;
  font-weight: 400;
}
nav .hamburger {
  background-color: var(--color-background);
  border: none;
  cursor: pointer;
  display: none;
  margin-top: 0.25rem;
  padding: 1rem;
  position: absolute;
  right: 1rem;
  top: 0;
  z-index: 100;
}
nav .hamburger span {
  background-color: var(--color-text);
  display: block;
  height: 3px;
  margin: 5px 0;
  transition: all 0.3s ease;
  width: 25px;
}
nav > ul {
  grid-auto-flow: column;
}
nav > ul > li {
  margin: 0 0.5rem;
}
nav > ul > li .dropdown-title {
  background-color: transparent;
  border: none;
  font-family: inherit;
  margin: 0 0.75rem 0 0.5rem;
}
nav > ul > li a,
nav > ul > li .dropdown-title {
  color: #fff;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
}
nav ul {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  padding: 0;
}

.nav-galleries {
  display: none;
}

.dropdown {
  position: relative;
}
.dropdown .dropdown-title {
  align-items: center;
}
.dropdown .dropdown-title:after {
  border: 0.35rem solid transparent;
  border-top-color: var(--color-text);
  content: "";
  margin: 0.35em 0 0 0.25em;
  position: absolute;
  transform: translateY(0.15em);
}
.dropdown .dropdown-menu {
  background-color: var(--color-background);
  left: 50%;
  min-width: 15ch;
  opacity: 0.3;
  padding: 0.5rem;
  position: absolute;
  top: calc(100% - 0rem);
  transform: rotateX(-90deg) translateX(-50%);
  transform-origin: top center;
  transition: 280ms all 120ms ease-out;
  visibility: hidden;
}
.dropdown .dropdown-menu a {
  color: var(--color-text);
  display: block;
  opacity: 0;
  padding: 0.5em;
  transition: 280ms all 120ms ease-out;
}
.dropdown .dropdown-menu a:hover {
  color: var(--color-text-muted);
}
.dropdown .dropdown-menu a:focus {
  color: var(--color-text-muted);
}
@media (min-width: 768px) {
  .dropdown:hover .dropdown-title, .dropdown:focus-within .dropdown-title {
    color: var(--color-text-muted);
  }
  .dropdown:hover .dropdown-title:after, .dropdown:focus-within .dropdown-title:after {
    border-top-color: var(--color-text-muted);
  }
  .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
    opacity: 1;
    transform: rotateX(0) translateX(-50%);
    visibility: visible;
  }
  .dropdown:hover .dropdown-menu a, .dropdown:focus-within .dropdown-menu a {
    opacity: 1;
  }
  .dropdown:hover:after, .dropdown:focus-within:after {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0;
  }
  nav .nav-links a {
    font-size: 1rem;
  }
  nav .hamburger {
    display: block;
  }
  nav .nav-galleries {
    display: none;
  }
  nav > ul {
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 4rem 2rem;
    position: fixed;
    right: -100%;
    top: 0;
    transition: right 0.3s ease;
    width: 100%;
    z-index: 99;
  }
  nav > ul > li {
    font-size: 2rem;
    margin: 0;
    text-align: left;
    width: 100%;
  }
  nav > ul > li .dropdown-title {
    display: none;
  }
  nav > ul > li a {
    display: block;
    padding: 0.5rem 0;
  }
  nav.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  nav.active .hamburger span:nth-child(2) {
    opacity: 0;
  }
  nav.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  nav.active > ul {
    right: 0;
  }
  .dropdown .dropdown-title:after {
    display: none;
  }
  .dropdown .dropdown-menu {
    background: transparent;
    display: block;
    opacity: 1;
    padding: 0;
    align-items: left;
    position: static;
    transform: none;
    visibility: visible;
    width: 100%;
  }
  .dropdown .dropdown-menu:hover, .dropdown .dropdown-menu:focus-within {
    transform: none;
  }
  .dropdown .dropdown-menu a {
    opacity: 1;
    padding: 0.5rem 0;
  }
  .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
    display: block;
  }
}
@font-face {
  font-family: "Aller";
  font-style: normal;
  font-weight: normal;
  src: url("../assets/fonts/Aller_Rg.ttf") format("truetype");
}
:root {
  --color-background: #151515;
  --color-text: #ffffff;
  --color-text-muted: #cccccc;
  --font-family: "Aller", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
  --header-height: 70px;
  --max-width: 1800px;
}

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

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.2;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a:hover {
  opacity: 0.8;
}

.site-header {
  background-color: var(--color-background);
  height: var(--header-height);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 500;
}

.site-footer {
  background-color: var(--color-background);
  color: var(--color-text);
  font-size: 0.9rem;
  padding: 4rem 0 2rem;
  text-align: center;
}
