:root {
    --primary-color: #1a3a5f; /* Elegancki granat */
    --accent-color: #e67e22;  /* Ciepły akcent zachęcający do akcji */
    --bg-light: #f9f9f9;
    --text-dark: #333;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { font-size: 24px; font-weight: bold; color: var(--primary-color); }
.logo span { color: var(--accent-color); }

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 30px; }
nav ul li a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: 0.3s; }
nav ul li a:hover { color: var(--accent-color); }

.hero {
    display: flex;
    align-items: center;
    padding: 60px 10%;
    background: var(--bg-light);
}

.hero-content { flex: 1; }
.hero-content h1 { font-size: 3rem; color: var(--primary-color); line-height: 1.2; }
.hero-content h1 span { color: var(--accent-color); }

.hero-image { flex: 1; text-align: right; }
.hero-image img { width: 50%; border-radius: 20px; box-shadow: 20px 20px 60px #d9d9d9; height: auto;}


.btn-cta {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 25px;
    transition: transform 0.3s;
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4); }

section { padding: 80px 10%; }
h2 { text-align: center; color: var(--primary-color); margin-bottom: 40px; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-card { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 5px solid var(--primary-color); }

.contact { display: flex; gap: 50px; background: var(--primary-color); color: white; }
.contact h2, .contact h3 { color: white; text-align: left; }
.placeholder-map { background: #e0e0e0; height: 300px; width: 100%; display: flex; align-items: center; justify-content: center; color: #666; border-radius: 10px; }

footer { text-align: center; padding: 20px; background: #111; color: #777; font-size: 0.9rem; }

@media (max-width: 768px) {
    .hero, .contact { flex-direction: column; text-align: center; }
    .hero-image { order: -1; margin-bottom: 30px; }
}

/* --- OPTYMALIZACJA MOBILNA --- */

@media (max-width: 768px) {
    /* Nawigacja: układ pionowy i wyśrodkowany */
    nav {
        flex-direction: column;
        padding: 15px;
    }

    nav ul {
        padding: 0;
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    /* Hero Section: Tekst na górze, obraz pod spodem (lub odwrotnie) */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }

    .hero-content h1 {
        font-size: 2rem; /* Mniejszy nagłówek na telefonie */
    }

    .hero-image {
        margin-top: 30px;
        width: 100%;
        text-align: center;
    }

    .hero-image img {
        width: 85%; /* Na mobile obraz może być nieco większy niż na desktopie */
        max-width: 300px; /* Ale nie za duży */
    }

    /* Sekcje: mniejsze odstępy boczne */
    section {
        padding: 50px 7%;
    }

    /* Usługi: każda karta zajmuje całą szerokość */
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* Kontakt: układ pionowy */
    .contact {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info {
        text-align: center;
    }

    /* Przyciski: większe i łatwiejsze do kliknięcia kciukiem */
    .btn-cta {
        width: 100%;
        box-sizing: border-box;
    }
}
