/*========== Основные настройки страници ==========*/
*{
    box-sizing: border-box;
}

body{
    padding: 12px;
    margin: 24px;
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    padding-top: 100px;
}

/*========== Реализация главног блока Flexbox ==========*/
.container-contact{
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1600px;
}

/*========== Реализация верхнего меню навигации ==========*/
/* Шапка сайта */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 5%;
    box-sizing: border-box;

    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Логотип */

.logo img {
    display: block;
    width: 120px;
    height: auto;
    object-fit: contain;
}

/* Кнопка бургера */

.burger {
    width: 50px;
    height: 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;

    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.burger span {
    width: 32px;
    height: 3px;
    background: #263b59;
    border-radius: 5px;

    transition: 0.3s ease;
}

/* Анимация бургера */

.burger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Выпадающее меню */

.nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 5%;

    width: 300px;
    padding: 25px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;

    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition: 0.3s ease;
}

/* Открытое меню */

.nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ссылки */

.nav-menu ul {
    display: flex;
    flex-direction: column;
    gap: 18px;

    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu ul a {
    color: #263b59;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;

    transition: 0.2s ease;
}

.nav-menu ul a:hover {
    color: #8299ba;
}

/* Кнопка проекта */

.link-button {
    display: block;
    padding: 12px 15px;

    text-align: center;
    text-decoration: none;

    color: white;
    background: #263b59;
    border-radius: 7px;

    transition: 0.3s ease;
}

.link-button:hover {
    background: #405b80;
}

/* Переключатель языков */

.language-switch {
    display: flex;
    align-items: center;
    gap: 5px;

    padding: 4px;
    background: #f1f3f6;
    border: 1px solid #dfe4eb;
    border-radius: 8px;
}

.language-switch a {
    padding: 7px 12px;
    border-radius: 5px;

    color: #596579;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.language-switch a.active {
    color: white;
    background: #263b59;
}
/*=========================*/

/*========== Реализация блока неявной навигации ==========*/
.item-nav{
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    padding: 20px 25px;
}

.item-nav a{
    text-decoration: none;
    font-size: 15px;
    color: #2d4d68;
    text-align: left;
}

.item-nav a:hover{
    color: #737F88;
}

.item-nav span{
    font-size: 15px;
    color: #2d4d68;
    text-align: left;
}
/*===================*/
/*========== Главный заголовок ==========*/
.text-content-1{
    display: flex;
    flex: 1 1 100%;
    background-color: #fff7e6;
    padding: 20px 25px;
    flex-direction: column;
    flex-direction: column;
}

.text-content-1 h1{
    color: #2d4d68;
    font-size: 25px;
    font-weight: 650;
    text-align: center;
}

.text-content-1 p{
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    color: #737F88;
}
/*====================*/
/*========== Реализаци 2 блоков с гугл картой и с текстовым полем контаков ==========*/
.map-contact,
.text-contact{
    display: flex;
    flex: 1 1 50%;
    background-color: #fff7e6;
    padding: 20px 25px;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.map-contact a{
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    color: #2d4d68;
}

.map-contact a:hover{
    color: #737f88;
}

/*Реализация слайдера*/
/* Основная рамка слайдера */
.simple-slider {
  position: relative;
  width: 100%;
  max-width: 900px; /* Можешь изменить под ширину своего блока */
  margin: 30px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  background-color: #101c28;
}

/* Все слайды скрыты по умолчанию */
.slide {
  display: none;
  position: relative;
}

/* Показываем только активный слайд с плавной анимацией */
.slide.active {
  display: block;
  animation: slideFade 0.4s ease;
}

.slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

/* Аккуратная подпись внизу кадра (если не нужна — можно удалить этот блок) */
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 20px 42px 20px;
  background: linear-gradient(to top, rgba(16, 28, 40, 0.85), transparent);
  color: #fff8d9;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  pointer-events: none;
}

/* Кнопки-стрелки поверх картинки */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(45, 77, 104, 0.75); /* Твой фирменный синий цвет */
  backdrop-filter: blur(6px);
  color: #fff8d9;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background: #2d4d68;
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

/* Точки-переключатели внизу */
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot.active {
  background: #fff8d9;
  width: 24px; /* Активная точка вытягивается в аккуратную капсулу */
  border-radius: 10px;
}

@keyframes slideFade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.text-contact h2{
    color: #2d4d68;
    font-size: 22px;
    text-align: center;
    font-weight: 550;
    letter-spacing: -0.3px;
}

.text-contact span{
    color: #737F88;
    font-size: 19px;
    line-height: 1.9;
    font-weight: -0.3px;
    text-align: center;
}

.text-contact h3{
    text-align: center;
    color: #2d4d68;
    font-weight: -0.3px;
    font-size: 17px;
}

.text-contact a{
    text-decoration: none;
    text-align: center;
    color: #737F88;
    font-size: 17px;
    font-weight: -0.3px;
}

.text-contact a:hover{
    color: #2d4d68;
}
/*======================*/
/*========= Футер =========*/
.content-text-4{
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 25px 20px;
    background-color: #2D3A47;
}

.content-text-4{
    color: #fff7e6;
}

/*========================*/
/*Плавное проявление элемента*/
/* Начальное состояние элемента */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

/* Элемент появился в области просмотра */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/*===============================*/
/*========= Адаптация мтраницы ==========*/
@media (max-width: 900px){
    .map-contact,
    .text-contact{
        flex: 1 1 100%;
    }
}


