/*
Theme Name: ✦ Zenvitality – Zdrowie & Uroda
Theme URI: https://example.com
Author: WordPress Manager
Description: Profesjonalny motyw WordPress wygenerowany przez WordPress Manager. Zoptymalizowany pod SEO i szybkość.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.7
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zenvitality
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair%20Display:wght@400;600;700&family=DM%20Sans:wght@400;500&display=swap');

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #c2797a;
  --secondary: #9e5c5d;
  --bg: #ffffff;
  --text: #2d1a1a;
  --heading-font: 'Playfair Display', sans-serif;
  --body-font: 'DM Sans', sans-serif;
  --border: #e2e8f0;
  --muted: #64748b;
  --container: 1200px;
  --radius: 6px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--body-font); background: var(--bg); color: var(--text); line-height: 1.7; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font); font-weight: 700; line-height: 1.3; color: var(--text); }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* === Container === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* === Header === */
#site-header { background: var(--primary); color: #fff; padding: 1rem 0; }
#site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.site-branding .site-title { font-size: 1.5rem; font-weight: 700; color: #fff; text-decoration: none; }
.site-branding .site-description { font-size: 0.85rem; opacity: 0.8; margin: 0; }

/* === Navigation === */
.main-navigation ul { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.main-navigation a { color: #fff; font-weight: 500; opacity: 0.9; }
.main-navigation a:hover { opacity: 1; text-decoration: none; }

/* === Layout === */
#content { padding: 2.5rem 0; }
.site-content { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.has-sidebar .site-content { grid-template-columns: 1fr 320px; }
.sidebar-left .site-content { grid-template-columns: 320px 1fr; }
@media (max-width: 768px) {
  .has-sidebar .site-content, .sidebar-left .site-content { grid-template-columns: 1fr; }
}

/* === Posts === */
.post { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.post:last-child { border-bottom: none; }
.post-header { margin-bottom: 1rem; }
.post-title a { color: var(--text); font-size: 1.4rem; }
.post-title a:hover { color: var(--primary); text-decoration: none; }
.post-meta { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.75rem; }
.post-thumbnail { margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; }
.post-thumbnail img { width: 100%; object-fit: cover; }
.read-more { display: inline-block; background: var(--primary); color: #fff; padding: 0.5rem 1.25rem; border-radius: var(--radius); font-size: 0.875rem; margin-top: 0.75rem; }
.read-more:hover { opacity: 0.9; text-decoration: none; }

/* === Single Post === */
.entry-content { max-width: 780px; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 1rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; }
.entry-content h2, .entry-content h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* === Sidebar === */
.widget-area { min-width: 0; }
.widget { background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.widget-title { font-size: 1rem; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary); }
.widget ul { list-style: none; }
.widget ul li { padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text); font-size: 0.9rem; }
.widget ul li a:hover { color: var(--primary); }

/* === Footer === */
#site-footer { background: #1e293b; color: #94a3b8; padding: 2rem 0; margin-top: 2rem; }
#site-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-info { font-size: 0.875rem; }
.footer-info a { color: #94a3b8; }
.footer-info a:hover { color: #fff; }

/* === Pagination === */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin: 2rem 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 0.4rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.875rem; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* === Search Form === */
.search-form { display: flex; gap: 0.5rem; }
.search-form input { flex: 1; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.875rem; }
.search-form button { background: var(--primary); color: #fff; border: none; padding: 0.5rem 1rem; border-radius: var(--radius); cursor: pointer; }

/* === 404 === */
.error-404 { text-align: center; padding: 4rem 0; }
.error-404 h1 { font-size: 6rem; color: var(--primary); line-height: 1; }

/* === Language Switcher (Polylang) === */
.header-right { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.lang-switcher { display: flex; align-items: center; }
.lang-list { list-style: none; display: flex; gap: .35rem; margin: 0; padding: 0; }
.lang-list li a { display: inline-block; padding: .2rem .6rem; border: 1px solid rgba(255,255,255,.55); border-radius: var(--radius); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; text-decoration: none; transition: background .2s, border-color .2s; }
.lang-list li.current-lang a { background: rgba(255,255,255,.25); border-color: #fff; }
.lang-list li a:hover { background: rgba(255,255,255,.2); border-color: #fff; text-decoration: none; }

/* === Reading Time === */
.reading-time { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--muted); }
.reading-time i { font-size: .75rem; }

/* === Table of Contents === */
.toc-box { background: #f8fafc; border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem; }
.toc-box h4 { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); margin-bottom: .75rem; }
.toc-box ol { margin: 0; padding-left: 1.25rem; }
.toc-box ol li { margin-bottom: .35rem; font-size: .9rem; }
.toc-box ol li a { color: var(--text); text-decoration: none; }
.toc-box ol li a:hover { color: var(--primary); }
.toc-box ol li.toc-h3 { margin-left: 1rem; font-size: .85rem; }

/* === Social Share === */
.social-share { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: 1.5rem 0; border-top: 1px solid var(--border); margin-top: 2rem; }
.social-share span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.share-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: var(--radius); font-size: .8rem; font-weight: 600; text-decoration: none; color: #fff; transition: opacity .2s; }
.share-btn:hover { opacity: .85; text-decoration: none; }
.share-btn.share-fb { background: #1877f2; }
.share-btn.share-x { background: #000; }
.share-btn.share-li { background: #0a66c2; }
.share-btn.share-pi { background: #e60023; }
.share-btn.share-wa { background: #25d366; }
.share-btn.share-copy { background: var(--primary); cursor: pointer; border: none; font-family: inherit; }

/* === Własny CSS (Brand Overrides) ===
   Wygenerowane przez WordPress Manager — nie edytować ręcznie.
*/
/* === Zenvitality – luxury wellness === */

/* Hero */
.front-hero-section { position: relative; overflow: hidden; padding-top: 7rem !important; padding-bottom: 7rem !important; background: linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.62)), url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?w=1600&h=900&q=85&auto=format&fit=crop') center/cover no-repeat !important; }
.front-hero-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 100% at 20% 60%, rgba(194,121,122,.18) 0%, transparent 60%); pointer-events: none; }
.front-hero-section h1 { font-family: 'Playfair Display', Georgia, serif !important; letter-spacing: -.02em !important; font-weight: 700 !important; text-shadow: 0 2px 30px rgba(0,0,0,.45); font-size: clamp(2rem,5vw,3.4rem) !important; color: #fff !important; }
.front-hero-section .lead { max-width: 540px; margin-left: auto; margin-right: auto; opacity: .9 !important; font-size: 1.1rem; line-height: 1.7; }
.front-hero-section .btn-light { border-radius: 50px !important; padding: .85rem 3rem !important; font-weight: 700 !important; box-shadow: 0 6px 28px rgba(0,0,0,.15) !important; letter-spacing: .04em; font-size: .9rem !important; margin-top: .5rem; color: #9e5c5d !important; }

/* Bootstrap Cards */
.card { border-radius: 18px !important; overflow: hidden !important; border: none !important; box-shadow: 0 2px 20px rgba(194,121,122,.09) !important; transition: transform .22s, box-shadow .22s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(194,121,122,.18) !important; }
.card-img-top { height: 195px; object-fit: cover; }
.card-title { font-family: 'Playfair Display', Georgia, serif !important; font-size: 1.05rem !important; line-height: 1.35 !important; }
.card-title a { color: #2d1a1a !important; text-decoration: none !important; }
.card-title a:hover { color: #c2797a !important; }
.card .btn { border-radius: 50px !important; padding: .4rem 1.4rem !important; font-size: .8rem !important; font-weight: 700 !important; }

/* Blog list posts */
.entry-title { letter-spacing: -0.01em; line-height: 1.25; }
.entry-card { border-radius: 20px !important; box-shadow: 0 2px 20px rgba(194,121,122,.09) !important; transition: transform .2s, box-shadow .2s; }
.entry-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(194,121,122,.16) !important; }
.read-more-link { border-radius: 50px !important; padding: .5rem 1.6rem !important; font-weight: 600; letter-spacing: .03em; }
.widget { border-radius: 16px !important; }
.post-thumbnail img { border-radius: 16px; }
h1,h2,h3 { font-weight: 700; }
.entry-meta { letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; }
.toc-box { border-radius: 14px !important; border-color: rgba(194,121,122,.25) !important; }
