/* a {color: #FF6B00;}
a :hover{color: #FF8C00;}
a :hover{color: #FF4500;} */

html { scroll-behavior: smooth;}
body {font-size: 18px; font-family: 'Commissioner','Oswald','Roboto', Arial, sans-serif;}

@font-face {
  font-family: 'Commissioner';
  font-display: swap;   
  src: url('../../fonts/Commissioner-Regular.woff2') format('woff2'); 
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Oswald';   
  font-display: swap; 
  src: url('../../fonts/Oswald-Regular.woff2') format('woff2'); 
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';    
  font-display: swap; 
  src: url('../../fonts/Roboto-Regular.woff2') format('woff2'); 
  font-style: normal;
  font-weight: 400;
}

h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6 {
  font-family: 'Oswald',Arial,sans-serif;
  font-weight: 400;
  letter-spacing: 3px;
  /*  BS5 margin-top: 0; margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; */
}

.f-comm {
  font-family: "Commissioner", serif;
  font-optical-sizing: auto;
  letter-spacing: 1px;
  font-style: normal;
}

 .f-os {
   font-family: "Oswald", serif;
   font-optical-sizing: auto;
   letter-spacing: 2px;
   font-style: normal;
 }

 .f-rb {
  font-family: 'Roboto',sans-serif;
  font-optical-sizing: auto;
  letter-spacing:  auto;
  font-style: normal;
}


.section {padding: 3rem 0;}

