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

/* ===== GLOBAL ===== */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f1f3f5;
  color: #222;
  line-height: 1.7;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
header {
  background: #ffffff;
  border-bottom: 3px solid #ff6b35;
  padding: 20px 0;
}

header h1 {
  color: #ff6b35;
  font-size: 24px;
}

/* ===== NAVIGATION ===== */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #222;
  font-weight: bold;
  transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: #ff6b35;
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 0;
}

/* ===== FOOTER ===== */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
}

/* ===== TYTUŁY STRON ===== */
section h2 {
  color: #ff6b35;
  margin-bottom: 20px;
}

/* ===== ARTYKUŁ BLOGOWY ===== */
article {
  max-width: 800px;
  margin-top: 40px;
}

article h2 {
  font-size: 32px;
  margin-bottom: 30px;
  line-height: 1.3;
}

article h3 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #ff6b35;
}

article p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* ===== ZDJĘCIE W ARTYKULE ===== */
.article-image {
  width: 100%;
  margin: 30px 0 40px 0;
  border-radius: 6px;
}

/* ===== KAFELKI BLOGA ===== */
.blog-card {
  background: #ffffff;
  padding: 30px;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.blog-card h3 {
  color: #ff6b35;
  margin-bottom: 15px;
  font-size: 22px;
}

.blog-card p {
  font-size: 17px;
  margin-bottom: 20px;
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.blog-button {
  display: inline-block;
  background: #ff6b35;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.blog-button:hover {
  background-color: #e85d2f;
  transform: translateY(-1px);
}

/* ===== CTA POD ARTYKUŁEM – FINALNY KAFEL ===== */
.article-cta {
  display: block;
  margin: 120px 0 40px 0;
  padding: 50px;
  background-color: #fff4ee;
  border: 3px solid #ff6b35;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(0,0,0,0.15);
}

.article-cta h3 {
  font-size: 26px;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.4;
}

.article-cta p {
  font-size: 18px;
  margin: 0 auto 35px auto;
  max-width: 620px;
}

.article-cta .cta-button {
  display: inline-block;
  background: #111;
  color: #ffffff;
  padding: 16px 34px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.article-cta .cta-button:hover {
  background: #000;
  transform: translateY(-2px);
}
/* ===== HERO ===== */

.hero {
  padding: 120px 0 140px 0;
  background: linear-gradient(180deg, #f1f3f5 0%, #ffffff 100%);
}

.hero-content {
  max-width: 820px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #222;
}

.hero-subtitle {
  font-size: 20px;
  max-width: 700px;
  margin-bottom: 45px;
}

/* ===== HERO BUTTONS ===== */

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  padding: 16px 34px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

/* PRIMARY CTA – TERAZ */

.hero-btn-primary {
  background: #ff6b35;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(255, 107, 53, 0.35);
}

.hero-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(255, 107, 53, 0.45);
  animation: heroShake 0.4s ease-in-out;
}

/* SECONDARY CTA – BLOG */

.hero-btn-secondary {
  background: #222;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.hero-btn-secondary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  animation: heroShake 0.4s ease-in-out;
}

/* ===== DELIKATNE DRŻENIE (bez rozmycia tekstu) ===== */

@keyframes heroShake {
  0% { transform: translateY(-4px) translateX(0); }
  25% { transform: translateY(-4px) translateX(-2px); }
  50% { transform: translateY(-4px) translateX(2px); }
  75% { transform: translateY(-4px) translateX(-1px); }
  100% { transform: translateY(-4px) translateX(0); }
}

