body {
    background-color: #f7f5f0;
    color: #2c3e50;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Универсално правило за снимките (предотвратява разтягане) */
img {
    max-width: 100%;
    height: auto;
}

/* Горна лента и навигация */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #f7f5f0;
    border-bottom: 1px solid #e2ded6;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #1a252c;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #5c554b;
    font-weight: bold;
    font-size: 15px;
    transition: 0.2s;
}

.main-nav a:hover, .main-nav a.active {
    color: #b08d57;
}

.cta-btn {
    background-color: #d4b584;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(212, 181, 132, 0.4);
}

/* Падащо меню (Dropdown с hover буфер, за да не изчезва) */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 10px; /* Невидим мост за мишката */
    background-color: transparent;
    z-index: 100;
}

.dropdown-content-inner {
    background-color: #ffffff;
    min-width: 240px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e4dc;
}

.dropdown-content a {
    color: #2c3e50 !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    font-weight: normal !important;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background-color: #f9f6ef !important;
    color: #1d3538 !important;
}

.dropdown:hover .dropdown-content {
    display: block !important;
}

/* Банер */
.banner-section {
    background-color: #0b0e14;
    padding: 40px 0;
    text-align: center;
}

.banner-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Секция с 3 картички (Услуги) */
.services-section {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 30px 20px;
    flex-wrap: wrap;
}

.service-card {
    background-color: #1d3538;
    color: #ffffff;
    width: 300px;
    max-width: 100%;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 13px;
    color: #d1d8dc;
    line-height: 1.5;
    margin-bottom: 25px;
}

.service-card a {
    color: #ffffff;
    text-decoration: underline;
    font-size: 13px;
    font-weight: bold;
}

/* Текстови кутии и контейнери с еластични широчини */
.info-box-container {
    max-width: 750px;
    width: 100%;
    margin: 20px auto 50px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e8e4dc;
    box-sizing: border-box;
}

.info-box-container p {
    color: #5c554b;
    line-height: 1.6;
    font-size: 14px;
}

.info-box-section {
    max-width: 900px;
    width: 100%;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.info-card-box {
    background-color: #f7f4ec;
    border: 1px solid #e3decb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    font-family: 'Georgia', serif;
    color: #333333;
    line-height: 1.6;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    width: 100%;
    margin: 40px auto;
    padding: 20px;
    box-sizing: border-box;
}

.about-image img {
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.about-text {
    flex: 1;
}

/* Странични социални бутони в дясно */
.social-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
    padding: 10px 8px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 99;
}

.social-sidebar a {
    color: #4a5568;
    background: #f1ede4;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.2s;
    text-decoration: none;
}

.social-sidebar a:hover {
    background-color: #b08d57;
    color: #ffffff;
}

/* Форма за бюлетин долу в дясно */
.newsletter-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffffff;
    width: 280px;
    max-width: 90vw;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border: 1px solid #e3decb;
    padding: 15px 20px;
    z-index: 100;
    box-sizing: border-box;
}

.newsletter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #1d3538;
    margin-bottom: 8px;
}

.close-btn {
    cursor: pointer;
    font-size: 18px;
    color: #888;
}

.newsletter-box p {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}

.newsletter-box input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.newsletter-box button {
    width: 100%;
    background-color: #1d3538;
    color: #ffffff;
    border: none;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.newsletter-box button:hover {
    background-color: #b08d57;
}

/* Адаптивност за мобилни телефони (под 768px) */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .main-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .services-section, .articles-grid {
        grid-template-columns: 1fr !important;
        padding: 10px !important;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-box {
        right: 10px;
        left: 10px;
        width: auto;
    }
}

/* Контейнер и стил за снимката на Здравчо в мобилен и десктоп вид */
.about-profile-container {
    text-align: center;
    margin: 20px 0;
}

.mobile-profile-img {
    width: 100%;
    max-width: 220px; /* Ограничава максималния размер, за да не стане грамадна на компютър */
    height: auto;
    border-radius: 50%; /* Прави я кръгла (ако искаш да е квадратна с ръбове, махни този ред) */
    border: 3px solid #1d3538;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

/* Увеличаваме размера на основния банер, за да запълни пространството */
.hero-banner, .banner-img, img[src*="brain-banner"] {
    width: 100%;
    max-width: 1250px; /* Увеличена ширина */
    height: 420px;     /* Увеличена височина */
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 20px auto;
}