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

body {
    font-family: "Lora", serif;
    font-size: 18px;
}

html {
    scroll-behavior: smooth;
}

p {
    font-family: "Open Sans", sans-serif;
}

.content-wrap {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.header {
    box-shadow: 0px 2px 4px #ffffff54;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
    background-color: #032746;
    color: white;
    text-align: center;
    padding: 0 40px;
}

.header-contact ul {
    display: flex;
    align-items: center;
}

.header-contact ul li {
    display: inline-block;
    margin: 0 12px;
}

.header-contact ul li a {
    display: flex;
    align-items: center;
}

.small-icon {
    width: 36px;
}

.nav_menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav_menu ul {
    display: flex;
    list-style: none;
}

.nav_menu ul li {
    margin: 0 20px;
    font-size: 20px;
}

.nav_menu ul li a {
    color: white;
    text-decoration: none;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}
  
.burger span {
    display: block;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}
  
.burger span {
    transition: all 0.3s ease;
}

.nav_menu.active {
    max-height: 300px;
    padding: 20px 0;
}

.language-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: none;
  border: 1px solid #fff;
  color: white;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.lang-btn .flag-icon {
  width: 20px;
  margin-right: 6px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  background: #032746;
  border: 1px solid #ffffff54;
  border-radius: 6px;
  list-style: none;
  margin: 5px 0 0 0;
  padding: 0;
  min-width: 120px;
  z-index: 1001;
}

.lang-dropdown li {
  border-bottom: 1px solid #ffffff30;
}

.lang-dropdown li:last-child {
  border-bottom: none;
}

.lang-dropdown li a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.lang-dropdown li a:hover {
  background: #06406c;
}

.lang-dropdown .flag-icon {
  width: 20px;
  margin-right: 6px;
}

/* показать при открытии */
.language-switcher.open .lang-dropdown {
  display: block;
}

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 150px 20px 200px;
    background-image: url(/assets/image/mountain.webp);
    background-position: center;
}

h1 {
    font-size: 44px;
    text-align: center;
    margin-bottom: 80px;
    color: white;
    text-shadow: 0 0 20px black;
}

.about > p {
    font-size: 24px;
    max-width: 1200px;
    text-align: center;
    color: white;
    text-shadow: 0 0 20px black;
}

.motorhome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 30px 150px;
}

h2 {
    margin-bottom: 60px;
    font-size: 28px;
    text-align: center;
}

.motorhome p {
    font-size: 20px;
    text-align: center;
    max-width: 1200px;
}

.motorhome-details {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    margin: 60px 0;
}

.motorhome-details img {
    border-radius: 10px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 0 5px 0px #8b8b8b;
}

.motorhome-details p {
    max-width: 600px;
}

.contact {
    margin: 0 0 150px;
}

.contact-mes {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.contact-mes li {
    display: inline-block;
    margin: 0 12px;
}

.contact-mes li a {
    display: flex;
    align-items: center;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 0 6px #05889d;
}

.contact-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px 0px rgb(5 136 157);
    font-family: "Lora", serif;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    resize: vertical;
}

.contact-form button {
    margin: 20px auto 0;
    display: block;
    padding: 12px 20px;
    background-color: #05889D;
    color: #FFC107;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    font-family: "Lora", serif;
}

.contact-form button:hover {
    background-color: #f3a600;
    color: #05889D;
    box-shadow: 0 0 10px #02b3ce;
}

.contact_h2 {
    text-align: center;
}

.contact_form_p {
    text-align: center;
    font-size: 22px;
}

.form-status {
    margin-top: 15px;
    font-weight: 500;
    font-size: 16px;
}

.popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #05889D;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1000;
  }
  
.popup.show {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1024px) {

  .burger {
    display: flex;
  }

  .nav_menu {
    flex-direction: column;
    align-items: center;
    background: #05889D;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    overflow: hidden;
    max-height: 0;
    padding: 0;
    transition: max-height 0.4s ease, padding 0.3s ease;
  }

  .nav_menu.active {
    max-height: 300px;
    padding: 20px 0;
  }

  .nav_menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .nav_menu ul li {
    margin: 10px;
  }

  .nav_menu ul li a {
    font-size: 20px;
  }
}

@media (max-width: 700px) {
    h1 {
    font-size: 36px;
    }

    .about > p {
    font-size: 20px;
    }

    .motorhome p {
    font-size: 18px;
    }

    .contact_form_p {
    font-size: 20px;
    }
}

@media (max-width: 500px) {
    .header {
        padding: 0 10px;
    }

    .small-icon {
        width: 30px;
    }

    .normal-icon {
        width: 38px;
    }

    .about {
        padding: 80px 10px;
        height: 100vh;
    }

    h1 {
        font-size: 32px;
        margin-bottom: 60px;
    }

    .motorhome {
        padding: 100px 10px;
    }

    h2 {
    font-size: 26px;
    }

    .contact {
        margin: 0 0 80px;
    }
}