.main-slider-style1 {
    position: relative;
    overflow: hidden;         
    min-height: 100vh;        
}

.main-slider-style1 .hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;        
    z-index: -1;              
}

.main-slider-style1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); 
    z-index: -1;
}

.about-style1 {
    padding-top: 30px;
}

@media only screen and (max-width: 767px) {
    .about-style3 .shape2 {
         display: block; 
         right: -333px;
    }
    .rotate-me-weel {
        width: 50% !important;
    }
}

@media only screen and (max-width: 767px) {
    .about-style3__img .shape1 {
        display: block;
        opacity: .2;
        right: -130px;
    }
}

.single-yacht-style2 .img-box .overlay-content {
    bottom: 90px;
}

.yacht-grid{
    display:flex;
    flex-wrap:wrap;
    gap:30px;                     
}

.yacht-grid .single-yacht-style1{
    flex:0 0 calc(33.333% - 30px); 
}

@media (max-width:991.98px){
    .yacht-grid .single-yacht-style1{
        flex:0 0 calc(50% - 30px);
    }
}

@media (max-width:767.98px){
    .yacht-grid .single-yacht-style1{
        flex:0 0 100%;
    }
}


.reels-style1 {
    padding: 80px 0;
}

.reel-item {
    position: relative;
    height: 460px;                  
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.reel-video-wrap,
.reel-video {
    width: 100%;
    height: 100%;
}

.reel-video {
    object-fit: cover;              
    cursor: pointer;               
}

.reel-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.45);
    border: none;
    outline: none;
    transition: background .25s;
    color: #fff;
    font-size: 42px;               
}

.reel-play:hover {
    background: rgba(0,0,0,.25);
}

.reel-item.playing .reel-play {
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}

.owl-nav-style-one.owl-theme .owl-nav {
    padding-top: 60px;
}

.reel-play{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border:none;
    background:rgba(0,0,0,.45);
    cursor:pointer;
    transition:background .25s;
}

.reel-play::after{
    content:"";
    width:74px;
    height:74px;
    border-radius:50%;
    background:rgba(0,0,0,.6);
    display:flex;
    align-items:center;
    justify-content:center;
}

.reel-play::before{
    content:"";
    position:absolute;
    width:0;height:0;
    border-left:24px solid #fff;      
    border-top:14px solid transparent;
    border-bottom:14px solid transparent;
    transform:translateX(4px);        
    transition:transform .25s;
}

.reel-play:hover{
    background:rgba(0,0,0,.25);
}
.reel-play:hover::before{
    transform:translateX(4px) scale(1.08);
}

.reel-item.playing .reel-play{
    opacity:0;
    pointer-events:none;
    transition:opacity .25s;
}

@media (max-width:575.98px){
    .reel-play::after{ width:64px;height:64px; }
    .reel-play::before{
        border-left-width:20px;
        border-top-width:12px;
        border-bottom-width:12px;
    }
}

.btn-custom {
    color: #b59771 !important;
}

.btn-custom:hover {
    color: #ffffff !important;
}

.btn-custom::before {
    background-color: var(--thm-primary-color);
}

.btn-custom::after {
    background-color: transparent;
    border: 1px solid var(--thm-primary-color);
}

:root{
  --nauka-blue:#0b133f;   
  --nauka-gold:#b59771;   
}

.nauka-modal{
  background:#fff;
  border-top:6px solid var(--nauka-gold);
  border-radius:0;              
}
.nauka-modal .modal-header{
  background:#b59771;;
  color:#fff;
}
.nauka-modal .btn-close{
  filter:invert(1);            
}
.nauka-modal .form-label{
  font-size:.9rem;
  color:#555;
}
.btn-gold{
  background:var(--nauka-gold);
  color:#fff;
  border:none;
}
.btn-gold:hover{ background:color-mix(in srgb,var(--nauka-gold) 80%, #000); 
}

#bookingForm .form-control{
  border:0;
  border-bottom:1px solid #ddd;      
  border-radius:0;                    
  padding-left:0;                     
  background:transparent;             
  box-shadow:none;                    
  transition:border-color .25s ease;  
}

#bookingForm .form-control:focus{
  border-bottom-color:var(--nauka-gold); 
  outline:0;                             
}

#bookingForm .form-control:invalid:focus{
  border-bottom-color:#dc3545;           
}

#bookingForm .form-control:hover{
  border-bottom-color:color-mix(in srgb,var(--nauka-gold) 80%, #000);
}

.main-menu .main-menu__list>li.dropdown>a, .stricky-header .main-menu__list>li.dropdown>a {
    font-size: 14px;
}

.main-slider-style1{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100vh;
  overflow:hidden;
}

.main-slider-style1 .hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0 !important;          
  pointer-events:none;
}

.main-slider-style1::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:1;
}

.main-slider-style1 .container{
  position:relative;             
  z-index:2;
}

.main-slider-style1 .content-box{
  color:#fff;
  text-align:center;
}

