/* ===============================================
   MAGICZNY BŁYSK - STYLE DLA PODSTRONY REALIZACJI
   Specjalne style dla strony realizacji sprzątania generalnego
   =============================================== */

/* Import podstawowych styli z głównego pliku */
:root {
  --primary-color: #4a8eaa;
  --secondary-color: #5cb5d7;
  --accent-color: #b897d8;
  --dark-color: #2d6b8d;
  --light-color: #e5f0f5;
  --text-color: #446a7c;
  --gradient-bg: linear-gradient(135deg, #40b1e5, #9e71c8);
  --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 15px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --border-radius-small: 8px;
  --transition: all 0.3s ease;
}

/* ===============================================
   RESET I PODSTAWOWE STYLE
   =============================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===============================================
   HEADER I NAWIGACJA
   =============================================== */

header {
  background-color: white;
  box-shadow: var(--shadow-light);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  margin-right: 15px;
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* ===============================================
   BREADCRUMB
   =============================================== */

.breadcrumb {
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 120px 0 20px;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  font-size: 0.9rem;
}

.breadcrumb-list li {
  margin-right: 8px;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--primary-color);
}

.breadcrumb-list a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-list a:hover {
  color: var(--dark-color);
}

.breadcrumb-list li:last-child {
  color: var(--text-color);
  font-weight: 600;
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero-section {
  background: var(--gradient-bg);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
  font-size: 1.3rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===============================================
   GŁÓWNY KONTENER ARTYKUŁU
   =============================================== */

.article-container {
  background-color: white;
  margin: 0 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  margin-top: -40px;
  position: relative;
  z-index: 10;
  padding: 50px;
  margin-bottom: 50px;
}

/* ===============================================
   HIGHLIGHT BOX
   =============================================== */

.highlight-box {
  background: linear-gradient(135deg, rgba(74, 142, 170, 0.1), rgba(184, 151, 216, 0.1));
  border-left: 5px solid var(--primary-color);
  padding: 25px;
  margin: 30px 0;
  border-radius: var(--border-radius-small);
  box-shadow: var(--shadow-light);
  position: relative;
}

.highlight-box::before {
  content: "✨";
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  opacity: 0.7;
}

.highlight-box p {
  margin-bottom: 0;
  font-weight: 500;
  font-size: 1.1rem;
}

/* ===============================================
   SZCZEGÓŁY REALIZACJI
   =============================================== */

.realizacja-details {
  margin: 50px 0;
}

.realizacja-details h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.realizacja-details h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.detail-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(74, 142, 170, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-bg);
  transform: scaleX(0);
  transition: var(--transition);
}

.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.detail-card:hover::before {
  transform: scaleX(1);
}

.detail-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.detail-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.detail-card p {
  color: var(--text-color);
  margin-bottom: 0;
}

/* ===============================================
   SEKCJA PRZED I PO
   =============================================== */

.before-after-section {
  margin: 60px 0;
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px;
}

.before-after-section h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.before-after-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

.comparison-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.comparison-photo {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
}

.comparison-photo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.comparison-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.photo-caption {
  padding: 20px;
  text-align: center;
  background: white;
  color: var(--dark-color);
  font-weight: 600;
  font-size: 1.1rem;
  border-top: 3px solid var(--primary-color);
}

/* ===============================================
   ZAKRES PRAC
   =============================================== */

.work-scope-section {
  margin: 50px 0;
}

.work-scope-section h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.work-scope-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

.work-scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.scope-column {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(74, 142, 170, 0.1);
}

.scope-column h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.4rem;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-color);
}

.work-list {
  list-style: none;
}

.work-list li {
  padding: 12px 0;
  position: relative;
  padding-left: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.work-list li:hover {
  padding-left: 35px;
  background-color: rgba(74, 142, 170, 0.02);
}

.work-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.work-list li:last-child {
  border-bottom: none;
}

/* ===============================================
   WYZWANIA
   =============================================== */

.challenges-section {
  margin: 50px 0;
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px;
}

.challenges-section h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.challenges-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.challenge-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(74, 142, 170, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.challenge-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-bg);
  transform: scaleX(0);
  transition: var(--transition);
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.challenge-card:hover::before {
  transform: scaleX(1);
}

.challenge-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.challenge-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.challenge-card p {
  color: var(--text-color);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ===============================================
   OPINIA KLIENTA
   =============================================== */

.testimonial-section {
  margin: 50px 0;
}

.testimonial-section h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.testimonial-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

.testimonial-box {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-light);
  border-left: 5px solid var(--accent-color);
  position: relative;
  transition: var(--transition);
}

.testimonial-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.testimonial-box::before {
  content: '"';
  font-size: 4rem;
  color: rgba(74, 142, 170, 0.1);
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-color);
  position: relative;
  z-index: 2;
}

.testimonial-author {
  text-align: right;
}

.testimonial-author strong {
  color: var(--primary-color);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 5px;
}

.testimonial-author span {
  color: var(--text-color);
  font-size: 0.95rem;
}

/* ===============================================
   TREŚĆ SEO
   =============================================== */

.seo-content {
  margin: 50px 0;
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px;
}

.seo-content h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.seo-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.seo-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.seo-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.seo-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.seo-item p {
  margin-bottom: 0;
  color: var(--text-color);
}

.seo-content > p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===============================================
   CALL TO ACTION
   =============================================== */

.cta-section {
  background: var(--gradient-bg);
  color: white;
  border-radius: var(--border-radius);
  padding: 50px;
  text-align: center;
  margin: 50px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.cta-section h2 {
  color: white;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
  position: relative;
  z-index: 2;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: white;
  color: var(--primary-color);
  border-color: white;
}

.btn-primary:hover {
  background: transparent;
  color: white;
  border-color: white;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ===============================================
   FOOTER
   =============================================== */

footer {
  background: var(--dark-color);
  color: white;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  color: #fff;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #bbb;
  transition: all 0.3s;
  position: relative;
  padding-left: 15px;
}

.footer-links a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.footer-links a:hover {
  color: white;
  padding-left: 20px;
}

.footer-contact-item {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}

.footer-contact-icon {
  margin-right: 12px;
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #bbb;
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #bbb;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .article-container {
    margin: 0 10px;
    padding: 30px;
    margin-top: -30px;
  }

  .details-grid,
  .challenges-grid {
    grid-template-columns: 1fr;
  }

  .work-scope-grid {
    grid-template-columns: 1fr;
  }

  .comparison-gallery {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section .lead {
    font-size: 1.1rem;
  }

  .comparison-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .comparison-image {
    height: 300px;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section {
    padding: 60px 0 40px;
  }

  .article-container {
    padding: 20px;
    margin: 0 5px;
  }

  .realizacja-details h2,
  .before-after-section h2,
  .work-scope-section h2,
  .challenges-section h2,
  .testimonial-section h2,
  .seo-content h2,
  .cta-section h2 {
    font-size: 1.6rem;
  }

  .details-grid {
    gap: 15px;
  }

  .detail-card,
  .challenge-card {
    padding: 20px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}