/* CSS Variables */
:root {
    --primary-color: #21659A;
    --secondary-color: #5B7991;
    --accent-color: #5B7991;
    --light-color: #E7E8E7;
    --dark-color: #002C37;
    --white: #FFFFFF;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Basic Body Styles */
body {
    font-family: 'Roboto', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.8;
}

body.menu-open {
    overflow: hidden;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500;
    box-sizing: border-box;
}

/* Скриваме мобилния хамбургер, лого и X бутон за desktop */
.mobile-menu-trigger,
.mobile-logo,
.mobile-nav-header {
    display: none;
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info p {
    margin: 0 15px 0 0;
    font-size: 0.95em;
}

.contact-info i {
    margin-right: 8px;
    color: var(--accent-color);
}

/* Header Override Styles */
header {
    position: sticky !important;
    top: 43px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.work-process {
    background-color: var(--white);
}

.process-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-content:hover {
    transform: translateY(-5px);
}

.process-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.process-step {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px 15px;
    width: 160px;
    text-align: center;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-icon {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.4;
}

.process-step h3 {
    font-size: 1.1em;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

.process-description {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.process-description p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #444;
}

.process-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .process-flow {
        gap: 15px;
    }
    
    .process-step {
        width: 140px;
        padding: 20px 10px;
    }
}

@media (max-width: 768px) {
    .process-flow {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        width: 100%;
        max-width: 280px;
        display: flex;
        align-items: center;
        text-align: left;
        padding: 15px 20px;
    }
    
    .step-icon {
        margin-bottom: 0;
        margin-right: 15px;
        font-size: 1.8em;
    }
    
    .step-number {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .process-description {
        padding: 20px;
    }
}

.why-choose-us {
    background-color: var(--light-color);
}

.business-content {
    max-width: 1100px;
    margin: 0 auto;
}

.reasons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.reason-item {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.reason-icon {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 50px;
    text-align: center;
    transition: var(--transition);
}

.reason-item:hover .reason-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.reason-text h3 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.reason-text p {
    margin: 0;
    color: #444;
    font-size: 1.05em;
    line-height: 1.5;
}

.mission-container {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--accent-color);
}

.mission-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(33, 101, 154, 0.05);
    border-radius: 0 0 0 150px;
    z-index: 1;
}

.mission-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.mission-header i {
    font-size: 2em;
    color: var(--accent-color);
    margin-right: 15px;
}

.mission-header h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.mission-text {
    position: relative;
    z-index: 2;
}

.mission-text p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

@media (max-width: 992px) {
    .reasons-container {
        grid-template-columns: 1fr;
    }
    
    .reason-item {
        padding: 25px;
    }
    
    .mission-container {
        padding: 30px;
    }
    
    .mission-container::before {
        width: 100px;
        height: 100px;
    }
    
    .mission-header h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .reason-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        border-left: none;
        border-top: 5px solid var(--primary-color);
    }
    
    .reason-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .mission-header {
        flex-direction: column;
        text-align: center;
    }
    
    .mission-header i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .mission-text {
        text-align: center;
    }
}

:root {
    --primary-color: #21659A;
    --secondary-color: #5B7991;
    --accent-color: #5B7991;
    --light-color: #E7E8E7;
    --dark-color: #002C37;
    --white: #FFFFFF;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.8;
}

body.menu-open {
    overflow: hidden;
}

.top-bar {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 5px 20px; /* Намалено от 10px 40px на 5px 20px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 15;
    box-sizing: border-box;
    font-size: 0.9em; /* Намален размер на шрифта */
    position: relative; /* Добавено за правилно позициониране */
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info p {
    margin: 0 10px 0 0; /* Намалено от 15px на 10px */
    font-size: 0.85em; /* Намалено от 0.95em на 0.85em */
}

.contact-info i {
    margin-right: 5px; /* Намалено от 8px на 5px */
    color: var(--accent-color);
    font-size: 0.9em; /* Намален размер на иконите */
}

/* Language Selector Styles */
.lang-selector {
    position: relative;
    margin-left: 20px;
    z-index: 100;
}

.current-lang {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 6px 15px;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.3s ease;
    color: var(--primary-color);
    border: 1px solid transparent;
}

.current-lang:hover {
    background-color: rgba(33, 101, 154, 0.08);
    border-color: rgba(33, 101, 154, 0.2);
}

.current-lang img {
    width: 24px;
    height: 24px;
    margin-right: 6px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.current-lang span {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-right: 6px;
}

.current-lang i {
    font-size: 14px;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.lang-selector:hover .current-lang i,
.lang-selector.show-dropdown .current-lang i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 160px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid rgba(0,0,0,0.08);
}

.lang-selector:hover .lang-dropdown,
.lang-selector.show-dropdown .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.lang-dropdown li {
    margin: 0;
    padding: 0;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.lang-dropdown a:hover {
    background-color: rgba(33, 101, 154, 0.05);
}

.lang-dropdown a.active {
    background-color: rgba(33, 101, 154, 0.08);
    color: var(--primary-color);
    font-weight: 500;
}

.lang-dropdown img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lang-dropdown span {
    font-size: 14px;
}

header {
    background: var(--white);
    padding: 15px 30px; /* Оптимизирано отстояние */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    top: 30px;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 15px; /* Увеличено отстояние от горната лента */
    transition: padding 0.3s ease; /* Плавен преход при промяна на размера */
}

header a {
    display: block;
    text-decoration: none;
    margin-top: 5px; /* Намалено от 10px до 5px, тъй като вече имаме отстояние в header */
}

.logo-image {
    max-width: 380px;
    height: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    display: block;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px; /* Разстояние между хамбургер бутона и логото */
}

.header-right {
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Десктоп навигация (само над 992px) */
@media (min-width: 993px) {
    .top-bar {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 500 !important;
        background-color: var(--dark-color) !important;
        color: var(--white) !important;
        padding: 10px 40px !important;
        justify-content: space-between !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }
    
    .header-right {
        display: flex;
        align-items: center;
    }

    nav#main-nav-desktop {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    nav#main-nav-desktop a {
        color: var(--primary-color);
        text-decoration: none;
        margin: 0 15px;
        font-weight: 500;
        font-size: 1.1em;
        padding: 10px 18px;
        transition: var(--transition);
        border-radius: 8px;
        position: relative;
    }

    nav#main-nav-desktop a:hover {
        background-color: var(--primary-color);
        color: var(--white);
    }
    
    /* Скриваме мобилната навигация в десктоп */
    nav#main-nav {
        display: none !important;
    }
}

nav a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    font-size: 1.1em;
    padding: 10px 18px;
    transition: var(--transition);
    border-radius: 8px;
    position: relative;
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: inline-block;
}

.dropdown-toggle:after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 5px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    display: none;
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 15px;
    margin: 0;
    text-align: left;
    border-radius: 0;
    box-sizing: border-box;
}

.dropdown-item:hover {
    background-color: rgba(33, 101, 154, 0.1);
}


/* Мобилна навигация */
@media (max-width: 992px) {
    /* Показваме хамбургер бутона, мобилното лого и nav header в top-bar */
    .mobile-menu-trigger {
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 1002;
        cursor: pointer;
    }
    
    .mobile-logo {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: center;
    }
    
    .mobile-nav-header {
        display: flex !important;
    }
    
    .mobile-logo-image {
        height: 55px;
        width: auto;
        max-width: 280px;
    }
    
    /* Хамбургер бутон в top-bar */
    .mobile-menu-trigger button.hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: var(--primary-color);
        border: none;
        border-radius: 4px;
        cursor: pointer;
        z-index: 1003;
        position: relative;
        padding: 5px;
    }
    
    /* Текст "МЕНЮ" до хамбургера */
    .menu-text {
        color: var(--white);
        font-size: 0.85em;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Модифицираме top-bar за мобилни */
    .top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 15px;
        gap: 10px;
    }
    
    /* По-голям шрифт за contact info на мобилни */
    .contact-info p {
        font-size: 1.3em !important;
    }
    
    .contact-info i {
        font-size: 1.4em !important;
    }
    
    /* Скриваме header на мобилни, защото логото е в top-bar */
    header {
        display: none;
    }
    
    .mobile-menu-trigger button.hamburger span {
        display: block;
        width: 20px;
        height: 2px;
        background-color: white;
        margin: 2px 0;
        border-radius: 1px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-trigger button.hamburger:hover {
        background-color: var(--accent-color);
        transform: scale(1.05);
    }
    
    .mobile-menu-trigger button.hamburger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-menu-trigger button.hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-trigger button.hamburger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    /* Скриваме десктоп навигацията */
    .header-right {
        display: none;
    }
    
    /* Мобилна навигация - slide меню отдясно */
    nav#main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    /* Хедър на мобилната навигация с X бутон */
    .mobile-nav-header {
        width: 100%;
        display: flex !important;
        justify-content: flex-start;
        padding: 15px 20px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        margin-bottom: 10px;
        background-color: rgba(255,255,255,0.95);
    }
    
    /* X бутон за затваряне */
    .close-menu {
        background: none;
        border: none;
        font-size: 40px;
        color: var(--primary-color);
        cursor: pointer;
        padding: 10px;
        line-height: 1;
        transition: all 0.3s ease;
        border-radius: 4px;
        display: block !important;
        font-weight: bold;
        width: 50px;
        height: 50px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .close-menu:hover {
        background-color: rgba(33, 101, 154, 0.2);
        color: var(--accent-color);
        transform: scale(1.1);
    }
    
    .close-menu span {
        display: block;
        font-size: 40px;
        line-height: 1;
    }
    
    /* Активно състояние - показва менюто */
    nav#main-nav.active {
        right: 0;
    }
    
    nav#main-nav a {
        width: 100%;
        padding: 15px 30px;
        margin: 0;
        color: var(--primary-color);
        font-size: 1.1em;
        text-decoration: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        display: block;
        border-radius: 0;
    }
    
    nav#main-nav a:hover {
        background-color: var(--primary-color);
        color: white;
        padding-left: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-logo-image {
        height: 50px;
        max-width: 260px;
    }
    
    .contact-info p {
        font-size: 1.2em !important;
    }
    
    .contact-info i {
        font-size: 1.3em !important;
    }
    
    .mobile-menu-trigger button.hamburger {
        width: 30px;
        height: 30px;
        padding: 4px;
    }
    
    .mobile-menu-trigger button.hamburger span {
        width: 18px;
        height: 2px;
    }
    
    .menu-text {
        font-size: 0.8em;
    }
    
    .close-menu {
        font-size: 35px;
        width: 45px;
        height: 45px;
        padding: 8px;
    }
    
    .close-menu span {
        font-size: 35px;
    }
    
    nav#main-nav {
        width: 300px;
        padding: 20px 0 30px;
    }
    
    nav#main-nav a {
        padding: 18px 25px;
        font-size: 1.2em;
    }
}

