:root {
    --primary-color: #848B79; /* Szałwiowa zieleń z logo */
    --text-color: #4A4A4A;    /* Ciemny grafit */
    --bg-color: #FFFFFF;      /* Biel */
    --bg-light: #F3EFE9;      /* Ciepły, jasny beż/brzoskwinia z fal w logo */
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3 {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

p {
    margin-bottom: 20px;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Header & Nav */
.main-header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    height: 140px; /* Zwiększona wysokość, by zmieścić napis pod sygnetem */
    width: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 120px;
    transform: translate(-150px, 20px) scale(2.8); /* Lekka korekta pionu po zwiększeniu ramki */
    transform-origin: left center;
    mix-blend-mode: multiply;
    object-fit: contain;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--bg-color);
    text-align: center;
}

.hero-text h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.hero .lead {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About & Education Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Zdjęcie zajmie nieco mniej miejsca niż tekst */
    gap: 60px;
    align-items: stretch; /* Wyrównuje wysokość kolumn */
}

.about-image {
    width: 100%;
    align-self: start; /* Sprawia, że zdjęcie naturalnie trzyma się góry i nie próbuje rozciągać w dół */
    position: sticky;  /* Dodatkowy bonus: zdjęcie będzie "płynąć" w dół ekranu podczas czytania tekstu */
    top: 120px;
}

.profile-img {
    width: 100%;
    height: auto; /* Przywraca oryginalne proporcje i usuwa przybliżenie */
    border-radius: 8px; 
}

.education-text {
    margin-top: 50px; /* Odstęp między blokami tekstu */
}

/* Services */
.services-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .services-list {
        grid-template-columns: 1fr 1fr;
    }
}

.services-list li {
    background: var(--bg-light);
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 300;
}

.services-list li strong {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Process */
.highlight {
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 30px;
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    background-color: var(--text-color);
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}
/* Przycisk ZnanyLekarz */
.reviews-cta {
    margin-top: 40px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #6d7363; /* Nieco ciemniejszy odcień zieleni przy najechaniu */
    color: #ffffff;
    transform: translateY(-2px); /* Delikatne uniesienie przycisku */
}
/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        position: static;
    }

    .profile-img {
        max-height: 400px;
        object-fit: cover;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        justify-content: center;
    }

    .logo-img {
        /* Zwiększona wartość ujemna (-140px) przesuwa logo w lewo tylko na telefonach */
        transform: translate(-200px, 20px) scale(2.8);
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .main-nav a {
        font-size: 0.8rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
}
/* Contact Section */
.contact-content {
    background: var(--bg-light);
    padding: 40px;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    margin-top: 30px;
}

.contact-info {
    list-style: none;
    margin-top: 20px;
}

.contact-info li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--primary-color);
    display: inline-block;
    width: 90px;
}