:root {
    --text-color: #2C3E50;         /* Ciemny Grafit */
    --primary-blue: #89A1B8;       /* Stonowany Niebieski */
    --accent-gold: #f6b95f;        /* Zywy złoty */
    --button-text-color: #32291e;  /* Ciemny brąz */
    --background-white: #F4F6F7;   /* Lekko chłodniejszy odcień tła */
    --section-bg: #FFFFFF;         /* Czysta biel dla kontrastu sekcji */
}

/* --- Podstawowe Style i Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-white);
}

/* --- Układ i Kontenery --- */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* --- Typografia --- */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    text-align: center;
    color: var(--background-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 60px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
}

a:hover {
    text-decoration: underline;
}

/* --- Nawigacja --- */
#main-nav {
    background-color: var(--section-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.nav-logo:hover {
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    position: relative;
    padding: 10px;
    cursor: pointer;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: 3px;
    background-color: var(--accent-gold);
    bottom: 5px;
    left: 10px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-links li:hover a::after {
    transform: scaleX(1);
}


/* --- Stylizacja Sekcji --- */

/* Sekcja Główna "Hero" */
header {
    background-color: var(--primary-blue);
    padding: 120px 0;
    text-align: center;
}

header .subtitle {
    font-size: 1.2rem;
    color: var(--background-white);
    opacity: 0.9;
    margin-top: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 30px;
    border: none;
    background: linear-gradient(145deg, var(--accent-gold), var(--accent-gold));
    color: var(--button-text-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.22);
    text-decoration: none;
    background: linear-gradient(145deg, #e9a952, #d99f4c); 
}

/* Sekcja "O mnie" ze zdjęciem */
#o-mnie {
    background-color: var(--section-bg);
}

#o-mnie .container {
    display: flex;
    align-items: flex-start; 
    gap: 50px;
}

.zdjecie-omnie {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.15);
    flex-shrink: 0;
}

#o-mnie .text-content {
    flex-grow: 1;
}

#o-mnie h2 {
    text-align: left;
    margin-bottom: 20px;
}

/* Sekcja "W czym pomóc?" */
#pomoc .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch; 
}

.grid-item {
    background-color: var(--section-bg);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.1);
}

.icon-gold {
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#wspolpraca {
    background-color: var(--section-bg);
}

.timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.timeline-item {
    width: 30%;
    text-align: center;
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.timeline-content h3 {
    margin-top: 10px;
}

.timeline-arrow {
    color: var(--primary-blue);
    font-size: 2rem;
    margin: 0 20px;
    margin-top: 30px;
}

/* Stopka i Kontakt */
footer {
    background-color: var(--text-color);
    color: var(--background-white);
    padding: 60px 0;
    text-align: center;
}

footer h2 {
    color: var(--background-white);
}

footer p {
    color: rgba(255, 255, 255, 0.8);
}

footer a {
    color: var(--accent-gold);
}

footer a:hover {
    color: var(--background-white);
}

footer .email-kontakt {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

footer .footer-info {
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.7;
}

footer .copyright {
    margin-top: 40px;
    font-size: 0.8rem;
    opacity: 0.5;
    margin-bottom: 0;
}

/* Efekt podkreślenia "markerem" */
.underline-highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.underline-highlight::after {
    content: '';
    position: absolute;
    width: 105%;
    height: 100%;
    background-color: var(--accent-gold);
    bottom: 0;
    left: -2.5%;
    z-index: -1; 
    transform: rotate(-2deg);
    opacity: 0.9;
    clip-path: polygon(0 80%, 100% 90%, 100% 100%, 0 100%);
}


/* --- Responsywność (dla tabletów i telefonów) --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }

    #main-nav .container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        gap: 0; 
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        padding: 5px 10px;
    }

    #o-mnie .container {
        flex-direction: column;
        text-align: center;
    }

    #o-mnie h2 {
        text-align: center;
    }

    .zdjecie-omnie {
        margin-bottom: 30px;
        max-width: 250px;
    }

    #pomoc .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Oś czasu na mobile */
    .timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-item {
        width: 100%;
        max-width: 400px;
    }

    .timeline-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    body { font-size: 16px; }
    h1 { font-size: 2.2rem; }
    
    #pomoc .grid {
        grid-template-columns: 1fr;
    }
}