:root {
  --brand-orange: #f37c20;
  --brand-bg: #f5f5f5; /* kolor tła jak w logo */
  --text: #2b2f33;
  --muted: #6c737a;
  --card: #f6f7f8;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
    background: linear-gradient(320deg, #0a0a0a4f 5%, #ffffff 60%);
  line-height: 1.6;
}
.container { width: min(1000px, 92vw); margin: 0 auto; }

html {
  scroll-behavior: smooth;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--brand-bg);
  border-bottom: 3px solid #ddd;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0;
  gap: 20px;
}
.main-logo { height: 90px; margin-top: 3px;}

.nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    padding: 0 1rem;
}

/* --- Przyciski zmniejszone, delikatna poświata --- */
.nav a {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #f37c20 0%, #ffb347 100%);
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 4px rgba(243, 124, 32, 0.4), 0 2px 8px rgba(243, 124, 32, 0.2);
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    padding: clamp(0.3rem, 0.6vw, 0.45rem) clamp(0.6rem, 1.5vw, 1rem);
}

.nav a::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    transform: rotate(45deg) scale(0);
    transition: transform 0.45s ease;
    border-radius: 50%;
}

.nav a:hover::before {
    transform: rotate(45deg) scale(1);
}

.nav a:hover {
    transform: translateY(-1.5px) scale(1.01);
    box-shadow: 0 0 6px rgba(243, 124, 32, 0.5), 0 3px 12px rgba(243, 124, 32, 0.3);
    opacity: 1;
}

.nav a:active {
    transform: scale(0.95);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Hero */
.hero { background: #fafafa; border-bottom: 1px solid #eee; }
.hero-inner { padding: 3rem 0; }
.hero h1 { font-size: 2.2rem; margin: 0 0 .5rem; }
.hero p { max-width: 90ch; color: var(--muted); }


/* Sections */
.section { padding: 2rem 0; }
.section h2 { margin-top: 0; font-size: 1.6rem; }
.features { padding-left: 1rem; }
.features li { margin: .4rem 0; }

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* --- Karty --- */
.card {
    background: linear-gradient(135deg, #f6f7f8 0%, #e9ecef 100%);
    border: 1px solid #d1d3d4;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.card h3 {
    margin-top: 0;
    font-size: 1.25rem;
    color: var(--text);
}

/* --- Efekt hover --- */
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f6f7f8 100%);
}

/* --- Drobne ulepszenia tekstu i paddingu --- */
.card p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 90%;
}
.card ul li {
    color: var(--text);
    line-height: 1.6;
    font-size: 90%;
    list-style-position: inside;
}

/* Kontakt */
.contact {
  border-left: 4px solid var(--brand-orange);
  padding-left: 1rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: #101214;
  color: #cdd3d8;
  padding: 1.2rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-about img { display: block; margin-bottom: .4rem; }
.footer-details { font-size: .95rem; color: #98a1a9; }


/* wstawka */
#oferta {
  background: linear-gradient(135deg, var(--brand-orange) 30%, #ffa550 100%);
  color: #231213;
  padding: 3rem 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

#oferta h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

#oferta .features {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

#oferta .features li {
  background: rgba(255,255,255,0.1);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}

#oferta .features li:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.2);
}

@keyframes bounce-seq {

    0%,
    70%,
    100% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(-10px);
    }
}

#oferta .features li {
    animation: bounce-seq 6s ease-in-out infinite;
    /* wydłużony, spokojny cykl */
}

/* indywidualne opóźnienia dla falowego efektu */
#oferta .features li:nth-child(1) {
    animation-delay: 0s;
}

#oferta .features li:nth-child(2) {
    animation-delay: 2s;
}

#oferta .features li:nth-child(3) {
    animation-delay: 4s;
}