@media (min-width: 1400px) {
    .logo-image {
        max-width: 420px;
    }
}
nav a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.hero {
    background: none;
    color: var(--dark-color);
    padding: 0;
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 550px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 40px;
    border-radius: 8px;
    color: var(--white);
    max-width: 800px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 1s ease 0.5s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 1px;
}

.slide-content p {
    font-size: 1.2em;
    margin: 15px 0 25px;
    max-width: 700px;
}

.btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 500;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

#slide1 { background-image: url('https://via.placeholder.com/1200x550/1E90FF/FFFFFF?text=Cylinder+Manufacturing'); }
#slide2 { background-image: url('https://via.placeholder.com/1200x550/4682B4/FFFFFF?text=Precision+and+Quality'); }
#slide3 { background-image: url('https://via.placeholder.com/1200x550/87CEEB/FFFFFF?text=Industrial+Solutions'); }

.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-size: 3.2em;
    font-weight: 500;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-content {
    background-color: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.about-content:hover {
    transform: translateY(-5px);
}

.history-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.history-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.history-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.history-image:hover .history-photo {
    transform: scale(1.02);
}

.history-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.history-text p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
}

.history-gallery {
    margin-top: 40px;
    width: 100%;
}

.gallery-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.gallery-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px;
    scroll-behavior: smooth;
}

