/*
Theme Name: OlympexHolding
Theme URI: https://example.com/
Author: Ваше имя
Author URI: https://example.com/
Description: Тема OlympexHolding для WordPress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olympexholding
*/

/* ========== Подключение кастомных шрифтов ========== */
@font-face {
  font-family: 'VerdanaRegular';
  src: url('assets/font/Verdana.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'VerdanaBold';
  src: url('assets/font/Verdana-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'VerdanaItalic';
  src: url('assets/font/Verdana-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'VerdanaBoldItalic';
  src: url('assets/font/Verdana-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'ManropeRegular';
  src: url('assets/font/Manrope-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
/* ========== Подключение кастомных шрифтов ========== */

body {
  font-family: 'VerdanaRegular', sans-serif;
}

html {
  scroll-behavior: smooth;
}

.navbar {
  z-index: 99;
}

/* ========== Меню ========== */
.navbar-custom ul {
    gap: 50px;
}

.custom-link::after,
.dropdown-item::after {
  display: none !important;
}

.custom-link:hover {
  color: #11111a !important;
}

.navbar-custom ul li a {
  position: relative;
  display: inline-block;
  color: #11111a;
  text-decoration: none;
  font-size: 16px;
  font-family: 'ManropeRegular', sans-serif;
  font-weight: bold;
  transition: color .3s ease;
}

.navbar-custom ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;            /* подстройте под ваш дизайн */
  height: 1px;             /* толщину линии */
  width: 100%;
  background: #00aeef;
  transform: scaleX(0);
  transform-origin: right; /* при скрытии «сжимается» к правому краю */
  transition: transform .3s ease;
}

.navbar-custom ul li a:hover {
  color: #00aeef;
}

.navbar-custom ul li a:hover::after {
  transform-origin: left;  /* при появлении «разворачивается» от левого края */
  transform: scaleX(1);
}

/* Картинка-стрелка рядом с текстом */
.custom-language .lang-arrow {
  width: 10px;         /* подберите нужный размер */
  height: auto;
  display: inline-block;
  vertical-align: middle;
}


.navbar-custom .navbar-brand img {
    max-width: 120px;
}
/* ========== Меню ========== */

/* ========== Main Slider ========== */
.main-slider .swiper {
  width: 100%;
  height: 600px; /* можно поменять на 100vh или любое другое значение */
  position: relative;
}

.main-slider .swiper-slide {
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}

/* контейнер с заголовком */
.main-slider .slider-caption {
    height: 100%;
    display: flex;
    align-items: center;
}

/* стили заголовка */
.main-slider .slider-caption h2 {
  color: #fff;
  font-size: 48px;
  line-height: 1.2;
}

.main-slider .swiper-button-next:after,
.main-slider .swiper-button-prev:after {
    color: #fff;
}
/* ========== Main Slider ========== */

/* ========== Second Slider ========== */
.second-slider {
    position: relative;
    border-bottom: 1px solid #00adee;
    -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
}
.second-slider .swiper {
  width: 100%;
  padding: 60px 0;         /* отступы сверху/снизу */
  background: #fff;        /* фон слайдера */
}
.second-slider h2 {
    font-size: 48px;
    margin-bottom: 60px;
}
.second-slider p {
    text-align: justify;
    font-size: 18px;
}
.second-slider .swiper-slide {
  display: flex;
  align-items: center;
}
.second-slider .slide-text {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.5;
}
.slide-img {
  position: relative;
}
.second-slider .slide-img img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 485px;
  object-fit: contain;
}

.slide-img h2 {
  font-size: 36px;
  margin: 0px;
  text-align: center;
}

.slide-img h3 {
  text-align: center;
}

.container-swiper-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0;
    margin-top: 15px;
}

.container-swiper-buttons .swiper-button-prev,
.container-swiper-buttons .swiper-button-next  {
    position: relative;
    color: #181b30;
    width: 40px;
    height: 40px;
    border: 2px solid #181b30;
    border-radius: 50%;
    opacity: 0.5;
    transition: 0.5s all;
}

.container-swiper-buttons .swiper-button-prev:hover,
.container-swiper-buttons .swiper-button-next:hover {
    opacity: 1;
}

.container-swiper-buttons .swiper-button-prev:after,
.container-swiper-buttons .swiper-button-next:after  {
    font-size: 25px;
}
/* ========== Second Slider ========== */

/* ========== Компании ========== */
.companies-section .company-item {
  border: 1px solid #e0e0e0;
  position: relative;
}
.companies-section .company-logo {
  background: #0f375a;
  color: #fff;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 45%;
  width: 100%;
  min-height: 330px;
  min-width: 285px;
  max-width: 285px;
  padding: 5px;
  border-bottom: 5px solid #00adee;
  z-index: 99;
}
.companies-section .company-logo img {
  max-width: 100%;
  height: auto;
}
.company-logo h3 {
    font-size: 26px;
}
.companies-section .company-info {
  background: #ece8e3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 99;
}
.companies-section .company-title {
  margin-top: 0;
  font-weight: 700;
}
.companies-section .company-desc {
  font-size: 14px;
  line-height: 1.4;
}
.companies-section .company-link {
  text-align: right;
  background: #00adee;
  padding: 5px 15px;
}

.company-desc p {
    padding: 25px 25px 0px 25px;
}

.company-link a {
    color: #212529;
    text-decoration: none;
}

.company-link a:hover {
    text-decoration: underline;
    text-decoration-style: dashed;
}

.companies-section header h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.companies-section header p {
    font-size: 18px;
}

.companies-grid {
    margin-top: 30px;
}
/* ========== Компании ========== */

/* ========== Partners Slider ========== */
.partners-section {
    border-top: 1px solid #00adee;
    border-bottom: 1px solid #00adee;
    -webkit-box-shadow: 0px 1px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 1px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 1px 10px 2px rgba(34, 60, 80, 0.2);
    position: relative;
    background: #f9f9f9;
    margin: 3rem 0px !important;
}
.partners-section .swiper {
  padding: 1rem 0;
}
.partners-section .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partners-section .swiper-slide img {
  max-height: 80px;
  object-fit: contain;
}
.partners-section .swiper-button-prev,
.partners-section .swiper-button-next {
  color: #002b5b;
}
.partners-section .swiper-pagination {
  margin-top: 1rem;
}
.partners-section h2 {
    font-size: 48px;
}
.partnersSwiper .swiper-wrapper {
    align-items: center;
}
/* ========== Partners Slider ========== */

/* ======================================================
   Contacts Section Styles
   ====================================================== */
.contacts-section {
  background: #fff;
  color: #111;
  padding: 4rem 0;
}

/* Заголовок секции */
.contacts-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Левая колонка с контактными данными */
.contacts-section .contacts-info h3 {
  font-size: 24px;
  font-weight: bold;
}
.contacts-section .contacts-info a {
  color: #002b5b;
  text-decoration: none;
}
.contacts-section .contacts-info a:hover {
  text-decoration: underline;
}
.contacts-section .social-links {
  margin-top: 1rem;
}
.contacts-section .social-links a {
  color: #002b5b;
  font-weight: 600;
  margin-right: 1rem;
  text-decoration: none;
}
.contacts-section .social-links a:last-child {
  margin-right: 0;
}
.contacts-section .social-links a:hover {
  text-decoration: underline;
}

/* ======================================================
   Contact Form 7 + Bootstrap Styles
   ====================================================== */
/* Сбрасываем отступы CF7 */
.contacts-form .wpcf7-form {
  margin: 0;
}

.contacts-form {
    padding: 0px !important;
}

/* Обёртка каждого поля для звёздочки */
.contacts-form .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

/* Само поле input/textarea в стиле Bootstrap */
.contacts-form input.form-control,
.contacts-form textarea.form-control {
  width: 100%;
  height: 50px;
  background: #fafafa;
}

/* Текстовая область */
.contacts-form textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

/* Кнопка «Отправить» – блок на всю ширину */
.contacts-form .wpcf7-submit {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  /* background: #111; */
  background: #13588f;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
  /* max-height: 45px; */
  /* min-height: 45px; */
  max-width: 120px;
}
.contacts-form .wpcf7-submit:hover {
  /* background: #000; */
  background: #0d8093;
}

.button-custom {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.contacts-section h2 {
    font-size: 48px;
}

.social-links img {
    max-height: 19px;
}

.adres,
.mail {
    margin-bottom: 25px;
}

.tel {
    margin: 0px !important;
}

/* Footer */

.site-footer {
    background: url('/wp-content/uploads/2025/05/footer.jpg') no-repeat center/cover;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 15px;
}

.site-footer .navbar-custom {
    background: transparent !important;
}

.site-footer .navbar-nav {
    background: rgb(255 255 255 / 80%);
}

.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy img {
  max-width: 80px;
}

.footer-copy a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #212529;
  background: rgb(255 255 255 / 80%);
}

.navbar-custom .navbar-nav .nav-link {
  margin-left: 2rem;
}

/* .navbar-custom ul li::before {
    content: "";
    width: 1rem;       /* ширина иконки */
    height: 1rem;      /* высота иконки */
    background: url('/wp-content/uploads/2025/05/icons.png') no-repeat center center;
    background-size: contain;
    display: block;
} */

.navbar-custom ul li {
    display: flex;
    align-items: center;
}

.custom-language:before {
    display: none !important;
}

.custom-language li:before {
    display: none !important;
}

.parallax-shape {
  position: absolute;
  will-change: transform;
  pointer-events: none; /* чтобы клики «сквозь» проходили */
  z-index: 999;
  transition: transform 1.2s ease-out;
}

/* разные стили для треугольника и полоски */
#shape-slider-1 {
  background: #00aeee2a;
  left: 13%;
  height: 100px;
  width: 40%;
}

#shape-slider-2{
  background: #00aeee2a;
  left: 13%;
  height: 100px;
  width: 55%;
}

