html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}


*, *::before, *::after {
  box-sizing: inherit;
}


body {
  background-color: rgb(255, 255, 255);
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
}


p, h1, h2, h3, h4, h5, h6, button {
  margin: 0;
  padding: 0;

  
  line-height: 130%;
  letter-spacing: 0.01em;
  
  
}

h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

p {
  font-weight: 350;
  color: rgba(0,0,0,0.75);
}



ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}


.btn {
  font-family: var(--font-body);
  font-weight: 600;
  background: none;
  border: none;
  box-shadow:
    inset 0 1.25px 0 0 #000,
    inset 0 -1.25px 0 0 #000;
  padding: .45rem 1.2rem .4rem 1.2rem;
  font-size: 1rem;
  color: black;
  text-decoration: none;
  cursor: pointer;
  text-align: center;

  transition: background-color 0.2s ease-in-out;
}

.btn:hover {
  background-color: rgba(200, 158, 126, 0.75);

}



:root {
  --color-creamy: rgb(200, 158, 126);

  --font-heading: 'Playfair', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --space: clamp(5rem, 4rem + 3vw, 6rem);


  --h2-size: clamp(1rem, 10vw, 3rem);
  --h3-size: clamp(1rem, 8vw, 2.5rem);
}








/*---------------------HEADER---------------------*/


.header {
  position: fixed;
  background-color: white;
  left: 0;
  right: 0;
  top: 0;
  height: 4rem;
  z-index: 10;
  padding-inline: 12px;
}


.header .header-inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}


.header .header-inner .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-creamy);
  height: 100%;
  padding-inline: 16px;
  cursor: pointer;
  font-family: 'Jura', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 16px + 4vw, 1.75rem + 8px);
  color: white;
  font-weight: 600;
}




.header .header-inner .menu-bars,
.header .header-inner .menu-x {
  font-size: min(.75rem + 5.5vw, 2rem);
  cursor: pointer;
}

.header .header-inner .menu-x {
  display: none;
}

.header.mobile-active .header-inner .menu-x {
  display: inline-block
}
.header.mobile-active .header-inner .menu-bars {
  display: none;
}


.header .header-inner .nav {
  display: flex;
  flex-direction: row;
  column-gap: clamp(1rem, 4vw, 4rem);

  padding-bottom: .25rem;
  display: none;
}

.header .header-inner .nav a {
  font-size: clamp(.8rem, 3vw, 1.25rem);
  font-weight: 350;
  position: relative;
  cursor: pointer;
  color: black;

  transition: color 0.2s ease-in-out;
}
.header .header-inner .nav a:not(:first-child)::after {
  content: "";
  position: absolute;
  left: calc(clamp(1rem, 4vw, 4rem) / -2);
  bottom: -.25rem;
  top: -.25rem;
  width: 1px;
  background-color: black;
}
.header .header-inner .nav a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.25rem;
  height: 1px;
  width: 0;
  background-color: var(--color-creamy);

  transition: width 0.2s ease-in-out;
}
.header .header-inner .nav a:hover {
  color: var(--color-creamy);
}
.header .header-inner .nav a:hover::before {
  width: 100%;
}






.header .overlay-nav {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(200, 158, 126, 0.9);
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  align-items: center;
  justify-content: center;
  display: none;
}

.header .overlay-nav a {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 18vw, 5rem);
  color: white;
  font-weight: 700;
}


.header.mobile-active .overlay-nav {
  display: flex;
}




@media (min-width: 825px) {

  .header {
    height: 4.5rem;
    padding-top: 1rem;
    padding-left: 2vw;
    padding-right: 2vw;
  }


  .header .header-inner .logo {
    border-top-left-radius: .4rem;
    border-top-right-radius: .4rem;

    border-bottom-left-radius: .1rem;
    border-bottom-right-radius: .1rem;
  }


  .header .header-inner .menu-bars {
    display: none;
  }

  .header .header-inner .nav {
    display: flex;
  }



}










/*---------------------TOP IMG---------------------*/


.top-image {
  background-image: url('../imgs/about-hero.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 20rem;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);

  margin-top: 4rem;
}




@media (min-width: 825px) {
  .top-image {
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    margin-top: 4.5rem;
  }
}












/*---------------------PORTFOLIO---------------------*/


.portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: 16px;
  padding-block: var(--space);
}

.portfolio h2 {
  font-size: var(--h2-size);
  padding-bottom: .5rem;
}

.portfolio p {
  padding-bottom: 4rem;
}




.portfolio .images {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.portfolio .images .image {
  width: 100%;
  overflow: hidden;

  
}




.portfolio .images .small {
  display: grid;
  grid-template-columns: 1fr;

  gap: 16px;
}


.portfolio .images .small .image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;

}







.portfolio .images .medium {
  display: grid;
  grid-template-columns: 1fr;
  
  gap: 16px;
}

.portfolio .images .medium .image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1.75;
  object-fit: cover;
}








.portfolio .images .big {
  display: grid;
  grid-template-columns: 1fr;
  
  gap: 16px;
}

.portfolio .images .big .image img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}







@media (min-width: 325px) {
  .portfolio .images .small {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 425px) {
  .portfolio .images .medium {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (min-width: 725px) {
  .portfolio .images {
    max-width: min(85%, 1000px, 90vh);
  }
}









/*---------------------SALONS---------------------*/


.salons {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: var(--space);
  padding-inline: 16px;
}

.salons .salon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;

  scroll-margin-top: 100px;
}

.salons .salon h2 {
  font-size: var(--h2-size);
  padding-bottom: .5rem;
}

.salons .salon p {
  max-width: 80vw;
  padding-bottom: 4rem;
}



.salons .salon .images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.salons .salon .images .col-left {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  flex: 1.25;
}

.salons .salon .images .col-right {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  flex: 1;
}


.salons .salon .images .image {
  width: 100%;
  overflow: hidden;
}

.salons .salon .images .img1 {
  height: 35%;
}
.salons .salon .images .img2 {
  height: 65%;
}
.salons .salon .images .img3 {
  height: 55%;
}
.salons .salon .images .img4 {
  height: 45%;
}








.salons .salon .images .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}






.salons .btn {
  margin-bottom: 4rem;
}






@media (min-width: 725px) {
  .salons .salon .images {
    max-width: min(85%, 1000px, 90vh);
  }

  .salons .salon .images {
    flex-direction: row;
  }
}



