
body {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 19px; /* 23 */
	font-weight: 300;
	overflow-x: hidden;
}

button { cursor: pointer; }
a, button { transition: all 0.3s ease; }
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

.container-fluid {
	padding-left: 0;
	padding-right: 0;
	overflow-x: hidden;
}

.tm-section {
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 640px; /* 640 */
}

.slick-prev {
  left: 5px;
  z-index: 1000;
}

.slick-next {
  right: 5px;
}


.tm-sect-1 { background-image: url(../img/image-01.jpg); }
.tm-sect-2 { background-image: url(../img/image-02.jpg); }
.tm-sect-3 { background-image: url(../img/image-03.jpg); }
.tm-sect-4 { background-image: url(../img/image-04.jpg); }
.tm-sect-5 { background-image: url(../img/image-05.jpg); }
.tm-sect-6 { background-image: url(../img/image-06.jpg); }



.navbar-toggler {
    background-color: rgba(0,0,0.3);
    background-image: url(../img/tm-navbar.png);
    border-radius: 0;
    border: none;
    color: rgb(255,255,255);
    display: block;
    margin: 0 auto;
}

button:focus { outline: none; }
h1, h2, p {	color: white; }

p {
	font-weight: 300;
	line-height: 1.8;
	margin-bottom: 35px;
}

.tm-section-title {
	color: #fab1b1;
	font-size: 1.8rem; /* 1.8 */
	margin-bottom: 40px;	 /* 40 */
}

.tm-section-title-big { font-size: 2.2rem; }

