/* imports */

@font-face {
  font-family: philosopher;
  src: url(../assets/Philosopher-Bold-PL.otf);
  font-weight: bold;
}

@font-face {
  font-family: philosopher;
  src: url(../assets/Philosopher-Regular-PL.otf);
  font-weight: regular;
}

@font-face {
  font-family: montserrat;
  src: url(../assets/Montserrat-VariableFont_wght.ttf);
}

/* reset */

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

a:active {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
  text-decoration: none;
}

/* variables */
:root {
  --primary: rgb(44, 86, 51);
  --secondary: rgb(140, 151, 92);
  --light: rgb(255, 239, 214);
  --dark: rgb(46, 46, 46);
  --mont: montserrat;
  --phil: philosopher;
}

/* globals */

h1,
h2,
h3 {
  font-family: var(--phil);
  margin-bottom: 1rem;
}

.nav100 {
  height: 100%;
}

li.nav100 {
  display: flex;
  align-items: center;
}

nav a:hover {
  color: var(--secondary);
}

h1 {
  font-size: 6rem;
  font-weight: bold;
}

h2 {
  font-size: 4rem;
  font-weight: bold;
}

.hero p {
  font-size: 2rem;
}

p,
li {
  font-family: var(--mont);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

button {
  background-color: var(--primary);
  color: white;
  font-family: var(--phil);
  font-size: 2.5rem;
  font-weight: bold;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 40px;
  transition: all 0.3s ease-in-out;
}

button:hover {
  cursor: pointer;
  background-color: var(--secondary);
  color: black;
  transition: all 0.3s ease-in-out;
}

.mobile {
  display: none;
}

/* sections */

#start,
#oferta,
#zabiegi,
#bio,
#kontakt {
  scroll-margin-top: 6rem;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 4;
}

.bg1 {
  width: 100%;
  background-image: url(../assets/bg1.png);
  background-repeat: no-repeat;
  background-position: left top;
}

.bg2__box {
  width: 100%;
  position: relative;
}

.bg2 {
  position: absolute;
  top: -10rem;
  margin-top: -6rem;
  margin-bottom: -6rem;
  width: 100%;
  height: 85vh;
  background-image: url(../assets/bg2.png);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
}

.dropdown,
.dropdown__inner {
  position: relative;
}

.dropdown__inner {
  padding-bottom: 2rem;
  margin-bottom: -2rem !important;
}

.dropdown__menu {
  display: block;
  min-width: 350px;
  position: absolute;
  top: 5rem;
  left: -2rem;
  background-color: var(--dark);
  padding: 2rem;
  z-index: 4;
  transform: translateY(-400px) scaleY(0);
  transition: all 0.3s ease-in-out;
}

.dropdown__menu__inner {
  display: block;
  min-width: 350px;
  position: absolute;
  top: 2.5rem;
  left: 4rem;
  background-color: var(--dark);
  padding: 2rem;
  z-index: 4;
  transform: translateX(300px) scaleY(0);
  transition: all 0.3s ease-in-out;
}

.dropdown:hover .dropdown__menu,
.dropdown__menu:hover {
  transform: translateY(0) scaleY(1);
  transition: all 0.3s ease-in-out;
}

.dropdown__inner:hover .dropdown__menu__inner {
  transform: translateX(0) scaleY(1);
  transition: all 0.3s ease-in-out;
}

.dropdown__menu li {
  margin-bottom: 0.6rem;
}

main {
  max-width: 1400px;
  margin: 0 auto;
}

section {
  margin-bottom: 4rem;
}

header {
  background-color: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  max-width: 300px;
  margin-bottom: -40px;
}

.header__box {
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  width: 1400px;
}

.header__box-mobile {
  display: none;
}

.header__menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__menu button {
  font-size: 1.5rem;
  padding: 1rem 2rem;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-right: 2rem;
}

nav ul li {
  color: white;
  font-family: var(--mont);
  font-size: 1.5rem;
}

.hero,
.hero__box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero {
  flex-direction: column;
  background-color: var(--light);
  margin-top: 5rem;
}

.hero__box {
  max-width: 1400px;
  z-index: 2;
}

.hero__bottom-bar {
  width: 100%;
  height: 6rem;
  background-color: white;
  margin-top: -6rem;
}

.hero__text button {
  margin-top: 3%;
}

.hero__text h1 {
  margin-bottom: 1%;
}

.title__area {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10rem;
  background-color: var(--light);
  margin-top: 5rem;
  margin-bottom: 0;
}

.title__area h1 {
  font-size: 3rem;
}

main h2 {
  font-size: 3rem;
  color: var(--primary);
  text-align: center;
}

.page__bg {
  max-width: 100%;
  background-image: url(../assets/bg1.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-top: 4rem;
}

.main__page {
  max-width: 1200px;
  margin: 0 auto;
}

.main__page p {
  line-height: 2rem;
}

.main__page Ul {
  list-style: disc;
}

.main__page li {
  margin-left: 3rem;
}

.featured {
  margin-top: 3rem;
}

.featured__icons {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 3rem;
}

.featured__icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(1) translateY(0px);
  transition: all 0.3s ease-in-out;
}

