@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
  --main-color: #1b4a9c;
  --secondary-color: #0077ff;
  --third-color: #0502b1;
  --text-color: #f0f0f0;
}

/* Header */
.header {
  height: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--main-color);
}

.nav {
  text-decoration: none;
  color: var(--text-color);
}

.header img {
  margin-top: 1em;
}

.navigation {
  color: var(--text-color);
  font-size: large;
  display: flex;
  gap: 2em;
  margin-right: 2em;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 600;
  font-style: normal;
  cursor: pointer;
  padding: 1.6em;
}

.navigation h3 {
  padding: 1em;
  transition: all 0.3s ease;
}

.navigation h3:hover {
  color: white;
  background-color: var(--third-color);
}

/* Contact */
.body {
  display: flex;
  justify-content: center;
  margin-top: 2em;
  gap: 10em;
  margin-left: 15%;
  margin-right: 15%;
}

.cart {
  text-decoration: none;
  color: black;
}

.description h1 {
  color: var(--main-color);
  font-size: xx-large;
  font-weight: bold;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 600;
  font-style: normal;
  cursor: pointer;
  margin-bottom: 1em;
}

.mini-title {
  color: var(--main-color);
  font-size: large;
  font-weight: bold;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 600;
  font-style: normal;
  cursor: pointer;
  margin-bottom: 1em;
  margin-top: 1em;
}

.social-medias {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.social-medias h4 {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--text-color);
  display: inline-block;
  padding-bottom: 5px;
}

.icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.icons img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  margin-top: 1em;
}

.icons img:hover {
  transform: scale(1.15);
  filter: brightness(1.2);
}

/* Footer */
.footer {
  background-color: var(--main-color);
  color: #fff;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
  margin-top: 2em;
}

.footer h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.2rem;
  border-top: 2px solid var(--text-color);
  padding-top: 10px;
  color: #e0e0e0;
  margin-left: 15%;
  margin-right: 15%;
  margin-top: 1em;
}

.adress {
  cursor: pointer;
}

.sections {
  margin-left: 18%;
  margin-right: 18%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 14%;
}

.navigations,
.contact,
.social-medias {
  flex: 1;
  min-width: 200px;
}

.navigations a {
  color: var(--text-color);
  text-decoration: none;
}

.navigations h4,
.contact h4,
.adress h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-color);
  border-bottom: 2px solid var(--text-color);
  display: inline-block;
  padding-bottom: 5px;
  cursor: pointer;
}

.navigations p,
.contact p {
  margin: 5px 0;
  transition: color 0.3s ease;
  cursor: pointer;
}

.navigations p:hover,
.contact p:hover,
.adress p:hover {
  color: yellow;
}

.piece {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.schedule p {
  margin: 2px 0;
}

/* Адаптивність для планшетів (768px–1024px) */
@media screen and (max-width: 1024px) {
  /* Header */
  .header {
    justify-content: space-between;
    align-items: center;
  }

  .navigation {
    gap: 1em;
    margin-right: 1em;
    padding: 1em;
  }

  .navigation h3 {
    font-size: 1rem;
    padding: 0.8em;
  }

  /* Body */
  .body {
    margin-left: 5%;
    margin-right: 5%;
    gap: 5em;
    flex-direction: column;
    align-items: center;
  }

  .description h1 {
    font-size: x-large;
  }

  .mini-title {
    font-size: medium;
  }

  .description p {
    font-size: 0.9rem;
  }

  iframe {
    width: 100%;
    height: 500px;
  }

  .icons img {
    width: 28px;
    height: 28px;
  }

  /* Footer */
  .sections {
    margin-left: 5%;
    margin-right: 5%;
    gap: 5%;
  }

  .navigations,
  .contact,
  .social-medias {
    min-width: 150px;
  }

  .footer h3 {
    margin-left: 5%;
    margin-right: 5%;
  }
}

/* Адаптивність для мобільних (<768px) */
@media screen and (max-width: 767px) {
  /* Header */
  .header {
    flex-direction: column;
    align-items: center;
  }

  .navigation {
    flex-direction: column;
    gap: 0.5em;
    margin-right: 0;
    padding: 1em;
    width: 100%;
    text-align: center;
  }

  .navigation h3 {
    font-size: 1rem;
    padding: 0.5em;
  }

  .header img {
    margin-right: 5em;
  }

  /* Body */
  .body {
    margin-left: 2%;
    margin-right: 2%;
    flex-direction: column;
    gap: 2em;
    align-items: center;
    text-align: center;
  }

  .description h1 {
    font-size: large;
  }

  .mini-title {
    font-size: small;
  }

  .description p {
    font-size: 0.8rem;
  }

  .cart {
    font-size: 0.9rem;
  }

  .social-medias {
    align-items: center;
  }

  .icons {
    justify-content: center;
  }

  .icons img {
    width: 24px;
    height: 24px;
  }

  iframe {
    width: 100%;
    height: 300px;
  }

  /* Footer */
  .sections {
    flex-direction: column;
    margin-left: 2%;
    margin-right: 2%;
    gap: 2em;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .navigations,
  .contact,
  .social-medias,
  .adress {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .navigations h4,
  .contact h4,
  .social-medias h4,
  .adress h4 {
    text-align: center;
  }

  .navigations p,
  .contact p,
  .adress p {
    text-align: center;
  }

  .piece {
    justify-content: center;
  }

  .schedule {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .icons {
    justify-content: center;
  }

  .footer h3 {
    margin-left: 2%;
    margin-right: 2%;
    font-size: 1rem;
    text-align: center;
  }
}