@media (max-width: 768px) {
    .header-inner {
        display: flex;
        flex-direction: column;
        /* logo nad menu */
        align-items: center;
        /* wycentrowanie */
    }

    .nav {
        display: flex;
        /* poziome przyciski w jednej linii */
        flex-wrap: wrap;
        /* w razie braku miejsca przejdzie do nowego wiersza */
        gap: 8px;
        /* odstęp między przyciskami */
        margin-top: 10px;
        /* odstęp od logo */
    }

    .nav a {
        display: inline-block;
        padding: 5px 12px;
        /* rozmiar przycisku */
        font-size: 14px;
        /* mniejsze litery */
        /* kolor przycisku */
        color: white;
        border-radius: 5px;
        /* zaokrąglone rogi */
        text-decoration: none;
        text-align: center;
        transition: background-color 0.3s;
    }

    .nav a:hover {
        /* efekt po najechaniu */
    }
}
a {
    color: #000000;
    /* pełna czerń */
    text-decoration: underline;
}

a:hover {
    color: #000000;
    /* nadal czarne przy hoverze */
    opacity: 0.65;
    /* delikatny efekt przy najechaniu */
}

.lista-bez-wciecia {
    padding-left: 0;
    /* usuwa wcięcie od lewej */
    margin-left: 0;
    /* usuwa dodatkowy margines */
    list-style-position: inside;
    /* kropki wewnątrz elementu, przylegają do tekstu */
}

.dosw-inner.container {
    background-color: transparent;
}

.dosw-section {
    background-color: transparent;
    padding: 4rem 1rem;
    width: 100%;
}

.dosw-inner {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.dosw-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.137);
}

.dosw-inner h2 {
    margin-top: 0;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.dosw-inner p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1rem;
}

.dosw-inner p.highlight {
    font-weight: 600;
    color: var(--brand-orange);
}

/* --- Responsywność dla telefonów --- */
@media (max-width: 640px) {
    .dosw-section {
        padding: 3rem 1rem;
        /* mniej paddingu na małym ekranie */
    }

    .dosw-inner {
        padding: 2rem 1rem;
        /* dopasowanie paddingu */
        border-radius: 12px;
        /* lekko mniejsze zaokrąglenie */
    }

    .dosw-inner h2 {
        font-size: 1.5rem;
        /* mniejszy tytuł */
    }

    .dosw-inner p {
        font-size: 0.95rem;
        /* trochę mniejszy tekst */
        line-height: 1.5;
    }
}
#oferta,
#dosw,
#kontakt,
#o-mnie,
#projekty {
    scroll-margin-top: 250px;
    /* dostosuj do wysokości Twojego nagłówka */
}

@media (max-width: 640px) {

    /* Header mniejszy */
    .header-inner {
        flex-direction: column;
        align-items: center;
        padding: 0.3rem 0;
        /* zmniejszony padding */
        gap: 10px;
        /* mniejszy odstęp między logo a nav */
    }

    /* Logo mniejsze */
    .main-logo {
        height: 60px;
        /* mniejsze logo */
        margin-top: 0;
    }

    /* Menu przyciski mniejsze i bardziej kompaktowe */
    .nav {
        gap: 6px;
        padding: 0 0.5rem;
    }

    .nav a {
        font-size: 0.7rem;
        /* mniejszy tekst */
        padding: 0.25rem 0.6rem;
        /* mniejsze przyciski */
    }
}

.btn-submit {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #f37c20 0%, #ffb347 100%);
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(243, 124, 32, 0.5), 0 3px 12px rgba(243, 124, 32, 0.3);
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    /* większa czcionka */
    padding: clamp(0.5rem, 1vw, 0.8rem) clamp(1rem, 2vw, 1.5rem);
    /* większy przycisk */
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    transform: rotate(45deg) scale(0);
    transition: transform 0.45s ease;
    border-radius: 50%;
}

.btn-submit:hover::before {
    transform: rotate(45deg) scale(1);
}

.btn-submit:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 8px rgba(243, 124, 32, 0.6), 0 4px 15px rgba(243, 124, 32, 0.4);
    opacity: 1;
}

.btn-submit:active {
    transform: scale(0.95);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25);
}