.featured__icon:hover {
  transform: scale(1.05) translateY(-15px);
  transition: all 0.3s ease-in-out;
}

.featured__icon img {
  height: 180px;
  margin-bottom: 1rem;
}

.featured__icon h3 {
  color: var(--secondary);
  font-size: 2.5rem;
  font-weight: bold;
}

.featured__icon p {
  text-align: center;
  font-size: 1.2rem;
  font-family: var(--mont);
  color: var(--secondary);
}

.offer {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 5rem;
  margin-bottom: 6rem;
}

.offer h2 {
  margin-bottom: 4rem;
}

.offer__row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.offer__item {
  margin-left: 4rem;
  margin-right: 4rem;
}

.offer__row img {
  max-width: 150px;
}

.offer__row h3 {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
}

.offer__row p {
  text-align: center;
  font-size: 1.2rem;
  font-family: var(--mont);
  max-width: 400px;
}

.bio {
  background-color: var(--secondary);
  color: white;
  padding-bottom: 3rem;
  padding-top: 3rem;
}

.bio__box {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

.bio__box img {
  margin-right: 3rem;
}

.contact p {
  text-align: center;
  font-size: 1.3rem;
}

.contact p strong {
  font-size: 1.6rem;
}

.map iframe {
  width: 100%;
}

.first__section {
  background-image: url(../assets/bg1.png);
}

footer {
  background-color: var(--dark);
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

footer img {
  max-height: 140px;
}

footer p {
  font-size: 0.9rem;
}

footer h3 {
  font-size: 2rem;
}

.pricing {
  max-width: 700px;
  margin: 0 auto;
}

.pricing h3 {
  font-size: 2rem;
}

.pricing p {
  font-size: 1rem;
}

.pricing p span {
  display: inline-block;
  font-weight: bold;
  text-align: right;
}

.pricing p span::after {
  content: " zł";
  font-weight: bold;
}

.pricing p span::before {
  content: " - ";
  font-weight: bold;
}

/* responsive */

@media screen and (max-width: 1100px) {
  .hero__box,
  .featured__icons,
  .offer__row,
  .bio__box,
  footer {
    flex-direction: column;
  }

  .hero__box,
  .intro,
  .bio__text {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero button {
    display: block;
    margin: 2rem auto;
  }

  .featured__icons,
  .bio__box {
    align-items: center;
  }

  .offer__row {
    margin-bottom: 0;
  }

  .offer__item {
    margin-top: 1rem;
  }

  .bio__box img {
    margin-right: 0px;
    margin-bottom: 2rem;
  }

  .desktop {
    display: none;
  }

  footer {
    text-align: center;
  }

  footer div {
    margin-bottom: 3rem;
  }

  /* header {
    position: relative;
  } */

  .header__box-mobile {
    display: flex;
    flex-direction: column;
    width: 90%;
  }

  .header__box-mobile .header__menu,
  .header__box-mobile .header__menu ul {
    flex-direction: column;
  }

  .header__menu {
    margin-top: 3rem;
  }

  .header__box-mobile button {
    margin-top: 2rem;
    margin-bottom: 3rem;
  }

  nav ul {
    margin-right: 0;
  }

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

  .hamburger__bar {
    width: 30px;
    height: 4px;
    display: block;
    background-color: white;
    margin-top: 4px;
    margin-bottom: 4px;
    border-radius: 5px;
  }

  .hamburger__icon {
    cursor: pointer;
  }

  .bar-1,
  .bar-2,
  .bar-3 {
    transition: all 0.3s ease-in-out;
  }

  .bar-1-open {
    transform: translateY(8px) rotate(45deg);
    transition: all 0.3s ease-in-out;
  }

  .bar-2-open {
    background-color: var(--dark);
    transition: all 0.3s ease-in-out;
  }

  .bar-3-open {
    transform: translateY(-8px) rotate(-45deg);
    transition: all 0.3s ease-in-out;
  }

  .header__box-mobile {
    position: relative;
  }

  .header__menu-mobile {
    position: absolute;
    width: 100%;
    z-index: 3;
    padding-top: 3rem;
    background-color: var(--dark);
    transform: translateY(-400px) scaleY(0);
    transition: all 0.3s ease-in-out;
  }

  .header__menu-open {
    transform: translateY(60px) scaleY(1);
    transition: all 0.3s ease-in-out;
  }

  .dropdown-mobile {
    text-align: center;
  }

  .dropdown-mobile li a {
    font-size: 1rem;
  }

  nav ul {
    gap: 10px;
  }

  .second__level,
  .third__level {
    margin-top: 0.5rem;
    gap: 0px;
  }

  .second__level li {
    margin-bottom: 0;
  }

  .main__page {
    padding-left: 2rem;
    padding-right: 1rem;
  }

  .title__area {
    /* margin-top: 0; */
    text-align: center;
  }

  .hero {
    /* margin-top: 0; */
    padding-top: 3rem;
  }

  .dropdown__menu__openbox {
    display: block;
    margin: 0 auto;
    width: 100%;
    z-index: 3;
  }

  .dropdown__menu__openbox .header__menu-mobile {
    margin: 0 auto;
  }
}
