/* =========================================
   RESET & TYPOGRAFIA
========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: #f7f8fa;
  color: #222;
  line-height: 1.6;
  font-size: 17px;
}

/* =========================================
   KOLORY I MOTYW
========================================= */

:root {
  --primary: #1e4b8f;
  --primary-dark: #163a6d;
  --accent: #0a84ff;
  --bg-light: #ffffff;
  --bg-dark: #0f1115;
  --text-dark: #222;
  --text-light: #f1f1f1;
  --card-shadow: rgba(0, 0, 0, 0.08);
}

/* DARK MODE */
body.dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

body.dark .card {
  background: #1a1d23;
  color: var(--text-light);
  box-shadow: none;
}

body.dark header,
body.dark footer {
  background: #14161a;
}

/* =========================================
   HEADER
========================================= */

header {
  background: var(--bg-light);
  padding: 15px 25px;
  box-shadow: 0 2px 10px var(--card-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 55px;
}

.contact-mini {
  text-align: right;
  font-size: 14px;
}

.main-nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin-top: 10px;
}

.main-nav a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  transition: 0.3s;
}

.main-nav a:hover {
  color: var(--accent);
}

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

.hero {
  background: linear-gradient(135deg, #1e4b8f, #163a6d);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero ul {
  list-style: none;
  margin: 20px 0;
}

.hero li {
  margin: 5px 0;
}

.hero-cta a {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  background: white;
  color: #1e4b8f;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.hero-cta a:hover {
  background: #e6e6e6;
}

/* =========================================
   SEKCJE
========================================= */

.section-title {
  font-size: 32px;
  margin: 60px 0 20px;
  text-align: center;
  color: var(--primary-dark);
}

/* =========================================
   OFERTA – KAFELKI
========================================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding: 20px;
}

.card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px var(--card-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

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

/* =========================================
   OPISY USŁUG
========================================= */

.service-section {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease;
}

.service-section h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.service-section ul {
  margin-top: 15px;
  padding-left: 20px;
}

/* Fade-in animacja */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   BLOK SEO
========================================= */

.section-offer-seo {
  background: #eef3f8;
  padding: 50px 20px;
  margin-top: 40px;
}

body.dark .section-offer-seo {
  background: #1a1d23;
}

/* =========================================
   KONTAKT
========================================= */

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px;
  justify-content: center;
}

.contact-graphic img {
  width: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--card-shadow);
}

.contact-form {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--card-shadow);
  width: 100%;
  max-width: 450px;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: var(--primary-dark);
}

/* =========================================
   STOPKA
========================================= */

footer {
  background: var(--primary-dark);
  color: white;
  padding: 25px;
  text-align: center;
  margin-top: 40px;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

/* =========================================
   RESPONSYWNOŚĆ
========================================= */

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .contact-graphic img {
    width: 100%;
  }
}
