/* === Reset + Podstawy === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}



/* === Klasy narzędziowe === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}


/* === Nagłówek i Nawigacja === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0e1d34;
  padding: 20px 0;
  color: #fff;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* opcjonalnie: cień pod headerem */
}


nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo a {
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffc107;
}

/* === Sekcja O nas === */
.onas-grid {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid #eee;
}

.onas-text {
  font-size: 15.5px;
  color: #444;
  line-height: 1.7;
  text-align: justify;
}

.onas-text p {
  margin-bottom: 18px;
}

.onas-text strong {
  font-weight: 600;
  color: #111;
}

.onas-text h4 {
  margin-top: 24px;
  font-size: 16.5px;
  color: #0e1d34;
  font-weight: 600;
}

.onas-text p:last-child {
  margin-bottom: 0;
}




/* === Hero Section === */
.hero {
  background: linear-gradient(135deg, #0b1a3c, #142850);
  color: #fff;
  text-align: center;
  padding: 150px 20px 120px 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 69px 0px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 40px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 50px;
  color: #e0e0e0;
}

.hero-btn {
  background-color: #ffc107;
  color: #0b1a3c;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
}

.hero-btn:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}


/* === Sekcja „Dlaczego my” === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  font-size: 18px;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* === Oferta / Lista usług === 
.oferta-lista {
  margin-top: 50px;
  text-align: center;
}

.oferta-lista h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0e1d34;
}

.oferta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.oferta-grid li {
  background: #f4f4f4;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  transition: background 0.3s;
}

.oferta-grid li:hover {
  background: #fff8e1;
}*/



/* === Sekcja Cennik – UPIĘKSZONA WERSJA === */
.cennik-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 40px;
  margin-top: 60px;
  justify-items: center;
  align-items: stretch;
}

.cennik-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.cennik-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.cennik-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0e1d34;
  line-height: 1.4;
}

.cennik-card .price {
  font-size: 18px;
  font-weight: 700;
  color: #00b894;
  margin-bottom: 16px;
  white-space: pre-line;
}

.cennik-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.6;
}

.cennik-card p:last-of-type {
  margin-bottom: 24px;
}

.zamow-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #00c6a7;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 60px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 100%;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

.zamow-btn:hover {
  background-color: #009e86;
  transform: translateY(-2px);
}

.cennik-info {
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
  color: #777;
  padding: 0 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


/* === Opinie klientów === */
.opinie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 30px 0;
  justify-items: center;
}

.opinie-grid img {
  width: 100%;
  max-width: 300px;
  height: 400px;
  object-fit: contain;
  background-color: #080404;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}








.opinie-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* Ukryte opinie */
.hidden-opinia {
  display: none;
}

/* Przycisk „Pokaż więcej” */
.opinie-buttons {
  text-align: center;
  margin-top: 20px;
}

.opinie-buttons button {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  background-color: #0e1d34;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.opinie-buttons button:hover {
  background-color: #142850;
}


/* === Sekcja Kontakt === */
.kontakt-section {
  background-color: #f9f9f9;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  transition: 0.3s;
  font-family: inherit;
}

#contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #0e1d34;
  box-shadow: 0 0 6px rgba(14, 29, 52, 0.3);
  outline: none;
}

/* Przycisk „Wyślij” */
#contact-form button {
  background: #0e1d34;
  color: #fff;
  padding: 15px;
  font-size: 18px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
}

#contact-form button:hover {
  background: #142850;
}

/* Styl dla listy plików */
#file-list {
  font-size: 14px;
  color: #333;
  padding: 5px 10px;
}

/* Styl komunikatów (sukces / błąd) */
#form-message {
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
}

/* Informacje kontaktowe */
.kontakt-info {
  margin-top: 40px;
  text-align: center;
  font-size: 16px;
}

.kontakt-info a {
  color: #0e1d34;
  font-weight: 600;
  text-decoration: none;
}

.kontakt-info a:hover {
  text-decoration: underline;
}

footer {
  background-color: #0e1d34;
  color: #fff;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #ccc; /* albo cień */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}


footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}



/* Domyślnie ukrywamy burgera na desktop */
.burger {
  display: none;
}


/* === MOBILE FIRST - do 480px === */
@media (max-width: 480px) {
  nav {
    background-color: #0b2244;
    padding: 10px 15px;
  }

  nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .logo a {
    color: white;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    background-color: #0b2244;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul li a {
    color: white;
    text-decoration: none;
  }

  nav.open .container {
  flex-direction: column;
  align-items: flex-start;
}

nav.open ul {
  width: 100%;
}


  .burger {
    display: block;
    cursor: pointer;
  }

  .burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
  }

  .hero h1 {
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.4;
    margin: 30px 20px 20px;
  }
  .hero p {
    font-size: 1rem;
    text-align: center;
    margin: 0 20px 30px;
    line-height: 1.6;
  }

  .hero .cta-button {
    display: block;
    margin: 0 auto 40px;
    padding: 15px 25px;
    font-size: 1rem;
  }
}


/* === ŚREDNIE TELEFONY: 481px–767px === */
@media (min-width: 481px) and (max-width: 767px) {
  nav {
    background-color: #0b2244;
    padding: 15px 25px;
  }

  nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo a {
    font-size: 1.2rem;
    white-space: nowrap;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 12px;
    background-color: #0b2244;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
  }

  nav.open .container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav.open ul {
    width: 100%;
  }

  .burger {
    display: block;
    cursor: pointer;
  }

  .burger div {
    width: 28px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.4;
    margin: 35px 25px 25px;
  }

  .hero p {
    font-size: 1.05rem;
    text-align: center;
    margin: 0 25px 35px;
    line-height: 1.6;
  }

  .hero .cta-button {
    display: block;
    margin: 0 auto 45px;
    padding: 16px 28px;
    font-size: 1.05rem;
  }
}



/* === TABLETY: 768px–1023px === */
@media (min-width: 768px) and (max-width: 1023px) {
  /* === MENU === */
  nav {
    background-color: #0b2244;
    padding: 20px 30px;
  }

  nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .logo a {
    font-size: 1.4rem;
    white-space: nowrap;
    color: white;
    text-decoration: none;
  }

  nav ul {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: transparent;
    flex-grow: 1;
  }

  nav ul li a {
    color: white;
    font-size: 1.05rem;
    text-decoration: none;
    white-space: nowrap;
  }

  .burger {
    display: none !important;
  }

  /* === OPINIE === */
  .opinie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 20px;
    margin-top: 40px;
    justify-items: center;
  }

  .opinia-box {
    background-color: #000;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .opinia-box img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
  }

  /* === HERO === */
  .hero h1 {
    font-size: 2rem;
    text-align: center;
    margin: 40px 30px 20px;
    line-height: 1.4;
  }

  .hero p {
    font-size: 1.1rem;
    text-align: center;
    margin: 0 30px 35px;
    line-height: 1.7;
  }

  .hero .hero-btn {
    display: inline-block;
    margin: 0 auto 50px;
    padding: 18px 32px;
    font-size: 1.1rem;
    text-align: center;
  }
}

.seo-link {
  all: unset;
  color: blue;
  cursor: pointer;
  text-decoration: underline;
}