.gallery-item {
    min-width: 300px;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    flex: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(80%);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-year {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .gallery-container {
        gap: 15px;
    }
    
    .gallery-item {
        min-width: 250px;
        height: 180px;
    }
}

.products {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.product-item {
    background-color: var(--white);
    width: 30%;
    margin: 20px;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item h3 {
    color: var(--primary-color);
    margin: 25px 0;
    font-size: 1.8em;
}

.product-item i {
    color: var(--accent-color);
    font-size: 3.5em;
    margin-bottom: 25px;
    transition: var(--transition);
}

.product-item:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.product-item p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-top: 15px;
}

footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 40px;
    text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-section {
    margin: 20px;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-section p {
    margin: 12px 0;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-section i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.3em;
    width: 30px;
    text-align: center;
}

.social-icons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.social-icons a {
    color: var(--white);
    margin: 0 12px;
    font-size: 1.4em;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 1.1em;
}

@media (max-width: 992px) {
    .product-item {
        width: 45%;
    }
}

button.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 100;
    position: relative;
    margin: 0;
    background-color: var(--primary-color);
    padding: 8px;
    border-radius: 5px; 
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    align-self: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
    outline: none;
}

button.hamburger:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

button.hamburger:hover {
    transform: scale(1.05);
    background-color: var(--accent-color);
}

button.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: var(--transition);
    margin: 1px 0;
}

@media (max-width: 992px) {
    button.hamburger {
        display: flex;
        width: 40px;
        height: 40px; 
        padding: 8px; 
        border-radius: 6px;
        position: relative;
        z-index: 1001;
        background-color: var(--primary-color);
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    button.hamburger:hover {
        background-color: var(--accent-color);
        transform: scale(1.05);
    }
    
    .top-bar {
        flex-direction: row;
        padding: 5px 15px;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        z-index: 500;
        top: 0;
        width: 100%;
        background-color: var(--dark-color);
        color: var(--white);
        box-sizing: border-box;
    }
    
    .contact-info {
        margin-bottom: 0;
        flex-wrap: nowrap;
        justify-content: flex-start;
        font-size: 0.7em;
        display: flex;
        flex: 1;
        overflow: hidden;
    }
    
    .contact-info p {
        margin: 0 8px 0 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .top-lang-links {
        margin-top: 0;
        display: flex;
        gap: 5px;
    }
    
    .top-lang-links a img {
        width: 18px;
        height: 18px;
    }
    
    /* Overlay за затваряне на менюто */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.6);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    button.hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    button.hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    button.hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}

/* Най-малки мобилни устройства - по-голям шрифт за инфо менюто */
@media (max-width: 480px) {
    .contact-info p {
        font-size: 1.15em !important;
    }
    
    .contact-info i {
        font-size: 1.25em !important;
        margin-right: 6px;
    }
    
    .mobile-logo-image {
        height: 45px;
        max-width: 240px;
    }
    
    .mobile-menu-trigger button.hamburger {
        width: 28px;
        height: 28px;
    }
    
    .menu-text {
        font-size: 0.75em;
    }
    
    .close-menu {
        font-size: 30px;
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .close-menu span {
        font-size: 30px;
    }
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(33, 33, 33, 0.95);
    color: #fff;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s ease-in-out;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    flex: 1 1 60%;
    padding-right: 20px;
}

.cookie-text p {
    margin: 0 0 10px;
    font-size: 0.95em;
    line-height: 1.5;
}

.cookie-text p:first-child {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.cookie-buttons {
    flex: 0 1 auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-btn {
    background-color: var(--primary-color);
    color: white;
}

.accept-btn:hover {
    background-color: #1a5380;
}

.settings-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.settings-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-text {
        padding-right: 0;
        margin-bottom: 15px;
        flex: 1 1 100%;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

.spheres-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.sphere {
    width: 250px;
    height: auto;
    border-radius: 10px;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.sphere:hover {
    transform: translateY(-5px);
}

.sphere i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.sphere:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.sphere h3 {
    font-size: 1.2em;
    margin: 0 0 10px 0;
    color: var(--primary-color);
}

.sphere p {
    font-size: 0.9em;
    margin: 0;
    line-height: 1.4;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item:nth-child(1), .sphere:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2), .sphere:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3), .sphere:nth-child(3) { animation-delay: 0.3s; }
.sphere:nth-child(4) { animation-delay: 0.4s; }

@media (max-width: 768px) {
    .section h2 {
        font-size: 2.2em;
    }
    
    .slide-content h1 {
        font-size: 1.8em;
    }
    
    .slide-content p {
        font-size: 1em;
    }
    
    .product-item {
        width: 100%;
        margin: 10px 0;
    }
    
    .sphere {
        width: 100%;
        max-width: 300px;
        padding: 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2em;
    }
}
.spheres-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
    background-color: #e7e8e7;
}

.sphere-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.sphere-card:hover {
    transform: translateY(-5px);
}

.sphere-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
    transition: var(--transition);
}

.sphere-card:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.sphere-image {
    width: 100%;
    height: 180px;
    border-radius: 5px;
    margin-bottom: 15px;
    object-fit: cover;
    object-position: center;
}

.sphere-card h3 {
    color: var(--primary-color);
    font-size: 1.2em;
    margin: 10px 0;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.sphere-card p {
    font-size: 0.9em;
    color: #333;
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
}

.certificates-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(33, 101, 154, 0.1);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.certificate-card:hover::before {
    height: 10px;
}

.certificate-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
    padding: 10px;
}

.certificate-card h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-size: 1.3em;
    margin: 10px 0;
    font-weight: 500;
}

.certificate-card p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.certificate-card:nth-child(1) { animation-delay: 0.1s; }
.certificate-card:nth-child(2) { animation-delay: 0.2s; }
.certificate-card:nth-child(3) { animation-delay: 0.3s; }

@media (max-width: 768px) {
    .certificates-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .certificate-card {
        padding: 15px;
    }

    .certificate-image {
        max-width: 120px;
    }

    .certificate-card h3 {
        font-size: 1.1em;
    }

    .certificate-card p {
        font-size: 0.9em;
    }
}

.projects-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.projects-wrapper {
    width: 100%;
    overflow: hidden;
}

.projects-container {
    display: flex;
    width: calc(100% * var(--total-pages));
    transition: transform 0.5s ease-in-out;
}

.project-slide {
    flex: 0 0 calc(100% / 3);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
}

.project-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(33, 101, 154, 0.1);
    width: 100%;
    max-width: 360px;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.project-card:hover::before {
    height: 10px;
}

.project-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
}

.project-card h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-size: 1.3em;
    margin: 10px 0;
    font-weight: 500;
}

.project-card p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
    margin: 10px 0;
}

