@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:ital,wght@0,400..700;1,400..700&display=swap');

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

:root {
  --header-height: 6vh;
}

body {
  font-family: 'Familjen Grotesk', Helvetica, Arial, sans-serif;
  background: #fff;
  color: #000;
  overflow: hidden;
  transition: background-color 4s ease;
}

/* CONTAINER */
.container {
  margin: 0 auto;
  padding: 0px 50px; /* space around menu*/
}

.visually-hidden {
  position: absolute;
  left: -9999px;
}

/* HEADER */
/* .main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  padding: 6vh 0;
} */

.main-header {
  padding: 30px 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* HEADER STRUCTURE */

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  margin: 0;
  padding: 0;
  letter-spacing: 0.9px;
  color: rgb(52, 52, 52);
  mix-blend-mode: difference;

}

.logo a {
  text-decoration: none;
  /*color: rgb(161, 161, 161);  rgb for dark colours website*/
  color: rgb(94, 94, 94); /* rgb for light colours website*/


}

.menu {
  display: flex;
  gap: 40px;
  mix-blend-mode: difference;
}

.menu a {
  font-weight: 400;
  text-decoration: none;
  /* color: rgb(52, 52, 52); */
  /*color: rgb(161, 161, 161);  rgb for dark colours website*/
  color: rgb(94, 94, 94); /* rgb for light colours website*/

  font-size: 16px;
}

.menu a:hover {
  /* text-decoration: underline; */
  /* color: #272727; */
  color: #a1a1a4;
}

/* burger menu*/

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3000;
}

.burger span {
    height: 2px;
    width: 100%;
    background: rgb(94, 94, 94);
}


/*gallery */

.gallery-wrapper {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
}

.gallery-section {
  display: flex;
  gap:20px;
  padding-left: 50px;
}

.gallery-section img {
  height: 85vh;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  flex-shrink: 0;
}

/* CONTACT PAGE */

.contact-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 50px 50px;
}

.contact-form {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  font-weight: 400;
  color: rgb(94, 94, 94);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: 'Familjen Grotesk', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid rgb(180, 180, 180);
  background: white;
  color: black;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #060b26;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  font-family: 'Familjen Grotesk', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 10px 24px;
  border: 1px solid #060b26;
  background: white;
  color: #060b26;
  cursor: pointer;
}

.contact-form button:hover {
  background: #060b26;
  color: white;
}

/* FOOTER */

.site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  padding: 18px 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  font-size: 10px;
  color: rgb(94, 94, 94);
  background: transparent;
  z-index: 100;
  width: auto;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer a {
  color: rgb(94, 94, 94);
  text-decoration: none;
}

.site-footer a:hover {
  color: #060b26;
}

/* IMPRESSUM / LEGAL PAGE */

body.legal-page-body {
  overflow-x: hidden;
  overflow-y: auto;
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 90px 50px 140px;
  color: rgb(52, 52, 52);
}

.legal-page h1 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 48px;
  color: rgb(52, 52, 52);
}

.legal-page h2 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  margin: 34px 0 10px;
  color: rgb(52, 52, 52);
}

.legal-page p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 18px;
  color: rgb(94, 94, 94);
}

.legal-page a {
  color: rgb(94, 94, 94);
  text-decoration: none;
}

.legal-page a:hover {
  color: #060b26;
}

/* Make footer normal on legal pages */
body.legal-page-body .site-footer {
  position: static;
  width: auto;
  padding: 30px 50px;
  justify-content: flex-end;
}

/* MOBILE */


@media (max-width: 1280px) {
  .gallery-section img {
    height: 75vh;
  }

  .main-header {
  padding: 30px 0 30px 0;
  }
}

@media (max-width: 1024px) {
.gallery-section img {
  height: 65vh;
}}

@media (max-width: 768px) {
.gallery-section img {
  height: 70vh;
}

.gallery-wrapper {
  padding-bottom: 40px 0;
}
}

@media (max-width: 768px) {

    .burger {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;

        width: 40%;
        max-width: 320px;
        height: 100vh;

        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);

        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;

        padding: 100px 30px;
        gap: 20px;

        transition: right 0.3s ease;
        z-index: 2000;

        mix-blend-mode: normal; /* 🔥 IMPORTANT */
    }

    .menu.active {
        right: 0;
    }

    .menu a {
        font-size: 18px;
        color: white;
    }

    .gallery-section img {
    height: 70vh;
  }

  .contact-section {
    align-items: flex-start;
    padding: 60px 20px 40px;
  }

  .contact-form {
    max-width: 100%;
  }

  .contact-form label,
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 16px;
  }

  
}

@media (max-width: 480px) {

  .container {
    padding: 0 20px;
  }

  .main-header {
    padding: 20px 0;
  }

  .logo {
    font-size: 14px;
  }

  .menu {
    gap: 20px;
  }

  .menu a {
    font-size: 14px;
  }

  .gallery-section {
    gap: 12px;
    padding-left: 20px;
  }

  .gallery-section img {
    height: 70vh;
  }

  .gallery-wrapper {
    top: calc(var(--header-height) + 10px);
  }
  
  .site-footer {
    padding: 12px 20px;
    font-size: 8px;
  }

  .site-footer nav {
    gap: 10px;
  }

  .site-footer p {
    max-width: 45%;
    white-space: normal;
    line-height: 1.2;
  }

}