/* Reset podstawowych styli */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #475569;
    background-color: #fafafa;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   RESPONSYWNE MENU GÓRNE (NAVBAR)
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    text-decoration: none;
}

.nav-logo span {
    color: #3b82f6;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #3b82f6;
}

.nav-cta {
    background-color: #dcfce7;
    color: #166534 !important;
    padding: 8px 16px;
    border-radius: 0; /* Brak zaokrągleń przycisku */
    transition: background-color 0.2s;
}

.nav-cta:hover {
    background-color: #bbf7d0;
}

.nav-cta-secondary {
    color: #2563eb !important;
    font-size: 14px;
}

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 10px; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block; background: #475569; height: 2px; width: 24px; position: relative; transition: all 0.2s ease-out;
}
.nav-toggle-label span::before { top: 7px; }
.nav-toggle-label span::after { top: -7px; }

@media screen and (max-width: 900px) {
    .nav-toggle-label { display: block; }
    .nav-menu {
        position: absolute; top: 70px; left: 0; width: 100%; background: #ffffff;
        flex-direction: column; gap: 0; max-height: 0; overflow: hidden;
        transition: max-height 0.3s ease-out; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    .nav-menu li { width: 100%; text-align: center; border-bottom: 1px solid #f1f5f9; }
    .nav-menu a { display: block; padding: 18px; width: 100%; }
    .nav-cta { border-radius: 0; }
    .nav-toggle:checked ~ .nav-menu { max-height: 400px; }
    .nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
    .nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(-45deg); top: 0; }
    .nav-toggle:checked ~ .nav-toggle-label span::after { transform: rotate(45deg); top: 0; }
}

/* ==========================================================================
   SEKCJA NAGŁÓWKOWA (HERO) ZE ZDJĘCIEM W TLE
   ========================================================================== */
.hero {
    position: relative;
    background-image: url('p-8082324.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    text-align: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 19px;
    max-width: 800px;
    margin: 0 auto;
    color: #f1f5f9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   POZOSTAŁE SEKCJE
   ========================================================================== */
.section-title {
    text-align: center;
    font-size: 26px;
    color: #0f172a;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Dlaczego my */
.features { padding: 60px 0; background-color: #ffffff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-item { 
    background: #f8fafc; 
    padding: 25px; 
    border-radius: 0; /* Proste rogi */
    border-top: 4px solid #cbd5e1; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.02); 
}
.feature-item h3 { font-size: 18px; color: #0f172a; margin-bottom: 12px; font-weight: 700; }

/* Zakres Usług */
.services { padding: 60px 0; }
.cards-container { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.card {
    flex: 1; min-width: 290px; max-width: 360px; background: #ffffff; 
    border-radius: 0; /* Proste rogi */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); overflow: hidden; display: flex; flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease; border: 1px solid #f1f5f9;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06); }
.card-image { width: 100%; height: 190px; object-fit: cover; border-radius: 0; }
.card-header { padding: 18px; font-size: 19px; font-weight: bold; text-align: center; color: #1e293b; }
.card-blue .card-header { background-color: #e0f2fe; }
.card-sage .card-header { background-color: #dcfce7; }
.card-sand .card-header { background-color: #fef3c7; }
.card.featured { border: 1px solid #bbf7d0; }
.card-body { padding: 24px; flex-grow: 1; }
.card-body ul { list-style-type: none; }
.card-body li { margin-bottom: 12px; font-size: 15px; }
.card-subtitle { margin-bottom: 16px; font-weight: bold; color: #1e293b; }

/* Krok po kroku */
.steps { padding: 60px 0; background-color: #ffffff; }
.steps-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; margin-top: 20px; }
.step-box { 
    padding: 25px; 
    background: #f8fafc; 
    border-radius: 0; /* Proste rogi */
    border: 1px solid #f1f5f9; 
}
.step-number { font-size: 32px; font-weight: 800; color: #94a3b8; margin-bottom: 5px; opacity: 0.7; }
.step-box h4 { font-size: 17px; margin-bottom: 8px; color: #0f172a; font-weight: 700; }

/* Kontakt na dole */
.footer-contact { background: linear-gradient(180deg, #f0fdf4 0%, #e0f2fe 100%); padding: 60px 0 20px 0; border-top: 1px solid #e2e8f0; }
.contact-lead { text-align: center; max-width: 600px; margin: -20px auto 40px auto; font-size: 16px; color: #475569; }
.contact-details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; margin-bottom: 50px; }
.contact-card { 
    background: #ffffff; 
    padding: 30px 20px; 
    text-align: center; 
    border-radius: 0; /* Proste rogi */
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); 
    border: 1px solid #f1f5f9; 
}
.contact-icon { font-size: 32px; display: block; margin-bottom: 10px; }
.contact-card h4 { font-size: 18px; color: #0f172a; margin-bottom: 10px; }
.contact-card p a { color: #2563eb; text-decoration: none; font-weight: 700; font-size: 18px; }
.contact-card p a:hover { text-decoration: underline; }
.contact-card p { font-size: 18px; font-weight: 600; color: #334155; }
.contact-card small { display: block; margin-top: 5px; color: #94a3b8; }
.footer-bottom { text-align: center; border-top: 1px solid #cbd5e1; padding-top: 20px; font-size: 14px; color: #64748b; }
