
/* Wczytanie własnej czcionki */
@font-face {
    font-family: 'Ahkio';
    src: url('fonts/Ahkio-W00-Bold.ttf') format('ttf'),
         url('fonts/Ahkio-W00-Bold.ttf') format('truetype'); /* opcjonalnie drugi format dla zapasu */
    font-weight: normal;
    font-style: normal;
}
/* --- ZMIENNE I RESET --- */
:root {
    --navy: #0a365f;
    --burgundy: #8b1c24;
    --bg-light: #fefdfb;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(10, 54, 95, 0.08);

    --font-heading: 'Ahkio', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    /* Delikatna siatka zeszytu w tle */
    background-image: 
        linear-gradient(rgba(10, 54, 95, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 54, 95, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    line-height: 1.6;
}

/* Szerokość całej strony / wszystkich sekcji */
.container {
    width: 100%;
    max-width: 1360px; /* Powiększona maksymalna szerokość (wcześniej było zapewne ~1100px) */
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;  /* Bezpieczny odstęp od krawędzi ekranu */
    padding-right: 24px;
}

/* --- NAWIGACJA --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid rgba(10, 54, 95, 0.08);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
}

.logo span {
    color: var(--burgundy);
    margin-left: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--burgundy);
}

.nav-btn {
    background-color: var(--navy);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background-color 0.2s !important;
}

.nav-btn:hover {
    background-color: var(--burgundy) !important;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--navy);
    border-radius: 2px;
    transition: 0.3s;
}

/* --- HERO --- */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 0;
    overflow: visible !important; /* Pozwala zdjęciu wyjść niżej poza dolną krawędź kratki */
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge {
    background-color: rgba(139, 28, 36, 0.1);
    color: var(--burgundy);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 6.2rem; /* Powiększony napis (wcześniej było 3rem) */
    line-height: 1.05;  /* Zmniejszona wysokość linii, aby napis wyglądał spójnie */
    color: var(--burgundy);
    margin-bottom: 24px;
    letter-spacing: -1px; /* Opcjonalnie: lekki skok liter dla lepszego wyglądu ozdobnego fontu */
}

.hero h1 .highlight {
    color: var(--navy);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background-color: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #072745;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-secondary:hover {
    background-color: var(--navy);
    color: var(--white);
}

.img-placeholder {
    width: 100%;
    height: 360px;
    background-color: #eef2f6;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
}

.math-icon {
    font-size: 4rem;
    color: var(--navy);
    margin-bottom: 10px;
    opacity: 0.5;
}

/* --- SEKCJE --- */
.section {
    padding: 90px 0;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.7);
}

.section-title, .section-header {
    margin-bottom: 40px;
}

.step-num {
    font-family: var(--font-heading);
    color: var(--burgundy);
    font-weight: 800;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--navy);
}

.grid-2 {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-weight: 500;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--burgundy);
    font-weight: bold;
}

/* --- KARTY OFERTY --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-featured {
    border: 2px solid var(--burgundy);
    position: relative;
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--navy);
    margin-bottom: 12px;
}

/* --- KROKI --- */
.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-item {
    background: var(--white);
    padding: 28px;
    border-radius: 12px;
    border-left: 4px solid var(--navy);
    box-shadow: var(--shadow);
}

.step-badge {
    width: 36px;
    height: 36px;
    background-color: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-item h4 {
    font-family: var(--font-heading);
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

/* --- SEKCJA 04: CENNIK --- */
.pricing-card-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Główna karta cennika */
.pricing-card {
    position: relative;
    background-color: #ffffff;
    border: 2px solid var(--burgundy); /* Bordowe obramowanie */
    border-radius: 28px;
    padding: 48px 40px 40px 40px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden; /* Ścina nakładkę badge'a na zaokrągleniu */
}

/* Plakietka w prawym górnym rogu */
.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--burgundy);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 8px 20px;
    border-bottom-left-radius: 16px;
    text-transform: uppercase;
}

