@font-face {
  font-family: 'Lava Pro Grunge';
  src: url('/assets/fonts/lava.ttf') format('truetype');
  font-display: block;
}

@font-face {
  font-family: 'Antio';
  src: url('/assets/fonts/antio.otf') format('opentype');
  font-display: block;
}

.offer-wrapper { position: relative; }
.offer-master { position: relative; z-index: 1; }

.offer-content-layer {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

/* OFERTA (Twoje) */
.offer-header {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  text-align: center;

  font-family: 'Lava Pro Grunge';
  font-size: 64px;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0,0,0,0.65);

  opacity: 0;
  user-select: none;
}
html.fonts-loaded .offer-header { opacity: 1; }

/* PANEL (Twoje) */
.offer-panel {
  position: absolute;
  top: 7.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  pointer-events: auto;
  user-select: text;
}

/* Intro oddzielnie */
.offer-intro { }
.offer-category { }

/* Po kliknieciu: obniżamy blok kategorii w dół */
.offer-category {
  margin-top: 120px; /* ✅ to jest "obniz naglowek i opisy kategorii w dol" */
}

/* Tytuł kategorii */
.offer-panel-title {
  font-family: 'Lava Pro Grunge';
  font-size: 36px;
  color: #ffffff;
  margin: 0 0 10px 0;
  text-shadow: 0 3px 12px rgba(0,0,0,0.65);

  opacity: 0;
  user-select: text;
}
html.fonts-loaded .offer-panel-title { opacity: 1; }

.offer-panel-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 12px 0;
}
.offer-panel-meta.is-hidden { display: none; }

.offer-meta-pill {
  font-family: 'Antio';
  font-size: 19px;
  color: rgba(255,255,255,0.96);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  user-select: text;
}

.offer-meta-price {
  color: #ffde59;
  font-weight: 800;
}

/* Opis */
.offer-panel-desc {
  font-family: 'Antio';
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
  user-select: text;
}

/* Tekst tylko w boksie, bez scrolla */
.offer-panel-scroll {
  height: 550px;
  overflow: hidden;
}

/* Link */
.offer-inline-link {
  pointer-events: auto;
  color: rgba(255, 222, 89, 0.98);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 222, 89, 0.7);
}
.offer-inline-link:hover { border-bottom-style: solid; }

/* PRZYCISKI: Twoje */
.offer-side-buttons {
  position: absolute;
  top: 14.2%;
  right: 4%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
  z-index: 60;
}

.offer-side-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
  opacity: 0.9;
  padding: 0;
  margin: 0;
}

.offer-side-btn img {
  width: 145px;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

.offer-side-btn[data-offer="consultation"] img {
  width: 165px;
}

.offer-side-btn:hover {
  transform: translateX(-6px) scale(1.05);
  opacity: 1;
}

.offer-side-btn:hover img,
.offer-side-btn.is-active img {
  filter: brightness(0) saturate(100%) invert(86%) sepia(30%)
          saturate(1000%) hue-rotate(350deg)
          brightness(103%) contrast(103%);
}

/* Dopisek */
.offer-footer-note {
  position: absolute;
  top: 80%;
  left: 46%;
  transform: translateX(-50%);
  width: 540px;

  font-family: 'Antio';
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);

  text-align: left;
  pointer-events: auto;
  user-select: text;
}

.offer-contact-link {
  pointer-events: auto;
  color: #ffde59;
  text-decoration: none;
  border-bottom: 1px dashed #ffde59;
}
.offer-contact-link:hover { border-bottom-style: solid; }

/* Helper */
.is-hidden { display: none !important; }

/* NAVBAR jak główna */
header { height: 90px !important; padding: 0 30px !important; }
.logo-img { height: 85px !important; }
.nav-links a { font-family: 'Architects Daughter', cursive !important; font-size: 14px !important; }
.btn-style { font-family: 'Architects Daughter', cursive !important; font-size: 14px !important; padding: 8px 20px !important; }
main { padding-top: 100px !important; }
