@font-face {
    font-family: 'Gilroy';
    src: local('Gilroy Regular'), local('Gilroy-Regular'), url('./fonts/Gilroy-Regular.woff2') format('woff2'), url('./fonts/Gilroy-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: local('Gilroy Regular Italic'), local('Gilroy-RegularItalic'), url('./fonts/Gilroy-RegularItalic.woff2') format('woff2'), url('./fonts/Gilroy-RegularItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: local('Gilroy SemiBold'), local('Gilroy-SemiBold'), url('./fonts/Gilroy-SemiBold.woff2') format('woff2'), url('./fonts/Gilroy-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: local('Gilroy Bold'), local('Gilroy-Bold'), url('./fonts/Gilroy-Bold.woff2') format('woff2'), url('./fonts/Gilroy-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}


html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

li {
    margin-bottom: 10px;
}

.section {
    padding: 95px 0;
}

body {
    font-family: 'Gilroy', sans-serif;
    background: #f5f4f3;
    color: #666;
    font-size: 16px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif !important;
}

a, a:hover {
    text-decoration: none;
    color: #000;
}

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

.pair {
    background: #f8f8f8;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1540px;
    }
}

header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid transparent;
    z-index: 999;
    transition: all 0.3s ease-in-out;
}

header.fixed {
    background: #fff;
    border-bottom: 1px solid #cecece;
}

.header-unpin {
    position: fixed;
    opacity: 0;
    transform: translate3d(0, -100%, 0);
    transition: all 0.3s ease-in-out;
}

.header-pin {
    position: fixed;
    background: #fff;
    opacity: 1;
    border-bottom: 1px solid #cecece;
    transform: translate3d(0, 0%, 0);
    transition: all 0.6s ease-in-out;
}

.header-inner {
    padding: 25px 0;
    overflow: hidden;
}

.logo {
    font-family: 'Lobster', cursive;
    color: #000;
    float: left;
    font-size: 1.6em;
}

header ul {
    float: right;
    position: relative;
    top: 4px;
}