/* Tytuły i podtytuły */
.pricing-title {
    font-family: inherit;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
    text-align: center; /* Wymuszenie środka */
    width: 100%;
}

.pricing-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 32px;
    text-align: center; /* Wymuszenie środka */
    width: 100%;
}

/* Kwota i czas */
.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 36px;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.price-currency {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--burgundy);
    margin-right: 4px;
}

.price-time {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
}

/* Lista 3 podpunktów */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 36px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 380px;
    text-align: left;
}

.pricing-features li {
    font-size: 1.05rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li i {
    color: var(--burgundy); /* Bordowa ptaszka ✓ */
    font-size: 1.1rem;
}

/* Przycisk na dole */
.btn-pricing {
    display: flex;                  /* Używamy flexboxa dla precyzyjnego wyśrodkowania */
    align-items: center;            /* Wyśrodkowanie tekstu w pionie */
    justify-content: center;        /* Wyśrodkowanie tekstu w poziomie */
    text-align: center;             /* Dodatkowa gwarancja wyśrodkowania tekstu */
    width: 100%;
    background-color: var(--burgundy);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 24px;
    border-radius: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(139, 28, 36, 0.25);
}

.btn-pricing:hover {
    background-color: #72161d;
    transform: translateY(-2px);
}

/* Responsywność na telefonach */
@media (max-width: 576px) {
    .pricing-card {
        padding: 40px 24px 32px 24px;
    }

    .pricing-title {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 3.2rem;
    }

    .pricing-features li {
        font-size: 0.95rem;
    }
}
/* --- KONTAKT (PANEL BURGUNDOWY) --- */
.contact-section {
    padding: 60px 0 90px;
}

.contact-card {
    background-color: var(--burgundy);
    color: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(139, 28, 36, 0.25);
}

.contact-card h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    margin: 0 auto 30px;
}

.contact-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.phone-link {
    background-color: var(--white);
    color: var(--burgundy);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.phone-link:hover {
    transform: scale(1.03);
}

.copy-btn {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background-color 0.2s;
}

.copy-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.toast {
    margin-top: 16px;
    font-size: 0.9rem;
    color: #4ade80;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.toast.show {
    opacity: 1;
}

/* --- STOPKA --- */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.95;
}

/* --- RESPONSYWNOŚĆ (MOBILE) --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .contact-action {
        flex-direction: column;
    }

    .phone-link, .copy-btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- SEKCJA KONTAKT (BORDOWA NA CAŁĄ SZEROKOŚĆ) --- */
.contact-section {
    width: 100%;
    background-color: #8b1c24; /* Głęboki bordowy kolor z obrazka */
    /* Kropkowana siatka w tle dopasowana do obrazka */
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 18px 18px;
    padding: 90px 20px 80px;
    text-align: center;
    color: #ffffff;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-section h2 {
    font-family: var(--font-heading);
    font-size: 4.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.contact-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.5;
    font-weight: 400;
}

/* Wygładzona pigułka telefonu */
.phone-pill-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-pill {
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 10px 24px 10px 12px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    gap: 16px;
}

.phone-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.phone-icon-circle {
    width: 48px;
    height: 48px;
    background-color: #0a365f; /* Granatowe kółko */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-number {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: #0a365f; /* Granatowy numer telefonu */
    letter-spacing: 0.5px;
}

.copy-icon-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.copy-icon-btn:hover {
    color: #0a365f;
}

/* Powiadomienie toast */
.toast {
    margin-top: 18px;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    height: 24px;
}

.toast.show {
    opacity: 1;
}

