html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #333; /* Ciemniejszy tekst dla lepszej czytelności */
    background: #f0f2f5; /* Bardzo jasny, subtelny szary */
    position: relative; /* Dla tła obrazka */
}

/* Nowe tło - szkic projektowy */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('tlo-szkic.jpg'); /* Twoje nowe tło */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.4; /* Możesz zwiększyć do 0.6 jeśli chcesz wyraźniejszy szkic */
    z-index: -1;
}


/* Nawigacja */
nav {
    background: rgba(255, 255, 255, 0.95); /* Prawie białe, lekko przezroczyste */
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1200px; /* Szersze menu */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
}

.logo img {
    height: 80px; /* Dopasowana wysokość logo */
    width: auto;
    display: block;
}

nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
nav ul li { margin-left: 25px; }

nav ul li a {
    text-decoration: none;
    color: #2c3e50; /* Ciemny granat z logo */
    font-weight: 600;
    transition: 0.3s ease;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after { /* Animowana linia pod linkiem */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #3498db; /* Błękit z logo */
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after { width: 100%; }
nav ul li a:hover { color: #3498db; } /* Błękit z logo na hover */

/* Nagłówek */
header {
    padding: 6rem 0 4rem;
    text-align: center;
    color: #2c3e50; /* Ciemny granat */
    background: rgba(255,255,255,0.7); /* Lekko białe tło pod tekstem nagłówka dla czytelności */
    margin-bottom: 3rem;
}

h1 { font-size: 3rem; margin-bottom: 0.8rem; color: #1a2a3a; /* Jeszcze ciemniejszy odcień */ }
header p { font-size: 1.2rem; font-weight: 300; }

/* Kontener i sekcje */
.container { max-width: 1000px; margin: 2rem auto; padding: 0 20px; }

section {
    background: rgba(255, 255, 255, 0.9); /* Lekka przezroczystość, by tło przebijało pod spodem */
    padding: 3.5rem 2.5rem;
    margin-bottom: 3rem;
    border-radius: 15px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.05);
}

h2 {
    color: #2c3e50; /* Ciemny granat */
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Oferta w formie kafelków */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 25px;
    text-align: center;
}

.offer-item {
    background: #f8faff; /* Bardzo jasny błękitny */
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
    transition: 0.3s ease;
    font-weight: 600;
    color: #4a6fa5;
}

.offer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15); /* Niebieski cień */
    color: #2c3e50;
}

/* Formularz */
form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
input, textarea {
    padding: 15px;
    border: 1px solid #d0d7e0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #3498db; /* Błękit z logo */
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

button {
    background: #3498db; /* Błękit z logo */
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: 0.3s ease;
}
button:hover {
    background: #2980b9; /* Ciemniejszy błękit */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Stopka */
footer {
    text-align: center;
    padding: 2.5rem;
    font-size: 0.9rem;
    color: #777;
    background: #f0f2f5;
    border-top: 1px solid #e0e0e0;
}

/* Animacja pojawiania się sekcji */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Style dla mapy - ZAKTUALIZOWANE */
.map-container {
    width: 100%;
    max-width: 700px; /* Nieco mniejsza, żeby lepiej wyglądała */
    margin: 2rem auto;
    border: 2px solid #3498db; /* Niebieska ramka pasująca do Twojego logo */
    border-radius: 15px; /* Zaokrąglone rogi jak w reszcie sekcji */
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
    padding: 10px; /* Margines wewnętrzny, żeby mapa nie dotykała ramek */
}

.map-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px; /* Zaokrąglenie samego obrazka wewnątrz */
}

.map-note {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 1rem;
    font-size: 0.9rem;
}
/* Ikony w ofercie */
.offer-item i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
    display: inline-block;
}

/* Poprawka responsywności */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }

    h1 { font-size: 2rem; }
    
    section { padding: 2rem 1.5rem; }
}