/* Нулиране на основните стилове */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #222222; /* Графитено сиво от логото */
    color: #ffffff;
}

/* Стилизиране на Hero секцията */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Заема целия екран */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Тук може да се замени с фоново видео или голяма снимка */
    background: url('https://images.unsplash.com/photo-1564982024255-79a175557683?q=80&w=1920') no-repeat center center/cover;
    overflow: hidden;
}

/* Тъмен филтър над фоновото изображение за максимално четлив текст */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.95) 0%, rgba(20, 20, 20, 0.8) 100%);
    z-index: 1;
}

/* Контейнер за съдържанието */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Стилизиране на логото в центъра */
.hero-logo-wrapper {
	border-radius: 5px;
	padding: 5px 5px 2px 5px;
	background-color: #fff;
    animation: fadeInDown 1s ease-out;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.5));
}
.hero-logo-wrapper.offset {
    margin-bottom: 40px;
}

.hero-logo {
    max-width: 280px;
    height: auto;
}

/* Главни заглавия */
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Червеният акцент от логото */
.hero-title .highlight {
    color: #E31E24; /* Спирално червено */
    text-shadow: 0 0 15px rgba(227, 30, 36, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 40px;
    color: #cccccc;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Бутони */
.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 50px; /* Заоблен стил, съвпадащ с шрифта на логото */
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

/* Основен червен бутон */
.btn-primary {
    background-color: #E31E24;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
}

.btn-primary:hover {
    background-color: #b81419;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.6);
}

/* Вторичен прозрачен бутон */
.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #222222;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Анимации за плавно появяване на елементите */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивност за мобилни устройства */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .hero-logo {
        max-width: 200px;
    }
}







.inner-header {
    border-bottom: 1px solid #333333;
}
.nav-container {
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a; /* Малко по-тъмно сиво за дълбочина */
}
.nav-logo {
    max-height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #E31E24; /* Червено от логото */
}

.nav-menu .nav-btn {
    background-color: #E31E24;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-menu .nav-btn:hover {
    background-color: #b81419;
    transform: translateY(-2px);
}

/* Page Hero Секция */
.page-hero {
    position: relative;
    padding: 80px 0;
    background: #222222;
    text-align: center;
    border-bottom: 1px solid #333333;
}

.page-hero-container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.page-title .highlight {
    color: #E31E24;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #aaaaaa;
    max-width: 700px;
    margin: 0 auto;
}

/* Основна секция и интро */
.page-main {
    padding: 60px 0;
	background-color: #1a1a1a; /* Малко по-тъмно сиво за дълбочина */
	text-align: center;
}

.intro-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.intro-block h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.intro-block p {
    color: #cccccc;
    font-size: 1.05rem;
}

/* Стилизиране на Таймлайна */
.timeline {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Централната вертикална линия */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #333333;
    top: 0;
    bottom: 0;
    left: 150px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
}

/* Датите вляво от линията */
.timeline-date {
    width: 120px;
    text-align: right;
    font-weight: 700;
    font-size: 1.1rem;
    color: #E31E24;
    padding-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Точката върху самата линия */
.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #E31E24;
    border: 4px solid #1a1a1a;
    border-radius: 50%;
    left: 143px;
    top: 25px;
    z-index: 2;
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.6);
}