.btn-one{color:#fff;border:1px solid #fff;padding:.6em 2em;}

.stricky-header--style1 .main-menu__wrapper {
    max-width: 100%;
    padding: 0 60px;
}

@media (max-width:767.98px){
    .mobile-btn {
        padding: 0px 30px !important;
    }
}

.single-fact-counter-style1 .odometer-counting h2 {
    font-family: "Cormorant Infant", serif;
}

.main-slider-style1 .hero-video {
    height: 89%;
}

.main-slider-style1::before {
    height: 89%;
}

.about-style1__img .img-box {
    bottom: 0px;
}

.single-yacht-style1:hover .img-box::before {
    opacity: 0 !important;
}

.single-yacht-style1 .img-box img {
    min-height: 300px;
    max-height: 320px;
    object-fit: cover;
}

#tourGallery3.gallery3{
  display: grid;
  grid-template-rows: 2fr 1fr;   
  gap: 16px;
  height: 100%;                  
}

/* нижний блок — 2 колонки */
#tourGallery3 .gallery3-bottom{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#tourGallery3 .gallery3-top,
#tourGallery3 .gitem{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

#tourGallery3 img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;              
  display: block;
}

.video-wrap, .tour-video{
  width: 100%;
  height: 100%;
}
.tour-video{
  object-fit: cover;             
  border-radius: 12px;
}

@media (max-width: 991.98px){
  #tourGallery3.gallery3{
    grid-template-rows: auto auto;  
    height: auto;
  }
  #tourGallery3 img{
    position: static; height: auto;
  }
  .tour-video{ height: auto; object-fit: contain; }
}

#tourGallery3 .lb-link{
  position: absolute; inset: 0; display: block;
}
#tourGallery3 img{ cursor: zoom-in; }

/* фикс для <= 767px: ссылка обычная, карточка получает высоту от картинки */
@media (max-width: 991.98px){
  #tourGallery3 .lb-link{
    position: static !important;
    inset: auto;
    display: block;
  }
  #tourGallery3 img{
    position: static;
    width: 100%;
    height: auto;
    display: block;
  }
}

/* === фикс: видео не меняет высоту при проигрывании === */
.video-wrap{
  position: relative;
  aspect-ratio: 16 / 9;     /* если нужен другой формат — поменяй, напр. 4/3 или 21/9 */
  height: auto !important;  /* перекрываем прежнее height:100% */
}

/* видео растягивается внутри контейнера-кадра, высота стабильна */
.tour-video{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Базовый стиль иконки для этой формы */
#book-this-yacht-style1__form .form-group.icon1{
  position: relative;
}
#book-this-yacht-style1__form .form-group.icon1::before{
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 1;
  color: var(--thm-primary-color);
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
  /* Font Awesome 6/5 solid */
  font-family: "Font Awesome 6 Free","Font Awesome 5 Free";
  font-weight: 900;
  content: ""; /* конкретный глиф задаём ниже */
}
/* Иконка «имя» (первое поле) */
#book-this-yacht-style1__form .form-group.icon1:nth-of-type(1)::before{
  content: "\f007"; /* user */
}
/* Иконка «телефон» (второе поле) */
#book-this-yacht-style1__form .form-group.icon1:nth-of-type(2)::before{
  content: "\f095"; /* phone */
}
/* Иконка «кол-во людей» (третье поле) */
#book-this-yacht-style1__form .form-group.icon1:nth-of-type(3)::before{
  content: "\f0c0"; /* users */
}

/* место под иконку (если шаблон сам не даёт отступ) */
#book-this-yacht-style1__form .form-group.icon1 > input{
  padding-left: 52px;
}

.main-menu .main-menu__list>li.menu-li>a, .stricky-header .main-menu__list>li.menu-li>a {
    font-size: 14px;
}

@media (min-width:1200px) and (max-width:1258px){
  .main-menu .main-menu__list>li.menu-li>a,
  .stricky-header .main-menu__list>li.menu-li>a{
    font-size:12px;
  }
}

@media (max-width: 1466.98px){
    .hide-tel {
        display:none;
    }
}

.scroll-to-top {
    left: 30px;
    right: auto;
    bottom:20px;
}

.single-activities-style2 .img-box .inner img {
    max-height: 320px;
    height: 320px;
}

.single-activities-style2 .content-box {
    padding-left: 15px;
    padding-right: 15px;
}

.single-activities-style2 .content-box .title h3 {
    font-size: 21px;
}

.single-activities-style2 .img-box .yellow-icon {
    background-color: #52962f;
}

.single-activities-style2 .img-box .yellow-icon::before {
    background-color: #3e6829;
}

.single-activities-style2 .img-box .time {
    top: 10px;
}

.single-activities-style2 .content-box .text {
    min-height: 52px;
}

.reel-grid, .reels-grid { position: relative; z-index: 3; }

.reel-box{
  position: relative;
  width: 100%;
  padding-top: 177.78%; /* 9:16; для 16:9 поставь 56.25% */
  overflow: hidden;
  border-radius: 12px;
}
.reel-box > video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* чтобы shape-элементы не перекрывали видео */
.choose-style1__shape1, .choose-style1__shape2{ z-index: 1; }

