/* ===== PODSTAWOWE ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}

a:hover {
    transform: scale(1.05);
}

/* ===== HEADER ===== */
.header-minimal {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;

}

.header-minimal .logo {
    color: #0a4dbf;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

.header-minimal nav a {
    color: #333;
    margin-left: 25px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.header-minimal nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #0a4dbf;
    transition: width 0.3s;
}

.header-minimal nav a:hover::after {
    width: 100%;
}

/* ===== NAGŁÓWEK Z LOGO OBOK TEKSTU ===== */
.header-logo-text {
    display: flex;
    align-items: center;
    gap: 20px;
    /* odstęp między logo a tekstem */

}

.header-logo-text img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid #0a4dbf;
}

.header-logo-text .text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-logo-text .text-container span:first-child {
    font-size: 24px;
    /* większy puddingowy rozmiar */
    font-weight: 700;
    color: #0a4dbf;
}

.header-logo-text .text-container span:last-child {
    font-size: 18px;
    font-weight: 500;
    color: #333;

}

/* ===== HERO ===== */
.hero-soft {
    height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, #f4f8ff, #ffffff);
    padding: 0 20px;

}

.hero-soft h1 {
    font-size: 39px;
    color: #0a4dbf;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.hero-soft h2 {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #1a1a1a;

}

.hero-soft p {
    font-size: 18px;
    color: #555;
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.8;
}

.btn-soft {
    padding: 14px 32px;
    background-color: #0a4dbf;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(10, 77, 191, 0.3);
    transition: all 0.3s;


}

.btn-soft:hover {
    background-color: #083a92;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(10, 77, 191, 0.35);
}

/* ===== PODSTRONY ===== */
.page-soft {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 25px;

}

.page-soft h1 {
    color: #0a4dbf;
    margin-bottom: 30px;
    font-size: 36px;
    text-align: center;
    letter-spacing: 0.5px;
}

.page-soft h2 {
    color: #0a4dbf;
    margin-top: 50px;
    margin-bottom: 15px;
    font-size: 22px;
    border-left: 4px solid #0a4dbf;
    padding-left: 10px;
}

.page-soft p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;

}

/* ===== INSTRUKTORZY ===== */
.instructor-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 35px;
    max-width: 1000px;
    margin: 30px auto;
}

.instructor-list .instructor:nth-child(1) {
    grid-column: 1 / 4;
}

.instructor-list .instructor:nth-child(n+2) {
    grid-column: auto;
}

.instructor {
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #f8fbff;
}

.instructor:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.instructor img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 3px solid #0a4dbf;
}

.instructor h3 {
    color: #0a4dbf;
    margin-bottom: 8px;
    font-size: 18px;
}

.instructor p {
    font-size: 15px;
    color: #555;
}

z

/* ===== STOPKA ===== */
.footer-minimal {
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 14px;
    border-top: 1px solid #e5e5e5;
}