.tm-nav {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
    -ms-flex-pack: center;
        -webkit-justify-content: center;
            justify-content: center;
	position: fixed;
    width: 100%;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tm-nav.scroll {
    background: rgba(0, 0, 0, 0.70);
    padding: 0;
}

.tm-nav.scroll .navbar { padding: 0; }
.nav-link, .nav-link:focus { color: gray; }

.nav-link:hover,
.tm-nav ul li .current { color: #fab1b1; }

.navbar-nav .nav-link {
    padding-top: .9rem;
    padding-bottom: .9rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Кнопка скрытия/показа навбара */


.nav-hide-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1100;
    background: linear-gradient(145deg, rgba(250,177,177,0.85), rgba(255,255,255,0.1));
    color: white;
    border: none;
    font-size: 1.4rem;
    padding: 0.6rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transition: transform 0.25s ease, background 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(6px);
}

/* Hover-анимация кнопки */
.nav-hide-btn:hover {
    transform: scale(1.15) rotate(10deg);
    background: linear-gradient(145deg, rgba(250,177,177,1), rgba(255,255,255,0.2));
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

/* Навбар — плавное скрытие/появление */
.tm-navbar {
    max-height: 57px;
    opacity: 1;
    padding: 0.5rem 0;
    transform: translateY(0);
    transition: max-height 0.5s cubic-bezier(.65,.05,.36,1),
    transform 0.5s cubic-bezier(.65,.05,.36,1),
    opacity 0.4s ease,
    padding 1s ease;
    overflow: hidden;
}

/* Навбар скрыт */
.tm-navbar.hidden {
    max-height: 0;
    opacity: 0;
    padding: 0;
    transform: translateY(-25px);
}

/* Плавный сдвиг всей обертки nav (необязательно) */
.tm-nav {
    transition: transform 0.5s cubic-bezier(.65,.05,.36,1), background 0.3s ease;
}

/* Добавим лёгкий bounce при открытии nav */
.tm-navbar.showing {
    animation: navBounce 0.45s ease forwards;
}

@keyframes navBounce {
    0% { transform: translateY(-25px); opacity: 0; }
    60% { transform: translateY(5px); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}



/* Добавлено */
.tm-hero {
    position: absolute;
    top: 25%;
    left: 25%;
    transform: translate(0, 0); /* убираем центрирование */
}


.tm-hero-title { font-size: 3rem; color: black }

.tm-hero-subtitle {
	font-size: 1.4rem;
	margin-bottom: 0;
	color: black;
}



.tm-bg-black-translucent { background-color: rgba(0, 0, 0, 0.5); }

.tm-content-box {
	height: 100%;
	min-height: 640px; /* 640 */
	max-width: 480px; /* 480 */
	padding: 40px;	 /* 40 */
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
    -ms-flex-pack: center;
        -webkit-justify-content: center;
            justify-content: center;
}

.tm-content-box-right {
	margin-left: auto;
	margin-right: 0;
}

.tm-page-content-width {
	max-width: 1200px; /* 1200 */
	margin: 0 auto;
	width: 100%;
}

.tm-flex-center {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
    -ms-flex-direction: column;
        -webkit-flex-direction: column;
            flex-direction: column;
    -ms-flex-pack: center;
        -webkit-justify-content: center;
            justify-content: center;
}

/* Добавлено */
/* Текст hero */
.tm-hero-title {
    font-family: FontAwesome, serif;
    font-size: 4.1rem;
    line-height: 1;
    margin: 0;
    text-transform: none;
    color: black;
    text-align: start;
}

.tm-hero-title .line:first-child {
    font-weight: 300; /* 300 */
    font-size: 2.5rem;
    display: compact;
}

.tm-hero-title .line:last-child {
    font-weight: 700; /* 700 */
    font-size: 5rem;
    letter-spacing: 1px;
    display: compact;
}

/* Подзаголовок */
.tm-hero-subtitle {
    display: -webkit-flex;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1rem;
    color: black;
}

/* Анимация появления */
.tm-hero-title,
.tm-hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
}

.tm-hero-subtitle {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптив */
@media (max-width: 768px) {
    .tm-hero-title {
        font-size: 2.8rem;
    }
    .tm-hero-title .line:last-child {
        font-size: 3.5rem;
    }
    .tm-hero-subtitle {
        font-size: 1rem;
    }
}

.tm-hero-title,
.tm-hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: none; /* отключаем автозапуск по умолчанию */
}

/* при появлении добавляем анимацию */
.tm-hero-title.visible-hero,
.tm-hero-subtitle.visible-hero {
    animation: fadeUp 1s ease-out forwards;
}

/* задержка для подзаголовка */
.tm-hero-subtitle.visible-hero {
    animation-delay: 0.4s;
}



.tm-textbox-padding { padding: 50px; }
.tm-text-black { color: black; }
.tm-fa {
	color: white;
	padding-bottom: 40px;
    text-align: center;
    width: 100%;
}
.tm-margin-b-0 { margin-bottom: 0; }

.tm-sect-4 {
	padding-top: 80px;
	padding-bottom: 80px;
}

.tm-sect-5 {
	padding-top: 80px;
	padding-bottom: 80px;
}

.tm-sect-7 {
	padding-top: 80px;
	padding-bottom: 80px;
}

.form-control {
	background-color: rgba(0, 0, 0, 0.4);
	color: white;
	border-radius: 0;
	font-size: 1.15rem;
	padding: .9rem 1.25rem;
}

.form-control:focus {
	background-color: rgba(0,0,0,0.6);
	color: white;
}

.form-group { margin-bottom: 1.2rem; }

.tm-submit-btn {
	color: white;
    background-color: rgba(0,0,0,0.3);
    border: none;
    padding: 1rem 2.1rem;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.tm-submit-btn:hover,
.tm-submit-btn:active {
	background-color: rgba(0,0,0,0.5);
}

.tm-section-contact { position: relative; }

.tm-copyright-div {
	padding: 0.5rem 2.4rem 0.5rem 1.2rem;
	position: absolute;
    bottom: 0;
    display: inline-block;
}

.tm-copyright-text { margin-bottom: 0; }

@media screen and (max-width: 991px) {
	.tm-3-col-textbox {
		width: 50%;
		margin-bottom: 30px;
	}

	.tm-copyright-div {	position: static; }
}

@media screen and (max-width: 767px) {
	.tm-3-col-textbox {
		float: none;
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}

	.tm-navbar { background-color: rgba(0,0,0,0.6); }
	.navbar-nav .nav-item {	float: none; }
	.navbar-nav .nav-item+.nav-item { margin-left: 0; }
	.navbar { width: 100%; }

	.navbar-toggleable-sm .navbar-nav {
		margin-top: 0;
		margin-bottom: 0;
	}
}

@media screen and (max-height: 639px) {
	.tm-section-home,
	.tm-hero {
		height: 100vh;
		min-height: 100%;
	}
}

/* Добавлено */
/* слайдеры */
.tm-img-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;

}

.tm-img-slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.tm-img-slider-item.active {
    opacity: 1;
    z-index: 1;
}

ol li::marker {
    color: white;
    font-weight: bold;
}


/* fade scroll */
.fade-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.fade-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Footer */




.site-footer {
    position: relative;
    background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.9), rgba(15, 15, 15, 0.97));
    color: white;
    padding: 55px 24px 50px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

/* Сияющая линия сверху — чуть толще, плавнее, мягкое свечение */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 220%;
    height: 4px;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(250, 177, 177, 0.15),
            #fab1b1,
            rgba(255, 255, 255, 0.8),
            #fab1b1,
            rgba(250, 177, 177, 0.15),
            transparent
    );
    opacity: 0;
    filter: blur(3px);
    animation: lightFlow 9s ease-in-out infinite;
    animation-delay: 0.8s;
    animation-fill-mode: forwards;
}

/* Легкое отражение внизу */
.site-footer::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 50%;
    width: 100%;
    height: 80px;
    transform: translateX(-50%);
    background: radial-gradient(circle at center, rgba(250, 177, 177, 0.25), transparent 70%);
    filter: blur(30px);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

/* Движение и появление линии */
@keyframes lightFlow {
    0% {
        transform: translateX(-60%);
        opacity: 0;
    }
    15% {
        opacity: 0.7;
    }
    50% {
        transform: translateX(60%);
        opacity: 1;
    }
    85% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(160%);
        opacity: 0;
    }
}

/* Контент футера */
.footer-bottom {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 2;
}

