/*
Theme Name: W Psim Pędzie
Theme URI: https://wpsimpedzie.com
Description: Motyw potomny Twenty Twenty-Five dla szkoły treningu psów „W Psim Pędzie". Paleta „Nocny granat i bursztyn", typografia Poppins/Inter.
Author: Binio & Jasmina (via Claude Code)
Template: twentytwentyfive
Version: 1.2.1
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpp
*/

/* ===== Fonty (self-hosted, subset latin + latin-ext dla polskich znaków) ===== */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Klasy pomocnicze używane w treściach ===== */
.wpp-card {
  box-shadow: 0 8px 24px rgba(16, 31, 49, 0.10);
  border-radius: 16px;
}
.wpp-radius { border-radius: 16px; overflow: hidden; }
.wpp-radius img { border-radius: 16px; }

.wp-block-button__link { box-shadow: 0 6px 18px rgba(201, 138, 43, 0.35); }
.wp-block-button__link:hover { background-color: #8A5F1B !important; }

/* nawigacja: bursztynowy hover na granacie */
.wpp-header a:hover { color: #C98A2B !important; }

/* obrazy-zaślepki */
.wpp-placeholder {
  background: repeating-linear-gradient(45deg, #EFE7DA, #EFE7DA 12px, #E7DCC9 12px, #E7DCC9 24px);
  border: 2px dashed #C98A2B;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  min-height: 220px;
  color: #8A5F1B; font-weight: 600; text-align: center; padding: 1rem;
}

/* ===== v1.1: nowoczesny sznyt ===== */
html { scroll-behavior: smooth; }
::selection { background: #C98A2B; color: #101F31; }

h1, h2, h3 { letter-spacing: -0.015em; }

/* sticky nagłówek */
.wpp-header { position: sticky; top: 0; z-index: 90; box-shadow: 0 2px 24px rgba(16, 31, 49, 0.35); }
body.admin-bar .wpp-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .wpp-header { top: 46px; } }

/* eyebrow nad nagłówkami sekcji */
.wpp-eyebrow { letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; font-size: 0.8rem !important; color: #C98A2B !important; margin-bottom: 0.25rem; }

/* pill w hero */
.wpp-pill { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 1.15rem; border-radius: 999px; background: rgba(251, 247, 240, 0.07); border: 1px solid rgba(251, 247, 240, 0.22); color: #EFE7DA; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; backdrop-filter: blur(4px); }
.wpp-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C98A2B; box-shadow: 0 0 10px #C98A2B; }

/* poświaty + łapki w hero i pasach CTA */
.wpp-hero { position: relative; overflow: hidden; isolation: isolate; }
.wpp-hero .wp-block-cover__inner-container { position: relative; z-index: 3; }
.wpp-hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(640px 320px at 85% 15%, rgba(201, 138, 43, 0.16), transparent 60%), radial-gradient(560px 340px at 8% 90%, rgba(58, 114, 145, 0.22), transparent 60%); }
.wpp-hero::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.025; background-size: 120px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%23FBF7F0'%3E%3Cellipse cx='22' cy='18' rx='6' ry='8'/%3E%3Cellipse cx='42' cy='18' rx='6' ry='8'/%3E%3Cellipse cx='10' cy='30' rx='5' ry='7'/%3E%3Cellipse cx='54' cy='30' rx='5' ry='7'/%3E%3Cpath d='M32 28c10 0 16 8 16 14 0 7-6 10-16 10s-16-3-16-10c0-6 6-14 16-14z'/%3E%3C/svg%3E"); }

/* chipy zaufania w hero */
.wpp-chips { color: #C9D4D9; font-size: 0.92rem; }
.wpp-chips strong { color: #C98A2B; font-weight: 700; }

/* karty: hover lift + górna bursztynowa linia */
.wpp-hover { transition: transform 0.25s ease, box-shadow 0.25s ease; position: relative; overflow: hidden; }
.wpp-hover::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #C98A2B, #E8B04B); opacity: 0; transition: opacity 0.25s ease; }
.wpp-hover:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(16, 31, 49, 0.18); }
.wpp-hover:hover::before { opacity: 1; }

/* ikony usług */
.wpp-ico { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(145deg, #152A42, #1F3D5E); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(16, 31, 49, 0.25); }
.wpp-ico svg { width: 26px; height: 26px; stroke: #C98A2B; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* lista z ptaszkami */
.wpp-checks { list-style: none; padding-left: 0; }
.wpp-checks li { position: relative; padding-left: 1.7rem; margin-bottom: 0.4rem; }
.wpp-checks li::before { content: "✓"; position: absolute; left: 0; color: #C98A2B; font-weight: 700; }

/* przyciski: delikatne uniesienie */
.wp-block-button__link { transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); }

/* karty wpisów w sekcji aktualności */
.wpp-post-card .wp-block-post-title a { text-decoration: none; color: #152A42; }
.wpp-post-card .wp-block-post-title a:hover { color: #8A5F1B; }
.wpp-post-card .wp-block-post-date { color: #C98A2B; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== v1.2: slajdy hero, nagłówki podstron, tabela cennika ===== */

/* źródłowa grupa slajdów: niewidoczna na froncie (w edytorze widoczna i edytowalna) */
.wpp-hero-slides { display: none; }

/* warstwa slajdów wstrzykiwana przez JS pod granatową nakładkę */
.wpp-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.wpp-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.wpp-slides img.is-active { opacity: 1; animation: wppKenBurns 10s ease-out forwards; }
@keyframes wppKenBurns { from { transform: scale(1); } to { transform: scale(1.06); } }
.wpp-hero .wp-block-cover__background { z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .wpp-slides img { transition: none; }
  .wpp-slides img.is-active { animation: none; }
}

/* granatowy nagłówek podstron */
.wpp-page-head { position: relative; overflow: hidden; }
.wpp-page-head > * { position: relative; z-index: 3; }
.wpp-page-head h1 { color: #FBF7F0; }

/* tabela cennika */
.wpp-table table { border-collapse: separate; border-spacing: 0; width: 100%; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(16, 31, 49, 0.10); border: none; }
.wpp-table th { background: #152A42; color: #FBF7F0; padding: 0.95rem 1.15rem; text-align: left; font-family: "Poppins", sans-serif; font-weight: 600; border: none; }
.wpp-table td { padding: 0.9rem 1.15rem; border: none; border-bottom: 1px solid #E7DCC9; background: #FFFFFF; }
.wpp-table tbody tr:nth-child(even) td { background: #FBF7F0; }
.wpp-table tbody tr:last-child td { border-bottom: none; }
.wpp-table td strong { color: #8A5F1B; }