#shape-slider-second-1 {
  background: #0c385abb;
  width: 250px;
  height: 5px;
  right: -5%;
  bottom: 35%;
  rotate: -50deg;
}

#shape-slider-second-2-1 {
  background: #0c385abb;
  width: 75px;
  left: 11%;
  top: 20%;
  height: 5px;
  rotate: -45deg;
}

#shape-slider-second-2 {
  background: #0c385abb;
  width: 250px;
  height: 5px;
  right: -5%;
  bottom: 35%;
  rotate: -50deg;
}

#shape-slider-second-3 {
  background: #0c385abb;
  width: 250px;
  height: 5px;
  right: -5%;
  bottom: 35%;
  rotate: -50deg;
}

#shape-slider-second-2-2 {
  background: #0c385abb;
  width: 75px;
  left: 11%;
  top: 20%;
  height: 5px;
  rotate: -45deg;
}

#shape-slider-second-2-3 {
  background: #0c385abb;
  width: 75px;
  left: 11%;
  top: 20%;
  height: 5px;
  rotate: -45deg;
}

#shape-slider-parallelogram-1 {
  background: #82a6b490;
  right: 15%;
  top: 25%;
  height: 125px;
  width: 125px;
}

#shape-slider-parallelogram-2 {
  background: #82a6b490;
  right: 15%;
  top: 25%;
  height: 125px;
  width: 125px;
}