/* Текст */
.footer-text {
    font-size: 1rem;
    letter-spacing: 0.45px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Телефон и email */
.footer-text-foot {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    transition: color 0.3s ease;
}

.footer-text-foot:hover {
    color: #fab1b1;
}

/* Лёгкое разделение между копирайтом и контактами */
.footer-text-foot:first-of-type {
    margin-top: 6px;
}

.footer-text:hover {
    color: #fab1b1;
    text-shadow: 0 0 10px rgba(250, 177, 177, 0.5);
}

/* Сердце */
.heart {
    color: #ff6b6b;
    display: inline-block;
    animation: heartPulse 1.8s infinite ease-in-out;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.25); opacity: 1; }
}

/* Эффект свечения при наведении */
.site-footer:hover::before {
    filter: blur(4px);
    opacity: 1;
    transition: opacity 0.6s ease, filter 0.6s ease;
}

/* Адаптив */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}


/* fade scroll block */



.fade-scroll-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s ease;
}

.fade-scroll-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Небольшое смягчение движения */
.tm-3-col-textbox.fade-scroll-left {
    will-change: transform, opacity;
}

/* Задержки для последовательного появления */
.tm-3-col-textbox:nth-child(1) {
    transition-delay: 0.2s;
}
.tm-3-col-textbox:nth-child(2) {
    transition-delay: 0.4s;
}
.tm-3-col-textbox:nth-child(3) {
    transition-delay: 0.6s;
}


/* Slider */



.tm-img-slider {
    position: relative;
    overflow: hidden;
}

/* элементы — используем transform для смещения вместо opacity-only */
.tm-img-slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;      /* ты уже задавал 100% — оставляем */
    height: 100%;
    transform: translateX(100%); /* по умолчанию справа за экраном */
    transition: transform 0.6s cubic-bezier(.22,.9,.35,1), opacity 0.6s ease;
    opacity: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* активный — центр */
.tm-img-slider-item.active {
    transform: translateX(0);
    opacity: 1;
    z-index: 2;
}

/* предыдущий — уходит влево */
.tm-img-slider-item.prev {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 1;
}

/* следующий — подготовлен справа */
.tm-img-slider-item.next {
    transform: translateX(100%);
    opacity: 0;
    z-index: 1;
}

/* картинка внутри — заполняет контейнер сохраняя аспект */
.tm-slider-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

/* уменьшение задержки на мобильных, более быстрый переход */
@media (max-width: 768px) {
    .tm-img-slider-item { transition-duration: 0.45s; }
}

/* опционально: пауза-эффект при наведении на слайдер (необязательно) */
.tm-img-slider:hover .tm-img-slider-item {
    transition-duration: 0.45s;
}

/* === STICKY SITES PANEL (LEFT) === */
.sticky-sites {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 300px;
    max-width: calc(100% - 36px);
    z-index: 2200;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 16px 36px rgba(2,2,2,0.6);
    font-family: inherit;
}

.sticky-sites-inner {
    background: linear-gradient(180deg, rgba(8,8,8,0.96), rgba(0,0,0,0.88));
    border: 1px solid rgba(250,177,177,0.06);
    padding: 12px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 12px;
}

.sticky-sites-head h4 {
    margin: 6px 0 0 0;
    font-size: 1.05rem;
    color: #fab1b1;
    font-weight: 700;
}
.head-sub {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.25;
}

.sites-list {
    list-style: none;
    margin: 0;
    padding: 6px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 6px;
}
.sites-list::-webkit-scrollbar { width: 8px; }
.sites-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 8px; }
.sites-list::-webkit-scrollbar-track { background: transparent; }

.site-item a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    background: rgba(255,255,255,0.01);
    transition: transform .15s ease, background .18s ease;
    min-height: 52px;
}
.site-item a:focus { outline: 2px solid rgba(250,177,177,0.16); outline-offset: 2px; }
.site-item a:hover {
    transform: translateX(4px);
    background: linear-gradient(90deg, rgba(250,177,177,0.06), rgba(255,255,255,0.02));
}

.site-icon {
    min-width: 44px;
    height: 44px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    font-size: 18px;
}

.site-meta { display: flex; flex-direction: column; overflow: hidden; }
.site-name {
    font-size: 0.98rem;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.site-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.62);
    margin-top: 3px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.sites-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.03);
}
.sites-cta {
    padding: 8px 10px;
    background: rgba(0,0,0,0.32);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.03);
    font-size: 0.95rem;
    transition: background .18s, transform .15s;
}
.sites-cta:hover { transform: translateY(-2px); background: rgba(250,177,177,0.08); color: #fab1b1; }

/* mobile */
@media (max-width: 640px) {
    .sticky-sites { left: 12px; bottom: 12px; width: 88%; max-width: 420px; }
}

.sticky-sites.fade-scroll { opacity: 0; transform: translateY(20px); transition: all 0.9s cubic-bezier(.2,.9,.2,1); }
.sticky-sites.fade-scroll.visible { opacity: 1; transform: translateY(0); }


