/* Font Face Definitions */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/InterExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/InterRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/InterMedium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/InterSemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/InterBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/InterExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  height: auto;
  max-width: 100%;
  object-fit: cover;
}


/* ========================================
   СТИЛИ ДЛЯ НОВИНОК АВТОПРОМА
======================================== */

/* Заголовок архива новостей */
.archive-header {
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
  text-align: center;
  color: white;
}

.archive-header__content {
  max-width: 800px;
  margin: 0 auto;
}

.archive-header__title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.archive-header__description {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Сетка архива новостей */
.auto-news-archive {
  padding: 80px 0;
  background: #f8f9fa;
}

.auto-news-archive__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.auto-news-archive__card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auto-news-archive__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.auto-news-archive__image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.auto-news-archive__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.auto-news-archive__card:hover .auto-news-archive__image img {
  transform: scale(1.05);
}

.auto-news-archive__content {
  padding: 30px;
}

/* Адаптивность для карточек новостей */
@media (max-width: 768px) {
  .auto-news-archive__image {
    height: 150px;
  }
  
  .auto-news-archive__content {
    padding: 20px;
  }
  
  .auto-news-archive__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.auto-news-archive__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.auto-news-archive__date {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.auto-news-archive__category {
  background: #007bff;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.auto-news-archive__title {
  margin-bottom: 15px;
}

.auto-news-archive__title a {
  color: #333;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.auto-news-archive__title a:hover {
  color: #007bff;
}

.auto-news-archive__excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.auto-news-archive__link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auto-news-archive__link:hover {
  color: #0056b3;
}

.auto-news-archive__no-posts {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auto-news-archive__no-posts h2 {
  color: #333;
  margin-bottom: 15px;
}

.auto-news-archive__no-posts p {
  color: #666;
  margin-bottom: 30px;
}

/* Пагинация */
.auto-news-archive__pagination {
  text-align: center;
  margin-top: 40px;
}

.auto-news-archive__pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  background: white;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.auto-news-archive__pagination .page-numbers:hover,
.auto-news-archive__pagination .page-numbers.current {
  background: #007bff;
  color: white;
}

/* ========================================
   СТИЛИ ДЛЯ ОТДЕЛЬНОЙ НОВОСТИ
======================================== */

/* Заголовок отдельной новости */
.single-news-header {
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
  color: white;
}

.single-news-header__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.single-news-header__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.single-news-header__date {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.single-news-header__category {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.single-news-header__title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.single-news-header__excerpt {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Контент отдельной новости */
.single-news-content {
  padding: 80px 0;
  background: #f8f9fa;
}

.single-news-content__wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.single-news-article {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.single-news-article__thumbnail {
  margin-bottom: 0;
}

.single-news-article__thumbnail img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.single-news-article__content {
  padding: 40px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.single-news-article__content h2,
.single-news-article__content h3,
.single-news-article__content h4 {
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.single-news-article__content p {
  margin-bottom: 20px;
}

.single-news-article__content ul,
.single-news-article__content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.single-news-article__content li {
  margin-bottom: 8px;
}

.single-news-article__meta {
  padding: 30px 40px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.meta-label {
  font-weight: 600;
  color: #333;
  margin-right: 10px;
}

.meta-tag {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.8rem;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: background 0.3s ease;
}

.meta-tag:hover {
  background: #0056b3;
  color: white;
}

.single-news-article__share {
  display: flex;
  align-items: center;
  gap: 15px;
}

.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.share-link:hover {
  transform: scale(1.1);
}

.share-link--vk {
  background: #4c75a3;
}

.share-link--telegram {
  background: #0088cc;
}

.share-link--whatsapp {
  background: #25d366;
}

/* Похожие новости */
.single-news-related {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.single-news-related__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #007bff;
}

.single-news-related__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.single-news-related__item {
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.single-news-related__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.single-news-related__item-title {
  margin-bottom: 8px;
}

.single-news-related__item-title a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.single-news-related__item-title a:hover {
  color: #007bff;
}

.single-news-related__item-date {
  color: #666;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Навигация между новостями */
.single-news-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 60px 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  color: #007bff;
}

.nav-link--prev {
  text-align: left;
}

.nav-link--next {
  text-align: right;
  flex-direction: row-reverse;
}

.nav-link span {
  font-weight: 600;
  line-height: 1.4;
}

.nav-link i {
  font-size: 1.2rem;
  color: #007bff;
}

/* Кнопка возврата к архиву */
.single-news-back {
  text-align: center;
  margin-top: 40px;
}

.single-news-back .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .archive-header__title {
    font-size: 2.5rem;
  }
  
  .single-news-header__title {
    font-size: 2.2rem;
  }
  
  .single-news-content__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .single-news-article__content {
    padding: 30px 20px;
  }
  
  .single-news-article__meta {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .single-news-navigation {
    grid-template-columns: 1fr;
  }
  
  .auto-news-archive__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   СТИЛИ ДЛЯ ПОЛЕЗНЫХ СТАТЕЙ
======================================== */

/* Заголовок архива статей */
.articles__hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  text-align: center;
  color: white;
}

.articles__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.articles__hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.articles__hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Секция статей */
.articles-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.articles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.article-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-card__image {
  height: 200px;
  overflow: hidden;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card__image img {
  transform: scale(1.05);
}

.article-card__content {
  padding: 30px;
}

.article-card__title {
  margin-bottom: 15px;
}

.article-card__title a {
  color: #333;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.article-card__title a:hover {
  color: #667eea;
}

.article-card__excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.article-card__date {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.article-card__read-time {
  color: #667eea;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(102, 126, 234, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.article-card__link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.article-card__link:hover {
  color: #5a67d8;
}

.article-card__link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.article-card__link:hover::after {
  transform: translateX(3px);
}

.articles__no-posts {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.articles__no-posts h2 {
  color: #333;
  margin-bottom: 15px;
}

.articles__no-posts p {
  color: #666;
  margin-bottom: 30px;
}

/* Пагинация статей */
.articles__pagination {
  text-align: center;
  margin-top: 40px;
}

.articles__pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  background: white;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.articles__pagination .page-numbers:hover,
.articles__pagination .page-numbers.current {
  background: #667eea;
  color: white;
}

/* ========================================
   СТИЛИ ДЛЯ ОТДЕЛЬНОЙ СТАТЬИ
======================================== */

/* Заголовок отдельной статьи */
.single-article-header {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.single-article-header__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.single-article-header__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}

.single-article-header__date {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.single-article-header__read-time {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.single-article-header__title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.single-article-header__excerpt {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Контент отдельной статьи */
.single-article-content {
  padding: 80px 0;
  background: #f8f9fa;
}

.single-article-content__wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.single-article-article {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.single-article-article__thumbnail {
  margin-bottom: 0;
}

.single-article-article__thumbnail img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.single-article-article__content {
  padding: 40px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.single-article-article__content h2,
.single-article-article__content h3,
.single-article-article__content h4 {
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.single-article-article__content p {
  margin-bottom: 20px;
}

.single-article-article__content ul,
.single-article-article__content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.single-article-article__content li {
  margin-bottom: 8px;
}

.single-article-article__meta {
  padding: 30px 40px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Похожие статьи */
.single-article-related {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.single-article-related__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #667eea;
}

.single-article-related__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.single-article-related__item {
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.single-article-related__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.single-article-related__item-title {
  margin-bottom: 8px;
}

.single-article-related__item-title a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.single-article-related__item-title a:hover {
  color: #667eea;
}

.single-article-related__item-date {
  color: #666;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Навигация между статьями */
.single-article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 60px 0;
}

/* Кнопка возврата к архиву */
.single-article-back {
  text-align: center;
  margin-top: 40px;
}

.single-article-back .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Call to Action для статей */
.single-article-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.single-article-cta__content {
  max-width: 600px;
  margin: 0 auto;
}

.single-article-cta__content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.single-article-cta__content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.single-article-cta .btn--primary {
  background: white;
  color: #667eea;
}

.single-article-cta .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #667eea;
}

/* Адаптивность для статей */
@media (max-width: 768px) {
  .articles-hero__title {
    font-size: 2.5rem;
  }
  
  .single-article-header__title {
    font-size: 2.2rem;
  }
  
  .single-article-content__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .single-article-article__content {
    padding: 30px 20px;
  }
  
  .single-article-article__meta {
    padding: 20px;
  }
  
  .single-article-navigation {
    grid-template-columns: 1fr;
  }
  
  .articles__grid {
    grid-template-columns: 1fr;
  }
  
  .single-article-header__meta {
    flex-direction: column;
    gap: 15px;
  }
  
  .article-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-padding-top: 120px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo__image {
    position: relative;
    width: 80px;
    height: 80px;
}

.logo__outer-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #dc2626;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
}

.logo__text {
    font-size: 6px;
    font-weight: 600;
    color: #dc2626;
    text-align: center;
    line-height: 1.2;
}

.logo__text--top {
    transform: rotate(-15deg);
}

.logo__text--bottom {
    transform: rotate(15deg);
}

.logo__inner-circle {
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    background: #1e40af;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.logo__title {
    font-size: 8px;
    font-weight: 700;
    margin-bottom: 4px;
    text-align: center;
}

.logo__car {
    width: 12px;
    height: 6px;
    border: 1px solid white;
    border-radius: 2px;
    position: relative;
}

.logo__car::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 2px;
    width: 8px;
    height: 2px;
    border: 1px solid white;
    border-radius: 1px;
}

.logo__car::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 1px;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 6px 0 0 white;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(30, 64, 175, 0.1);
    border-bottom: 2px solid #1e40af;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: opacity 0.3s ease-in-out;
}

.header__logo:hover {
    opacity: 0.8;
}

.logo-image {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease-in-out;
}

.logo-image:hover {
    transform: scale(1.05);
}

.header__subtitle {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 400;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav__link {
    text-decoration: none;
    color: #101010;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
    position: relative;
}

.nav__link:hover {
    color: #1e40af;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e40af;
    transition: width 0.3s ease-in-out;
}

.nav__link:hover::after {
    width: 100%;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background: #1e40af;
    border-radius: 2px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    /* background: linear-gradient(rgba(0, 3, 50, 0.5), rgba(0, 3, 50, 0.5)), url('images/bg/hero-bg.jpg'); */
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
    position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 3, 50, 0.5);
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero__stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-weight: 500;
}

.stat__icon {
    font-size: 1.2rem;
    color: #fbbf24;
}

.stat__text {
    font-size: 1rem;
}

/* Buttons */
.btn {
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn--primary {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

.btn--secondary {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

/* Car Showcase */
.car-showcase {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.car-showcase__flags {
    position: relative;
    width: 100%;
    height: 100%;
}

.flag {
    position: absolute;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    -webkit-animation: float 3s ease-in-out infinite;
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
}

.flag__svg {
    width: 100%;
    /* height: 100%; */
    border-radius: 8px;
}

.flag--usa {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.flag--japan {
    top: 20px;
    right: 20px;
    animation-delay: 0.5s;
}

.flag--china {
    bottom: 20px;
    left: 20px;
    animation-delay: 1s;
}

.flag--korea {
    bottom: 20px;
    right: 20px;
    animation-delay: 1.5s;
}

@-webkit-keyframes float {
    0%, 100% { -webkit-transform: translateY(0px); transform: translateY(0px); }
    50% { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
}

@keyframes float {
    0%, 100% { -webkit-transform: translateY(0px); transform: translateY(0px); }
    50% { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 2.5rem 0;
    /* background: linear-gradient(rgba(0, 3, 50, 0.5), rgba(0, 3, 50, 0.5)), url('images/bg/about-bg.jpg'); */
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
}

.about__content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 1fr;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.about__description {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.features {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1.2rem;
    color: white;
    font-weight: 500;
    padding: 1rem 0;
}

.feature__icon {
    color: white;
    font-size: 1.2rem;
}

.feature__text {
    font-size: 1rem;
    tr
}

.office-preview {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

.office-preview__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.office-preview__text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Services Section */
.services {
  padding: 2.5rem 0;
    /* background: linear-gradient(rgba(0, 3, 50, 0.5), rgba(0, 3, 50, 0.5)), url('images/bg/services-bg.jpg'); */
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
    border: 2px solid transparent;
}

.service-card:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    border-color: #1e40af;
}

.service-card__icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.service-card__icon i {
    font-size: 2rem;
    color: white;
}

.service-card__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #101010;
    margin-bottom: 1.5rem;
}

.service-card__description {
    color: #64748b;
    line-height: 1.6;
}

/* Countries Section - Variant 1: Modern Cards */
/*.countries {*/
/*  padding: 2.5rem 0;*/
    /* background: linear-gradient(rgba(0, 3, 50, 0.5), rgba(0, 3, 50, 0.5)), url('images/bg/countries-bg.jpg'); */
/*    background-size: cover;*/
/*    background-position: center;*/
    /* background-attachment: fixed; */
/*    background-repeat: no-repeat;*/
/*}*/

/*.countries__grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(4, 1fr);*/
/*    gap: 2rem;*/
/*}*/

/*.country-card {*/
/*    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);*/
/*    padding: 2rem;*/
/*    border-radius: 24px;*/
/*    box-shadow: */
/*        0 20px 40px rgba(30, 64, 175, 0.08),*/
/*        0 8px 16px rgba(0, 0, 0, 0.04);*/
/*    border: 1px solid rgba(255, 255, 255, 0.2);*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/*.country-card::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    height: 4px;*/
/*    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);*/
/*    opacity: 0;*/
/*    transition: opacity 0.3s ease-in-out;*/
/*}*/

/*.country-card:hover {*/
/*    transform: translateY(-12px) scale(1.02);*/
/*    box-shadow: */
/*        0 32px 60px rgba(30, 64, 175, 0.15),*/
/*        0 16px 32px rgba(0, 0, 0, 0.08);*/
/*}*/

/*.country-card:hover::before {*/
/*    opacity: 1;*/
/*}*/

/*.country-card__flag {*/
/*    width: 80px;*/
/*    height: 60px;*/
/*    border-radius: 12px;*/
/*    margin-bottom: 1.5rem;*/
/*    box-shadow: */
/*        0 8px 20px rgba(0, 0, 0, 0.15),*/
/*        0 4px 8px rgba(0, 0, 0, 0.1);*/
/*    overflow: hidden;*/
/*    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;*/
/*}*/

/*.country-card:hover .country-card__flag {*/
/*    transform: scale(1.1);*/
/*    box-shadow: */
/*        0 12px 24px rgba(0, 0, 0, 0.2),*/
/*        0 6px 12px rgba(0, 0, 0, 0.15);*/
/*}*/

/*.country-card__flag-svg {*/
/*    width: 100%;*/
    /* height: 100%; */
/*    border-radius: 12px;*/
/*}*/

/*.country-card__title {*/
/*    font-size: 1.75rem;*/
/*    font-weight: 700;*/
/*    color: #101010;*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.country-card__description {*/
/*    color: #64748b;*/
/*    margin-bottom: 1.5rem;*/
/*    line-height: 1.7;*/
/*    font-size: 1rem;*/
/*}*/

/*.country-card__features {*/
/*    list-style: none;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 0.75rem;*/
/*}*/

/*.country-card__feature {*/
/*    color: #101010;*/
/*    position: relative;*/
/*    padding-left: 2rem;*/
/*    font-size: 1rem;*/
/*    font-weight: 500;*/
/*    transition: color 0.3s ease-in-out;*/
/*}*/

/*.country-card__feature::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    width: 16px;*/
/*    height: 16px;*/
/*    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/*.country-card__feature::after {*/
/*    content: '✓';*/
/*    position: absolute;*/
/*    left: 4px;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    color: white;*/
/*    font-size: 10px;*/
/*    font-weight: bold;*/
/*}*/

/*.country-card:hover .country-card__feature {*/
/*    color: #101010;*/
/*    transform: translateX(4px);*/
/*}*/

/* Countries Section - Variant 1: Modern Cards */
.countries {
  padding: 2.5rem 0;
    background: linear-gradient(rgba(0, 3, 50, 0.5), rgba(0, 3, 50, 0.5)), url('images/bg/countries-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.countries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.country-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s ease-in-out;
    width: 100%;
}

.country-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.country-card__images {
    width: 100%;
}

.country-card__main-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.country-card__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.country-card__images-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 100%;
}

.country-card__image-small {
    width: 100%;
    height: 110px;
    overflow: hidden;
    background: #f5f5f5;
}

.country-card__image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.country-card__content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.country-card__model {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.country-card__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.country-card__spec {
    display: flex;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.country-card__spec-label {
    color: #707579;
}

.country-card__spec-value {
    color: #000000;
    font-weight: 500;
}

.country-card__price {
    background: #fff3cd;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.country-card__price-text {
    font-size: 0.875rem;
    color: #856404;
    font-weight: 600;
    line-height: 1.4;
}

.country-card__country {
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.country-card__country-text {
    font-size: 0.875rem;
    color: #707579;
}


/* Videos Section */
.videos {
  padding: 2.5rem 0;
    background: linear-gradient(rgba(0, 3, 50, 0.5), rgba(0, 3, 50, 0.5)), url('images/bg/video-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.videos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-card__player {
    position: relative;
    width: 100%;
    height: 220px;
    background: #f1f5f9;
    overflow: hidden;
}

.video-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 2rem;
}

.video-card__placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.video-card__placeholder p {
    font-size: 1rem;
    font-weight: 500;
}

.video-card__content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-card__title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #000000;
    margin: 0;
    line-height: 1.4;
}

.video-card__description {
    color: #64748b;
    font-size: 0.9rem;
}

/* Lazy Video Styles */
.video {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; /* Вертикальные видео */
    max-height: 600px;
    background-color: #333;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video__thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

.video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    border: none;
    padding: 0;
    width: 60px;
    height: 60px;
    translate: -50% -50%;
    background-color: rgba(0, 3, 50, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video__play:hover {
    background-color: rgba(0, 3, 50, 0.9);
    transform: scale(1.1);
}

.video__play svg {
    display: block;
    width: 30px;
    height: 30px;
    margin: auto;
}

.video iframe,
.video video {
    display: block;
    border: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    background-color: #000;
}

/* Photo Card Styles */
.video-card__photo {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 600px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Video Card Modifiers */
.video-card--video .video {
    aspect-ratio: 9 / 16;
}

.video-card--photo .video-card__photo {
    aspect-ratio: 9 / 16;
}

/* Articles Section */
.articles {
  padding: 2.5rem 0;
    /* background: linear-gradient(rgba(0, 3, 50, 0.5), rgba(0, 3, 50, 0.5)), url('images/bg/articles-bg.jpg'); */
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
}

.articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.articles__actions {
    text-align: center;
    margin-top: 3rem;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
    border: 2px solid transparent;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    border-color: #1e40af;
}

.article-card__content {
    padding: 1.5rem;
}

.article-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #101010;
    margin-bottom: 0.5rem;
}

.article-card__excerpt {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-card__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.article-card__link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.article-card__link:hover {
    color: #dc2626;
}

/* Auto News Section */
.auto-news {
    padding: 2.5rem 0;
    /* background: linear-gradient(rgba(0, 3, 50, 0.5), rgba(0, 3, 50, 0.5)), url('images/bg/news-bg.jpg'); */
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
}

.auto-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
}

.auto-news__actions {
    text-align: center;
    margin-top: 3rem;
}

.auto-news__card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.auto-news__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.auto-news__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.auto-news__card:hover::before {
    opacity: 1;
}

.auto-news__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.auto-news__badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.auto-news__badge--new {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
}

.auto-news__badge--hot {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
}

.auto-news__badge--trend {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
}

.auto-news__badge--update {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
}

.auto-news__badge--premium {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    color: white;
}

.auto-news__badge--eco {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
}

.auto-news__date {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.auto-news__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #101010;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.auto-news__excerpt {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.auto-news__link {
    display: inline-block;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    position: relative;
}

.auto-news__link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.2s ease-in-out;
}

.auto-news__link:hover {
    color: #1d4ed8;
    transform: translateX(2px);
}

.auto-news__link:hover::after {
    transform: translateX(3px);
}

/* Contact Section */
.contact {
    padding: 2.5rem 0;
    background: white;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact .section-title {
    color: #101010;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border-left: 4px solid #1e40af;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
}

.contact-item__icon {
    font-size: 1.5rem;
    color: #1e40af;
    width: 40px;
    text-align: center;
}

.contact-item__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #101010;
    margin-bottom: 0.5rem;
}

.contact-item__text {
    color: #64748b;
}

/* Messengers */
.messengers {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border-left: 4px solid #dc2626;
}

.messengers__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #101010;
    margin-bottom: 1rem;
}

.messengers__list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.messenger-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.messenger-link--telegram {
    background: #0088cc;
}

.messenger-link--whatsapp {
    background: #25d366;
}

.messenger-link--viber {
    background: #7360f2;
}

.messenger-link--vk {
    background: #4c75a3;
}

.messenger-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-image {
    width: 80px;
    height: 80px;
}

.footer__title,
.footer__subtitle {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer__description,
.footer__text,
.footer__item {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.footer__list {
    list-style: none;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #94a3b8;
}

.footer__copyright {
    font-size: 0.9rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        gap: 1rem;
    }
    
    .nav__link {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header__content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding-top: 100px;
        gap: 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav__link {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .nav__link:last-child {
        border-bottom: none;
    }
    
    .nav__link::after {
        display: none;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .about__content {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .hero__stats {
        align-items: center;
    }
    
    .car-showcase {
        width: 250px;
        height: 250px;
    }
    
    .flag {
        width: 60px;
        height: 45px;
    }
    
    .flag--usa {
        top: 15px;
        left: 15px;
    }
    
    .flag--japan {
        top: 15px;
        right: 15px;
    }
    
    .flag--china {
        bottom: 15px;
        left: 15px;
    }
    
    .flag--korea {
        bottom: 15px;
        right: 15px;
    }
    
    .videos__grid,
    .articles__grid,
    .auto-news__grid {
        grid-template-columns: 1fr;
    }
    
    .auto-news__card {
        padding: 1.25rem;
    }
    
    .auto-news__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .messengers__list {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .countries__grid {
        grid-template-columns: 1fr;
    }
    
    .car-showcase {
        width: 200px;
        height: 200px;
    }
    
    .flag {
        width: 50px;
        height: 37px;
    }
    
    .flag--usa {
        top: 10px;
        left: 10px;
    }
    
    .flag--japan {
        top: 10px;
        right: 10px;
    }
    
    .flag--china {
        bottom: 10px;
        left: 10px;
    }
    
    .flag--korea {
        bottom: 10px;
        right: 10px;
    }
}

/* Tablet styles */
@media (max-width: 1024px) {
    .countries__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile landscape */
@media (max-width: 768px) {
    .countries__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Articles Page Styles */
.nav__link--active {
    color: #1e40af;
    font-weight: 600;
}

.nav__link--active::after {
    width: 100%;
}

.articles-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 140px 0 80px 0;
    text-align: center;
}

.articles-hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.articles-hero__subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.articles-section {
    padding: 80px 0;
    background: #f8fafc;
}

.articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-card__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.05);
}

.article-card__country {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #101010;
}

.article-card__content {
    padding: 2rem;
}

.article-card__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-card__excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

.article-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e40af;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card__link:hover {
    color: #1d4ed8;
}

.article-card__link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.article-card__link:hover::after {
    transform: translateX(3px);
}

.back-to-home {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 60px 0;
    text-align: center;
}

.back-to-home__content h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.back-to-home__content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Articles Page Mobile Styles */
@media (max-width: 768px) {
    .articles-hero__title {
        font-size: 2.2rem;
    }
    
    .articles__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-card__content {
        padding: 1.5rem;
    }
    
    .back-to-home__content h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .articles-hero {
        padding: 120px 0 60px 0;
    }
    
    .articles-hero__title {
        font-size: 1.8rem;
    }
    
    .articles-hero__subtitle {
        font-size: 1rem;
    }
    
    .articles-section {
        padding: 60px 0;
    }
}

/* Individual Article Page Styles */
.breadcrumbs {
    padding: 20px 0;
}

.breadcrumbs__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs__link {
    color: #f1f5f9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs__link:hover {
    color: #1e40af;
}

.breadcrumbs__separator {
    color: #f1f5f9;
}

.breadcrumbs__current {
    color: #a4a5a7;
    font-weight: 500;
}

.article-hero {
    background: #f8fafc;
    padding: 40px 0 80px 0;
}

.article-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.article-hero__text {
    padding-right: 2rem;
}

.article-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.article-hero__subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
}

.article-hero__image {
    display: flex;
    justify-content: flex-end;
    padding-left: 2rem;
}

.article-hero__image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.article-content {
    padding: 80px 0;
}

.article-content__wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.article-text {
    max-width: none;
}

.article-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2rem 0 1rem 0;
}

.article-text p {
    color: #101010;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-text ul,
.article-text ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-text li {
    color: #101010;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.article-cta {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    margin-bottom: 1rem;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.article-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    padding: 1rem;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.related-article:hover {
    background: #f8fafc;
}

.related-article img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.related-article__content h4 {
    color: #1f2937;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-article__content span {
    color: #6b7280;
    font-size: 0.8rem;
}

/* Gallery Styles */
.photo-gallery {
    margin: 1rem 0 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width:100%;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 3, 50, 0.6);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Features Showcase */
.features-showcase {
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    border-color: #3b82f6;
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Quick Info */
.quick-info {
    margin: 4rem 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.info-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}

.info-text {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.back-to-articles {
    padding: 40px 0;
    background: #f8fafc;
}

/* Article Page Mobile Styles */
@media (max-width: 968px) {
    .article-hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .article-content__wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {    
    .article-hero {
        padding: 20px 0 60px 0;
    }
    
    .article-hero__title {
        font-size: 2rem;
    }
    
    .article-hero__subtitle {
        font-size: 1rem;
    }
    
    .article-content {
        padding: 60px 0;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-hero__title {
        font-size: 1.6rem;
    }
    
    .article-hero__text {
        padding-right: 0;
    }
    
    .article-hero__image {
        padding-left: 0;
        justify-content: center;
    }
    
    .breadcrumbs__nav {
        flex-wrap: wrap;
    }
    
    .gallery-grid {
        gap: 1rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .info-number {
        font-size: 2.5rem;
    }
}

/* Swiper Styles */
.countries-swiper, .videos-swiper {
    width: 100%;
    padding: 2rem 0;
}

.countries-swiper .swiper-slide,
.videos-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

/* Countries Swiper Specific */
.countries-swiper {
    padding: 2rem 0 4rem 0;
}

.countries-swiper .swiper-slide {
    width: 300px;
}

/* Videos Swiper Specific */
.videos-swiper {
    padding: 2rem 0 4rem 0;
}

.videos-swiper .swiper-slide {
    width: 400px;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #1e40af !important;
    font-weight: bold;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px !important;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: #64748b !important;
    opacity: 0.4 !important;
}

.swiper-pagination-bullet-active {
    background: #1e40af !important;
    opacity: 1 !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .countries-swiper .swiper-slide {
        width: 280px;
    }
    
    .videos-swiper .swiper-slide {
        width: 320px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}
