/* ================== RESET & BAZA ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #e8f5e9;
  text-align: center;
}

h1, h2, h3 {
  margin-bottom: 15px;
  font-weight: 700;
}

/* ================== HEADER & MENU ================== */
header {
  background-color: #43a047;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.logo {
  height: 100px;
  display: block;
  width: auto;
}

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

.menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 600;
  transition: background 0.25s, transform 0.2s;
}

.menu a:hover {
  background-color: #2e7d32;
  transform: scale(1.05);
}

.highlight {
  background-color: #2e7d32;
  font-weight: 700;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #2e7d32;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  min-width: 260px;
  text-align: left;
  padding: 10px 0;
  z-index: 200;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  transition: background 0.2s;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: #1b5e20;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

/* ================== HERO ================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #e0f7e9, #c8f7d1);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  -webkit-text-stroke: 1px #2e7d32;
  color: #1b5e20;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  max-width: 280px;
  width: 100%;
}

/* ================== KARTY ================== */
.cards {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.cards.one-line {
  flex-wrap: nowrap;
  justify-content: space-between;
}

.card {
  flex: 1;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-icon {
  height: 60px;
  margin-bottom: 15px;
}

/* ================== FAQ ================== */
.faq-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.faq-list li {
  margin-bottom: 15px;
}

/* ================== PRZYCISKI ================== */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  background: #388e3c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #2e7d32;
}

.btn-large {
  font-size: 1.2rem;
  padding: 15px 30px;
}

.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

/* ================== ANIMACJE ================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ================== FORMULARZ ================== */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.order-form label {
  font-weight: 600;
}

.order-form input,
.order-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  transition: border 0.2s ease;
}

.order-form input:focus,
.order-form textarea:focus {
  outline: none;
  border-color: #388e3c;
  box-shadow: 0 0 5px rgba(56,142,60,0.3);
}

/* ================== SCREENSHOT ================== */
.screenshot-section {
  text-align: center;
}

.phone-frame {
  display: inline-block;
  padding: 15px;
  background: #111;
  border-radius: 30px;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.2), 0 8px 20px rgba(0,0,0,0.5);
  max-width: 320px;
}

.phone-frame img.screenshot {
  display: block;
  width: 100%;
  border-radius: 20px;
}

/* ================== STOPKA ================== */
footer {
  padding: 20px;
  background: #2e7d32;
  color: white;
  margin-top: 40px;
}

/* ================== BLOG ================== */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto;
  text-align: left;
}

.blog-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.blog-card:hover { transform: translateY(-5px); }

.blog-card img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.blog-info h2 a {
  color: #1b5e20;
  text-decoration: none;
}

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

.blog-info p { margin-top: 10px; color: #555; }

.blog-article {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}

.blog-article .blog-image {
  flex: 0 0 350px;
  max-width: 350px;
}

.blog-article .blog-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.blog-article .blog-content { flex: 1; }

.blog-article h1 { margin-bottom: 15px; color: #1b5e20; }

.blog-article p { margin-bottom: 15px; line-height: 1.7; }

/* ================== PROMOCJA ================== */
section.promo-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: transparent;
  margin: 20px 0;
  width: 100%;
}

.promo-banner .promo-tile {
  display: inline-block;
  background-color: #ff0000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 15px 25px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255,0,0,0.5);
  text-align: center;
  animation: promo-blink 1.2s infinite;
  position: relative;
  z-index: 10;
}

@keyframes promo-blink {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.7; transform:scale(1.05); }
}

/* ================== RESPONSYWNOŚĆ ================== */
@media (max-width: 1024px) {
  .hero-content { flex-direction: column-reverse; text-align: center; }
  .hero-text { text-align: center; }
  .cards.one-line { flex-wrap: wrap; }
  .card { flex: 1 1 45%; }
  .nav-container { justify-content: space-between; }
  .blog-card img { width: 250px; }
}

@media (max-width: 768px) {
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; }
  .card { flex: 1 1 100%; }
  .menu { flex-direction: column; gap: 10px; }
  .dropdown-menu { position: static; box-shadow: none; }
  .blog-card { flex-direction: column; text-align: center; padding: 15px; }
  .blog-card img { width: 100%; height: auto; margin-bottom: 15px; }
  .promo-banner .promo-tile { font-size: 1.1rem; padding: 12px 18px; }
}

@media (max-width: 480px) {
  .logo { height: 150px; margin-bottom: 10px; }
  .hero-text h1 { font-size: 1.6rem; }
  .hero-text p { font-size: 0.9rem; }
  .hero-content { gap: 30px; }
  .promo-banner .promo-tile { font-size: 1rem; padding: 10px 15px; line-height: 1.4; }
}