#shape-slider-parallelogram-2-1 {
  background: #00aeee5e;
  right: 45%;
  top: 80%;
  height: 75px;
  width: 75px;
}

#shape-slider-parallelogram-2-2 {
  background: #00aeee5e;
  right: 45%;
  top: 80%;
  height: 75px;
  width: 75px;
}

.shape-card-1 {
  background: #00aeee2a;
  width: 175px;
  height: 175px;
  top: 28%;
  left: -36%;
  z-index: 1;
}

.shape-card-2 {
  background: #0f385a2a;
  width: 185px;
  height: 185px;
  bottom: -36%;
  right: -37%;
  z-index: 1;
}

.shape-card-3 {
  background: #ece8e32a;
  width: 150px;
  height: 150px;
  bottom: -40%;
  left: -39%;
  z-index: 1 !important;
}

.shape-card-4 {
  background: #00aeee2a;
  width: 175px;
  height: 175px;
  top: 100%;
  right: -35%;
  z-index: 1 !important;
}

.shape-card-5 {
  background: #00aeee2a;
  width: 125px;
  height: 125px;
  top: 95%;
  left: -36%;
  z-index: 1;
}

.shape-card-6 {
  background: #ece8e32a;
  width: 115px;
  height: 115px;
  bottom: -36%;
  right: -32%;
  z-index: 1;
}

.shape-card-7 {
  background: #ece8e32a;
  width: 200px;
  height: 200px;
  bottom: -40%;
  left: -39%;
  z-index: 1 !important;
}

.shape-card-8 {
  background: #00aeee2a;
  width: 95px;
  height: 95px;
  top: 100%;
  right: -35%;
  z-index: 1 !important;
}

.div-contacts-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.div-contacts-icons p {
  margin-bottom: 0px !important;
}

.div-contacts-icons img {
  max-width: 15px;
}

/* Адаптив */
@media (max-width: 1024px) {
    .container-swiper-buttons {
        margin-top: 15px;
    }

    .companies-section .company-logo {
        min-width: 200px;
        min-height: 405px;
    }
}

@media (max-width: 768px) {
    .companies-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .companies-grid .col-sm-6 {
        width: 100%;
    }

    .navbar-custom ul {
        gap: 5px;
        align-items: center;
    }

    .main-slider .slider-caption h2 {
        padding-left: 15px;
    }

    .container-swiper-buttons {
        justify-content: center;
    }

    footer .collapse {
        display: flex !important;
    }

    footer .collapse ul {
        flex-direction: row;
        gap: 15px;
    }

    .site-footer .container {
        flex-wrap: nowrap;
    }
}

@media (max-width: 480px) {

  .footer-copy {
    flex-direction: column;
  }
    .parallax-shape {
      display: none;
    }

    .main-slider .slider-caption h2 {
        padding-left: 40px;
    }

    .main-slider .slider-caption h2 {
        font-size: 26px;
    }

    .container-swiper-buttons {
        justify-content: center;
        margin-top: 30px;
    }

    .company-item {
        display: block !important;
    }

    .companies-section .company-logo {
        max-width: 100%;
        border-bottom: 0px !important;
    }

    .companies-section .company-link {
        text-align: center;
    }

    .contacts-form {
        padding-right: calc(var(--bs-gutter-x) * .5) !important;
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
        padding-top: 25px !important;
        border-top: 1px solid #00adee;
    }

    footer .collapse ul {
        flex-direction: column !important;
    }

    .site-footer .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    footer .navbar-nav {
        margin: 0 auto;
    }

    .wpcf7-submit {
        margin: 0 auto;
    }
}