/* Header Styles */
header {
  position: relative;
  overflow: hidden;
}
.header-img {
  width: 100%;
  height: 433px;
  object-fit: cover;
}
.lang-switch {
  position: absolute;
  top: 20px;
  left: 20px;
}
.lang-switch a {
  background: #F5C800;
  color: #000;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.25rem;
  display: inline-block;
}

/* styles.css */

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

body {
  font-family: 'Montserrat', sans-serif;
  background: #fafafa;
  background-size: cover;
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Header */
header {
  position: relative;
  overflow: hidden;
}
.header-img {
  width: 100%;
  height: 433px;
  object-fit: cover;
}
.phone {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-weight: 900;
  font-size: 1.5rem;
  color: #333;
  text-decoration: none;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h1, h2 {
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #333;
}
h1 {
  font-size: 1.75rem;
}
h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #333;
}
.italic {
  font-style: italic;
}

/* Lists */
ul {
  list-style: none;
  padding-left: 1rem;
}
ul li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  font-size: 1.25rem;
}
ul li::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #000;
}

/* Images section */
.description-images {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}
.description-images img {
  width: 48%;
  border-radius: 0.5rem;
}

/* Reviews section */
#reviews {
  background: #f9f9f9;
  padding: 2rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
}
.btn-review, .btn-contact {
  display: inline-block;
  background: #F5C800;
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  margin-right: 1rem;
}

/* Prices tables */
.prices-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 1.25rem;
}
.prices-table th, .prices-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}
.prices-table th {
  background: #F5C800;
  color: #000;
}

/* Footer contact buttons */
.footer-buttons {
  margin: 2rem 0;
}
.footer-buttons .btn-contact {
  margin-right: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-img {
    height: 318px;
    object-position: center -15px;
  
  .footer-buttons .btn-contact {
    width: 70%;
  }

}
  .phone {
    font-size: 1.2rem;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.6rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  p, ul li {
    font-size: 1.125rem;
  }
  .description-images {
    flex-direction: column;
  }
  .description-images img {
    width: 100%;
  }
  .prices-table th, .prices-table td {
    font-size: 1rem;
  }
}

/* Mobile version: center reviews and vertical footer buttons */
@media (max-width: 768px) {
  #reviews {
    text-align: center;
  
  .footer-buttons .btn-contact {
    width: 70%;
  }

}
  #reviews .btn-review {
    display: inline-block;
    margin: 1rem auto;
  }
  .footer-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-buttons .btn-contact {
    margin-bottom: 1rem;
  }
}

/* Equal width for footer contact buttons */
.footer-buttons .btn-contact { text-align: center; }

/* Discounts section spacing */
.discounts {
  margin: 2rem 0;
}
.discounts p {
  margin-bottom: 1rem;
}

.car-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}
.car {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 10px;
  max-width: 250px;
  transition: transform 0.2s ease-in-out;
}
.car:hover {
  transform: scale(1.03);
}
.car img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.car p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 16px;
}
@media (max-width: 768px) {
  .car-cards {
    flex-direction: column;
    align-items: center;
  }
  .car {
    max-width: 90%;
  }
}
/* ===== Хлебные крошки компактные ===== */
.breadcrumbs {
  font-size: 14px;
  color: #666;
  margin: 5px 0 10px;       /* уменьшили отступы */
  padding-top: 5px;         /* чтобы не липло к баннеру */
}

.breadcrumbs a {
  color: #555;                     /* спокойный серый */
  text-decoration: underline;      /* подчёркивание всегда */
}

.breadcrumbs a:hover {
  color: #333;                     /* чуть темнее при наведении */
}

.breadcrumbs span {
  color: #222;
  font-weight: 500;
}

.breadcrumbs-sep {
  margin: 0 5px;
  color: #999;
}

/* Тонкая линия под крошками */
.breadcrumbs-line {
  margin: 0 0 15px;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs a {
  color: #555;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #999;
}

.breadcrumbs a:hover {
  color: #333;
  text-decoration-style: dotted;  /* ← превращаем в пунктир */
  text-decoration-color: #555;    /* более тёмный пунктир при наведении */
}

/* Ссылка "назад" (ультра-минимализм) */
.back-nav {
  margin: 10px 0 15px;
}

.back-link {
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

.back-link:hover {
  color: #333;
  text-decoration: underline;
  text-decoration-style: dotted; /* при наведении — пунктирная линия */
}
.bottom-note {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* БАЗОВОЕ ДЛЯ ВСЕХ КАРТИНОК В ТЕКСТЕ */
.content img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* КАРТИНКА ПО ЦЕНТРУ (БОЛЬШАЯ) */
.img-center {
    margin: 25px auto;
    width: 100%;
    max-width: 900px; /* регулируешь, насколько большая */
}

/* КАРТИНКА СЛЕВА */
.img-left {
    float: left;
    margin: 10px 20px 15px 0;
    max-width: 45%;
}

/* КАРТИНКА СПРАВА */
.img-right {
    float: right;
    margin: 10px 0 15px 20px;
    max-width: 45%;
}

/* ОЧИСТКА ПОТОКА ПОСЛЕ ТЕКСТА */
.clear {
    clear: both;
}

/* АДАПТИВ: МОБИЛКА */
@media (max-width: 768px) {
    .img-left,
    .img-right {
        float: none;
        margin: 20px auto;
        max-width: 100%;
    }
}