/* ======================== */
/* Base Styles              */
/* ======================== */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #111;
  color: white;
  scroll-behavior: smooth;
}

section {
  padding: 60px 20px;
  text-align: center;
  scroll-margin-top: 100px;
}

button, .button-red {
  margin: 10px;
  padding: 10px 20px;
  background: #e60000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

button:hover, .button-red:hover {
  background: #ff1a1a;
}

button:focus, a:focus {
  outline: none;
}

iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* ======================== */
/* Header / Navbar          */
/* ======================== */

header.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between; /* фиксируем */
  background: #111;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-logo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .navbar-logo img {
    max-width: 150px;
  }
}

.navbar-links {
  display: flex;
  gap: 20px;
}

.navbar-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.navbar-links a:hover {
  color: #e60000;
}

.navbar-socials {
  display: flex;
  gap: 15px;
}

.navbar-socials a {
  color: white;
  font-size: 20px;
  padding: 10px; /* Делает иконки удобными для нажатия */
  display: inline-block;
  line-height: 1;
}

.navbar-socials a:hover {
  color: #e60000;
}


/* ======================== */
/* Language Buttons (Desktop) */
/* ======================== */

.language-buttons {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

.language-buttons button {
  background-color: #e60000;
  color: white;
  border: none;
  padding: 12px 18px; /* Увеличено */
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px; /* Лучше для readability */
  margin: 0 6px;    /* Пространство между кнопками */
}


/* ======================== */
/* Mobile Menu              */
/* ======================== */

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  z-index: 1001;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu {
  display: none;
  flex-direction: row;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 10px;
  background: #111;
}

#menu-toggle:checked ~ .mobile-menu {
  display: flex;
}

.mobile-menu .menu-links {
  display: grid;
  gap: 12px;
  align-items: center;
}

.mobile-menu .menu-links a {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.mobile-menu .menu-links a:hover {
  color: #e60000;
}

.mobile-menu .lang-block {
  display: grid;
  gap: 10px;
  align-items: center;
}

.mobile-menu .lang-block button {
  background-color: #e60000;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-size: 12px;
}

.mobile-menu .lang-block button:hover {
  background-color: #ff1a1a;
}

@media screen and (max-width: 768px) {
  .navbar-links,
  .navbar-socials,
  .language-buttons {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  #menu-toggle:checked ~ .mobile-menu {
    display: flex;
  }
}

/* ======================== */
/* Content Sections         */
/* ======================== */

.services, .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.services div {
  background: #222;
  padding: 20px;
  width: 300px;
  border-radius: 8px;
}

.swiper {
  width: 90%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.swiper-slide img {
  width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

/* ======================== */
/* Swiper Custom Arrows/Dots*/
/* ======================== */

.swiper-button-next,
.swiper-button-prev {
  color: #e60000;
}

.swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
  width: 16px;
  height: 16px;
  margin: 6px; /* увеличивает зону клика */
}

.swiper-pagination-bullet-active {
  background: #e60000;
  opacity: 1;
}

/* ======================== */
/* Cookie Consent Banner    */
/* ======================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #222;
  color: white;
  padding: 20px 15px;
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  font-size: 14px;
}

.cookie-banner p {
  margin: 0 0 10px 0;
  text-align: center;
}

.cookie-banner button {
  background: #e60000;
  color: white;
  border: none;
  padding: 8px 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-banner button:hover {
  background: #ff1a1a;
}

/* ======================== */
/* Social Icons             */
/* ======================== */

.socials a i {
  color: white;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.socials a i:hover {
  color: #e60000;
}

/* ======================== */
/* CTA Popup                */
/* ======================== */

.cta-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #222;
  color: white;
  padding: 20px 20px 30px 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 9999;
  max-width: 320px;
  border: 2px solid #e60000;
  box-sizing: border-box;
}

.cta-popup p {
  margin: 0 0 15px 0;
  font-size: 16px;
  text-align: center;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cta-buttons button {
  flex: 1;
  background: #e60000;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-buttons button:hover {
  background: #cc0000;
}

#cta-close {
  position: absolute;
  top: -24px;
  left: -22px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  z-index: 10000;
}

#cta-close:hover {
  color: #e60000;
}

.menu-icon {
  display: block; /* Показываем по умолчанию */
}

@media (min-width: 769px) {
  .menu-icon {
    display: none !important; /* скрываем на десктопе */
  }
}


/* ======================== */
/* faq                      */
/* ======================== */

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}

.faq-box {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.faq-toggle {
  background-color: transparent;
  color: white;
  width: -webkit-fill-available;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  border-bottom: 1px solid #333;
  transition: background 0.3s ease;
}

.faq-toggle:hover {
  background-color: #e60000;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  background-color: #1a1a1a;
  color: #ccc;
  font-size: 15px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-box.active .faq-content {
  max-height: 500px;
  padding: 15px 20px;
}
