/* Базови настройки */
:root {
    --primary-color: #0ea5e9; /* Медицинско синьо */
    --secondary-color: #0284c7;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Плавно скролиране при клик на менюто */
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* Навигация */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Секция */
.hero {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Заглавия на секции */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Секция За мен (Разделен дизайн) --- */
.about {
    background-color: #fcfcfc; /* Само плътен цвят за фон, БЕЗ СНИМКА */
    padding: 80px 0;
}

.about-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Настройки за снимката вляво */
.about-image {
    flex: 0 0 45%; 
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 15px; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); 
    object-fit: cover;
}

/* Настройки за текста вдясно */
.about-text {
    flex: 0 0 50%; 
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

.left-align {
    text-align: left;
    margin-bottom: 30px;
}

.left-align .underline {
    margin: 10px 0 0 0;
}

/* Услуги */
.bg-light {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Галерия */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* Контакти */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-item h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

/* Респонсив дизайн за телефони и таблети */
@media (max-width: 900px) {
    .about-flex {
        flex-direction: column; 
        text-align: center;
        gap: 30px;
    }

    .about-image {
        flex: 1 1 100%;
    }

    .about-text {
        flex: 1 1 100%;
    }

    .left-align {
        text-align: center;
    }

    .left-align .underline {
        margin: 10px auto 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
    .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 32px;
    }
}