/* ===== PODSTAWOWE ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}

a:hover {
    transform: scale(1.05);
}

/* ===== HEADER ===== */
.header-minimal {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-minimal .logo {
    color: #0a4dbf;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

.header-minimal nav a {
    color: #333;
    margin-left: 25px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.header-minimal nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #0a4dbf;
    transition: width 0.3s;
}

.header-minimal nav a:hover::after {
    width: 100%;
}

/* ===== HERO ===== */
.hero-soft {
    height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, #f4f8ff, #ffffff);
    padding: 0 20px;
}

.hero-soft h1 {
    font-size: 48px;
    color: #0a4dbf;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.hero-soft h2 {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-soft p {
    font-size: 18px;
    color: #555;
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.8;
}

.btn-soft {
    padding: 14px 32px;
    background-color: #0a4dbf;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(10, 77, 191, 0.3);
    transition: all 0.3s;
}

.btn-soft:hover {
    background-color: #083a92;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(10, 77, 191, 0.35);
}

/* ===== PODSTRONY ===== */
.page-soft {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 25px;
}

.page-soft h1 {
    color: #0a4dbf;
    margin-bottom: 30px;
    font-size: 36px;
    text-align: center;
    letter-spacing: 0.5px;
}

.page-soft h2 {
    color: #0a4dbf;
    margin-top: 50px;
    margin-bottom: 15px;
    font-size: 22px;
    border-left: 4px solid #0a4dbf;
    padding-left: 10px;
}

.page-soft p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== CENNIK ===== */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.price-table th {
    background-color: #f4f8ff;
    color: #0a4dbf;
    text-align: left;
    padding: 15px;
    font-size: 16px;
}

.price-table td {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px;
    font-size: 15px;
    transition: background 0.3s;
}

.price-table td:hover {
    background-color: #f0f4ff;
}

.price-note {
    margin-top: 25px;
    font-size: 14px;
    color: #777;
    text-align: center;
}

/* ===== KONTAKT ===== */
.contact-info p {
    font-size: 16px;
    color: #444;
    margin-bottom: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    margin-top: 6px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0a4dbf;
    box-shadow: 0 0 6px rgba(10, 77, 191, 0.25);
    outline: none;
}

.contact-form button {
    width: 160px;
    padding: 12px;
    background-color: #0a4dbf;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.contact-form button:hover {
    background-color: #083a92;
    transform: translateY(-2px);
}

.map {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ===== STOPKA ===== */
.footer-minimal {
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 14px;
    border-top: 1px solid #e5e5e5;
}

/* ===== INSTRUKTORZY ===== */
.instructor-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 35px;
    max-width: 1000px;
    margin: 30px auto;
}

/* Pierwszy instruktor – duży, zajmuje cały górny wiersz */
.instructor-list .instructor:nth-child(1) {
    grid-column: 1 / 4;
    /* zajmuje 3 kolumny */
}

/* Pozostali trzej instruktorzy pod spodem */
.instructor-list .instructor:nth-child(n+2) {
    grid-column: auto;
}

/* Karty instruktorów */
.instructor {
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #f8fbff;
}

.instructor:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.instructor img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 3px solid #0a4dbf;
}

.instructor h3 {
    color: #0a4dbf;
    margin-bottom: 8px;
    font-size: 18px;
}

.instructor p {
    font-size: 15px;
    color: #555;
}

/* ===== OPINIE ===== */
.review-summary {
    margin-bottom: 25px;
    font-size: 17px;
    color: #444;
    font-weight: 500;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.review {
    border-left: 5px solid #0a4dbf;
    padding-left: 18px;
    background-color: #f9fbff;
    border-radius: 5px;
    padding: 15px 18px;
}

.review-text {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
}

.review-author {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* ===== OFERTA ===== */
#oferta {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 25px;
}

#oferta h1 {
    color: #0a4dbf;
    font-weight: 600;
    text-align: center;
    margin-bottom: 35px;
    font-size: 38px;
    letter-spacing: 1px;
}

.kursy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.kurs-card {
    background-color: #f5f8ff;
    border: 2px solid #0a4dbf;
    border-radius: 12px;
    padding: 22px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.kurs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #083a92;
}

.kurs-card h2 {
    color: #0a4dbf;
    margin-bottom: 18px;
    font-size: 22px;
    text-align: center;
}

.kurs-card ul {
    list-style: none;
    padding-left: 0;
}

.kurs-card ul li {
    padding-left: 18px;
    position: relative;
    margin-bottom: 12px;
    color: #333;
}

.kurs-card ul li::before {
    content: "•";
    color: #0a4dbf;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* ===== DODATKOWE EFEKTY ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scale-on-hover {
    transition: transform 0.3s;
}

.scale-on-hover:hover {
    transform: scale(1.05);
}

/* =============================== */
/* Główna sekcja landing */
.landing-hero {
    width: 100%;
    background-color: #ffffff;
    padding: 100px 20px 80px 20px;
    /* większy top i bottom padding */
    display: flex;
    justify-content: center;
}

/* Wrapper całej sekcji */
.landing-wrapper {
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    /* większe odstępy między podsekcjami */
    text-align: center;
}

/* Nagłówek i intro */
.landing-intro h1 {
    font-size: 50px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 20px;
}

.landing-intro p {
    font-size: 18px;
    color: #555555;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* Przycisk */
.btn-primary {
    background-color: #0a4dbf;
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

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

/* Cechy / benefits */
.landing-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    /* odstęp od nagłówka */
    margin-bottom: 40px;
    /* odstęp do statystyk */
}

.feature-card {
    background-color: #e8f0ff;
    padding: 25px 20px;
    border-radius: 15px;
    max-width: 250px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: #0a4dbf;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p {
    font-size: 14px;
    color: #333333;
}

/* Statystyki */
.landing-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    /* odstęp od cech */
}

.stat-card {
    background-color: #f5f8ff;
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat-card h2 {
    font-size: 32px;
    color: #0a4dbf;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 14px;
    color: #333333;
}

/* =============================== */
/* Dodatkowe odstępy dla całej strony */
section {
    margin-bottom: 80px;
    /* odstęp między sekcjami */
}

/* Sekcja landing */
.landing-hero {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 20px 60px 20px;
    /* zmniejszony padding top i bottom */
    display: flex;
    justify-content: center;
}

/* Wrapper sekcji */
.landing-wrapper {
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    /* mniejsze odstępy między podsekcjami */
    text-align: center;
}

/* Nagłówek i intro */
.landing-intro h1 {
    font-size: 50px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 15px;
    /* mniejszy odstęp do tekstu */
}

.landing-intro p {
    font-size: 18px;
    color: #555555;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 20px auto;
    /* mniejszy odstęp pod tekstem */
}

/* Cechy / benefits */
.landing-features {
    display: flex;
    gap: 15px;
    /* mniejsze odstępy między divami */
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    /* mniejszy odstęp od nagłówka */
    margin-bottom: 20px;
    /* mniejszy odstęp do statystyk */
}

/* Statystyki */
.landing-stats {
    display: flex;
    gap: 20px;
    /* mniejsze odstępy między divami */
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    /* mniejszy odstęp od cech */
}

/* Przyciski pozostają takie same */
.btn-primary {
    background-color: #0a4dbf;
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

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

/* ===== GALERIA ===== */

.gallery-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

#gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
}

#gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#gallery-grid img:hover {
    transform: scale(1.03);
}

.hero-soft {
    /* Tło z obrazem */
    background-image: url('tlo.png');
    /* Ścieżka do Twojego zdjęcia */
    background-size: cover;
    /* Obraz wypełnia całą sekcję */
    background-position: center;
    /* Centrowanie obrazu */
    background-repeat: no-repeat;
    /* Nie powtarza obrazu */

    height: 100vh;
    /* Wysokość sekcji na całey ekran */


}

/* ===== PODSTAWOWE ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}

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

/* ===== HEADER ===== */
.header-minimal {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-logo-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo-text img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid #0a4dbf;
}

.header-logo-text .text-container {
    display: flex;
    flex-direction: column;
}

.header-logo-text span:first-child {
    font-size: 22px;
    font-weight: 700;
    color: #0a4dbf;
}

.header-logo-text span:last-child {
    font-size: 16px;
    color: #333;
}

nav a {
    margin-left: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #0a4dbf;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ===== CONTENT ===== */
.page-soft {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 25px;
}

.page-soft h1 {
    font-size: 36px;
    color: #0a4dbf;
    text-align: center;
    margin-bottom: 40px;
}

.info-box {
    background-color: #f5f8ff;
    border-left: 5px solid #0a4dbf;
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.info-box h2 {
    margin-top: 0;
    color: #0a4dbf;
    font-size: 22px;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

/* ===== STOPKA ===== */
.footer-minimal {
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 14px;
    border-top: 1px solid #e5e5e5;
    margin-top: 80px;
}

/* ===== PODSTAWOWE ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}

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

/* ===== HEADER ===== */
.header-minimal {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-logo-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo-text img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.header-logo-text span:first-child {
    font-size: 22px;
    font-weight: 700;
    color: #0a4dbf;
}

.header-logo-text span:last-child {
    font-size: 16px;
    color: #333;
}

nav a {
    margin-left: 25px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #0a4dbf;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ===== STRONA ===== */
.page-soft {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 25px;
}

.page-soft h1 {
    text-align: center;
    font-size: 36px;
    color: #0a4dbf;
    margin-bottom: 50px;
}

/* ===== O NAS – UKŁAD ===== */
.about-layout {
    display: flex;
    gap: 50px;
    align-items: center;
}

/* TEKST */
.about-text {
    flex: 1;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

/* ZDJĘCIE – BEZ RAMKI */
.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    /* brak zaokrągleń */
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 900px) {
    .about-layout {
        flex-direction: column;
    }

    .about-image img {
        max-height: 350px;
        object-fit: cover;
    }
}

/* ===== STOPKA ===== */
.footer-minimal {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #777;
    border-top: 1px solid #e5e5e5;
}

.hero-soft h1 {
    position: absolute;
    left: 52%;
    top: 76%;
    transform: translate(-50%, -50%);

    margin: 0;
    padding: 0;
    font-size: var(--hero-h1-size);
    white-space: nowrap;
}

.hero-soft h2 {
    position: absolute;
    left: 50%;
    top: 84%;
    transform: translate(-50%, -50%);

    margin: 0;
    padding-left: 14px;
    font-size: var(--hero-h2-size);
    border-left: 3px solid currentColor;
    white-space: nowrap;
}

.hero-soft p {
    position: absolute;
    left: 50%;
    top: 90%;
    transform: translate(-50%, -50%);

    margin: 0;
    font-size: var(--hero-p-size);
    white-space: nowrap;

}

:root {
    --hero-h1-size: 35px;
    --hero-h2-size: 20px;
    --hero-p-size: 14px;
}

/* ========================= */
/* 📱 RESPONSYWNOŚĆ TELEFON */
/* ========================= */
@media (max-width: 768px) {

    /* ===== HEADER ===== */
    .header-minimal {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }

    .header-logo-text {
        gap: 12px;
    }

    .header-logo-text img {
        width: 55px;
        height: 55px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    nav a {
        margin-left: 0;
        font-size: 13px;
    }

    /* ===== HERO ===== */
    .hero-soft {
        height: 100vh;
        padding: 20px;
    }

    .hero-soft h1 {
        position: static;
        transform: none;
        font-size: 26px;
        margin-bottom: 8px;
        text-align: center;
        white-space: normal;
    }

    .hero-soft h2 {
        position: static;
        transform: none;
        font-size: 16px;
        margin-bottom: 8px;
        border-left: none;
        padding-left: 0;
        text-align: center;
        white-space: normal;
    }

    .hero-soft p {
        position: static;
        transform: none;
        font-size: 13px;
        text-align: center;
        white-space: normal;
        max-width: 90%;
    }

    /* ===== LANDING ===== */
    .landing-wrapper {
        gap: 30px;
    }

    .landing-intro h1 {
        font-size: 30px;
    }

    .landing-intro p {
        font-size: 15px;
    }

    .btn-primary {
        padding: 14px 30px;
        font-size: 14px;
    }

    /* ===== FEATURES ===== */
    .landing-features {
        gap: 15px;
    }

    .feature-card {
        max-width: 100%;
    }

    /* ===== STATS ===== */
    .landing-stats {
        gap: 15px;
    }

    .stat-card {
        min-width: 120px;
        padding: 15px 20px;
    }

    .stat-card h2 {
        font-size: 24px;
    }

    /* ===== INSTRUKTORZY ===== */
    .instructor-list {
        grid-template-columns: 1fr;
    }

    .instructor-list .instructor:nth-child(1) {
        grid-column: auto;
    }

    /* ===== OFERTA ===== */
    .kursy-grid {
        grid-template-columns: 1fr;
    }

    /* ===== GALERIA ===== */
    #gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    #gallery-grid img {
        height: 150px;
    }

    /* ===== O NAS ===== */
    .about-layout {
        flex-direction: column;
        gap: 30px;
    }

    /* ===== FOOTER ===== */
    .footer-minimal {
        font-size: 12px;
        padding: 15px;
    }
}

/* ========================= */
/* 📱 MOBILE – BEZ ZDJĘCIA   */
/* ========================= */

@media (max-width: 768px) {
    .hero-soft {
        height: auto;
        background: none;
        padding: 80px 20px 40px;
    }

    .hero-text {
        position: static;
        transform: none;
        max-width: 100%;
    }
}
/* ========================= */
/* 🖥️ DUŻE EKRANY – DESKTOP */
/* ========================= */

@media (min-width: 1200px) {

    /* ===== HEADER ===== */
    .header-minimal {
        padding: 25px 80px;
    }

    nav a {
        font-size: 15px;
    }

    /* ===== HERO ===== */
    .hero-soft {
        height: 100vh;
        padding: 0 80px;
    }

    .hero-soft h1 {
        font-size: 56px;
        white-space: nowrap;
    }

    .hero-soft h2 {
        font-size: 24px;
    }

    .hero-soft p {
        font-size: 16px;
        max-width: 650px;
    }

    /* ===== LANDING ===== */
    .landing-wrapper {
        max-width: 1200px;
        margin: auto;
        gap: 60px;
    }

    .landing-intro h1 {
        font-size: 48px;
    }

    .landing-intro p {
        font-size: 18px;
    }

    /* ===== FEATURES ===== */
    .landing-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    /* ===== STATS ===== */
    .landing-stats {
        gap: 30px;
    }

    .stat-card h2 {
        font-size: 36px;
    }

    /* ===== INSTRUKTORZY ===== */
    .instructor-list {
        grid-template-columns: repeat(3, 1fr);
    }

    /* ===== OFERTA ===== */
    .kursy-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* ===== GALERIA ===== */
    #gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    #gallery-grid img {
        height: 240px;
    }

    /* ===== FOOTER ===== */
    .footer-minimal {
        font-size: 14px;
    }
}