:root {
  /* Kolory bazowe */
  --brand-bg: #ffffff;
  --brand-light-gray: #f8fafc; /* Bardzo jasny szary do teł sekcji */
  
  /* Kolory główne */
  --brand-accent: #2563eb; /* Niebieski akcent */
  --brand-main: #1e293b; /* Grafit / Ciemny granat */
  
  /* Kolory tekstu */
  --text-dark: #334155;
  --text-light: #f8fafc;
  
  /* Style i przyciski */
  --radius: 8px;
  --btn-radius: 4px;
  
  --font-main: "Montserrat", sans-serif;
  --transition: 0.3s ease-in-out;
}

/* ================ TYPOGRAPHY ================ */
body {
  font-family: var(--font-main);
  background-color: var(--brand-bg);
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-main);
  font-weight: 700;
  line-height: 1.2;
}

/* ================ CONTAINERS ================ */
.ifil-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ================ BUTTONS ================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--brand-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-accent);
  border-color: var(--brand-accent);
}

.btn-outline:hover {
  background-color: var(--brand-accent);
  color: #ffffff;
}

/* Before/After Slider Component */
.ba-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y;
}
.ba-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-img-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: white;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
}
.ba-slider-handle::after {
  content: '< >';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--brand-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