header ul li {
    float: left;
    list-style: none;
    margin-left: 25px;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

header ul li a {
    color: #2b2b2b;
    font-weight: 600;
    font-size: 1em;
	text-decoration: none;
}

header ul:hover li {
    opacity: 0.7;
    transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

header ul li:hover {
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

header ul li:hover a {
    color: #000000;
}

h3 {
    font-family: 'Gilroy', sans-serif;
    font-size: 1.7em;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
    margin-bottom: 30px;
    font-weight: 600;
    color: #000;
    display: flex;
}

h4 {
    font-family: 'Gilroy', sans-serif;
    margin-bottom: 25px;
    font-weight: 600;
    color: #000;
    font-size: 1.2em;
}

a {
    color: #000;
}

p {
    line-height: 1.7em;
    margin-bottom: 2em;
    color: #2b2b2b;
}

.project-main-title {
    font-family: 'Lobster', cursive !important;
    font-size: 3.5em; /* Като на индекса */
    color: #000;
    font-weight: 100;
    margin-bottom: 35px;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(255,255,255,0.5);
}
.vtour-preview h4 {
    font-family: 'Lobster', cursive !important;
    font-size: 2em;
    text-align: center;
    font-weight: 500;
    margin-bottom: 25px;
}

/* КРАЙНО РЕШЕНИЕ ЗА НАВИГАЦИЯТА */
.project-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.nav-prev { left: 0; }
.nav-next { right: 0; }

.nav-link {
    display: block;
    background: #f0f0f0;
    color: #666 !important;
    border: 1px solid #ddd;
    height: 70px; /* Малко по-ниски, за да не са "груби" */
    width: 45px;  /* Ширина в затворено състояние */
    text-decoration: none;
    transition: width 0.4s ease-in-out, background 0.3s;
    overflow: hidden;
    position: relative; /* База за абсолютното позициониране на иконите */
}

/* --- ОБНОВЕНА НАВИГАЦИЯ --- */
.project-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.nav-prev { left: 0; }
.nav-next { right: 0; }

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eeeeee;
    color: #555 !important;
    border: 1px solid #ddd;
    height: 80px; /* Твоята височина */
    width: 45px;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 4px;
    /* Твоята скорост на анимация */
    transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s;
    box-sizing: border-box; /* Гарантира, че бордерите не разширяват бутона */
}

.nav-prev .nav-link { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: none; }
.nav-next .nav-link { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; }

.nav-link i {
    min-width: 45px;
    font-size: 1.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-shrink: 0; /* Иконата никога не се свива */
}

.nav-text {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 0.95em;
    opacity: 0;
    max-width: 0;
    transition: opacity 0.5s, max-width 0.7s;
    overflow: hidden;
    text-overflow: ellipsis; /* Реже текста с три точки */
}

.nav-link:hover {
    width: auto;
    min-width: 220px;
    max-width: 350px;
    background: #e5e5e5;
    padding: 0 10px;
}

.nav-link:hover .nav-text {
    opacity: 1;
    max-width: 280px;
    margin: 0 10px;
}

/* --- МОБИЛНА ВЕРСИЯ: ФИКС ЗА СТРЕЛКАТА И РЕЖЕНЕ --- */
@media (max-width: 768px) {
    .project-navigation {
        display: flex;
        width: 100%;
        padding: 20px 10px;
        gap: 8px;
        box-sizing: border-box;
    }

    .project-nav {
        position: static;
        transform: none;
        flex: 1;
        min-width: 0; /* Позволява на контейнера да се свива за ellipsis */
    }

    .nav-link {
        width: 100% !important;
        max-width: 100% !important;
        height: 55px; /* Малко по-ниски за мобилен */
        border-radius: 4px !important;
        border: 1px solid #ddd !important;
        padding: 0 5px;
        /* Гарантираме стандартна посока: Текст -> Икона за десния бутон */
        flex-direction: row !important; 
        justify-content: center;
    }

    /* За левия бутон иконата трябва да е първа */
    .nav-prev .nav-link {
        flex-direction: row !important;
    }

    .nav-text {
        opacity: 1;
        max-width: none;
        flex: 1;
        min-width: 0;
        margin: 0 8px;
        text-align: center;
        display: block;
    }

    .nav-link i {
        min-width: 30px; /* По-компактни икони на мобилен */
    }
}

.captions {
    line-height: 1.5em;
    margin-bottom: 1.5em;
    color: #2b2b2b;
    font-family: 'Gilroy', sans-serif;
    text-align: center;
    font-size: 1.3em;
}

.ankers {
    line-height: 1.5em;
    margin-bottom: 1.5em;
    color: #2b2b2b;
    font-family: 'Lobster', cursive;
    text-align: center;
    font-size: 2em;
    font-weight: 500;
	justify-content: center;
}



.mcbutton {
    padding: 11px 45px;
    margin-top: 20px;
    display: inline-block;
    border-radius: 4px;
    margin-right: 10px;
    color: #000;
    border: 2px solid #000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .7em;
    position: relative;
    width: 100%;
    text-align: center;
}

.mcbutton::before, .mcbutton::after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 2px;
    background: #000;
    transition: all 0.2s ease-in-out;
    z-index: 99;
}

.mcbutton::before { left: 0; top: 0; }
.mcbutton::after { right: 0; bottom: 0; }

.mcbutton:hover::before, .mcbutton:hover::after { width: 100%; transition: all 0.4s ease-in-out; }

.mcbutton span::before, .mcbutton span::after {
    content: '';
    display: block;
    position: absolute;
    width: 2px;
    height: 0;
    background: #000;
    transition: all 0.3s ease-in-out;
}

.mcbutton span::before { left: 0; top: 0; }
.mcbutton span::after { right: 0; bottom: 0; }

.mcbutton:hover span::before, .mcbutton:hover span::after { height: 100%; transition: all 0.3s ease-in-out; }

.mcbutton.primary { background: #FFC107; }
.mcbutton.black { background: #1b1b1b; color: #fff; }

.lead .mcbutton.primary { border-color: #a2a2a2; }
.lead .mcbutton { padding: 16px 45px; font-size: 0.6em; }

.mcbutton i { color: inherit; font-size: 1.5em; margin-right: 10px; }

strong { font-weight: 600; color: #1f1f1f; }

.intro_old {
    width: 100%; margin: 0 auto; background: url(head.jpg); background-size: cover; margin-bottom: 0px; height: 200vh; width: 100%; display: flex; align-items: center; padding-top: 80px; min-height: 279px;
}

.intro {
    width: 100%;
    margin: 0 auto;
    background: url(head.jpg) no-repeat center center; 
    background-size: cover;
    height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0; 
    position: relative;
}

.intro h1 {
    margin-top: 0;
    color: #000;
    font-weight: 100;
    margin-bottom: 35px;
    text-align: center;
    font-size: 2.5em;
    text-shadow: 2px 2px 10px rgba(255,255,255,0.5);
}

.tagline {
    color: #3a3a3a;
    margin-bottom: 30px;
    font-weight: 400;
    text-align: center;
    font-size: 20px;
}

.lead {
    width: 100%;
    text-align: center;
    margin-bottom: 2em;
}

.lead .mcbutton {
    border-color: #595959;
    cursor: pointer;
}

.heading-icon {
    margin-right: 16px
}

/* 1. Основата за мрежата - ТОВА ГО ПАЗИМ */
.box-container {
    display: inline-block;
    margin: 0;
    padding: 0;
    margin-top: 1.4em;
    width: 100%;
}

.box {
    list-style-type: none;
    float: left;
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.2s, transform 0.35s;
}

.box.show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.4s, transform 0.35s;
}

.box .inner {
    padding: 10px;
    position: relative;
}

/* -- new --*/
.box a {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden; /* Крие стърчащите 15px */
    border: 6px solid #fff;
    border-radius: 4px;
    box-sizing: border-box;
    background: #fff;
}

.box img {
    /* 15px компенсация за ширината */
    width: calc(100% + 15px) !important; 
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    
    /* Начално отместване */
    transform: translateX(-15px);
    
    /* Мазно движение без сечене */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform; 
}

.box:hover img {
    /* Връщаме в 0 за слайд надясно */
    transform: translateX(0);
}

.box a, .box a:focus, .box a:active {
    outline: none !important;
    box-shadow: none !important;
}

/* --- СТИЛ ЗА СТРАНИЦА ABOUT --- */
.about-section {
    padding: 40px;
    background: #fff;
    font-family: 'Gilroy', sans-serif; /* Или твоя стандартен шрифт */
    color: #333;
}

.contact-form label {
    font-weight: 600;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
}

.contact-form .form-control {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px; /* Твоят радиус */
    padding: 12px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: #fff;
    border-color: #bbb;
    box-shadow: none;
    outline: none;
}

/* БУТОНЪТ - в стила на навигацията ни */
.btn-send {
    background: #eeeeee;
    color: #555;
    border: 1px solid #ddd;
    padding: 12px 35px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.4s ease;
    margin-top: 10px;
}

.btn-send:hover {
    background: #e5e5e5;
    color: #000;
    border-color: #ccc;
}

.form-check-label {
    font-size: 0.85em;
    color: #888;
    cursor: pointer;
}

/* Мобилни настройки */
@media (max-width: 768px) {
    .about-section {
        padding: 20px;
    }
}

/* ДИНАМИЧЕН ГРИД - Тук оправихме нещата за мобилен */
.four-cols .box {
    width: 100%; /* По подразбиране: 1 на ред (Мобилен) */
}

@media (min-width: 768px) {
    .four-cols .box { width: 50%; } /* Таблет: 2 на ред */
    .four-cols .box:nth-child(2n+1) { clear: both; }
}

@media (min-width: 1200px) {
    .four-cols .box { width: 25%; } /* Десктоп: 4 на ред (твоят оригинален изглед) */
    .four-cols .box:nth-child(2n+1) { clear: none; }
    .four-cols .box:nth-child(4n+1) { clear: both; }
    .four-cols .box:nth-child(4n+0) { margin-right: 0; }
}

.three-cols .box { width: 100%; }

.options-list {
    width: 700px;
    margin: 0 auto;
    border: 1px solid #ececec;
    border-radius: 2px;
}

.options-list .option {
    overflow: hidden;
    border-bottom: 1px solid #ececec;
}

.options-list .option .name {
    font-weight: 600;
    display: inline-block;
    width: 23%;
    float: left;
    text-align: left;
    padding: 14px 17px;
    color: #000;
    font-size: 0.89em;
    font-family: system-ui, -apple-system, sans-serif !important;
}

.options-list .option .value {
    display: inline-block;
    width: 65%;
    float: left;
    padding: 14px 17px;
    text-align: left;
    line-height: 1.7em;
    font-size: 0.89em;
    border-left: 1px solid #eee;
    font-family: system-ui, -apple-system, sans-serif !important;
}

.options-list .option .type { color: #ed7205; font-weight: 600; }

.params-list { margin-bottom: 11em; }

.option-code {
    width: 700px;
    margin: 0 auto;
    border: 1px solid #ececec;
    border-radius: 2px;
    padding-left: 20px;
    padding-top: 0;
    margin-bottom: 48px;
}

.inline-inner { padding: 40px; }

.inline-close-btn {
    background: #FFC107;
    width: 200px;
    display: block;
    margin: auto;
    height: 53px;
    text-align: center;
    line-height: 53px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 5px;
    border: 2px solid #eee;
}

.especifications { width: 100%; max-width: 543px; margin: auto; }
.especifications ul { margin-top: 40px; margin-bottom: 40px; }
.especifications li {
    text-align: left;
    list-style: initial;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
    color: #2b2b2b;
    opacity: 0;
    line-height: 1.7em;
    transform: translate3d(-10px, 0, 0);
}

.especifications li.show { opacity: 1; transform: translate3d(0, 0, 0); transition: all 0.3s ease-in-out; }

footer { text-align: center; color: #666; margin: 2rem 0; }
footer a { color: #000; }
.copyright { font-size: 0.8em; }

@media (min-width: 390px) {
    .three-cols .box { width: 50%; }
}

@media (min-width: 576px) {
    .intro h1 { font-size: 3.5em; }
    .intro { max-height: none; min-height: auto; }
    .intro h1, .tagline { text-align: center; }
    .three-cols .box { width: 33.3%; }
    .three-cols .box:nth-child(3n+1) { clear: both; }
    .mcbutton { width: auto; }
}

@media (min-width: 992px) {
    .box:hover img { transform: translate3d(0, 0, 0); transition: opacity 0.35s, transform 0.35s; }
    .box:hover a::before { opacity: 0.3; transition: opacity 0.5s; }
}