.reel-video {
    border-radius: 10px;
}

@media only screen and (max-width: 767px) {
    .about-style1 {
    padding-top: 0px;
    padding-bottom: 50px;
}
}


/* <1200px: включать правила только после scroll >= 100px */
@media (max-width: 1199.98px) {
  body.scrolled-100 .main-header.main-header-style1{
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 30;
    background-color: rgb(255 255 255 / 1%); /* не убирал */
    box-shadow: none;
  }

  body.scrolled-100 .main-header.main-header-style1.header--solid{
    background-color: rgb(255 255 255 / 1%);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
  }

  /* первый экран заезжает под шапку только после 100px */
  body.scrolled-100 .hero-under-header{
    margin-top: calc(-1 * var(--header-h, 64px));
  }

  /* когда открыт мобильный бургер — фон делаем белым */
  body.scrolled-100.mobile-open .main-header.main-header-style1{
    background:#fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
  }
}

.single-project-style2 .img-box img {
    object-fit: cover;
}

.main-menu .main-menu__list>li>ul {
    width: 330px;
}

.left-text ul{
  display:flex !important;
  flex-wrap: wrap !important;         
  gap: 8px 24px;          
  margin:0;
  padding:0;
  list-style:none;
}

.left-text ul li{
  display:flex !important;
  align-items:center;     /* иконка и текст по центру по вертикали */
}

.left-text ul li .icon{ 
  margin-right:8px;
  line-height:0;
}

.left-text ul li p{
  margin:0;
}

.tour-details-text-box2 .inner-content .left-text ul li {
    margin-top: 18px;
}

.current {
    color:#fff;
}

.main-menu .main-menu__list>li.current.dropdown>a:after, .main-menu .main-menu__list>li:hover.dropdown>a:after, .stricky-header .main-menu__list>li.current.dropdown>a:after, .stricky-header .main-menu__list>li:hover.dropdown>a:after{
    color: #ffffff;
}

.main-menu .main-menu__list>li>ul, .main-menu .main-menu__list>li>ul>li>ul, .stricky-header .main-menu__list>li>ul, .stricky-header .main-menu__list>li>ul>li>ul {
    top: 80%;
}

.single-yacht-style1 .content-box .list-item {
    min-height: 202px;
}

.main-menu .main-menu__list>li+li, .stricky-header .main-menu__list>li+li {
    margin-left: 40px;
}

@media only screen and (max-width: 767px) {
    .main-slider-style1 {
        height: 75vh !important;
    }
    .main-page-sub {
        margin-bottom: 50px !important;
        font-size: 22px !important;
    }
    .logo-box-style1 a {
    width: 200px;
    height: 75px;
    }
    .mob-logo {
        max-width: 63% !important;
    }
}

.modal.fade .modal-dialog {
    max-width: 500px !important;
}

/* Базово (≥992px) — строкой */
@media (min-width: 992px) {
  .breadcrumb-menu > ul {
    display: flex;
    flex-direction: row !important; /* перекроет случайный inline-стиль */
    align-items: center;
    gap: .5rem;
    background: transparent;
  }
}

.breadcrumb-menu > ul {
    background: rgba(0,0,0,.55);
    padding: 10px 12px;
    border-radius: 8px;
}

@media (max-width: 991.98px) {
  .breadcrumb-menu > ul {
    display: flex;
    flex-direction: column !important;
    gap: .5rem;
    background: rgba(0,0,0,.55);
    padding: 10px 12px;
    border-radius: 8px;
  }

  .breadcrumb-menu > ul li,
  .breadcrumb-menu > ul a {
    color: #fff;
  }

  .breadcrumb-menu > ul .icon-right-chevron {
    display: none;
  }
}

@media (max-width: 991.98px) {
    
    .mobile-nav__content{
        background-color:#090d2a !important;
    }
  .footer-style1 .ml80 { margin-left: 0 !important; }

  .footer-style1 .single-widget,
  .footer-style1 .single-footer-widget,
  .footer-style1 .footer-main .row,
  .footer-style1 .footer-bottom .bottom-inner {
    text-align: center;
  }

  .footer-style1 .single-footer-widget,
  .footer-style1 .footer-bottom .bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-style1 .footer-logo-style1 img {
    display: block;
    margin: 0 auto;
  }

  .footer-style1 .single-footer-widget-contact .list-item {
    list-style: none;
    padding-left: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .footer-style1 .single-footer-widget-contact .list-item li {
    display: inline-flex;
    align-items: center;
    gap: 8px; 
  }
  .footer-style1 .single-footer-widget-contact .list-item .icon { margin: 0; }

  .footer-style1 .footer-widget-links ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .footer-style1 .footer-widget-links li,
  .footer-style1 .footer-widget-links a { text-align: center; }

  .footer-style1 .footer-social-links-style1 ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }

  .footer-style1 .footer-bottom .bottom-inner { gap: 10px; }
}


