/* ==========================================================================
   PASSER.pl - Shared Stylesheet
   ========================================================================== */

/* Page Background Setup */
body {
  background-color: #fcfdfe; /* Matches the very light off-white in the design */
}

/* Custom transitions */
header {
  transition: box-shadow 0.3s ease, padding 0.3s ease, background-color 0.3s ease;
}

/* Hero Section Gradient - strona_glowna.html */
.hero-gradient {
  background: radial-gradient(circle at 70% 50%, rgba(34, 177, 196, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Service list bullet style - uslugi.html */
.service-list li {
  position: relative;
  padding-left: 1.5rem;
}
.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Process line connector - uslugi.html */
.process-line {
  position: absolute;
  top: 2rem;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed #e5e7eb;
  z-index: 0;
}

/* Active navigation link highlight - kontakt.html, uslugi.html, realizacje.html */
.active-nav-link {
  position: relative;
}
.active-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor; /* Inherits text color */
}

/* Custom form focus styles - kontakt.html */
.form-input-custom:focus {
  border-color: #1cb3ba;
  box-shadow: 0 0 0 1px #1cb3ba;
}

/* Scroll-triggered Fade-In animations using Intersection Observer */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth Scrolling Anchor Behavior */
html {
  scroll-behavior: smooth;
}

/* Mobile navigation drawer transition helper */
.mobile-menu-drawer {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
