/* --- ZMIENNE GLOBALNE (NOWA PALETA I CZCIONKI) --- */
:root {
    --color-primary: #D1A3A3;      /* Główny: zgaszony róż */
    --color-primary-dark: #c28d8d;  /* Ciemniejszy róż dla hover */
    --color-primary-light: #F9F2F2; /* Tło dla sekcji hero */
    --color-text: #5c5c5c;         /* Miękki, ciemnoszary tekst */
    --color-headings: #3d3d3d;    /* Bardzo ciemny szary dla nagłówków */
    --color-background: #f9f7f5;  /* GŁÓWNE TŁO: ciepły, złamany biel/krem */
    --color-surface: #ffffff;      /* Tło kart: czysta biel */
    --color-border: #EAEAEA;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-strong: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

/* --- RESET I STYLE PODSTAWOWE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAFIA --- */
h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-headings);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h2 {
    font-size: 2.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

h3 { font-size: 1.75rem; margin-top: 2.5rem; }

p { margin-bottom: 1.25rem; max-width: 70ch; }
a { color: var(--color-primary); text-decoration: none; font-weight: bold; transition: color 0.3s ease; }
a:hover { color: var(--color-primary-dark); }
ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
li { margin-bottom: 0.5rem; padding-left: 0.5rem; }
strong { color: var(--color-headings); font-weight: 700; }

/* --- GŁÓWNY UKŁAD I KONTENER --- */
.container {
    width: 100%;
    max-width: 900px; /* Ujednolicona szerokość kontenera */
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- HEADER --- */
.site-header {
    padding: 1.5rem 0;
    background-color: transparent;
}
.header-container { display: flex; justify-content: space-between; align-items: center; }

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-headings);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.logo-text .moon-icon {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
}
.logo-link:hover .logo-text { opacity: 0.8; }

.social-icons .icon { width: 24px; height: 24px; fill: #999; transition: fill 0.3s ease; }
.social-icons a:hover .icon { fill: var(--color-primary); }

/* --- SEKCJA HERO - NOWY WYGLĄD --- */
.hero-section {
    background-color: var(--color-primary-light);
    padding: 4rem 0;
    border-bottom: 1px solid var(--color-border);
}

/* Nowy styl dla karty w sekcji hero, aby poprawnie obsługiwała float */
.hero-section .card {
    display: flow-root; /* Nowoczesny sposób na "clearfix" */
}

.hero-card-image {
    float: right;
    max-width: 280px; /* Dostosuj rozmiar zdjęcia wg preferencji */
    width: 40%;
    margin-left: 2rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
    border: 6px solid white;
}

/* --- SEKCJE Z TREŚCIĄ (MISSION, CONTACT) --- */
.content-section {
    padding: 4rem 0;
}

/* --- STYL KARTY --- */
.card {
    background-color: var(--color-surface);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--color-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

#contact .card h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* --- SEKCJA KONTAKTOWA --- */
#contact .card {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
}

.response-time { font-size: 0.9rem; font-style: italic; color: #999; margin-bottom: 2rem; }
.contact-reasons-title { font-weight: bold; color: var(--color-headings); margin-bottom: 1rem; }
.contact-reasons-list { display: inline-block; text-align: left; list-style-type: '✓ '; padding-left: 0; }
.contact-reasons-list li { padding-left: 0.5rem; }

/* --- FOOTER --- */
.site-footer {
    padding: 3rem 0;
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
}
.footer-container { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-nav a { color: var(--color-text); }
.separator { width: 50px; height: 1px; background-color: var(--color-border); }
.copyright { font-size: 0.875rem; color: #aaa; margin: 0; }
.footer-container .logo-text { font-size: 1.1rem; }
.footer-container .logo-text .moon-icon { width: 18px; height: 18px; }

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 767px) {
    body { font-size: 16px; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.5rem; }
    .container { padding: 0 1rem; }
    
    .hero-section, .content-section { padding: 2.5rem 0; }
    
    /* Zmiany dla obrazka w hero na mobile */
    .hero-card-image {
        float: none; /* Wyłączamy opływanie */
        display: block; /* Ustawiamy jako blok */
        width: 90%; /* Zwiększamy szerokość */
        max-width: 280px;
        margin: 0 auto 2rem auto; /* Centrujemy i dodajemy margines dolny */
    }

    .card { padding: 2rem; }
    .cta-button { padding: 0.8rem 1.8rem; font-size: 0.9rem; }
}