/* --- STOPKA (GRANATOWA NA CAŁĄ SZEROKOŚĆ) --- */
.footer {
    width: 100%;
    background-color: #0a365f; /* Granatowe tło ze zdjęcia */
    color: rgba(255, 255, 255, 0.8);
    padding: 24px 20px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-content p {
    margin: 0;
}

/* Responsywność dla ekranów mobilnych */
@media (max-width: 600px) {
    .contact-section h2 {
        font-size: 2.4rem;
    }
    
    .phone-pill {
        padding: 8px 18px 8px 10px;
        gap: 10px;
    }

    .phone-icon-circle {
        width: 40px;
        height: 40px;
    }

    .phone-number {
        font-size: 1.5rem;
    }
}

/* Styl dla zdjęcia w sekcji Hero */

.profile-img {
    width: 100%;
    max-width: 580px;  /* Tutaj kontrolujesz szerokość zdjęcia */
    height: 620px;     /* Tutaj kontrolujesz wysokość zdjęcia */
    object-fit: cover; /* Dba o to, by zdjęcie się nie rozciągało */
    
    
}

/* --- SEKCJA 03: JAK WYGLĄDAJĄ ZAJĘCIA (PROSTOKĄTNE ZDJĘCIE) --- */
.lessons-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

/* Przekrzywione różowe/bordowe tło */
.lessons-image-wrapper {
    position: relative;
    padding: 16px;
    background-color: rgba(139, 28, 36, 0.08);
    border-radius: 28px;
    transform: rotate(-3.5deg); /* Kąt obrotu tła */
    width: 100%;
}

/* Prostująca karta ze zdjęciem */
.lessons-image-card {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: rotate(3.5deg);
}

/* Wymuszenie proporcji prostokąta */
.lessons-img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important; /* Nadaje idealny kształt prostokąta */
    object-fit: cover !important;
    display: block !important;
}

