/*
==================================================
 FILE: custom.css
 PURPOSE: Overrides, quick fixes, experiments
 AUTHOR: Arkadiusz Wawer
==================================================
*/

/* © Arkadiusz Wawer - All rights reserved */

.kadence-logo {
  display: block;
  width: 14em;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.3))
          drop-shadow(0 2px 3px rgba(0,0,0,0.7));

}

.kadence-logo path {
  stroke: url(#goldGradient);
  stroke-width: 8;

  fill: rgba(212,175,55,0.06); /* subtelne złoto */

  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;

  animation:
    drawKadence 2.5s ease-out forwards,
    goldPulse 4s ease-in-out infinite 2.5s;
}

/* Główne formatowanie kontenera tekstu w stopce */
.footer-custom-text {
  font-size: 0.9em;
  color: #ffffff;
  display: flex;             
  justify-content: center;
  text-align: center;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

/* Stylowanie logo Kadence WP w stopce */
.footer-custom-text img {
  height: 4em;
  vertical-align: middle;
}

/* Styl domyślny dla linków */
.footer-custom-text a {
  color: #ffffff; /* biały kolor linku */
  text-decoration: none;
}

/* Styl po najechaniu */
.footer-custom-text a:hover {
  color: #a0d8ff;  /* jasnoniebieski przy hoverze */
  text-decoration: underline;
}

/* Styl dla odwiedzonych linków (zachowujemy biały) */
.footer-custom-text a:visited {
  color: #efffff;
}

.contact-section {
  text-align: center;
  padding: 160px 20px;
  max-width: 800px;
  margin: 0 auto;
}

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

.contact-section p {
  font-size: 18px;
  opacity: 0.7;
  margin-bottom: 40px;
}

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

.contact-btn {
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* WhatsApp */
.contact-btn.whatsapp {
  background: #25D366;
  color: #000;
}

/* Mail */
.contact-btn.mail {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.contact-btn:hover {
  transform: translateY(-3px);
}


@media (prefers-reduced-motion: reduce) {
  .kadence-logo path {
    animation: none;
  }
}

/* ========================================
   COOKIE BANNER – DARK PREMIUM STYLE
======================================== */

#cmplz-cookiebanner,
.cmplz-cookiebanner,
.cookie-notice-container {

  background: rgba(10,10,10,0.85) !important;
  backdrop-filter: blur(20px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.6);

  color: rgba(255,255,255,0.8);
}

/* TEXT */

#cmplz-cookiebanner p {
  color: rgba(255,255,255,0.7);
}

/* BUTTONS */

#cmplz-cookiebanner .cmplz-btn {

  border-radius: 8px;
  padding: 10px 18px;

  font-size: 14px;
}

/* ACCEPT */

#cmplz-cookiebanner .cmplz-accept {
  background: #e6c98a !important;
  color: #000 !important;
}

/* DECLINE */

#cmplz-cookiebanner .cmplz-deny {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}

/* LINKS */

#cmplz-cookiebanner a {
  color: #e6c98a;
  opacity: 0.8;
}

#cmplz-cookiebanner a:hover {
  opacity: 1;
}

#cmplz-cookiebanner p {
  color: rgba(255,255,255,0.85) !important;
}

#cmplz-cookiebanner {
  color: rgba(255,255,255,0.9) !important;
}

/* ========================================
   COOKIE BANNER – FIX TEXT VISIBILITY
======================================== */

.cmplz-cookiebanner,
.cmplz-cookiebanner * {
  color: rgba(255,255,255,0.85) !important;
}

/* opisy (często są bardziej przygaszone) */
.cmplz-cookiebanner .cmplz-description,
.cmplz-cookiebanner .cmplz-message {
  color: rgba(255,255,255,0.75) !important;
}

/* tytuły sekcji */
.cmplz-cookiebanner .cmplz-category-title {
  color: #ffffff !important;
}

/* linki na dole */
.cmplz-cookiebanner a {
  color: #e6c98a !important;
}

/* ========================================
   COOKIE BUTTONS – PREMIUM STYLE
======================================== */

/* wspólna baza */
.cmplz-cookiebanner .cmplz-btn {
  border-radius: 10px !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  font-weight: 500;
  transition: all 0.25s ease;
}

