/* =============================== */
/*   📌 БАЗА — ДЕСKTOP (не змінюємо) */
/* =============================== */

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

body {
  background-size: 30% auto;
  background-repeat: repeat;
  background-position: center;
  background-attachment: fixed;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffe235;
  padding: 1vw 5vw 0vw 7vw;
}

nav a {
  font-family: "Roboto", sans-serif;
  text-decoration: none;
  font-weight: 100;
  color: #444141;
  font-size: 1.3vw;
  margin-left: 1vw;
}

.logo img {
  height: 15vh;
}

.active-page {
  color: #000;
  font-weight: bolder;
  font-size: 1.4vw;
}

/* Hero section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}

.hero-image {
  flex: 1 1 40vw;
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 40vw;
  height: auto;
  border-radius: 2vh;
}

.hero-text {
  flex: 1 1 40vw;
  max-width: 40vw;
  margin-left: 5vw;
}

.hero-text h1 {
  font-family: "Comfortaa", cursive;
  font-size: 6vh;
  margin-bottom: 2vh;
}

.hero-text p {
  font-size: 2.2vw;
  line-height: 2.5vw;
  margin-bottom: 2vh;
}

/* CTA */
.cta {
  font-family: "Roboto", sans-serif;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  bottom: 6vh;
}

.button {
  display: inline-block;
  background: #000;
  color: #ffeb3b;
  border-radius: 1vw;
  font-weight: 700;
  font-family: "Comfortaa", cursive;
  text-decoration: none;
  font-size: 2vw;
  padding: 1vw;
}

/* =================================== */
/*   📱 МОБІЛЬНА АДАПТАЦІЯ (до 600px)   */
/* =================================== */
@media (max-width: 600px) {

  /* 🔹 HEADER */
  header {
    background: none;
    padding: 2vh 4vw;
    display: flex;
    justify-content: space-between; /* ← лого зліва, меню справа */
    align-items: center;
  }

  nav a {
    display: none; /* ховаємо ТІЛЬКИ десктопні посилання */
  }

  .logo img {
    height: 20vw;
    width: auto;
  }

  .active-page {
    font-size: 4vw;
  }

  /* 🔹 HERO */
  .hero {
    display: block;
    padding: 4vh 4vw;
    text-align: center;
  }

  .hero-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 3vw;
  }

  .hero-text {
    max-width: 100%;
    margin: 0;
    margin-top: 3vh;
  }

  .hero-text h1 {
    font-size: 5vh;
    margin-bottom: 2vh;
  }

  .hero-text p {
    font-size: 3.5vw;
    line-height: 5vw;
    margin-bottom: 2vh;
  }

  /* 🔹 CTA BUTTON */
  .cta {
    bottom: 7vh;
  }

  .button {
    border-radius: 12vw;
    font-size: 7vw;
    padding: 3vw 6vw;
  }
}