/* Prawa kolumna - treść */
.lessons-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.lessons-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Lista punktów z ikonkami */
.lessons-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.icon-blue { background-color: #e0f2fe; }
.icon-red { background-color: #fce7f3; }
.icon-lightblue { background-color: #e0f2fe; }

.feature-text h4 {
    font-family: inherit;
    font-size: 1.1rem;
    color: var(--navy);
    margin-top: 0;
    margin-bottom: 2px; /* Zmniejszony margines pod nagłówkiem (wcześniej był większy) */
    font-weight: 700;
    line-height: 1.2;    /* Zmniejszona wysokość linii nagłówka */
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.35;   /* Lekko zagęszczona wysokość linii opisu */
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    .lessons-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lessons-image-wrapper, .lessons-image-card {
        transform: rotate(0deg);
    }
}

.feature-icon i {
    font-size: 1.1rem;
    color: var(--navy); /* Kolor ikonek dopasowany do granatu strony */
}

/* --- SEKCJA OFERTA (STYL Z GRAFIKI) --- */
.section-header.text-center {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 4.6rem; /* Powiększony napis (wcześniej było 2.8rem) */
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.1;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Siatka 3 kart */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* Podstawowa jasna karta */
.offer-card {
    background-color: #ffffff;
    border-radius: 28px;
    padding: 36px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Wyróżniona ciemna karta (Środkowa) z efektowną poświatą */
.offer-card-featured {
    background-color: var(--navy);
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(10, 54, 95, 0.2);
    position: relative; /* Wymagane, aby kółko nie wychodziło poza kartę */
    overflow: hidden;   /* Przycina kółko na krawędziach karty */
}

/* Jasne kółko / poświata w prawym górnym rogu */
.offer-card-featured::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none; /* Dba o to, żeby kółko nie blokowało klikania w karcie */
}

.offer-card-featured h3,
.offer-card-featured .offer-desc {
    color: #ffffff;
}

.offer-card-featured .offer-desc {
    opacity: 0.9;
}

/* Ikonka na karcie */
.offer-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.icon-bg-pink {
    background-color: #fce7f3;
    color: var(--burgundy);
}

.icon-bg-blue {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Nagłówek i opis karty */
.offer-card h3 {
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.offer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Lista z ptaszkami (Checkmark) */
.offer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offer-list li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Zielone ptaszki na jasnej karcie */
.list-green li i {
    color: #16a34a; /* Czysta zieleń */
    font-size: 0.9rem;
}

/* Bordowe ptaszki na ciemnej karcie */
.list-burgundy li i {
    color: #be123c; /* Ciemna czerwona / bordowa */
    font-size: 0.9rem;
}

/* Przyciski na dole kart */
.btn-offer {
    display: block;
    text-align: center;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn-light {
    background-color: #f1f5f9;
    color: #1e293b;
}

.btn-light:hover {
    background-color: #e2e8f0;
}

.btn-burgundy {
    background-color: var(--burgundy);
    color: #ffffff;
}

.btn-burgundy:hover {
    opacity: 0.9;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 992px) {
    .cards-grid-3 {
        grid-template-columns: 1fr; /* Na telefonach/tabletach karty układają się pionowo */
        gap: 24px;
    }
}

/* Naprawienie widoczności nagłówka na granatowej karcie */
.offer-card-featured h3 {
    color: #ffffff !important;
}

/* --- PŁYWAJĄCA NAWIGACJA (FLOATING NAVBAR) --- */
/* --- PŁYWAJĄCA NAWIGACJA (FLOATING NAVBAR) --- */
.header-floating {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Biały pasek w kształcie pigułki */
.navbar-pill {
    /* Kolor biały z 85% nieprzezroczystości (15% przezroczystości) */
    background-color: rgba(255, 255, 255, 0.85) !important;
    
    /* Efekt rozmycia tła za paskiem (nadaje elegancki wygląd matowego szkła) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    border-radius: 50px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Logo po lewej stronie */
.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-icon {
    color: var(--burgundy);
    font-size: 1.4rem;
}

/* Kontener dla prawej strony (linki + kontakt) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 28px; /* Odstęp między linkami a przyciskiem Kontakt */
}

/* Linki nawigacji obok przycisku */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px; /* Odstępy między poszczególnymi linkami */
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--burgundy);
}

/* Bordowy zaokrąglony przycisk Kontakt */
.btn-nav-kontakt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--burgundy);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 26px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(139, 28, 36, 0.25);
}

.btn-nav-kontakt:hover {
    background-color: #72161d;
    transform: translateY(-1px);
}

/* Responsywność na telefonach */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Ukrywamy linki na ekranach mobilnych */
    }
}

/* --- UJEDNOLICENIE WSZYSTKICH PRZYCISKÓW (KSZTAŁT PIGUŁKI) --- */

/* Przycisk w sekcji Hero ("Umów zajęcia" / "Zarezerwuj termin") */
.btn,
.btn-primary,
.hero-cta a,
.cta-button {
    border-radius: 50px !important;
    padding: 14px 32px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Przyciski w kartach Oferty */
.btn-offer {
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
}

/* Przycisk w karcie Cennika */
.btn-pricing {
    border-radius: 50px !important;
    padding: 16px 28px !important;
    font-weight: 700 !important;
}

/* Przycisk wysyłania w formularzu kontaktowym (jeśli istnieje) */
.btn-submit,
form button[type="submit"] {
    border-radius: 50px !important;
    padding: 14px 32px !important;
    font-weight: 700 !important;
}

/* Styl dla obrazka logo w pasku nawigacyjnym */
.logo-img {
    height: 42px; /* Mniejszy rozmiar bazowy */
    width: auto;
    display: block;
    object-fit: contain;
    transform: scale(1.2); /* Mniejsze logo (zmniejszone z 1.5 / 2.2) */
    transform-origin: center left;
    margin-left: 5px;
}

/* Tło białe */
.bg-white {
    background-color: #ffffff;
}

/* Tło z wzorem kratki */
.bg-grid {
    background-color: #f8fafc;
    background-image: 
        linear-gradient(to right, rgba(10, 54, 95, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 54, 95, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* --- SEKCJA O MNIE - NOWOCZESNY UKŁAD --- */

.omnie-container {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
}

.section-number {
    color: #8b1c24;
    font-weight: 800;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.section-title {
    font-size: 2.8rem;
    color: #0a365f;
    margin-bottom: 30px;
}

/* Karta ze statystykami */
.omnie-stats-card {
    background: #f8fafc;
    border: 1px solid rgba(10, 54, 95, 0.08);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #8b1c24;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 600;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(10, 54, 95, 0.15);
}

/* Prawa strona */
.omnie-heading {
    font-size: 1.4rem;
    color: #0a365f;
    line-height: 1.4;
    margin-bottom: 16px;
    font-weight: 700;
}

.omnie-desc {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 28px;
    font-size: 1rem;
}

/* Kafelki / Pigułki z zaletami */
.omnie-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-pill {
    background: #ffffff;
    border: 1px solid rgba(10, 54, 95, 0.1);
    padding: 12px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #0a365f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-pill:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border-color: #8b1c24;
}

.feature-icon {
    font-size: 1.2rem;
}

/* Responsywność dla telefonów */
@media (max-width: 768px) {
    .omnie-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Wyśrodkowana sekcja O Mnie */
.omnie-centered-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
}

.omnie-heading-center {
    font-size: 1.8rem;
    color: #0a365f;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 700;
}

.omnie-desc-center {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Wyśrodkowana karta statystyk pod tekstem */
.omnie-stats-card-center {
    background: #f8fafc;
    border: 1px solid rgba(10, 54, 95, 0.08);
    border-radius: 50px;
    padding: 20px 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #8b1c24;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 600;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(10, 54, 95, 0.15);
}

@media (max-width: 576px) {
    .omnie-stats-card-center {
        flex-direction: column;
        gap: 20px;
        border-radius: 30px;
    }
    .stat-divider {
        width: 60px;
        height: 1px;
    }
}
.omnie-greeting {
    font-family: 'Ahkio', cursive, sans-serif; /* Twoja czcionka dla nagłówków */
    font-size: 4.5rem;                        /* Odczuwalnie większy rozmiar */
    color: #8b1c24;                           /* Kolor burgundowy / Navy #0a365f */
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Podtytuł pod powitaniem */
.omnie-heading-center {
    font-size: 1.5rem;
    color: #0a365f;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 700;
}

.omnie-desc-center {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* --- HERO NA CAŁY EKRAN (100vh) --- */

.hero,
section.hero,
header + section,
main > section:first-of-type {
    /* Ustawienie wysokości na dokładnie 100% widocznego ekranu */
    min-height: 100vh !important;
    min-height: 100dvh !important; /* Wsparcie dla przeglądarek mobilnych z paskiem adresu */
    
    /* Układ flex, aby wyśrodkować treść pionowo i przykleić zdjęcie do dołu */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important; /* Rozpycha zawartość od samej góry do dołu */
    
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

/* Wewnętrzny kontener rozciągamy na całą dostępną przestrzeń */
.hero .container,
.hero-container {
    flex: 1 !important;
    display: flex !important;
    align-items: flex-end !important; /* Wyrównanie zdjęcia i zawartości do dolnej krawędzi */
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Zerujemy margines górny kolejnej sekcji */
#omnie,
.about,
section:nth-of-type(2) {
    margin-top: 0 !important;
}

/* --- POWIĘKSZENIE ZDJĘCIA I UNIESIENIE TEKSTU --- */

/* 1. Dzielimy kontener Hero na wyrównanie tekstu do środka/góry i zdjęcia do dołu */
.hero .container,
.hero-container {
    display: flex !important;
    align-items: center !important; /* Unosi kolumnę z tekstem wyżej */
    justify-content: space-between !important;
    height: 100% !important;
}

/* 2. Unoszenie bloku z tekstem i przyciskami */
.hero-text,
.hero-content,
.hero .left-column {
    margin-bottom: 80px !important; /* Unosi tekst i przyciski nad dolną krawędź */
}

/* 3. Powiększenie kontenera na zdjęcie */
.hero-image,
.hero .right-column {
    display: flex !important;
    align-items: flex-end !important; /* Zdjęcie nadal dotyka dołu */
    height: 100% !important;
    max-height: 85vh !important; /* Zwiększa wysokość zdjęcia do 85% ekranu */
}

/* 4. Powiększenie samego pliku obrazu */
.hero-image img,
.profile-img {
    height: 100% !important;
    max-height: 85vh !important;
    width: auto !important;
    object-fit: contain !important;
    object-position: bottom !important;
}

/* --- IDEALNE PRZYKLEJENIE ZDJĘCIA DO DOLNEJ KRAWĘDZI --- */

/* 1. Zerujemy dolny odstęp samego obrazu */
.hero-image img,
.profile-img,
.hero img {
    display: block !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    vertical-align: bottom !important;
    line-height: 1 !important;
}

/* 2. Dopychamy kontener ze zdjęciem do absolutnego dołu */
.hero-image,
.hero .right-column {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    align-self: flex-end !important;
}

/* --- PŁYNNE PRZEWIJANIE I WYŚRODKOWANIE SEKCJI --- */

/* 1. Włączamy płynne przewijanie na całej stronie */
html {
    scroll-behavior: smooth;
}

/* 2. Ustalamy optymalne odstępy wewnątrz sekcji "O mnie", 
      by po przewinięciu treść znajdowała się na środku ekranu */
#omnie,
section#omnie {
    /* Wycentrowanie sekcji w pionie na ekranie */
    scroll-margin-top: 15vh !important; /* Margines od góry ekranu przy przewijaniu */
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* --- PŁYNNE PRZEWIJANIE I WYŚRODKOWANIE DLA WSZYSTKICH SEKCJI --- */

/* 1. Płynne przewijanie na całej stronie */
html {
    scroll-behavior: smooth;
}

/* 2. Automatyczny margines przy przewijaniu do KAŻDEJ sekcji */
section {
    scroll-margin-top: 12vh !important; /* Dba o to, by każda sekcja lądowała z eleganckim odstępem od góry */
}

/* 3. Zwiększenie odstępów wewnątrz sekcji, by ładnie wypełniały ekran */
section.section,
main > section {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

/* Wyjątek dla pierwszej sekcji (Hero), by nadal zajmowała 100% ekranu */
.hero,
section.hero,
main > section:first-of-type {
    scroll-margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* --- OSTATECZNY FIX BEZWZGLĘDNEGO POZYCJONOWANIA NA MOBILCE --- */

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* ==========================================
   GLOBALNE ZABEZPIECZENIE DLA ZDJĘĆ
   ========================================== */
.hero-image, .profile-img {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
}

/* ==========================================
   POPRAWKA MOBILNA (TELEFONY DO 768px)
   ========================================== */
@media screen and (max-width: 768px) {

  /* 1. RESET CAŁEJ SEKCJI HERO */
  .hero {
    height: auto !important;
    min-height: unset !important;
    max-width: 100vw !important;
    padding-top: 100px !important; /* Miejsce na pływające menu */
    padding-bottom: 40px !important;
    overflow: hidden !important;
  }

  .hero-container {
    display: flex !important;
    flex-direction: column !important; /* Zdjęcie przechodzi POD tekst */
    grid-template-columns: none !important; /* Wyłączenie siatki Grid */
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .hero-text {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .hero-buttons {
    justify-content: center !important;
  }

  /* 2. NAPRAWA SAMEGO ZDJĘCIA MOBILNEGO */
  .hero-image {
    width: 100% !important;
    max-width: 260px !important; /* Kontrola szerokości zdjęcia */
    margin: 25px auto 0 auto !important; /* Centrowanie pod tekstem */
    float: none !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }

  .profile-img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }

  /* 3. NAPRAWA SEKCJI "JAK WYGLĄDAJĄ ZAJĘCIA" */
  .lessons-grid {
    display: flex !important;
    flex-direction: column-reverse !important;
    grid-template-columns: none !important;
    gap: 25px !important;
  }

  .lessons-image-wrapper, 
  .lessons-content {
    width: 100% !important;
  }

  /* BLOKADA WYCHODZENIA W BOK */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
  }
}

@media screen and (max-width: 768px) {

    /* 1. OBNIŻENIE TREŚCI - żeby pasek górny niczego nie zasłaniał */
    .hero {
        padding-top: 130px !important; /* Zwiększamy górne wczytanie, by odsłonić napis "Korepetycje" */
        padding-bottom: 20px !important;
        min-height: auto !important;
    }

    /* 2. ZMNIEJSZENIE MARGINESÓW - podciągnięcie zdjęcia wyżej */
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important; /* Zmniejszamy odstęp między tekstem a zdjęciem */
    }

    .hero-content {
        margin-bottom: 10px !important;
    }

    .hero-buttons {
        margin-top: 15px !important;
        margin-bottom: 10px !important;
    }

    /* 3. PODCIĄGNIĘCIE ZDJĘCIA W GÓRĘ */
    .hero-image {
        margin-top: 5px !important; /* Minimalny odstęp od przycisków */
        width: 100% !important;
        max-width: 250px !important; /* Lekko zmniejszamy zdjęcie, by ładnie mieściło się na ekranie */
    }

    .hero-image img,
    .profile-img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
}

@media screen and (max-width: 768px) {

    /* 1. RESET PADDINGÓW I STRUKTURY */
    .hero, 
    section.hero,
    .hero-container,
    .hero .container,
    .hero-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .hero, section.hero {
        padding-top: 100px !important;
        padding-bottom: 0 !important;
        min-height: auto !important;
    }

    .hero-container,
    .hero .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0 !important;
    }

    /* 2. PRECYZYJNE SFORMATOWANIE NAGŁÓWKÓW (Zmniejszenie interlinii i marginesu) */
    .hero h1, .hero h2, .hero h3,
    .hero-content h1, .hero-content h2, .hero-content h3 {
        font-size: 4rem !important; /* Idealna czytelna wielkość na telefon */
        line-height: 0.95 !important;  /* Ścieśnia "KOREPETYCJE" oraz "Z MATEMATYKI" */
        font-weight: 900 !important;
        margin-top: 4px !important;
        margin-bottom: 8px !important; /* Zmniejszono z 20px, aby nie odpychać tekstu poniżej */
    }

    .hero-content h1 *, 
    .hero-content h2 * {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Wyjątek dla pigułki lokalizacji */
    .hero .badge,
    .hero-content .badge,
    span.badge,
    .badge {
        font-size: 0.85rem !important;
        line-height: 1 !important;
        padding: 6px 14px !important;
        margin-bottom: 6px !important;
    }

    /* Opis pod nagłówkiem */
    .hero-content p {
        font-size: 1rem !important;
        line-height: 1.35 !important;
        padding: 0 20px !important;
        margin-top: 8px !important;
        margin-bottom: 15px !important;
    }

    /* Przyciski akcji */
    .hero-buttons {
        margin-bottom: 0 !important;
    }

    /* 3. PODCIĄGNIĘCIE I BARDZO DUŻE ZDJĘCIE */
    .hero-image {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: -25px !important; /* Ujemny margines podciąga zdjęcie mocno do góry */
        margin-bottom: 0 !important;
        display: flex !important;
        justify-content: center !important;
    }

    .profile-img,
    .hero-image img {
        width: 95% !important;        /* Wypełnia prawie cały ekran w szerokości */
        max-width: 480px !important;  /* Pozwala zdjęciu być bardzo dużym */
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
}