/* ================== BLOG - MOBILNE ZDJĘCIA ARYKUŁU ================== */
@media (max-width: 768px) {
  .content .blog-image {
    max-width: 80%;        /* zmniejszamy szerokość obrazka */
    margin: 0 auto 20px;   /* centrowanie i odstęp pod obrazkiem */
    display: block;
  }

  .content .blog-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .content .blog-image {
    max-width: 100%;       /* dopasowanie do szerokości kontenera */
  }

  .content .blog-image img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
}
/* ================== SEO - DLACZEGO WARTO ================== */
.content-alt {
  background: #fff;
  padding: 60px 20px;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #555;
}

.seo-features {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.seo-feature {
  flex: 1 1 280px;
  max-width: 320px;
  background: #f1f8e9;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.2s;
}

.seo-feature:hover {
  transform: translateY(-5px);
}

.seo-feature img {
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
}

.seo-feature h3 {
  color: #2e7d32;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.seo-feature p {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
}

/* ================== CENNIK ================== */
.cennik-section {
  background: #f1f8e9;
  padding: 60px 20px;
}

.cennik-grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto 25px;
}

.cennik-card {
  flex: 1 1 280px;
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
  transition: transform 0.2s;
  border: 2px solid transparent;
}

.cennik-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.cennik-popular {
  border-color: #43a047;
  box-shadow: 0 6px 20px rgba(67,160,71,0.25);
}

.cennik-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #43a047;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 20px;
}

.cennik-card h3 {
  color: #2e7d32;
  font-size: 1.4rem;
  margin: 15px 0 20px;
}

.cennik-cena {
  margin-bottom: 25px;
}

.cena-kwota {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1b5e20;
}

.cena-waluta {
  font-size: 1.2rem;
  color: #2e7d32;
  margin-left: 2px;
}

.cena-okres {
  display: block;
  font-size: 0.95rem;
  color: #666;
  margin-top: 5px;
}

.cennik-indywidualny .cena-okres {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2e7d32;
}

.cennik-list {
  list-style: none;
  text-align: left;
  margin: 0 0 25px;
  padding: 0;
}

.cennik-list li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: #444;
  border-bottom: 1px solid #eee;
}

.cennik-list li:last-child {
  border-bottom: none;
}

.cennik-note {
  font-size: 1rem;
  color: #2e7d32;
  max-width: 500px;
  margin: 0 auto;
}

/* ================== OPINIE ================== */
.opinie-section {
  padding: 60px 20px;
  background: #fff;
}

.opinie-wrapper {
  overflow: hidden;
  margin: 30px 0;
  padding: 20px 0;
}

.opinie-track {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  padding: 15px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.opinie-track::-webkit-scrollbar {
  display: none;
}

.opinia-card {
  flex: 0 0 350px;
  min-width: 350px;
  background: #f1f8e9;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-align: left;
}

.opinia-stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.opinia-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

.opinia-autor {
  font-size: 0.9rem;
  color: #2e7d32;
  font-weight: 600;
}

@media (max-width: 768px) {
  .opinia-card {
    flex: 0 0 300px;
    min-width: 300px;
  }
  .cennik-card {
    max-width: 100%;
  }
}

/* ================== O NAS ================== */
#about {
  background: #f1f8e9;
  padding: 60px 20px;
  text-align: center;
}

#about h2 {
  color: #2e7d32;
  font-size: 2rem;
  margin-bottom: 20px;
}

#about p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #444;
}

.about-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* responsywne układanie kart */
  justify-content: center;
}

.about-item {
  flex: 1 1 220px; /* minimalna szerokość karty */
  max-width: 280px; /* ograniczenie szerokości na desktop */
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s;
}

.about-item:hover {
  transform: translateY(-5px);
}

.about-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.about-item h3 {
  color: #2e7d32;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.about-item p {
  font-size: 0.95rem;
  color: #444;
}

/* Responsywność O nas */
@media (max-width: 1024px) {
  .about-container {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-item {
    max-width: 90%;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  #about h2 {
    font-size: 1.6rem;
  }

  #about p {
    font-size: 1rem;
  }

  .about-item h3 {
    font-size: 1.1rem;
  }

  .about-item p {
    font-size: 0.9rem;
  }

  .about-item img {
    width: 60px;
    height: 60px;
  }
}

/* ================== HAMBURGER ================== */
.hamburger {
  display: none; /* ukryty na desktopie */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* MOBILE MENU */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #43a047;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
  }

  .menu.show {
    max-height: 500px; /* wystarczająco dużo, by pokazać wszystkie linki */
    padding: 10px 0;
  }

  .menu li {
    width: 100%;
    text-align: center;
  }

  .menu a {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  /* Logo mniejsze na mobile */
  .logo { height: 80px; }

  /* Hero na mobile */
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text p { font-size: 1rem; }
  .hero-image img { max-width: 200px; }

  /* Karty w O nas */
  .about-item { max-width: 90%; margin-bottom: 20px; }
}

/* Animacja hamburgera po kliknięciu */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