/* Контейнерите с текстовете на проектите */
.timeline-content {
    margin-left: 60px;
    background-color: #222222;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333333;
    width: calc(100% - 180px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    border-color: #444444;
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.timeline-content p {
    color: #b5b5b5;
    margin-bottom: 15px;
}

.timeline-content strong {
    color: #ffffff;
}

.timeline-content ul {
    margin-left: 20px;
    color: #b5b5b5;
}

.timeline-content li {
    margin-bottom: 8px;
}

/* Етикети за статус (Tags) */
.status-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.status-progress { background-color: rgba(227, 30, 36, 0.15); color: #E31E24; border: 1px solid rgba(227, 30, 36, 0.3); }
.status-review { background-color: rgba(234, 179, 8, 0.15); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.3); }
.status-planned { background-color: rgba(156, 163, 175, 0.15); color: #9ca3af; border: 1px solid rgba(156, 163, 175, 0.3); }

/* Футър */
.inner-footer {
    text-align: center;
    padding: 40px 0;
    background-color: #141414;
    color: #666666;
    font-size: 0.9rem;
    border-top: 1px solid #222222;
}

/* Адаптивност за мобилни устройства */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* За простота в чист CSS хедърът се скрива на мобилни, тук обикновено се слага бургер меню */
    }
    
    .page-title {
        font-size: 2.2rem;
    }

    /* Промяна на таймлайна за малки екрани - линията отива крайно вляво */
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-date {
        text-align: left;
        width: 100%;
        padding-left: 45px;
        margin-bottom: 10px;
        padding-top: 0;
    }
    
    .timeline-dot {
        left: 13px;
        top: 5px;
    }
    
    .timeline-content {
        margin-left: 45px;
        width: calc(100% - 45px);
        padding: 20px;
    }
}




/* Основно съдържание */
.main-container {
	max-width: 1100px;
	display: inline-block;
	text-align: left;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #E31E24;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Секция Мисия */
.mission-section {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.mission-text {
    flex: 2;
}

.mission-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.mission-text p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.mission-accent {
    flex: 1;
    display: flex;
    justify-content: center;
}

.accent-box {
    background-color: #222222;
    border: 2px solid #333333;
    border-left: 5px solid #E31E24; /* Червен акцентен борд */
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.accent-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: #E31E24;
    line-height: 1;
    margin-bottom: 10px;
}

@property --num {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.accent-number {
  /* 2. Set up the animation to change the variable from 0 to 100 */
  animation: countUp 2s linear forwards;
  
  /* 3. Feed the CSS variable into a counter to display it as text */
  counter-reset: current-number var(--num);
}

.accent-number::after {
  /* 4. Display the counter value inside the pseudo-element */
  content: counter(current-number)'%';
}

/* Define the keyframe to animate the variable to 100 */
@keyframes countUp {
  from {
    --num: 20;
  }
  to {
    --num: 123;
  }
}

.accent-label {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Секция Ценности */
.values-section {
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background-color: #222222;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333333;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #E31E24;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.value-card p {
    color: #aaaaaa;
    font-size: 0.95rem;
}

/* Секция Екип */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member {
    text-align: center;
}

.member-photo-placeholder {
    width: 150px;
    height: 150px;
    background-color: #333333;
    border-radius: 50%; /* Кръгли снимки */
    margin: 0 auto 20px auto;
    border: 3px solid #222222;
    box-shadow: 0 0 0 2px #E31E24; /* Тънък червен кръг около снимката */
	overflow: clip;
}

.member-photo-placeholder IMG {
	width: stretch;
}

.team-member h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.member-role {
    color: #E31E24;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Адаптивност за мобилни устройства */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .page-title {
        font-size: 2.2rem;
    }

    .mission-section {
        flex-direction: column;
        gap: 30px;
    }
    
    .values-grid, .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .accent-box {
        width: 100%;
    }
}
















/* Page Hero Секция */
.page-hero {
    padding: 80px 0;
    background: #222222;
    text-align: center;
    border-bottom: 1px solid #333333;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.page-title .highlight {
    color: #E31E24;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #aaaaaa;
    max-width: 700px;
    margin: 0 auto;
}

/* Секции с услуги */
.services-main {
    padding: 80px 0;
}

.service-block {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

/* Шахматен ред - обръща посоката */
.service-block.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
}

/* Големи декоративни числа */
.service-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(227, 30, 36, 0.15); /* Много бледо прозрачно червено */
    line-height: 1;
    margin-bottom: -10px;
}

.service-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.service-content p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.service-content ul {
    margin-left: 20px;
    margin-bottom: 30px;
    color: #aaaaaa;
}

.service-content li {
    margin-bottom: 10px;
}

.service-content strong {
    color: #ffffff;
}

/* Бутони под услугите */
.btn-service {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #E31E24;
    border: 2px solid #E31E24;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-service:hover {
    background-color: #E31E24;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
    transform: translateY(-2px);
}

/* Снимки/Плейсхолдъри към услугите */
.service-image-placeholder {
    flex: 1;
    height: 400px;
    background-color: #222222;
    border-radius: 16px;
    border: 1px solid #333333;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Примерен фон, докато сложите ваши снимки */
.img-1 { background-image: url('https://images.unsplash.com/photo-1547447134-cd3f5c716030?q=80&w=600'); }
.img-2 { background-image: url('https://images.unsplash.com/photo-1564982024255-79a175557683?q=80&w=600'); }
.img-3 { background-image: url('https://images.unsplash.com/photo-1520201163981-8cc95007dd2a?q=80&w=600'); }

/* Долен колонтитул */
.inner-footer {
    text-align: center;
    padding: 40px 0;
    background-color: #141414;
    color: #666666;
    font-size: 0.9rem;
    border-top: 1px solid #222222;
}

/* Адаптивност за мобилни устройства */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .page-title {
        font-size: 2.2rem;
    }

    .service-block, .service-block.reverse {
        flex-direction: column;
        gap: 35px;
        margin-bottom: 70px;
    }
    
    .service-image-placeholder {
        width: 100%;
        height: 260px;
    }
    
    .service-content h2 {
        font-size: 1.6rem;
    }
}

























/* Контактна секция - Grid разпределение */

.contact-grid {
    display: inline-grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.contact-form-wrapper h2, .contact-info-wrapper h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.contact-form-wrapper h2::after, .contact-info-wrapper h2::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: #E31E24;
    bottom: 0;
    left: 0;
}

/* Стилизиране на формата */
.contact-form {
    background-color: #222222;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #333333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #aaaaaa;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: #1a1a1a;
    border: 1px solid #444444;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #E31E24; /* Светва в червено при клик */
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #E31E24;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: #b81419;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
}

/* Дясна колона - Инфо блокове */
.info-links {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 1.8rem;
    background-color: #222222;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #333333;
}

.info-item h4 {
    font-size: 0.9rem;
    color: #888888;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.info-item p, .info-item a {
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.info-item a:hover {
    color: #E31E24;
}

/* Блок социални мрежи */
.social-block h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.social-icon {
    padding: 8px 20px;
    background-color: #222222;
    border: 1px solid #333333;
    color: #cccccc;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: #E31E24;
    color: #E31E24;
    background-color: rgba(227, 30, 36, 0.05);
}

/* Карта / Декорация */
.map-placeholder {
    height: 200px;
    background-color: #222222;
    border: 1px solid #333333;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #888888;
}

.map-placeholder p {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Адаптивност */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .page-title {
        font-size: 2.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 25px;
    }
}