/* --- Липкая шапка --- */
/* Логотип */
#logo {
  transition: all 0.5s;
}
body.dark #logo {
  content: url('../images/resources/logo-1dark.png');
}
/* Липкая шапка в тёмной теме */
body.dark .stricky-header,
body.dark .stricky-header .main-menu,
body.dark .stricky-header .sticky-header__content {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
}

/* Липкое меню — текст */
body.dark .stricky-header a {
    color: #ffffff !important;
}

/* Логотип в липкой шапке */
body.dark .stricky-header img {
    content: url('../images/resources/logo-1dark.png') !important;
}

/* Кнопка переключения темы внутри липкой шапки */
body.dark .stricky-header .theme-toggle {
    background-color: var(--roofsie-primary) !important;
    color: var(--roofsie-base) !important;
}

/* Телефон в липкой шапке */
body.dark .stricky-header .main-menu__call-content p,
body.dark .stricky-header .main-menu__call-content a {
    color: #b3b3b3 !important;
}

/* --- ТЁМНАЯ ТЕМА --- */
body.dark {
  background-color: #121212;
  color: #ffffff; /* белый текст для всего */
  transition: background-color 0.5s, color 0.5s;
}

/* --- Основные блоки --- */
.dark .main-header,
.dark .footer,
.dark .services-one__single,
.dark .feature-one__single,
.dark .blog-one__single,
.dark .project-one__single {
  background-color: #1e1e1e !important;
}

/* --- Текст --- */
.dark h1, 
.dark h2, 
.dark h3, 
.dark h4, 
.dark h5, 
.dark p,
.dark a {
  color: #ffffff !important; /* белый текст */
}
/* "Связаться с нами" серым */
body.dark .feature-one__text .main-menu__call-content p {
  color: #b3b3b3 !important; /* мягкий серый */
}


body.dark .main-slider__sub-title {
  color: #696ce5 !important; /* мягкий серый */
}

body.dark .feature-one__text  {
  color: #b3b3b3 !important; /* мягкий серый */
}
body.dark .about-one__text {
  color: #b3b3b3 !important; /* мягкий серый */
}
body.dark .about-one__points li:nth-child(1) .text-box-two p {
  color: #b3b3b3 !important; /* мягкий серый */
}
body.dark .about-one__points li:nth-child(2) .text-box-two p {
  color: #b3b3b3 !important; /* мягкий серый */
}
body.dark .about-one__line img {
  opacity: 0.2; /* 20% прозрачность */
}
body.dark .about-one__shape img {
  opacity: 0.2; /* 20% прозрачность */
}







/* "Вакансии" всегда красные */
.dark a[href="vacancies.html"] {
  color: rgb(205, 0, 0) !important;
}

/* --- Выпадающее меню "О нас" --- */
.dark .main-menu__list > li.dropdown ul,
.dark .mobile-nav__content .border-top-2px {
  background-color: #1a1a1b !important;
  border-color: #333 !important;
}

/* Пункты меню */
.dark .main-menu__list > li.dropdown ul li a,
.dark .mobile-nav__content .main-menu__list li.dropdown ul li a {
  color: #e8e8e8 !important;
  background-color: #2a2a2b !important;
  display: block;
  padding: 10px 15px;
  text-decoration: none;
}

/* Hover пунктов меню */
.dark .main-menu__list li.dropdown ul li a:hover {
  background-color: #f2f2f2 !important;
  color: #000000 !important;
}

/* --- Кнопка переключения темы --- */
.theme-toggle {
  position: relative;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--roofsie-base);
  background-color: var(--roofsie-primary);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.theme-toggle:hover {
  background-color: var(--roofsie-base);
  color: var(--roofsie-white);
}


/* --- Наши партнеры: светлый блок в темной теме --- */
body.dark .brand-one,
body.dark .brand-one__inner,
body.dark .brand-one__single {
    background-color: #181818 !important;  /* светлый фон */
}