/* AKCEPTUJ – główny (złoty zamiast niebieskiego) */
.cmplz-cookiebanner .cmplz-accept {
  background: linear-gradient(135deg, #e6c98a, #c9a96a) !important;
  color: #1a1a1a !important;
  border: none !important;
}

.cmplz-cookiebanner .cmplz-accept:hover {
  background: linear-gradient(135deg, #f0d89c, #d8b878) !important;
  transform: translateY(-1px);
}

/* ODMÓW – subtelny */
.cmplz-cookiebanner .cmplz-deny {
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.75) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
}

.cmplz-cookiebanner .cmplz-deny:hover {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
}

/* PREFERENCJE – jeszcze bardziej neutralny */
.cmplz-cookiebanner .cmplz-view-preferences {
  background: transparent !important;
  color: rgba(255,255,255,0.6) !important;
  border: 1px dashed rgba(255,255,255,0.2) !important;
}

.cmplz-cookiebanner .cmplz-view-preferences:hover {
  color: #e6c98a !important;
  border-color: rgba(230,201,138,0.6) !important;
}


/* ========================================
   BLOG SECTION – MINIMAL PREMIUM
======================================== */

/* ========================================
   BLOG – CENTER FIX (Kadence override)
======================================== */

/* grid wrapper */
.blog-section .kt-post-grid {
  display: flex !important;
  justify-content: center;
}

/* pojedynczy wpis */
.blog-section .kb-posts-item {
  max-width: 720px;
  width: 100%;
}

/* opcjonalnie: centrowanie obrazka */
.blog-section .kb-posts-item img {
  margin: 0 auto;
  display: block;
}

/* ========================================
   BLOG – SINGLE POST CENTER FIX
======================================== */

.blog-section .wp-block-kadence-posts {
  display: flex;
  justify-content: center;
}

.blog-section .kb-post-list-item {
  max-width: 720px;
  width: 100%;
}


.blog-section {
  padding: 100px 20px;
  text-align: center;
}

.blog-section h2 {
  font-size: 42px;
  margin-bottom: 50px;
}

/* featured post */
.blog-section .kb-posts-item {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.blog-section .kb-posts-item h3 {
  font-size: 28px;
  margin-top: 20px;
}

.blog-section .kb-posts-item p {
  opacity: 0.75;
  line-height: 1.6;
}

/* link na dole */
.blog-more {
  margin-top: 40px;
}

.blog-more a {
  color: rgba(230,201,138,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(230,201,138,0.3);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.blog-more a:hover {
  color: #e6c98a;
  border-color: rgba(230,201,138,0.7);
}

/* ========================================
   BLOG – REMOVE WHITE BACKGROUND
======================================== */

/* usuń tło z całego wpisu */
.blog-section .entry,
.blog-section .content-bg,
.blog-section .entry-content-wrap {
  background: transparent !important;
  box-shadow: none !important;
}

/* czasem Kadence daje tło tutaj */
.blog-section .entry-content-wrap {
  padding: 0 !important;
}

.blog-section .kb-post-list-item {
  background: transparent !important;
}

.blog-section .entry {
  border: none !important;
}

/* ========================================
   BLOG – PREMIUM CATEGORY TAG
======================================== */

.blog-section .category-links a {
  display: inline-block;
  
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: rgba(230,201,138,0.8);
  
  border: 1px solid rgba(230,201,138,0.3);
  padding: 4px 10px;
  border-radius: 6px;

  background: rgba(230,201,138,0.05) !important;

  transition: all 0.2s ease;
}

.blog-section .category-links a:hover {
  color: #e6c98a;
  border-color: rgba(230,201,138,0.6);
}

/* ========================================
   BLOG – CLEAN EDITORIAL STYLE
======================================== */

.blog-section .entry-meta,
.blog-section .kt-reading-time,
.blog-section .posted-by,
.blog-section .posted-on {
  display: none;
}

.blog-section .entry-summary {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.blog-section .entry-title {
  text-align: center;
}

.blog-section .post-thumbnail {
  margin-bottom: 20px;
}

.blog-section .post-thumbnail img {
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.blog-section .post-thumbnail:hover img {
  transform: scale(1.02);
}

/* ========================================
   FOOTER – MINIMAL PREMIUM STYLE
======================================== */

.site-footer .site-info {
  font-size: 13px;
  opacity: 0.6;
  letter-spacing: 0.5px;
}

.site-footer .site-info:hover {
  opacity: 0.85;
}