/*
Theme Name:   evgenglaz.ru
Theme URI:    evgenglaz.ru
Description: The original  evgenglaz.ru theme.
Version: 2025
Author: alisa
*/

/* CSS Document */



:root {
    --bg-main: #FFFFFF; /* Основной фон для секций */
    --bg-light-beige: #f5f0e9; /* Светло-бежевый фон */
    --footer-bg: #3a2d24; /* Фон футера */
    --hero-bg: #1a1a1a; /* Фон шапки */
    --text-dark: #000;
    --text-light: #f8f9fa;
    --accent-red: #d9534f;
    --border-color: #555;
}

body {
 
    color: var(--text-dark);
    background-color: var(--bg-main);
    font-family:  Medium;
font-size: 30px;
 
}

.allpage body {

background: #f9f0dd;
}

.allcontent a {

color: #3a2d24; 
}
    @font-face {
font-family:  SemiBold;
src: url(fonts/MontserratAlternates-SemiBold.ttf) format("opentype");
}


    @font-face {
font-family:  Medium;
src: url(fonts/MontserratAlternates-Medium.ttf) format("opentype");
}


  /*Убрать обводку браузера*/
a.active.focus,
a.active:focus,
a.focus,
a:active.focus,
a:active:focus,
a:focus,
button.active.focus,
button.active:focus,
button.focus,
button:active.focus,
button:active:focus,
button:focus,
.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
outline: 0!important;
outline-color: transparent!important;
outline-width: 0!important;
outline-style: none!important;
box-shadow: 0 0 0 0 rgba(0,123,255,0)!important;
}
/*Конец Убрать обводку браузера*/
:focus {
    outline-style: none;
   /* outline-width: 0px !important;  */
    outline-color: none !important;
}



h2 {
    
    color: var(--text-dark);
    font-size: 60px;
    font-family:  SemiBold;
}

/* --- Шапка и главный экран --- */
 
 
  @media only screen and  (min-width: 2000px) { 

.lg100 {
max-width: 1800px;
    height: auto;
    margin: 0 auto;
    padding: 0px 30px;
}
}

  @media only screen and  (max-width: 2000px) { 

.lg100 {
 
    padding: 0px 30px !important;
}
}


.allcontent {
font-size: 20px;
margin-bottom: 60px;
}


.allcontent h2 {
text-align: center;

}


.gallery img {
 width: 96%;
 border: none !important;
 height: auto;
 border-radius: 10px;

}

 .hero-section {
    position: relative; /* Необходимо для позиционирования дочерних элементов */
    height: 80vh; /* Высота блока, можно изменить на 100vh для высоты во весь экран */
    display: flex;
    flex-direction: column; /* Располагаем меню и контент друг под другом */
    justify-content: center; /* Центрируем основной контент по вертикали */
    align-items: center; /* Центрируем по горизонтали */
    overflow: hidden; /* Скрываем все, что выходит за пределы блока */
    color: white;
}


.allpage  .hero-section {
height: auto;
background: #302318;
    display: flex;
    flex-direction: row;
    padding: 10px 0px;
    justify-content: space-between;
}


.lg100 {
  display: flex;
    flex-direction: row;
    padding: 10px 0px;
    justify-content: space-between;
     width: 100%;
}


footer .lg100 {
    display: flex;
    flex-direction: column;
}

/* Затемняющий слой поверх видео для лучшей читаемости текста */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Черный цвет с 50% прозрачностью */
    z-index: 1; /* Слой над видео, но под контентом */
}


.allpage  .hero-section::before {
    content: '';
 
    background-color: #302318; /* Черный цвет с 50% прозрачностью */
    z-index: 1; /* Слой над видео, но под контентом */
}


.social-icons-header {
    z-index: 1;
    padding-top: 8px;
}

a.logo {
    z-index: 1;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    font-family:  SemiBold;
    font-size: 36px;
    flex-wrap: nowrap;
}


.allpage .navbar {
width: auto;
}

.logo span {
font-size: 18px;
font-family:  Medium;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0; /* Видео на самом заднем плане */
}

/* Позиционируем меню и контент поверх видео и затемняющего слоя */
.navbar, .hero-content {
    position: relative;
    z-index: 2;
    width: 100%; /* Растягиваем на всю ширину родителя */
}

/* Располагаем меню вверху */
.navbar {
    top: 0;
    position: absolute; /* Фиксируем меню вверху блока header */
    text-transform: uppercase;
}

.allpage .navbar {
  position: relative;
}

.hero-content {
    /* Этот блок уже будет по центру благодаря flexbox в .hero-section */
}

.nav-link {
 color: #fff !important;
 font-size: 18px;
}

.nav-link:hover {
text-decoration: underline;
}

/*.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}  */

.hero-content h1 {
    font-weight: 300;
}

.allpage h1 {
 font-size: 60px;
 margin: 30px 0px;
 text-align: center;
 font-family:  SemiBold;
}