body.dark .services-one__text {
  color: #6d6c70 !important;
}

body.dark .testimonial-one__client-sub-title {
  color: #6d6c70 !important;
}

body.dark .services-one__read-more a {
  color: #6d6c70 !important;
}

body.dark .testimonial-one__client-name {
  color: #000000 !important;
}

body.dark .testimonial-one__text {
  color: #6d6c70 !important;
}

body.dark .filter-text {
  color: #ffffff !important;
}

body.dark .icon-pin, .icon-email, .icon-telephone {
  color: #ffffff !important;
}

body.dark .team-one__content a {
  color: #000000 !important;
}

body.dark .team-one__sub-title {
  color: #6d6c70 !important;
}

body.dark .icon-magnifying-glass {
  color: #ffffff !important;
}

body.dark .cta-one {
  color: #dd0000 !important;
}
body.dark .about-three__text {
  color: #6d6c70 !important;
}

body.dark .text p {
  color: #6d6c70 !important;
}

body.dark .service-details__text-2 p {
  color: #696ce5 !important;
}

body.dark .service-details__need-help-contact p {
  color: #ffc5c2 !important;
}

body.dark .service-details__text-1 {
  color: #6d6c70 !important;
}

body.dark .service-details__text-3 {
  color: #6d6c70 !important;
}

body.dark .service-details__benefits-content p {
  color: #ffffff !important;
}



















body.dark .text p {
  color: #ffffff !important;
}

body.dark .service-details__benefits-points ul {
  color: #ffffff !important;
}

body.dark .service-details__benefits-points p {
  color: #353535 !important;
}


body.dark .project-one__title a {
  color: #ffffff !important;
}

/* --- fix: текст в блоке Услуги компании при светлом фоне --- */
body.dark .services-one__single h3,
body.dark .services-one__single h3 a,

body.dark .services-one__title a {
    color: #000000 !important; /* черный текст как в светлой теме */
}


/* --- Услуги компании: зеленый фон в темной теме --- */
body.dark .services-one {
  background-color: #1c1b1f !important; /* зелёный фон */
}

body.dark .services-one__top-right-text {
  color: #6d6c70 !important;
} 
body.dark .section-sub-title {
  color: #696ce5 !important;
} 
  
/* --- Почему именно мы?: зеленый фон в темной теме --- */
body.dark .why-choose-one {
  background-color: #121212 !important; /* зелёный фон */
}

body.dark .why-choose-one__text {
  color: #ffffff !important;
} 
body.dark .why-choose-one__points-title {
  color: #1c1b1f !important;
} 

body.dark .blog-one__text,
body.dark .blog-one__user-content h5 {
  color: #6d6c70 !important;
}
body.dark .blog-one__user-content p {
  color: #696ce5 !important;
} 



body.dark .blog-one__single h3,
body.dark .blog-one__single h3 a,
body.dark .blog-one__read-more a,
body.dark .blog-one__title a {
    color: #000000 !important; /* черный текст как в светлой теме */
}

body.dark .footer-widget__explore-list a,
body.dark .footer-widget__newsletter-text,
body.dark .footer-widget__contact-text,
body.dark .site-footer__bottom-text,
body.dark .site-footer__bottom-text a {
  color: #6d6c70 !important;
}
body.dark .about-one__satisfied-shape {
  content: url('../images/shapes/about-one-satisfied-shape-1-dark.png');
}


/* Мобильная кнопка темы */
.mobile-header-theme {
  display: none;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  margin-left: 12px;
  gap: 6px;
  color: #fff; /* шапка тёмная — делаем белый */
}

/* Показывать ТОЛЬКО на мобильных */
@media (max-width: 991px) {
  .mobile-header-theme {
      display: flex !important;
  }
}

/* В тёмной теме — другая иконка/цвет */
.dark .mobile-header-theme {
  color: #ffd700;
}

.theme-text {
  font-size: 14px;
  user-select: none;
}