body {

  font-family: 'Montserrat', sans-serif;
  background-color: #111;
  color: #eee;
}
header {
  background: transparent;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 50px;
}
.logo span {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
}
nav {
  display: flex;
  gap: 20px;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
section:not(.hero) {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero {
  width: 100vw;
  background: url('img/oblozhka.png') no-repeat center center;
  background-size: cover;
  padding: 80px 20px; /* вертикальные отступы сверху и снизу */
  display: flex;
  justify-content: center;
  align-items: flex-start;  /* контент ближе к верху */
  position: relative;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* затемнение фона */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0;
  margin: 0 auto;
  max-width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 50px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  margin-bottom: 550px; /* Сдвиг вниз */
}
.hero h1 {
  font-size: 3em;
  color: white;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  color: #ddd;
  margin-bottom: 30px;
}

.hero .btn {
  background: #ff3c00;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}
.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}
.btn {
  background: #ff3c00;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}
section:not(.hero) {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.services, .gallery, .prices, .booking, .clean-union {
  background: #1a1a1a;
  margin-bottom: 20px;
  border-radius: 8px;
  padding: 60px 30px;

}
.wash-bg {
  position: relative;
  color: white;
  overflow: hidden;
  z-index: 1;
}

.wash-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/mojka_detail.png') center center / cover no-repeat;
  filter: blur(0.7px) brightness(0.6);
  z-index: -1;
}
.chem-bg {
  position: relative;
  color: white;
  overflow: hidden;
  z-index: 1;
}

.chem-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/chemical.png') center center / cover no-repeat;
  filter: blur(0.7px) brightness(0.6);
  z-index: -1;
}

.polirovka-bg {
  position: relative;
  color: white;
  overflow: hidden;
  z-index: 1;
}

.polirovka-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/polirovka.png') center center / cover no-repeat;
  filter: blur(0.7px) brightness(0.6);
  z-index: -1;
}

.ceramic-bg {
  position: relative;
  color: white;
  overflow: hidden;
  z-index: 1;
}

.ceramic-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/ceramic.png') center center / cover no-repeat;
  filter: blur(0.7px) brightness(0.6);
  z-index: -1;
}

.ozonator-bg {
  position: relative;
  color: white;
  overflow: hidden;
  z-index: 1;
}

.ozonator-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/ozonator.png') center center / cover no-repeat;
  filter: blur(0.7px) brightness(0.6);
  z-index: -1;
}
.fari-bg {
  position: relative;
  color: white;
  overflow: hidden;
  z-index: 1;
}

.fari-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/fari.png') center center / cover no-repeat;
  filter: blur(0.7px) brightness(0.6);
  z-index: -1;
}


.presell-bg {
  position: relative;
  color: white;
  overflow: hidden;
  z-index: 1;
}

.presell-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/presell.jpg') center center / cover no-repeat;
  filter: blur(0.7px) brightness(0.6);
  z-index: -1;
}
.antirain-bg {
  position: relative;
  color: white;
  overflow: hidden;
  z-index: 1;
}

.antirain-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/antirain.png') center center / cover no-repeat;
  filter: blur(0.7px) brightness(0.6);
  z-index: -1;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
}
.service-grid, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.gallery-item {
  background: #222;
  padding: 20px;
  border-radius: 6px;
}
.service-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
  background-size: cover;
  background-position: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s;
  display: flex;
  align-items: flex-end;
}

.service-item:hover {
  transform: scale(1.03);
}

.service-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-item:hover .service-overlay {
  opacity: 1;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
th, td {
  border: 1px solid #333;
  padding: 12px;
  text-align: left;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}
input, button {
  padding: 12px;
  border-radius: 4px;
  border: none;
}
button {
  background: #ff3c00;
  color: white;
  font-weight: bold;
}
footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 30px 20px;
}
.socials a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}


/*MOJKA*/
.service-detail {
  padding: 60px 30px;
  color: white;
  max-width: 1000px;
  margin: auto;
}

.back-link {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  display: block;
  margin-bottom: 20px;
}

.service-header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.subtitle {
  font-size: 1.2em;
  color: #ccc;
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}
.info-block {
  flex: 1 1 300px;
  background: #1c1c1c;
  padding: 20px;
  border-radius: 10px;
}

.animated-steps {
  margin-top: 40px;
}
.step-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.step {
  flex: 1 1 200px;
  background: #262626;
  padding: 15px;
  border-radius: 8px;
  position: relative;
  transition: transform 0.3s, background 0.3s;
}
.step:hover {
  transform: translateY(-5px);
  background: #333;
}

.examples .gallery {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}
.examples img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.examples img:hover {
  transform: scale(1.03);
}