.red-divider {
    height: 3px;
    background-color: var(--accent-red);
    width: 100%;
}


/* --- Стили для секций --- */

.text-right {
 text-align: right;
}

.bg-light-beige {
    background-color: var(--bg-light-beige);
}


#bio {
font-size: 20px;
}


.staty img {
      object-fit: cover;
      aspect-ratio: 1 / 1;
}


.top-img {
    object-fit: cover;
      aspect-ratio: 5 / 2;
      width: 100%;
      height: auto;
      margin: 0px 0px 30px 0px;
}

.staty a {
text-decoration: none;
color: #000;
}

.copy {
font-size: 16px;
}

.copy a {
color: #fff;
}

/* --- Фотогалерея --- */
.gallery-img {
    width: 100%;
    height: 250px; /* Фиксированная высота для единообразия */
    object-fit: cover; /* Изображение будет покрывать блок, обрезаясь при необходимости */
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}


/* --- Контакты и форма --- */
.social-icons a {
    color: var(--border-color);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-red);
}

.form-control {
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #ccc;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(217, 83, 79, 0.25);
    border-color: var(--accent-red);
}

textarea.form-control {
    border-radius: 1.5rem;
}


/* --- Кнопки --- */
.btn-custom {
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--border-color);
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--border-color);
    color: white;
    border-color: var(--border-color);
}


/* --- Футер --- */

.logof {
 font-size: 44px;
   color: #fff;
   font-family:  SemiBold;
   line-height: 0.7;
}

.logof:hover {
color: #fff !important;
}

.logof span {
display: block;
font-size: 18px;
 font-family:  Medium;
 margin-bottom: 12px;
}

.footer-dark {
    background-color: var(--footer-bg);
}

.fmenu a {
       display: block;
       font-size: 16px;
       text-transform: uppercase;
       font-family:  Medium;
       margin-bottom: 9px;
}

.fmenu a:hover {
text-decoration: underline;
}

.footer-dark a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer-dark a:hover {
    color: #fff;
    
}

.social-icons-footer i {
    font-size: 1.2rem;
}
 

 

.paddingnone {
padding-left: 0px;
padding-right: 0px;
}

.row {
margin-left: 0px;
margin-right: 0px;
}

.container {
    max-width: 1200px;
}



/*--------------------адаптивность-----------------------------*/


button.navbar-toggler {
    color: #fff;       /*-Меню бургер, цвет, шрифт и центрирование-*/
    font-size: 40px;
  /*  margin: 0 auto;  */
}

 
   .navbar-toggler[aria-expanded="true"] .fa-bars {
display: none;
}

.navbar-toggler[aria-expanded="false"]  .fa-times {
display: none;
}

.navbar-toggler .fa-bars {
display: block;
}



@media only screen and (max-width: 768px) {


ul.navbar-nav {
     
    background-color: rgba(0, 0, 0, 0.9);
} 
     

.allpage ul.navbar-nav {
      padding: 20px;
        margin-left: -12px;
    background-color: #302318;
} 
      
.allpage .hero-section {
        overflow: visible;
}      

.allpage ul.navbar-nav {
position: absolute; 
}
	
  nav.navbar.navbar-expand-lg.navbar-dark {
    z-index: 10;
}
  
 .container {
    max-width: 100%;
}
.social-icons-header {
 display: none;
}

.allpage header .lg100 {
    flex-direction: row-reverse;
    padding: 0px !important;
 
}

.logo {
font-size: 24px !important; 
margin-right: 10px;
margin-top: 7px;
}

  h2 {
  font-size: 30px;
  }
  
  .allpage h1 {
    font-size: 30px;
    margin: 20px 0px;
 
}

.logof br {
 display: none;
}

.logof {
font-size: 20px;
margin-bottom: 20px;
display: block;
}
  
 
  
  #ssttbutton {
    font-size: 22px !important;
right: 0px !important;
}

.navbar-toggler-icon
 {
    display: inline-block;
    width: 1em !important;
    height: 1em !important;
}

/* Убираем рамку при фокусе, чтобы не мешала анимации */
.navbar-toggler:focus {
    box-shadow: none;
}

/* Когда меню свернуто, Bootstrap и так показывает иконку-гамбургер.
   Нам нужно лишь переопределить иконку для раскрытого состояния. */

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    /* Заменяем фоновое изображение на SVG-крестик.
       Цвет и толщина линии взяты из стандарта Bootstrap для единообразия. */
   background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 4l22 22M26 4L4 26'/%3e%3c/svg%3e");
}

@media only screen and (min-width: 768px) and (max-width: 993px) {

  .container {
    max-width: 100%;
}

}

/*-----------------------------странный размер от 991 до 1190px-------------------------------*/



@media only screen and (min-width: 993px) and (max-width: 1174px) {

   .container {
    max-width: 100%;
}

 
}
/*------------адаптивность-end--------------------*/