* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.logo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

body {
  font-family: Arial, sans-serif;
  background-color: #111;
  color: white;
  margin: 0;
  /*padding: 2rem;*/
}

a {
  color: #fff;
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
}

header {
  background-color: #0d0d0d;
  padding: 1.2rem 0;
  border-bottom: 2px solid #e10600;
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

.menu a {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.3s ease;
  text-transform: uppercase;
  padding-bottom: 4px;
}

.menu a:hover {
  color: #e10600;
}

.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #e10600;
  transition: width 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

.hero {
  background-image: url('/local/assets/img/back.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
.hero .logo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  color: #e10600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #fff;
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero button {
  background-color: #e10600;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
  z-index: 2;
}

.hero button:hover {
  background-color: #b00400;
}
.services {
  padding: 4rem 1rem;
  background-color: #111;
}

.services h2 {
  text-align: center;
  color: #e10600;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service:hover {
  transform: translateY(-5px);
}

.service img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service h3 {
  color: #e10600;
  margin-bottom: 0.5rem;
}

.contact {
  padding: 4rem 1rem;
  background-color: #000;
}

.contact h2 {
  text-align: center;
  color: #e10600;
  margin-bottom: 2rem;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  background-color: #222;
  color: #fff;
}

textarea {
  resize: vertical;
}

.contact button {
  background-color: #e10600;
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.contact button:hover {
  background-color: #b00400;
}

footer {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: #e10600;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 8px;
}

.contact-item h4 {
  color: #e10600;
  margin-bottom: 0.5rem;
}

iframe {
  margin-top: 2rem;
  border: none;
  border-radius: 8px;
}

.logo img {
  height: 100px;
  width: auto;
}

.service img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 16px rgba(215, 206, 206, 0.5);
  background: radial-gradient(circle at center, #c2b6b6 0%, #000 100%);
  padding: 10px;
}
.service img:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}
.lang-dropdown {
  position: relative;
}
.lang-button {
  background-color: transparent;
  color: #fff;
  border: 2px solid #e10600;
  padding: 0.4rem 1rem;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lang-button:hover {
  background-color: #e10600;
}
.lang-menu {
  position: absolute;
  top: 110%;
  right: 0;
  background-color: #1a1a1a;
  border: 1px solid #e10600;
  border-radius: 6px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  min-width: 100%;
  z-index: 1000;
}
.lang-menu a {
  padding: 0.5rem 0.8rem;
  color: #fff;
  text-decoration: none;
  display: block;
  transition: background 0.3s ease, color 0.3s ease;
}
.lang-menu a:hover {
  background-color: #333;
  color: #e10600;
}
.lang-dropdown.show .lang-menu {
  display: flex;
}

.lang-dropdown-2 {
  position: relative;
}
.lang-button-2 {
  background-color: transparent;
  color: #fff;
  border: 2px solid #e10600;
  padding: 0.4rem 1rem;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lang-button-2:hover {
  background-color: #e10600;
}
.lang-menu-2 {
  position: absolute;
  top: 110%;
  right: 0;
  background-color: #1a1a1a;
  border: 1px solid #e10600;
  border-radius: 6px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  min-width: 100%;
  z-index: 1000;
}
.lang-menu-2 a {
  padding: 0.5rem 0.8rem;
  color: #fff;
  text-decoration: none;
  display: block;
  transition: background 0.3s ease, color 0.3s ease;
}
.lang-menu-2 a:hover {
  background-color: #333;
  color: #e10600;
}
.lang-dropdown-2.show .lang-menu-2 {
  display: flex;
}

button {
  background-color: #e10600;
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

button:hover {
  background-color: #b00400;
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: #1a1a1a;
  margin: 10% auto;
  padding: 2rem;
  border: 1px solid #e10600;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  color: white;
  text-align: center;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-content input,
.modal-content button {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.75rem;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}

.modal-content input {
  background-color: #222;
  color: #fff;
}

.modal-content button {
  background-color: #e10600;
  color: #fff;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #b00400;
}

.close {
  color: #fff;
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

#thanksMessage {
  display: none;
  margin-top: 1rem;
  color: #0f0;
  font-weight: bold;
}

.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.custom-modal {
  background-color: #1a1a1a;
  color: white;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.custom-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #e10600;
  cursor: pointer;
}

.custom-modal ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.custom-modal ul li {
  background: #1a1a1a;
  border-left: 4px solid #e10600;
  margin-bottom: 0.8rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.2);
  transition: background 0.3s;
}

.custom-modal ul li:hover {
  background: #2a2a2a;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}


.service h3 {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: color 0.3s ease;
}

.service h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #e10600; /* красивый красный */
  transition: width 0.3s ease;
}

.service h3:hover {
  color: #e10600;
}

.service h3:hover::after {
  width: 100%;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  background-color: #25D366;
  color: white;
  padding: 13px 15px !important;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s, transform 0.2s;
  z-index: 100;
  position: relative;
}
.whatsapp-button:hover {
  background-color: #128C7E;
  color: unset !important;
}
.whatsapp-button:after{
  background: unset !important;
}

.whatsapp-button:active {
  transform: scale(0.95);
}
.whatsapp-icon {
  margin-right: 8px;
}


/* скрываем чекбокс */
#menu__toggle {
  opacity: 0;
}
/* стилизуем кнопку */
.menu__btn {
  display: flex; /* используем flex для центрирования содержимого */
  align-items: center;  /* центрируем содержимое кнопки */
  position: fixed;
  top: 20px;
  right: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 150;
}
/* добавляем "гамбургер" */
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #616161;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}

/* контейнер меню */
.menu__box {
  display: block;
  position: fixed;
  visibility: hidden;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  text-align: center;
  background-color: #ECEFF1;
  box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
}
/* элементы меню */
.menu__item {
  display: block;
  padding: 12px 24px;
  color: #333;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}
.menu__item:hover {
  background-color: #CFD8DC;
}

#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  right: 0;
  z-index: 100;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  transition-duration: .25s;
}
.menu__box {
  transition-duration: .25s;
}
.menu__item {
  transition-duration: .25s;
}

.hamburger-menu{
  display: none;
}

.lang-mobile{
  display: none;
}

.whatsapp-button.main{
  display: none;
}

@media (max-width: 1024px) {
  .pc.menu{
    display: none;
  }

  .hamburger-menu{
    display: block;
  }

  .lang-mobile{
    display: flex;
    position: absolute;
    right: 80px;
    top: 20px;
  }

  .whatsapp-button.main{
    display: inline-flex;
  }

}