/* 
==========================================
   ZMIENNE CSS (KOLORY, ZAOKRĄGLENIA)
========================================== 
*/
:root {
    /* Główny kolor marki Impro TAK (Charakterystyczny, jasny żółty) */
    --color-primary: #F9DA33; 
    
    /* Kolor tła lub elementów akcentowych */
    --color-secondary: #111111;
    
    /* Typografia */
    --color-text: #2c2c2c;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #f7f7f7;
    
    /* Czcionki */
    --font-primary: 'Montserrat', sans-serif;
    
    /* Zaokrąglenia (Border Radius) 
       Zgodnie ze stylem katalogu, zdjęcia często mają ucięte lub mocno zaokrąglone przeciwległe rogi */
    
    --radius-small: 10px;
    --radius-medium: 24px;
    --radius-large: 40px;
    --radius-huge: 80px;

    /* Specyficzne kształty ze zdjęć w PDF (efekty obłych narożników) */
    --shape-leaf: 0 60px 0 60px; /* Listek / Asymetryczne zaokrąglenie */
    --shape-blob: 60px 10px 60px 10px;
    --shape-arch: 100px 100px 0 0;
}

/* ==========================================
   RESET I BAZA
========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-white { color: white; }

/* ==========================================
   KOLORY TŁA
========================================== */
.bg-yellow { background-color: var(--color-primary); }
.bg-light { background-color: var(--color-bg-light); }
.bg-dark { background-color: var(--color-secondary); color: white; }

/* ==========================================
   TYPOGRAFIA
========================================== */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 3rem; }
h2.section-title { font-size: 2.5rem; margin-bottom: 40px; }
h3 { font-size: 1.5rem; }

.subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

/* ==========================================
   PRZYCISKI
========================================== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--radius-large);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

.btn-primary:hover {
    background-color: #e6c827;
}

.btn-dark {
    background-color: var(--color-secondary);
    color: white;
}

.btn-dark:hover {
    background-color: #333;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    font-weight: 800;
    color: var(--color-secondary);
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 2px;
}

/* ==========================================
   ZAOKRĄGLENIA ZDJĘĆ / KSZTAŁTY (Z PDF)
========================================== */
.custom-radius-1 { border-radius: var(--shape-leaf); overflow: hidden; }
.custom-radius-2 { border-radius: var(--shape-blob); overflow: hidden; }
.custom-radius-3 { border-radius: var(--radius-medium); overflow: hidden; }

/* Placeholder dla zdjęć do demo */
.placeholder-img {
    background-color: #e0e0e0;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
}

/* ==========================================
   SEKCJE
========================================== */

/* HEADER */
.header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav a {
    margin-left: 30px;
    font-weight: 600;
}

/* HERO */
.hero {
    padding: 100px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* PROGRAM */
.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* REKOMENDACJE (Efekt Masonry/Grid opinii) */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-medium);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    /* Przykładowy efekt "ruchomego środka" zasugerowany przez Ciebie */
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--color-primary);
}

/* KATALOGI */
.catalogs-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.catalog-card {
    background: white;
    border: 2px solid #eee;
    padding: 40px 30px;
    border-radius: var(--radius-medium);
    width: calc(25% - 22.5px);
    transition: all 0.3s ease;
}

.catalog-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 15px 30px rgba(249, 218, 51, 0.2);
}

/* BENEFITY */
.benefits-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-col {
    background: white;
    padding: 40px;
}

.benefit-col ul {
    list-style: none;
}

.benefit-col ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.benefit-col ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* FORMULARZ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-medium);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-small);
    font-family: inherit;
}

/* FOOTER */
.footer {
    padding: 30px 0;
}

/* RWD - RESPONSIVE */
@media (max-width: 992px) {
    .hero-container, .program-grid {
        grid-template-columns: 1fr;
    }
    .catalog-card { width: calc(50% - 15px); }
    .benefits-columns { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; } /* Do zakodowania hamburger menu */
    .catalog-card { width: 100%; }
}
