@media (max-width: 767.98px) {
.navbar {
    position: relative; /* Это важно для абсолютного позиционирования дочерних элементов */
}

#navcol-1 {
    position: absolute;
    top: 100%; /* Располагаем меню прямо под навбаром */
    left: 0;
    right: 0;
    padding-left: 15px;
    background-color: white; /* Или любой другой цвет фона */
    z-index: 1000; /* Убедитесь, что это значение достаточно высокое */
}
    
}


.navbar-toggler:focus {
    outline: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
}

.logo {
    width: 160px;
}

@media (max-width: 767.98px) {
 .logo {
    width: 120px;
}   
}



.bs-icon.bs-icon-primary {
    color: var(--bs-white);
  background: #840b0bbf;
}


@media (max-width: 767.98px) {
    #navcol-1 {
        padding-bottom: 1rem;
    }
    #navcol-1 .d-grid {
        width: 100%;
        max-width: 200px; /* или любой другой размер */
        margin: 0 auto;
    }
}


.accordion {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23840b0b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Выравнивание по ширине для абзацев */
p {text-align: justify;
}


/* Цвет кнопки */
.btn-primary {
  --bs-btn-bg: #840b0b;
  --bs-btn-border-color: #840b0b;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.8s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 0 0 10px rgba(132, 11, 11, 0.6);
}



.btn:hover {
  color: var(--bs-btn-hover-color);

  background-color: #990066;

  border-color: #990066;

}


h1, h2, h3, h4, .card-title, .brand-span {
    font-family: 'ArsenicaAntiqua-Regular', Arial, sans-serif;
}

/* ---BEGIN Цитата в виде облачка  */




.speech-bubble {
/*    
  margin-left: auto;  
  margin-right: auto;
  position: relative;
  max-width: 90%;
  padding: 1rem;
  background: red;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 */ 

    margin-left: auto;
margin-right: auto;
position: relative;
max-width: 90%;
padding: 1rem;
background: #840b0b21;
  background-color: rgba(132, 11, 11, 0.13) !important;
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  background-attachment: scroll;
  background-image: none;
  background-size: auto;
  background-origin: padding-box;
  background-clip: border-box;
border-radius: 0.5rem;
box-shadow: 0 2px 5px rgb(210, 128, 128);
color: black;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(210, 128, 128,0.3);
}

/* ---END Цитата в виде облачка  */

:root {
  --site-header-height: 90px;
}

.gulav-first-container {
    background: url('../images/trio/mnogo-neba.jpg') 0% 50% / cover no-repeat;
}


.gulav-first-container::before {
  content: '';
  position: absolute;
  top: calc(var(--site-header-height) + var(--admin-toolbar-height, 0px));
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    to bottom, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(255, 255, 255, 0.7) 60%,
    rgba(255, 255, 255, 0.3) 100%
  );
  z-index: 1;
}

/* А это переопределение может быть где угодно - даже в другом файле! */
body.user-logged-in {
  --admin-toolbar-height: 50px;
}


/* ---BEGIN блок из 3-х изображений */
.images-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 70%;
    padding: 30px 0;
    margin-left: auto;
    margin-right: auto;

}

.image-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.img-side, .img-main {
    padding: 0 !important;
    border: white 1px solid;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    object-fit: cover;
    border: white 1px solid;
}

/* Десктоп версия */
@media (min-width: 769px) {
    .img-side {
        width: 100%;
        max-width: 360px;
        z-index: 1;
    }
    
    .img-main {
        width: 120%;
        max-width: 400px;
        z-index: 2;
    }
    
    .left-image {
        margin-right: -30px;
    }
    
    .right-image {
        margin-left: -30px;
    }
}

/* Мобильная версия */
@media (max-width: 768px) {
    p {
        text-align: justify;
        font-size: .9em;
    }

    .gulav-first-container {
        background: url('../images/trio/mnogo-neba.jpg') 70% 50% / cover no-repeat;
    }

    .images-container {
        justify-content: space-around;
        padding: 20px 0;
        width: 100%;
    }
    
    .img-side {
        width: 90%;
        z-index: 1;
    }
    
    .img-main {
        width: 120%; /* На 20% больше чем 25% */
        height: 120%;
        z-index: 2;
    }
    
    .left-image {
        margin-right: -6px;
    }
    
    .right-image {
        margin-left: -6px;
    }
    
    /* Увеличиваем тень для центрального изображения */
    .img-main {
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }
}
/* ---END блок из 3-х изображений */

/* ---BEGIN кругляшки с иконками */

.special-skill-item {
  margin-bottom: 30px;
  text-align: center;
}

.special-skill-item .icon {
  text-align: center;
  font-size: 50px;
  background-color: #840b0bbf;
  color: #fff;
  height: 70px;
  width: 70px;
  line-height: 69px;
  display: inline-block;
  border-radius: 50%;
}

p.card-text {
  text-align: center;
}

/* ---END кругляшки с иконками */

.stoimost-p strong {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.icon-pizdulinka {
    color: #d91010;
}
