/*
Theme Name: Alan Hamliko 3.1
Theme URI: https://example.com/
Author: Anna-Lena oehm
Author URI: https://annalenaoehm.com/
Description: Custom theme for Alan Hamliko's website
Version: 1.0
*/

@import url("https://use.typekit.net/slm6dwh.css");

@font-face {
    font-family: Kormelink;
    font-style: regular;
    src: url('fonts/WT_Kormelink_Roman_DESK_1.1.woff2');
}

@font-face {
    font-family: Kormelink;
    font-style: italic;
    src: url('fonts/WT_Kormelink_Italic.woff2');
}

body {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    background-color: white;
}

.background-fader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: -1;
}

.background-fader img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 2s ease;
    opacity: 0;
}

.background-fader img.active {
    opacity: 1;
}

.logo {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
}

.logo img {
    height: 40px;
    width: auto;
}

.menu {
    font-family: "helvetica-neue-lt-pro", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: black;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    font-size: 10pt;
    text-transform: uppercase;

}

.sub {
    line-height: 0.7;
}

.subsub {
  position: relative;
  display: block;
  font-weight: 500;

  background-image: url("https://images.unsplash.com/photo-1723947842784-aa7bfe8cf853?w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;


  /* 🔥 realistischer Drucklook */
  filter: brightness(0.6)  contrast(1.2);
}

/* Desktop */
@media (min-width: 801px) {
   .menu {
      position: fixed;
      top: 48dvh;
      left: 5px;
      transform: none;
      display: flex;
      flex-direction: row;
      justify-content: space-evenly;
      align-items: flex-start;
      gap: 15px;
      padding: 0 2vw;
    }

    .menu > div {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      margin: 0;
    }

    .mobile-menu-button {
      display: none;
    }
}

/* Mobile */
@media (max-width: 800px) {
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    height: 100dvh;
    width: 100vw;
    padding: 0 2vw;
  }

  .sub {
    line-height: 1.5;
  }

  .menu > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
  }

  .subsub {
    font-family: 'Kormelink';
    font-style: italic;
    font-size: 12pt;
    text-transform: none;
    line-height: 0.8;

  }

  #about { order: 1; }
  #objects { order: 2; }
  #info { order: 3; }
  #jewelry { order: 4; }
  #textile { order: 5; }
  #photography { order: 6; }
}

/* Links */
.menu a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  padding: 0.2rem 0;
  white-space: nowrap;
}

.menu a:hover,
.menu summary:hover {
  font-style: italic;
  font-weight: 500;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.photo-credit {
  position: fixed;
  bottom: 15px;
  right: 15px;
  font-size: 8pt;
  font-family: Kormelink;
  font-style: italic;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 10;
  pointer-events: none;
}

.comingsoon-text {
  font-family: 'Kormelink';
  font-style: italic;
  font-size: 12pt;
  text-transform: none;
  line-height: 1.1;
  margin: 0;
}

.comingsoon-text a {
  color: black;
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  font-size: 10pt;
  text-decoration: none;
}

.comingsoon-text a:hover {
  font-style: normal;
}

.menu-comingsoon {
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: black;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  font-size: 10pt;
  text-transform: uppercase;
}

.menu-comingsoon a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  padding: 0.2rem 0;
  white-space: nowrap;
}

.menu-comingsoon a:hover,
.menu-comingsoon summary:hover {
  font-style: italic;
  font-weight: 500;
}

@media (min-width: 801px) {
  .menu-comingsoon {
    position: fixed;
    top: 48%;
    left: 5px;
    transform: none;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 15px;
    padding: 0 2vw;
  }

  .menu-comingsoon > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
  }
}

@media (max-width: 800px) {


  .mobile-menu-button {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 6px;
    color: black;
    font-weight: 500;
    font-family: "helvetica-neue-lt-pro", sans-serif;
    font-size: 10pt;
    text-transform: uppercase;
     z-index: 2;
     text-decoration: none;
  }




  .menu-comingsoon {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20dvh 2vw;
    box-sizing: border-box;
  }

  #about {
    display: flex;
    flex-direction: column;
    align-items: center; /* zentriert alle Kinder horizontal */
    text-align: center;  /* zentriert Text in den Links */
  }


  #about {
    order: 1;
  }

  #comingsoon {
    order: 2;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
  }

  #info {
    order: 3;
  }
}