.m-color {color: #FC4C00 !important;}

a {text-decoration:none;}
a{color: #FF4500;}
a:hover {color: #FF0000;}

.border-orange {border-color: #FC4C00 !important;}

/* Цвет иконок в шапке */
.whatsapp {font-size: 30px; text-decoration: none; color: #22ca32;}
.whatsapp i:hover {color: #FC4C00;}
/* .whatsapp :hover{color: #000;} */

/* Стили для навбара */
.navbar {
    transition: background-color 0.3s ease, border-color 0.3s ease;
    background-color: transparent !important;
    border-bottom: 1px solid transparent;
}

.navbar-scrolled {
    background-color: #FFF !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
}

.navbar-brand,
.navbar-nav .nav-link {
    color: #000 !important;
    transition: color 0.3s ease;
}

.navbar-scrolled .navbar-brand,
.navbar-scrolled .navbar-nav .nav-link {
    color: #000 !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #FF0000 !important;
}

/* Мобильное меню - УПРОЩЕННАЯ ВЕРСИЯ */
@media (max-width: 991.98px) {
    .navbar {
        background-color: #FFF !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .navbar-scrolled {
        background-color: #FFF !important;
    }

    .navbar-collapse {
        background-color: #FFF !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 1rem;
        border-radius: 0.375rem;
        margin-top: 0.5rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }
    
    .navbar-nav .nav-link {
        color: #000 !important;
        padding: 0.5rem 1rem;
        border-radius: 0.25rem;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background-color: rgba(255, 0, 0, 0.1);
    }
}

/* Увеличиваем z-index чтобы меню было поверх хедера */
.navbar {
    z-index: 1030;
}

.navbar-toggler {
    border: none;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Отключаем анимации для мобильного меню Bootstrap */
.navbar-collapse.collapsing {
    transition: none !important;
}

.navbar-collapse.show {
    transition: none !important;
}

/* Увеличиваем z-index чтобы меню было поверх хедера */
.navbar {
    z-index: 1030;
}

.navbar-toggler {
    border: none;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Шапка */
.hero {
  position: relative;
  background: url("../../img/wall.webp") center center/cover no-repeat;
  min-height: 50vh;
  display: grid;
  align-items: center;
  color: #000;
  overflow: hidden;
  padding: 5rem 0;
}

/*
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.30) 40%, rgba(0, 0, 0, 0.12) 100%);
    z-index: 1;
}
*/

.hero .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 576px) {
    .hero {padding-bottom: 1.5rem;}
}

/* сдвиг иконок */
.icon-corner {
  position: absolute;
  top: -40px;
  right: 10px;
  width: 80px;
  /* квадрат */
  height: 80px;
  background: #fff;
  /* под фон секции */
  border-radius: 50%;
  /* идеальный круг */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.icon-corner i {
  font-size: 50px;
  /* сам значок */
  line-height: 1;
}

/* Заголовки */
/* Контейнер для заголовка и линии */
.h2-container {
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Статическая линия */
.static-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FF6B00, #FF4500, #FF8C00);
    border-radius: 2px;
    margin-top: 15px;
}

/* Заголовок с анимацией */
.animated-h2 {
    background: linear-gradient(135deg, #FF6B00 0%, #FF4500 50%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Анимированное состояние */
.animated-h2.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Адаптивность */
@media (max-width: 768px) {
    .section {padding: 1.5rem 0;}
    .animated-h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .section {padding: 1rem 0;}
    .animated-h2 { font-size: 1.75rem; }
}

/* STEP */
.work-motto{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    min-height: 4.30em;
    margin-left: 0px;
    margin-right: 0px
}
.work-text{
    color: #303b43;
    font-size: 1em;
    font-weight: 500
}
.work-floor{
    line-height: 1.1;
    margin-bottom: 0.66em
}
.work-into{
    color: #ff6524;
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase
}
.work-exile{
    background-color: #ffffff;
    padding-left: 0.40em;
    padding-right: 0.40em
}
.work-title{
    color: #303b43;
    font-size: 1.00em;
    font-family: Roboto;
    font-weight: 700;
    text-transform: uppercase
}

/* Обслуга котлов */
#info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
  display: flex;
  align-items: center;
}
#info h3 i {
  font-size: 1.5em;
  color: #FC4C00;
}

/* Блоки с текстом */
#info .info-block div {
  color: #555;
  line-height: 1.6;
  font-size: 18px;
}

/* Цвет иконок */
.text-orange {
  color: #FC4C00 !important;
}

/* Отступы для якорных ссылок */
.anchor-offset {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

/* Альтернативный вариант через псевдоэлемент */
.section[id]::before {
    content: "";
    display: block;
    height: 60px;
    margin-top: -60px;
    visibility: hidden;
}

/* Для всех секций с якорями добавляем отступ */
#services,
#process,
#price,
#brands,
#trust,
#info,
#contact {
    scroll-margin-top: 60px;
}


/* Таблица подсветка */
.table-orange {
    background-color: #FFF9F5 !important;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    --bs-table-striped-bg: #FFFEFD;
}

/* Отступ слева в ячейках */
.table-orange td:first-child,
.table-orange th:first-child {
    padding-left: 1.5rem;
}

/* Горелка */
.boiler-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.boiler-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.burner-overlay {
    position: absolute;
    bottom: 7.8%; /* Регулируйте положение пламени */
    left: 75.3%;
    transform: translateX(-50%);
    width: 60px;
    height: 120px;
}

.flame {
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 60px;
    background: linear-gradient(to top, 
        #ff6b00 0%, 
        #ff8c00 30%, 
        #ff4500 60%, 
        transparent 100%);
    border-radius: 50% 50% 20% 20%;
    opacity: 0.8;
    transform-origin: bottom center;
    animation: flicker 1.5s infinite alternate;
}

.flame:nth-child(1) {
    left: 0;
    animation-delay: 0s;
}

.flame:nth-child(2) {
    left: 20px;
    animation-delay: 0.3s;
    height: 80px;
}

.flame:nth-child(3) {
    left: 40px;
    animation-delay: 0.6s;
}

@keyframes flicker {
    0%, 100% {
        transform: scaleY(1) scaleX(1);
        opacity: 0.8;
    }
    25% {
        transform: scaleY(1.2) scaleX(0.9);
        opacity: 0.9;
    }
    50% {
        transform: scaleY(0.9) scaleX(1.1);
        opacity: 0.7;
    }
    75% {
        transform: scaleY(1.1) scaleX(0.95);
        opacity: 0.85;
    }
}

/* Эффект свечения */
.glow-effect {
    position: absolute;
    bottom: 32%;
    left: 75%;
    transform: translateX(-50%);
    width: 80px;
    height: 40px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 107, 0, 0.3) 0%,
        rgba(255, 70, 0, 0.1) 50%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(5px);
    z-index: 1;
}

/* Адаптивность горелка */
@media (max-width: 991px) {
.burner-overlay {
display: none;
}
.glow-effect {
display: none;
}
}

@media (min-width: 992px) and (max-width: 1201px) {
.burner-overlay {
    bottom: 19.5%; 
    left: 75.2%;
}
.glow-effect {
    bottom: 42%;
    left: 75.2%;
}

}