/* Пълно пренареждане на хедъра */
header.header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    padding: 10px 20px !important;
}

/* Настройва контейнера на навигацията */
header.header .container-nav {
    display: flex !important;
    width: auto !important;
    margin: 0 !important;
    flex-grow: 1 !important;
    justify-content: flex-end !important;
}

/* Маха излишните разстояния под логото */
header.header .navbar-brand {
    margin-bottom: 0 !important;
    padding: 0 !important;
}
/* 1. Намалява размера на логото */
.navbar-brand img {
    max-height: 80px !important; /* Можеш да промениш на 60px, ако искаш да е още по-малко */
    width: auto !important;
}

/* 2. Подрежда логото и менюто на един ред */
.header.header .container-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.video-banner-container {
    position: relative;
    width: 100%;
    height: 80vh; /* Това прави видеото голямо */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}
/* Това e за банера на начална страница */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.video-content {
    position: relative;
    z-index: 1;
    color: white !important;
    text-align: center;
}
/* Сянка за заглавието върху видеото */
.video-content h1 {
    color: #ffffff !important;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.9) !important; /* По-силна и тъмна сянка */
    font-weight: 800 !important;
    text-transform: uppercase; /* Прави го по-авторитетно */
    margin: 0;
}
/* Форсира лентата да се появи на цял екран с тъмносин фон */
.services-grid-container {
    background-color: #1a233a !important; /* Тъмносиньото от хедъра */
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 60px 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 30px;
    flex-wrap: wrap;
    z-index: 99; /* Избутва я пред белия фон */
}

/* Прави линковете видими (бели) */
.service-item a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    display: block;
    text-align: center;
}
/* Стил за заглавието вътре в синята лента */
.services-title {
    width: 100%;
    color: #ffffff !important;
    text-align: center;
    font-size: 2.2rem !important;
    font-weight: 700;
    margin-bottom: 40px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Промяна на грида, за да може заглавието да стои отгоре */
.services-grid-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
}

.services-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
}
/* Контейнерът заема цялата ширина */
.article-image-container {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-bottom: 20px;
    overflow: hidden;
    line-height: 0; /* Премахва малки разстояния под снимката */
}

/* Снимката става тясна лента */
.panoramic-img {
    width: 100% !important;
    height:100px !important; /* Пробвай с 250px първо, 100px е твърде тясно и няма да се вижда нищо */
    object-fit: cover !important; /* Реже снимката, за да не е сплескана */
    object-position: 50% 20%; /* Показва лицата на хората, като реже повече от долната част */
}
.article-content-body {
    max-width: 900px; /* Прави текста по-тесен и лесен за четене */
    margin: 40px auto !important; /* Центрира текста и добавя разстояние от снимката */
    padding: 0 20px;
    line-height: 1.8; /* Увеличава разстоянието между редовете */
    font-size: 1.1rem;
    color: #333;
}
/* Това е за полето в меню контакти */
.custom-info-bar {
    background-color: #1a233d !important; /* Тъмносиният цвят от Screenshot 2026-03-06 131912.png */
    color: #ffffff !important;
    padding: 40px 0;
    text-align: center;
    width: 100%;
}

.custom-info-bar h2 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.info-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-weight: 600;
}

.info-links span {
    font-size: 1.1rem;
}
/* Това е за footer copyright */
.footer-legal-links {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.footer-legal-links a {
    color: #007bff !important; /* Син цвят за линковете */
    text-decoration: none !important; /* Премахва подчертаването */
    margin: 0 5px;
}

.footer-legal-links a:hover {
    text-decoration: underline !important; /* Подчертава се само при посочване */
}
/* Основен фон и премахване на рамките от шаблона */
.asis-footer-container {
    background-color: #f4f4f4 !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 50px 10%;
    width: 100%;
    border: none !important; /* Премахва синята рамка */
}

/* Стилизиране на колоните */
.asis-footer-col {
    flex: 1;
    min-width: 300px;
    text-align: center;
    margin-bottom: 30px;
}

/* Фиксиране на размерите на картинките */
.cpio-logo {
    height: 70px;
    width: auto;
    margin-top: 15px;
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-row img {
    width: 40px;
    height: 40px;
}

/* Бутон и инпути */
.f-input {
    width: 80%;
    padding: 10px;
    margin: 5px auto;
    display: block;
    border: 1px solid #ddd;
}

.f-button {
    width: 80%;
    background-color: #42dca3 !important;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}
/* 1. Скриваме само точката/символа, без да пипаме нищо друго */
.container-header .mod-menu .mm-toggler::after,
.container-header .mod-menu .dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

/* 2. Забраняваме на бутона да заема място и да реже текста */
.container-header .mod-menu .mm-toggler {
    width: auto !important;
    height: auto !important;
    position: relative !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. Гарантираме, че Services е на един ред и е видим */
.container-header .mod-menu .nav-item.dropdown {
    display: inline-flex !important;
    white-space: nowrap !important;
    align-items: center !important;
}

/* 4. Даваме малко въздух на самия текст */
.container-header .mod-menu .nav-link {
    display: inline-block !important;
    padding-right: 10px !important;
}
