* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: url('background.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: #333;
    display: flex;
    flex-direction: column;
}

/* =====================
   KONTAINER – BEZPIECZNIE SZERSZY
===================== */
.container {
    max-width: 880px;   /* MNIEJ niż 1320 – stabilnie */
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================
   HEADER & MENU
===================== */
header {
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 240px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 26px;
    flex-wrap: wrap; /* 🔴 KLUCZ – menu się NIE rozwali */
}

nav a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 1.10rem;   /* POWIĘKSZONE, ALE BEZPIECZNE */
}

nav a:hover,
nav a.active {
    color: #fff;
    font-weight: 700;
}

/* =====================
   HERO
===================== */
.hero {
    padding-bottom: 90px;
    color: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px; /* COFNIĘTE */
}

.hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.hero-image img {
    max-width: 580px; /* COFNIĘTE */
    width: 100%;
}

/* =====================
   USŁUGI
===================== */
.services {
    padding-bottom: 80px;
    margin-top: -40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.card {
    background: white;
    padding: 42px 36px; /* WIĘCEJ, ALE STABILNIE */
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.icon-box {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #2b7de9;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: #002b5c;
}

.card p {
    font-size: 0.95rem;   /* +2 */
    line-height: 1.7;
    color: #666;
    max-width: 360px;     /* 🔴 WRACA OPTYKA */
    margin: 0 auto;
}

/* =====================
   FOOTER
===================== */
footer {
    background: #00122b;
    color: rgba(255,255,255,0.7);
    padding: 30px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {

    nav a {
        font-size: 1.3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        padding: 32px 24px;
    }
}
.btn-cta {
    display: inline-flex;           /* 🔴 WAŻNE */
    align-items: center;
    gap: 10px;

    background-color: #ff8c00;
    color: white;

    padding: 13px 30px;              /* lekko mniejszy */
    border-radius: 8px;

    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;              /* było 1.1 */

    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    transition: transform 0.2s, background-color 0.2s;
}

.btn-cta:hover {
    background-color: #e67e00;
    transform: translateY(-2px);
}
