/*
Theme Name: Salka
Description: Prosty motyw dla salki zabaw z rezerwacjami LatePoint.
Version: 2.0
Text Domain: salka
*/
:root{--bg:#f5f4f0;--white:#fff;--text:#232323;--muted:#6b6b6b;--coral:#ff5b35;--teal:#3bb3c3;--lime:#dbe25a;--peach:#fde3d6;--sand:#ebe6dc;--radius:28px;--max:1240px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--white);color:var(--text);font:16px/1.7 "Poppins",system-ui,sans-serif;min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
img{max-width:100%;height:auto;display:block}
a{color:var(--coral)}
h1,h2,h3,h4{font-weight:600;color:var(--coral);line-height:1.15;margin:0 0 .5em}
h1{font-size:clamp(40px,7vw,84px)}
h2{font-size:clamp(30px,4.2vw,50px)}
h3{font-size:clamp(20px,2vw,24px)}
.wrap{max-width:var(--max);margin:0 auto;padding:0 16px}

/* header */
.top-stripe{height:6px;background:repeating-linear-gradient(90deg,var(--coral) 0 28px,#fff 28px 44px)}
.site-header{background:var(--white);position:sticky;top:0;z-index:50;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:84px}
.site-title{font-family:"Gochi Hand",cursive;font-size:30px;color:var(--teal);text-decoration:none;line-height:1}
.site-title img{max-height:56px;width:auto}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.main-nav a{display:block;padding:6px 16px;border-radius:999px;color:var(--text);text-decoration:none;border:1.5px solid transparent}
.main-nav a:hover,.main-nav .current-menu-item>a,.main-nav .current_page_item>a{border-color:var(--text)}
.main-nav .menu-cta>a{background:var(--lime);border-color:var(--lime);font-weight:600;padding:12px 22px}
.nav-toggle{display:none;width:52px;height:52px;border-radius:50%;border:0;background:var(--lime);font:600 14px Poppins,sans-serif;cursor:pointer}

/* generic page */
main>.wrap{padding-top:56px;padding-bottom:80px}
.page-title{margin-bottom:28px}
.entry>*:first-child{margin-top:0}
.entry p{margin:0 0 1.1em}

/* buttons */
.entry .wp-block-button__link,.btn{display:inline-block;background:transparent;color:var(--text);border:1.5px solid var(--text);border-radius:50% / 60%;padding:12px 30px;font-weight:500;text-decoration:none;transition:.2s}
.entry .wp-block-button__link:hover,.btn:hover{background:var(--text);color:#fff}
.entry .is-style-fill .wp-block-button__link,.btn-fill{background:var(--coral);border-color:var(--coral);color:#fff;border-radius:999px}
.entry .is-style-fill .wp-block-button__link:hover{background:var(--text);border-color:var(--text)}

/* full-bleed sections */
.entry .alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)}
.home main>.wrap{padding-top:0}
.sec{padding:clamp(56px,8vw,110px) 16px}
.sec>*{max-width:var(--max);margin-left:auto;margin-right:auto}
.sec-sand{background:var(--bg)}
.sec-coral{background:var(--coral);color:#fff;text-align:center}
.sec-coral h2{color:#fff}
.sec-coral .wp-block-button__link{border-color:#fff;color:#fff}
.sec-coral .wp-block-button__link:hover{background:#fff;color:var(--coral)}

/* hero */
.hero .wp-block-columns{align-items:center;gap:40px}
.hero h1{margin-bottom:.35em}
.hero .lead{font-size:18px;max-width:520px}
.pills{display:grid;gap:18px}
.pills img,.pill-ph{width:100%;aspect-ratio:2.4/1;object-fit:cover;border-radius:999px}
.pills .wp-block-image:nth-child(2){width:84%;margin-left:auto}
.pills .wp-block-image:nth-child(3){width:62%;margin-left:12%}
.pills .wp-block-image{margin:0}

/* intro */
.intro{text-align:center}
.intro p{font-size:clamp(20px,2.4vw,30px);line-height:1.5;max-width:860px;margin:0 auto 28px}

/* cards */
.cards{gap:22px}
.cards .wp-block-column{position:relative}
.cards .wp-block-image img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--radius)}
.cards .wp-block-image{margin:0 0 18px}
.cards h3{margin-bottom:.3em}
.badge{position:absolute;top:18px;right:18px;width:66px;height:66px;display:grid;place-items:center;border-radius:46% 54% 50% 50% / 55% 45% 55% 45%;font:400 30px "Gochi Hand",cursive;color:var(--coral);background:var(--lime);z-index:2;margin:0!important}
.cards .wp-block-column:nth-child(2) .badge{background:#ffd56b}
.cards .wp-block-column:nth-child(3) .badge{background:var(--peach)}

/* hours */
.hours{gap:0!important}
.hours>.wp-block-column{padding:clamp(40px,6vw,90px) clamp(16px,5vw,80px)}
.hours>.wp-block-column:first-child{background:var(--bg)}
.hours>.wp-block-column:last-child{background:var(--peach)}
.hours table,.entry .wp-block-table table{width:100%;border-collapse:collapse}
.hours td{padding:16px 0;border-bottom:2px solid #f3d1bd}
.hours td:first-child{color:var(--coral);font-weight:600}
.hours td:last-child{text-align:right}
.slot{background:#fff;border-radius:var(--radius);padding:26px 28px;margin-bottom:18px}
.slot strong{display:block;font-size:30px;color:var(--coral);line-height:1.2}

/* lists */
.love ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.love li{background:#fff;border-radius:var(--radius);padding:24px;position:relative;padding-top:58px}
.love li::before{content:"";position:absolute;top:22px;left:24px;width:22px;height:22px;border-radius:50%;background:var(--lime)}
.love li:nth-child(2n)::before{background:var(--coral)}
.love li:nth-child(3n)::before{background:var(--teal)}

/* tables (Preise) */
.entry .wp-block-table table{background:var(--bg);border-radius:var(--radius);overflow:hidden}
.entry .wp-block-table th,.entry .wp-block-table td{padding:16px 20px;text-align:left;border-bottom:2px solid #fff}
.entry .wp-block-table th{color:var(--coral)}
.entry .wp-block-gallery img{border-radius:var(--radius)}

/* footer */
.site-footer{background:var(--bg);padding:56px 0 28px;font-size:15px}
.site-footer .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px;margin-bottom:28px}
.site-footer h4{font-size:18px;margin-bottom:10px}
.site-footer p{margin:0}
.site-footer .copy{border-top:1px solid #e2ddd3;padding-top:20px;color:var(--muted)}

@media (max-width:900px){
.nav-toggle{display:block}
.main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;padding:12px 16px 20px;box-shadow:0 10px 20px rgba(0,0,0,.06)}
.main-nav.open{display:block}
.main-nav ul{flex-direction:column;align-items:stretch}
.hours>.wp-block-column{flex-basis:100%!important}
}
@media (max-width:781px){
.pills .wp-block-image:nth-child(n){width:100%;margin-left:0}
}

/* photo placeholders until real photos are added */
.pill-ph-wrap{margin:0}
.pill-ph{width:100%;aspect-ratio:2.4/1;border-radius:999px;background:linear-gradient(135deg,var(--peach),var(--sand))}
.pills .pill-ph-wrap:nth-child(2){width:84%;margin-left:auto}
.pills .pill-ph-wrap:nth-child(2) .pill-ph{background:linear-gradient(135deg,#ffe9a8,var(--lime))}
.pills .pill-ph-wrap:nth-child(3){width:62%;margin-left:12%}
.pills .pill-ph-wrap:nth-child(3) .pill-ph{background:linear-gradient(135deg,#c9eef2,var(--teal))}
.cards .pill-ph-wrap{margin-bottom:18px}
.cards .pill-ph{aspect-ratio:4/5;border-radius:var(--radius)}
@media (max-width:781px){.pills .pill-ph-wrap:nth-child(n){width:100%;margin-left:0}}
html,body{overflow-x:hidden}
.entry .wp-block-columns.alignfull,.entry .wp-block-group.alignfull{margin-top:0;margin-bottom:0}
.hours .wp-block-table td{border:0;border-bottom:2px solid #f3d1bd;padding:16px 0}
.hours .wp-block-table table{background:transparent;border-radius:0}
.home main>.wrap{padding-bottom:0}

/* pricing cards */
.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:end;margin:40px 0}
.price-card{position:relative;background:var(--bg);border-radius:var(--radius);padding:32px 36px 40px;min-height:520px;display:flex;flex-direction:column;overflow:hidden}
.price-card::after{content:"";position:absolute;right:-60px;top:90px;width:260px;height:260px;border:22px solid #ebe9e2;border-radius:50% 40% 60% 45%;transform:rotate(-20deg);z-index:0}
.price-card>*{position:relative;z-index:1}
.price-blob{width:122px;height:122px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--peach);color:var(--coral);border-radius:52% 48% 45% 55% / 48% 55% 45% 52%;transform:rotate(-12deg);line-height:1}
.price-blob b{font-size:44px;font-weight:600}
.price-blob b sup{font-size:18px}
.price-blob span{font-size:15px;font-weight:500;margin-top:4px}
.price-card h3{margin-top:auto;font-size:26px}
.price-card p{margin:0 0 28px;max-width:300px}
.price-card.featured{min-height:580px;padding-top:96px;border-radius:var(--radius)}
.price-card .ribbon{position:absolute;left:0;right:0;top:0;height:62px;background:var(--lime);color:#fff;font-weight:600;display:grid;place-items:center;font-size:18px}
.price-card .stars{position:absolute;right:36px;top:86px;color:#f5c842;letter-spacing:3px;font-size:20px}
.price-card .latepoint-book-button,.price-card .latepoint-book-button-w a,.price-card .os_trigger_booking{display:inline-block!important;align-self:flex-start;background:transparent!important;color:var(--text)!important;border:1.5px solid var(--text)!important;border-radius:50% / 60%!important;padding:12px 30px!important;font:500 16px Poppins,sans-serif!important;box-shadow:none!important;cursor:pointer}
.price-card .latepoint-book-button:hover{background:var(--text)!important;color:#fff!important}
@media (max-width:900px){.pricing{grid-template-columns:1fr}.price-card,.price-card.featured{min-height:0}.price-card h3{margin-top:40px}}
.lang-switch{list-style:none;margin:0;padding:0;display:flex;gap:4px;text-transform:uppercase;font-size:13px;font-weight:600}
.lang-switch a{display:block;width:36px;height:36px;line-height:36px;text-align:center;border-radius:50%;color:var(--text);text-decoration:none}
.lang-switch .current-lang a{background:var(--peach);color:var(--coral)}
@media (max-width:900px){.site-header .wrap{flex-wrap:nowrap}.lang-switch{margin-left:auto}}