.project-details {
    font-size: 0.85em;
    color: var(--secondary-color);
    margin: 5px 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .project-slide {
        flex: 0 0 50%;
    }

    .projects-container {
        width: calc(100% * var(--total-pages) * 2);
    }
}

@media (max-width: 768px) {
    .project-slide {
        flex: 0 0 100%;
    }

    .projects-container {
        width: calc(100% * var(--total-slides));
    }

    .project-image {
        height: 150px;
    }

    .project-card h3 {
        font-size: 1.2em;
    }

    .project-card p {
        font-size: 0.9em;
    }

    .project-details {
        font-size: 0.85em;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

.certificates-description {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.quality-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    text-align: left;
}

.quality-text p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.quality-text p:last-child {
    margin-bottom: 0;
}

.advantages {
    background-color: var(--white);
    padding: 60px 20px;
    box-shadow: var(--shadow);
}

.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
    width: 300px;
    margin: 10px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-image-container {
    width: 100%;
    height: 210px;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
}

.advantage-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.advantage-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(33, 101, 154, 0.8);
    color: white;
    padding: 8px;
    margin: 0;
    font-size: 1.1em;
    text-align: center;
}

.advantage-item h3 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.advantage-item p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
    word-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 768px) {
    .advantage-item {
        width: 100%;
        max-width: 350px;
    }

    .advantage-image-container {
        height: 130px;
    }

    .advantage-item h3 {
        font-size: 1.2em;
    }
    
    .page-tools {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .back-to-top, .lang-button {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    
    .lang-button {
        width: 40px;
        height: 40px;
        font-size: 0.9em;
    }
}

/* Video container styles */
.video-container {
    position: relative;
    width: 100%;
    margin: 30px 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio for responsive video */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin: 40px 0 10px;
    text-align: center;
    font-weight: 600;
}

.company-video {
    margin: 30px 0;
    width: 100%;
}
/* Organized Product Section Styles */
.products-description {
text-align: center;
max-width: 800px;
margin: 0 auto 40px;
font-size: 1.1em;
line-height: 1.6;
color: #444;
}

.product-categories {
margin-bottom: 50px;
}

.product-category {
margin-bottom: 60px;
background-color: var(--white);
border-radius: 10px;
padding: 30px;
box-shadow: var(--shadow);
}

.category-title {
font-family: 'Poppins', sans-serif;
color: var(--primary-color);
font-size: 1.8em;
margin: 0 0 30px 0;
padding-bottom: 10px;
border-bottom: 2px solid rgba(33, 101, 154, 0.2);
}

.products-container {
display: flex;
flex-wrap: wrap;
gap: 30px;
}

.product-column {
flex: 1;
min-width: 300px;
display: flex;
flex-direction: column;
gap: 20px;
}

.pneumatic-products .product-column {
min-width: 350px;
}

.product-card {
background-color: #f8f9fa;
border-radius: 8px;
padding: 20px;
transition: var(--transition);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
border-left: 4px solid var(--primary-color);
display: flex;
align-items: flex-start;
gap: 15px;
}

.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
background-color: #ffffff;
}

.product-icon {
color: var(--primary-color);
font-size: 1.7em;
min-width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
}

.product-card:hover .product-icon {
color: var(--accent-color);
transform: scale(1.1);
}

.product-content {
flex: 1;
}

.product-content h4 {
color: var(--primary-color);
margin: 0 0 10px 0;
font-size: 1.2em;
font-weight: 600;
line-height: 1.3;
}

.product-content p {
font-size: 0.95em;
color: #555;
line-height: 1.5;
margin: 0;
}

/* Call to Action Banner */
.product-cta-banner {
background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
padding: 40px;
border-radius: 10px;
text-align: center;
color: white;
margin-top: 40px;
box-shadow: var(--shadow);
}

.product-cta-banner h3 {
font-family: 'Poppins', sans-serif;
font-size: 1.8em;
margin-bottom: 15px;
}

.product-cta-banner p {
font-size: 1.1em;
margin-bottom: 25px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}

.product-cta-banner .btn {
background-color: white;
color: var(--primary-color);
padding: 12px 30px;
font-weight: 600;
border: 2px solid white;
transition: var(--transition);
}

.product-cta-banner .btn:hover {
background-color: transparent;
color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
.product-category {
padding: 20px;
}

.product-column {
min-width: 250px;
}

.pneumatic-products .product-column {
min-width: 300px;
}

.product-cta-banner {
padding: 30px;
}

.product-cta-banner h3 {
font-size: 1.6em;
}
}

@media (max-width: 768px) {
.products-container {
flex-direction: column;
}

.product-column {
width: 100%;
}

.category-title {
font-size: 1.5em;
}

.product-card {
padding: 15px;
}

.product-icon {
font-size: 1.5em;
}

.product-content h4 {
font-size: 1.1em;
}

.product-cta-banner h3 {
font-size: 1.4em;
}

.product-cta-banner p {
font-size: 1em;
}

.product-cta-banner .btn {
padding: 10px 25px;
}
}
/* About css -->
/* Read More Button Styles */
.read-more-container {
margin-top: 25px;
}

.read-more-btn {
display: inline-flex;
align-items: center;
background-color: var(--primary-color);
color: var(--white);
padding: 12px 25px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
font-size: 1.1em;
transition: var(--transition);
border: 2px solid var(--primary-color);
}

.read-more-btn:hover {
background-color: var(--accent-color);
border-color: var(--accent-color);
transform: translateY(-3px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.read-more-btn i {
margin-left: 10px;
transition: var(--transition);
}

.read-more-btn:hover i {
transform: translateX(5px);
}

@media (max-width: 768px) {
.read-more-container {
margin-top: 20px;
text-align: center;
}

.read-more-btn {
padding: 10px 20px;
font-size: 1em;
}
}

/* Top-bar mobile styles for very small screens */
@media (max-width: 480px) {
    .top-bar {
        flex-direction: column;
        padding: 8px 15px;
        gap: 8px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        width: 100%;
    }
    
    .contact-info p {
        margin: 0;
        font-size: 0.8em;
        white-space: normal;
    }
    
    .top-lang-links {
        align-self: flex-end;
        margin: 0;
    }
    
    header {
        margin-top: 70px;
    }
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 40px;
}

.loading-logo {
    margin-bottom: 30px;
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-logo-img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 30px auto;
}

.spinner-ring {
    position: absolute;
    border: 3px solid transparent;
    border-top: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(1) {
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    animation-delay: -0.4s;
    border-top-color: rgba(255, 255, 255, 0.6);
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    animation-delay: -0.8s;
    border-top-color: rgba(255, 255, 255, 0.4);
}

.loading-text {
    margin: 30px 0;
    animation: textPulse 2s ease-in-out infinite;
}

.loading-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8em;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.loading-text p {
    font-size: 1em;
    margin: 0;
    opacity: 0.8;
}

.loading-progress {
    margin-top: 30px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,1));
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    animation: progressGlow 2s ease-in-out infinite;
}

.progress-text {
    font-size: 0.9em;
    opacity: 0.8;
    font-weight: 500;
}

/* Keyframe Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(255,255,255,0.3); }
    50% { box-shadow: 0 0 15px rgba(255,255,255,0.6); }
}

/* Mobile Loading Styles */
@media (max-width: 768px) {
    .loading-container {
        padding: 20px;
        max-width: 300px;
    }
    
    .loading-logo-img {
        max-width: 150px;
    }
    
    .loading-text h3 {
        font-size: 1.4em;
    }
    
    .loading-text p {
        font-size: 0.9em;
    }
    
    .loading-spinner {
        width: 60px;
        height: 60px;
    }
    
    .spinner-ring:nth-child(1) {
        width: 60px;
        height: 60px;
    }
    
    .spinner-ring:nth-child(2) {
        width: 45px;
        height: 45px;
        top: 7.5px;
        left: 7.5px;
    }
    
    .spinner-ring:nth-child(3) {
        width: 30px;
        height: 30px;
        top: 15px;
        left: 15px;
    }
}

