@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/roboto-v47-latin-300.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/roboto-v47-latin-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/roboto-v47-latin-500.woff2") format("woff2");
}

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

h2,
h3,
li,
p {
  color: #414042;
  font-family: sans-serif;
  letter-spacing: 0.04rem;
  line-height: 1.5rem;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  background: #f4f4f4;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

header {
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 6%;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
}

.logo img {
  height: 2.5rem;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  text-transform: uppercase;
  color: #414042;
  font-weight: 500;
  text-underline-offset: 0.3rem;
}

nav a:hover {
  color: #D541AF;
  text-decoration: underline;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #414042;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 40px;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 99;
}

.mobile-nav a {
  margin: 10px 0;
  text-decoration: none;
  text-transform: uppercase;
  color: #414042;
  font-weight: 500;
}

.hero-mobile,
.hero {
  background: url('./img/bg_img_scale_torg.png') no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  padding: 3rem 2rem 3rem 10%;
  position: relative;
  flex: 1;

}

.hero-title {
  color: #fff;
  font-size: 2rem;
  text-shadow: 5px 5px 10px #414042;
  line-height: 2rem;
  padding-left: 1rem;
  padding: 2rem 0 2rem 1rem;
  width: fit-content;
}

.hero-title-mobile {
  position: absolute;
  top: 3rem;
  color: #fff;
  font-size: 2rem;
  text-shadow: 5px 5px 10px #414042;
  line-height: 3rem;
  text-align: center;
}

.card-mobile,
.card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;

  h2 {
    font-size: 1.7rem;
    margin: 1.5rem 0;
  }

  h3 {
    margin: 1rem 0;
  }

  p {
    margin-bottom: 20px;
    line-height: 1.6;
  }
}

.cta-button-mobile,
.cta-button {
  display: inline-block;
  padding: 1rem 1.3rem;
  background-color: #D541AF;
  color: white;
  text-decoration: none;
  border-radius: 0.3rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

.cta-button-mobile:hover,
.cta-button:hover {
  filter: brightness(1.1);
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 14px;
  color: #414042;
}

/* Mobile Elements */
.hero-mobile {
  flex-direction: column;
  background: unset;
}

.card-mobile-img {
  img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.card-mobile {
  max-width: unset;
  border-radius: unset;
  text-align: center;
}

.cta-button-mobile {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) and (orientation: portrait) {
  nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-nav.show {
    display: flex;
  }

  .hero {
    display: none;
  }

  .hero-mobile {
    padding: 0;
  }
}

@media (min-width: 768px) {
  .hero-mobile {
    display: none;
  }

  .hero {
    display: flex;
  }
}