/*Ceni*/
.price-section {
  padding: 80px 30px;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.price-card {
  background: #1c1c1c;
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.price-card:hover {
  transform: translateY(-5px);
}
.price-card h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #fff;
}
.price {
  font-size: 1.5em;
  font-weight: bold;
  color: #ff3c00;
}

/*booking*/
.booking-section {
  width: 100vw;
  max-width: none;    
  padding: 0;
  margin: 0;
  height:  115vh;
  background: url('img/fon_zajavka.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.booking-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;

  z-index: 1;
}

.booking-form {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 450px;
}

.booking-form h2 {
  margin-bottom: 20px;
  font-size: 28px;
  color: #111;
  font-weight: 700;
}

.booking-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.booking-form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.booking-form button {
  width: 100%;
  padding: 14px;
  background: #ff3300;
  border: none;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.booking-form button:hover {
  background: #cc2900;
}

.input-group {
  position: relative;
}
.input-group input {
  width: 100%;
  padding: 14px 12px;
  font-size: 16px;
  background-color: #fff;
  border-radius: 6px;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}
.input-group label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #777;
  font-size: 16px;
  pointer-events: none;
  transition: 0.2s ease all;
}
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 12px;
  color: #ff3c00;
  background: #111;
  padding: 0 4px;
}
button[type="submit"] {
  padding: 15px;
  background: #ff3c00;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
button[type="submit"]:hover {
  background: #e33100;
}


/*clean*/
.clean-union-section {
  background-color: #1a1a1a;
  padding: 60px 30px;
  border-radius: 10px;
  margin-top: 30px;
}
.clean-union-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.clean-union-text {
  flex: 1 1 500px;
  color: #eee;
}
.clean-union-text h2 {
  font-size: 2em;
  margin-bottom: 15px;
}
.clean-union-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.5;
}
.clean-union-text ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}
.clean-union-logo img {
  max-width: 150px;
  border-radius: 10px;
  background: #111;
  padding: 10px;
}
.clean-union-section .btn {
  display: inline-block;
  background: #ff3c00;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.clean-union-section .btn:hover {
  background: #e33400;
}


/*kontakti*/
.contact-section {
  padding: 60px 30px;
  background: #111;
  color: #eee;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.contact-info {
  flex: 1 1 300px;
  font-size: 16px;
  line-height: 1.6;
}

.contact-info h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.contact-info a {
  color: #ff3c00;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.map-container {
  flex: 1 1 400px;
}

.map-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #ff3c00;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.map-button:hover {
  background-color: #e03000;
}


/*slider*/
.car-block {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
  margin: 20px auto;
  color: white;
  text-align: center;
  position: relative;
}

.car-slider {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
}

.car-slide {
  display: none;
  width: 100%;
  height: auto;
  transition: opacity 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.car-slide.active {
  display: block;
  opacity: 1;
  position: relative;
}

.car-slide:hover {
  transform: scale(1.05);
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 6px;
  z-index: 10;
}

.slide-btn.left { left: 10px; }
.slide-btn.right { right: 10px; }

.car-title {
  margin-top: 10px;
  font-size: 1.2em;
}


/*antirain*/
.before-after {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  background: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
}

.before-after .item {
  flex: 1 1 300px;
  text-align: center;
  color: white;
}

.before-after img,
.before-after video {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.before-after img:hover,
.before-after video:hover {
  transform: scale(1.05);
}

.animated-steps {
  margin-bottom: 40px; /* добавляет пространство вниз */
}

.before-after .item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.before-after .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}


/*stili*/
.header-with-image {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.header-text {
  flex: 1 1 60%;
}

.header-img {
  flex: 1 1 35%;
}

.header-img img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}




.lang-switcher select {
  background: #111;
  color: #fff;
  border: 1px solid #444;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
}


/* Адаптивность для мобильных */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .lang-switcher {
    order: 2;
    margin-left: auto;
  }

  .logo {
    order: 1;
    flex: 1;
  }

  nav {
    order: 3;
    width: 100%;
    margin-top: 5px;
    justify-content: space-around;
    flex-wrap: wrap;
  }

.hero {
    padding: 60px 20px;
    background-position: center top;
  }

  .hero-content {
    padding: 0;
    margin: 0;
  }

  .hero h1 {
    font-size: 1.6em;
    margin-top: 10px;
    margin-bottom: 5px;
  }

  .hero p {
    font-size: 1em;
    margin-top: 10px;
    margin-right: 20px;
    margin-bottom: 20px;
  }

  .hero .btn {
    padding: 12px 24px;
    font-size: 1em;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    font-size: 1em;
  }

  .service-grid,
  .price-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }


  
  .hero-content .btn {
    margin-top: 80px; 
    display: inline-block;
    
  }

  .clean-union-content {
    flex-direction: column;
    text-align: center;
  }
  .clean-union-section .btn {
    margin-top: 10px;
  }

  .clean-union-logo {
    margin-top: -100px;
  }

  .clean-union-logo img {
    max-width: 250px;
  }
  .contact-container {
    flex-direction: column;
  }

  .car-slide {
    max-height: 200px;
    object-fit: cover;
  }

  .slide-btn {
    font-size: 18px;
    padding: 8px;
  }

  .booking-form {
    padding: 25px 20px;
  }

  .header-with-image {
    flex-direction: column;
  }

  .header-text,
  .header-img {
    flex: 1 1 100%;
  }

  .step-boxes {
    flex-direction: column;
  }

  .info-grid {
    flex-direction: column;
  }

  iframe {
    height: 200px !important;
  }

  
   
}
