@import url('https://fonts.googleapis.com/css?family=Josefin+Sans');
@import url('https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.2/photoswipe.min.css');


/********** General **********/
:root {
  --header-height: 90px;
  --logo-width: 200px;
}

@media(max-width: 767px) {
  :root {
    --header-height: 70px;
    --logo-width: 150px;
  }
}

body {
  /* font-family: system-ui, sans-serif; */
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: 18px;
}

.body * {
  color: black;
}

* {
  -webkit-tap-highlight-color: transparent;
}

h1 {
  font-weight: normal;
}

.white * {
  color: white;
}

a {
  text-decoration: none;
  color: black;
}

.hidden {
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  /* padding: 0 !important; */
}

/********** Main Menu **********/
.menu {
  display: flex;
  align-items: center;
  margin-left: 50px;
}
 
.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
  
.menu * {
  text-decoration: none;
  color: white;
}
  
.menu .down-caret {
  font-size: 10px;
  line-height: 20px;
  padding-left: 2px;
}
  
.menu li {
  margin: 5px 30px 0 0;
  cursor: pointer;
  user-select: None;
}

.menu li:hover, .menu li a:hover {
  color: grey;
}

.menu li > a {
  color: grey;
}

.menu .submenu {
  display: block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  max-height: 0;
  transition: all 0.5s ease;
  background: black;
  padding: 10px;
  cursor: pointer;
}

.submenu li {
  padding-top: 10px
}

.menu li a {
  color: white;
}

.menu li:hover > ul,
.menu li ul:hover {
  display: block;
  visibility: visible;
  opacity: 1;
  max-height: 500px;
}

.expand-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-height: 500px !important;
  position: relative !important;
}  


/********** Header **********/
.header {
  position: fixed;
  /* height: 110px; */
  height: var(--header-height);
  width: 100%;
  max-width: 100vw;
  padding: 20px 30px 10px;
  /* background: linear-gradient(180deg, rgba(0, 0, 0, 1) 80px, rgba(0, 0, 0, 0)); */
  background: black;
  box-sizing: border-box;
  z-index: 1;
}

.header .header-container {
  display: flex;
  align-items: center;
}

.header .logo-container {
  /* flex: 1; */
}


img#logo {
  width: var(--logo-width);
  filter: invert(1);
}

.header .icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon {
  width: 30px;
  height: 30px;
  filter: invert(1);
}

#menu-icon {
  display: None; 
}


#mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100vh;
  background: black;
  z-index: 1;
  transition: all 0.3s ease-out;
  overflow: scroll;
  padding-bottom: 20px;
  box-sizing: border-box;
}

#mobile-menu #close-icon {
  position: absolute;
  right: 20px;
  top: 20px;
}

#mobile-menu .submenu {
  position: relative;
  display: none;
}


@media (max-width: 1023px) {
  #header-menu {
    display: none;
  }
  
  #menu-icon {
    display: block;
  }
  
  a.logo {
    flex: 1;
  }
  
  /* .menu {
    justify-content: end;
    text-align: right;
  } */
  .menu {
    margin-top: 20px;
  }

  .menu ul {
    display: block;
  }

  .menu ul li {
    font-size: 25px;
  }

  .menu > ul > li {
    margin-top: 40px;
  }

  .submenu {
    visibility: visible;
    opacity: 1;
  }

  .submenu li {
    margin-top: 20px;
  }
}


/********** Footer **********/
.footer-container {
  padding: 20px;
  color: rgb(155, 155, 155);
  text-align: center;
  font-size: 12px;
}


/********** Index **********/
.index-page .blurb-container {
  height: calc(100vh - var(--header-height));
  width: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0)), url("images/new-york.jpg") no-repeat center / cover;
  z-index: -1;
}

.index-page .blurb {
  font-size: 110px;
  text-transform: uppercase;
  position: absolute;
  left: 5%;
  bottom: 10%;
}
    
.index-page .blurb div {
  opacity: 0;
  color: white;
}
    
.index-page .blurb div:nth-child(1) { 
  animation: 5s fadein 0.3s forwards, 2s movedown 0.3s forwards; 
}
.index-page .blurb div:nth-child(2) {
  animation: 5s fadein 0.7s forwards, 2s movedown 0.7s forwards; 
}


.index-page .page-content {
  align-items: center;
}


.index-page .item-section {
  margin-bottom: 50px;
}


.index-page .item-container {
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
}

.index-page .item-container a {
  flex: 1 0 300px;
  padding: 5px;
  max-width: 400px;
  box-sizing: border-box;
}

.index-page .item {
  overflow: hidden;
  /* width: 300px; */
  height: 400px;
}

.index-page .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease-out;
  transform: translateZ(0);
}

.index-page .item div.new-york {
  background-size: auto 113%;
}

.index-page .item img:hover {
  transform: scale(1.2);
}

.index-page .label {
  padding-top: 7px;
}

a {
  cursor: pointer;
}

a.label {
  display: inline-block;
}

.fadein {
  animation: fadein 5s forwards;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes movedown {
  from { transform: translateY(50px); }
  to   { transform: translateY(0); }
}

@media(max-width: 1023px) {
  .index-page .blurb {
    font-size: 50px;
  }

  .item-section {
    padding: 0 10px;
  }

  .index-page .item-container {
    width: auto;
    justify-content: center;
  }

  .product-title {
    text-align: center;
  }
}

@media(max-width: 767px) {
  .index-page .item-container {
    justify-content: center;
  }

  .index-page .item-container a {
    /* flex: 1 0 200px; */
  }

  .index-page .item div:first-child {
    width: 80vw;
    height: 100vw;
    /* height: 100%; */
    /* height: 225px; */
    background-size: cover;
  }
}


/********** Product Page **********/
.page-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  width: 100%;
  padding-top: var(--header-height);
  overflow: hidden;
}

.index-page.page-container {
  padding-top: var(--header-height);
}

.page-content {
  width: 1000px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-sizing: border-box;
}

.product-title {
  font-size: 25px;
  margin: 50px 0 5px;
}

.product-subtitle {
  font-size: 18px;
  color: rgb(100, 100, 100);
  margin-top: 30px;
}

.product-description {
  /* max-width: 500px; */
}

@media(max-width: 1023px) {
  .page-container {
    padding-top: var(--header-height);
  }

  .page-content {
    width: 100%;
    padding-top: 10px;
  }

  .product-title {
    margin: 50px 10px 5px;
  }
}


/********** Gallery **********/
.gallery-container {
  display: flex;
  flex-direction: row;
  width: 1000px;
  height: 400px;
}

.gallery-container a {
  flex: 1;
  height: 100%; 
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: flex 0.8s ease;
  background-image: var(--img-src);
  cursor: pointer;
}

.gallery-container a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-container a:hover {
  flex: 2;
}

@media(max-width: 1023px) {
  .gallery-container {
    max-width: 100vw;
  }
}

@media(hover: none) {
  .gallery-container a:hover {
    flex: 1;
  }
}


/********** Finishes **********/
.finishes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.finishes-row img {
  width: 100px;
}

.finish-item {
  width: 150px;
  text-align: center;
}

@media(max-width: 767px) {
  .finishes-container .product-subtitle {
    text-align: center;
  }
  .finishes-row {
    justify-content: center;
  }
}


/********** Contact Page **********/
.contact-page .subtitle {
  font-size: 20px;
  margin-top: 40px;
  color: grey;
}

.contact-page .blurb {
  margin-top: 5px;
  max-width: 600px;
}

.contact-page .value {
  font-size: 30px;
  margin-top: 5px;
}