/*
Theme Name: Klawiterapia
Theme URI: https://example.com/klawiterapia
Author: Twoje Imię
Author URI: https://example.com
Description: Profesjonalny motyw WordPress dla gabinetu klawiterapii z pełną edycją z zaplecza poprzez WordPress Customizer i meta boxy. Zawiera custom post types dla blogów, cenników i Q&A.
Version: 1.1
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: klawiterapia
Tags: healthcare, therapy, medical, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #2E7D32, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a:hover {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
    padding: 2rem 0;
}

.section {
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    text-align: center;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(129, 199, 132, 0.1));
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #2E7D32, #4CAF50, #81C784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: #546e7a;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #4CAF50, #81C784);
    color: white !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Section Headers */
.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2E7D32;
    border-bottom: 3px solid #81C784;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.section h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
    color: #388E3C;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    width: 100%;
}

.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(76, 175, 80, 0.2);
    min-width: 0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4CAF50, #81C784);
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Pricing Table */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #e8f5e8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: #4CAF50;
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
}

.pricing-card.featured::before {
    content: "POPULARNE";
    position: absolute;
    top: 20px;
    right: -35px;
    background: #4CAF50;
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2E7D32;
    margin: 1rem 0;
}

.price-unit {
    font-size: 1rem;
    color: #666;
}

/* Blog Styles - POPRAWIONE DLA OSTROŚCI OBRAZÓW */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 10