/* ---------------------------------- */
/* --- ОБЩИ СТИЛОВЕ - НОВ ДИЗАЙН --- */
/* ---------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    color: #111827;
    line-height: 1.7;
    background: linear-gradient(-45deg, #F9FAFB, #F0F3F2, #eef3f7, #FDFCF8);
    background-size: 400% 400%;
    animation: gradientAnimation 20s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.btn {
    display: inline-block;
    background-color: #14B8A6;
    color: #FFFFFF;
    padding: 14px 30px;
    margin-top: 15px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
}

.btn:hover {
    background-color: #0F766E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
}

/* ---------------------------------- */
/* --- ХЕДЪР И ФУТЪР - ТЪМНА ТЕМА --- */
/* ---------------------------------- */
header, footer { 
    background-color: #111827; 
    color: #FFFFFF; 
}
header { 
    padding: 15px 0; 
    display: flex; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
footer { 
    text-align: center; 
    padding: 25px 0; 
    margin-top: 60px; 
}
header .container, footer .container { 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
}
footer .container { 
    justify-content: center; 
    flex-direction: column; 
    gap: 10px; 
}
header a, footer a { 
    color: #FFFFFF; 
    text-decoration: none;
}

.logo-img { height: 70px; width: auto; }
.site-title { margin-left: 20px; }
.site-title h1 { font-size: 1.4rem; margin: 0; font-weight: 600; }
.header-right-panel { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.lang-switch a { color: white; text-decoration: none; margin-left: 5px; font-size: 0.8em; }
.lang-switch a.active { font-weight: bold; color: #14B8A6; }
.lang-switch a:not(:first-child)::before { content: " | "; color: white; margin-right: 5px; }
nav ul { list-style: none; padding: 0; display: flex; gap: 20px; margin: 0; }
nav ul li a { color: white; text-decoration: none; font-weight: bold; font-size: 1rem; position: relative; padding-bottom: 5px; }
nav ul li a::after {
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 2px; 
    bottom: 0; 
    left: 50%;
    transform: translateX(-50%); 
    background-color: #14B8A6; 
    transition: width 0.3s ease-in-out;
}
nav ul li a:hover::after, nav ul li a.active::after { 
    width: 100%; 
}

/* ---------------------------------- */
/* --- ОСНОВНИ КОМПОНЕНТИ И СЕКЦИИ --- */
/* ---------------------------------- */
.floating-section, .content-container, .services-grid-container, .contact-grid-container {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 60px 40px;
    margin: 60px auto;
    width: 90%;
    max-width: 1200px;
    box-sizing: border-box;
    text-align: center;
}

.page-title-section {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 60px 20px;
    text-align: center;
}
.page-title-section h1 {
    color: #111827;
    margin: 0 0 10px 0;
    font-size: 3rem;
    font-weight: 700;
}
.page-title-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    opacity: 0.8;
}

.section-title {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 50px;
    font-weight: 700;
    text-align: center;
}

/* ---------------------------------- */
/* --- СТИЛОВЕ ЗА НАЧАЛНА СТРАНИЦА --- */
/* ---------------------------------- */
.hero { 
    background: #111827; 
    color: white; 
    padding: 100px 20px; 
    text-align: center; 
}
.hero h1 { 
    font-size: 3rem; 
    margin-bottom: 20px; 
    font-weight: 700; 
}
.hero p { 
    font-size: 1.3rem; 
    line-height: 1.7; 
    max-width: 800px; 
    margin: 0 auto 30px; 
    font-weight: 400; 
    opacity: 0.9; 
}

.why-us-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; }
.advantage-card { width: 300px; text-align: center; }
.advantage-card .icon { font-size: 3rem; color: #14B8A6; margin-bottom: 20px; }
.advantage-card h3 { font-size: 1.5rem; color: #111827; margin-bottom: 15px; font-weight: 600; }

.testimonials-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.testimonial-card {
    background-color: #FFFFFF; border-radius: 8px; width: 320px; padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07); text-align: left; position: relative;
}
.testimonial-card .quote-icon { font-size: 2.5rem; color: #14B8A6; opacity: 0.3; position: absolute; top: 15px; left: 20px; }
.testimonial-card p { font-style: italic; margin: 20px 0; }
.testimonial-card .author { font-weight: bold; color: #111827; }
.testimonial-card .company { font-size: 0.9rem; color: #6B7280; }

.services-intro { max-width: 700px; margin: 0 auto 40px auto; }
.features { display: flex; flex-wrap: wrap; justify-content: center; padding: 0; gap: 20px; }
.feature-card {
    background-color: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 8px; width: 300px;
    padding: 30px; text-align: center; box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.feature-card h3 { color: #111827; margin-top: 15px; font-size: 1.3rem; }
.feature-card .icon { font-size: 2.5rem; color: #14B8A6; }

.team-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.team-member {
    width: 280px;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.team-member .icon { font-size: 2.5rem; color: #14B8A6; margin-bottom: 15px; }
.team-member h3 { font-size: 1.3rem; margin-bottom: 5px; }
.team-member p { font-size: 1rem; color: #6B7280; margin-top: 0; }

/* ---------------------------------- */
/* --- СТИЛОВЕ ЗА СТРАНИЦА "УСЛУГИ" --- */
/* ---------------------------------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.service-item {
    background-color: #FFFFFF; padding: 35px; border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07); text-align: left;
    border-left: 5px solid #14B8A6; transition: transform 0.3s, box-shadow 0.3s;
}
.service-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.service-item h2 { font-size: 1.6rem; color: #111827; margin: 0 0 15px 0; display: flex; align-items: center; gap: 15px; font-weight: 600; }
.service-item h2 i { color: #14B8A6; font-size: 1.5rem; }
.service-item p { font-size: 1rem; margin: 0; padding-left: calc(1.5rem + 15px); }
.cta-section { text-align: center; padding: 60px 20px; }
.cta-section h2 { font-size: 2.2rem; font-weight: 700; color: #111827; }

/* ---------------------------------- */
/* --- СТИЛОВЕ ЗА СТРАНИЦА "ЗА НАС" --- */
/* ---------------------------------- */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; text-align: left; }
.about-intro-grid img { width: 100%; border-radius: 8px; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.about-intro-grid h3 { font-size: 1.8rem; color: #111827; margin-top: 0; }
.values-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; margin-top: 40px;}
.value-card { width: 300px; text-align: center; }
.value-card .icon { font-size: 3rem; color: #14B8A6; margin-bottom: 20px; }
.value-card h3 { font-size: 1.5rem; color: #111827; margin-bottom: 15px; font-weight: 600; }
.company-details { list-style: none; padding: 0; margin: 0; text-align: left; }
.company-details li { padding: 12px 0; border-bottom: 1px solid #E5E7EB; display: flex; }
.company-details li:last-child { border-bottom: none; }
.company-details li strong { width: 180px; color: #111827; flex-shrink: 0; }

/* ---------------------------------- */
/* --- СТИЛОВЕ ЗА СТРАНИЦА "КОНТАКТИ" --- */
/* ---------------------------------- */
.contact-grid-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: flex-start; }
.contact-info h2, .contact-form-container h2 { font-size: 2rem; color: #111827; margin-top: 0; margin-bottom: 30px; font-weight: 600; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; font-size: 1.1rem; }
.contact-item i { color: #14B8A6; font-size: 1.5rem; margin-top: 5px; width: 25px; text-align: center; }
.contact-item a { color: #111827; text-decoration: none; font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }
.form-notice { background-color: #F0F3F2; border-left: 4px solid #14B8A6; color: #111827; padding: 15px; border-radius: 5px; margin-bottom: 25px; font-size: 0.9rem; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: 600; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px; border: 1px solid #D1D5DB;
    border-radius: 5px; box-sizing: border-box; font-family: 'Montserrat', sans-serif;
    font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: #14B8A6; box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}
.contact-form button { width: 100%; }
.map-section { margin: 0 auto 60px auto; }
.map-section iframe { width: 100%; height: 450px; border: none; border-radius: 12px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); }
.form-status-message {
    padding: 15px; margin-bottom: 20px; border-radius: 5px;
    font-weight: 600; text-align: center; border: 1px solid transparent;
}
.form-status-message.success { background-color: #D1FAE5; color: #065F46; border-color: #6EE7B7; }
.form-status-message.error { background-color: #FEE2E2; color: #991B1B; border-color: #FCA5A5; }

/* ---------------------------------- */
/* --- СТИЛОВЕ ЗА СТРАНИЦА "БИСКВИТКИ" --- */
/* ---------------------------------- */
.content-container { text-align: left; max-width: 900px; }
.content-container h2 { border-bottom: 2px solid #14B8A6; padding-bottom: 10px; margin-top: 40px; margin-bottom: 20px; font-size: 1.8rem; font-weight: 600; }
.content-container h2:first-of-type { margin-top: 0; }
.content-container h3 { color: #111827; font-size: 1.4rem; margin-top: 25px; font-weight: 600; }
.content-container ul { padding-left: 20px; }
.content-container li { margin-bottom: 10px; }
.content-container a { color: #14B8A6; font-weight: bold; text-decoration: none; }
.content-container a:hover { text-decoration: underline; }

/* ---------------------------------- */
/* --- COOKIE BANNER В HEADER --- */
/* ---------------------------------- */
#cookie-banner {
    display: none; background-color: rgba(17, 24, 39, 0.9); backdrop-filter: blur(5px);
    color: #FFFFFF; width: 100%; padding: 12px 20px; box-sizing: border-box; flex-basis: 100%;
    order: 2; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 15px;
    margin-top: 15px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1);
}
#cookie-banner a { color: #14B8A6; font-weight: bold; }
#accept-cookies {
    padding: 8px 18px; background-color: #14B8A6; color: #FFFFFF; border: none;
    border-radius: 4px; cursor: pointer; font-weight: bold; transition: background-color 0.3s;
}
#accept-cookies:hover { background-color: #0F766E; }

/* ---------------------------------- */
/* --- МОБИЛНА ВЕРСИЯ (РЕСПОНСИВ) --- */
/* ---------------------------------- */
@media (max-width: 900px) {
    .services-grid, .about-intro-grid, .contact-grid-container { 
        grid-template-columns: 1fr; 
    }
}
@media (max-width: 768px) {
    .site-title h1 { font-size: 0.8rem; }
    nav ul { gap: 10px; }
    nav ul li a { font-size: 0.7rem; }
    .header-right-panel { gap: 15px; }
    .hero h1, .page-title-section h1 { font-size: 2.0rem; }
    .map-section iframe { min-height: 300px; }
    .floating-section, .content-container, .services-grid-container, .contact-grid-container {
        padding: 40px 20px;
    }
    .section-title { font-size: 2rem; }
}
@media (max-width: 600px) {
    header .container, .header-right-panel { flex-direction: column; gap: 15px; }
    .header-right-panel { margin-left: 0; width: 100%; align-items: center; }
}