 :root {
            --color1: #fee4cb;
            --color2: #feca8e;
            --color3: #ffab63;
            --color4: #e6aac6;
            --color5: #c7698e;
            --color6: #fffaf1;
        }


body {
    position: relative; /* Wymagane dla pseudoelementu */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color6);
    background-image: url('kartka4.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    color: #333;
    line-height: 1.6;
    padding: 0;
    margin: auto;
    min-height: 100vh; /* Zapewnia pełną wysokość ekranu */
}

body::before {
    content: "";
    background-image: url('kartka.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    opacity: 0.05; /* % przezroczystości */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; /* Umieszcza pod zawartością */
    pointer-events: none; /* Pozwala interakcje z elementami pod spodem */
}
        .container {
            max-width: 900px;
            padding: 0 15px;
            margin: auto;
        }
        
.hero-image {
    width: 100vw; /* Rozciągnięcie na całą szerokość viewport */
    height: 350px; /* Stała wysokość */
    object-fit: cover; /* Zapewnia poprawne skalowanie */
    display: block; /* Eliminuje domyślne marginesy obrazka */
    margin: 0 auto; /* Centrowanie poziome */
    position: relative; /* W razie potrzeby pozycjonowania */
    left: 50%; /* Pomocne dla centrowania */
    transform: translateX(-50%); /* Dokładne centrowanie */
    max-width: none; /* Wyłącza ograniczenia szerokości */
}

.page-title {
    color: var(--color5);
    font-size: 2.5rem;
    text-align: center;
    width: 100%;
    font-weight: bold;
}

     header.row p {
    margin-bottom: 20px;
    color: var(--color5);
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: auto;
    margin-left: 10px;
    text-align: center;
}   

 .intro-text {
            font-weight: bold;
            text-align: center;
            margin-bottom: 50px;
            margin-top: 50px;
            font-size: 1.1rem;
 }
        
        .tekst-top:hover {
color: var(--color4);
        }
        
section {
    margin-bottom: 50px;
    border: 2px solid;
    border-radius: 8px;
    background-color: var(--color6);
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    transition: box-shadow 0.3s ease;
    width: 100%; /* Boxy zajmują całą dostępną szerokość */
    padding: 0; /* Usunięto wewnętrzne paddingi */
}
        
        section:hover {
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        }
 
        
.advantages-section {
    padding: 60px 0;
    background-color: transparent;
    margin-bottom: 60px; /* Stały odstęp od kolejnej sekcji */
}

.section-header_2 {
    color: var(--color5);
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.section-header_2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: var(--color5);
    margin: 15px auto 0;
}

.advantage-card {
    width: 500px; /* Stała szerokość */
    margin: 0 auto; /* Wyśrodkowanie */
    border: 1px solid var(--color5);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background-color: var(--color6);
    height: 250px;
    display: flex;
    align-items: center;
}

.advantage-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-title {
    color: var(--color5);
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.card-text {
    font-size: 1.1rem;
    text-align: center;
    padding: 0 20px;
    color: #333;
}

/* Style dla nawigacji karuzeli */
.carousel-control-prev,
.carousel-control-next {
    width: 40px; /* Większa klikalna powierzchnia */
    color: var(--color5);
}

.carousel-control-prev {
    left: calc(50% - 320px); /* Pozycjonowanie względem karty */
}

.carousel-control-next {
    right: calc(50% - 320px);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    font-size: 1.5rem;
    color: var(--color5); /* Kolor strzałki */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(230, 170, 198, 0.5); /* Poprawiona składnia rgba */
    border-radius: 50%; 
}

/* Poprawione wartości RGBA dla --color4 */
/* Jeśli --color4 to #e6aac6, to odpowiada to rgba(230, 170, 198) */

.carousel-control-prev-icon::before {
    content: "‹";
    font-weight: bold;
}

.carousel-control-next-icon::before {
    content: "›";
    font-weight: bold;
}

/* Efekt hover */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(230, 170, 198, 0.9); /* Mniej przezroczyste przy najechaniu */
}

/* Responsywność */
@media (max-width: 600px) {
    .advantage-card {
        width: calc(100% - 40px); /* Uwzględnia marginesy */
        max-width: 100%;
        height: auto;
        min-height: 180px;
        padding: 20px 0;
        margin: 0 auto; /* Centrowanie */
    }
    .carousel-control-prev {
        left: 5px;
    }
    
    .carousel-control-next {
        right: 5px;
    }
    
    .section-header_2 {
        font-size: 1.5rem;
    }
    
    .card-text {
        font-size: 1rem;
        padding: 0 15px;
    }
}


        .about-section {
            border-color: var(--color1);
        }
        
        .offer-section {
            border-color: var(--color2);
        }
        
        .teaching-section {
            border-color: var(--color3);
        }
        
        .schedule-section {
            border-color: var(--color4);
        }
        
        .contact-section {
            border-color: var(--color5);
        }
        
        .testimonials-section {
            border-color: var(--color1);
        }
        

.section-header {
    background-color: var(--color5);
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 15px;
    margin: 0 -15px; /* Kompensuje paddingi rodzica */
    border-radius: 5px 5px 0 0;
    width: calc(100% + 30px); /* Kompensuje podwójne marginesy */
    position: relative;
}
        
        .section-content {
            padding: 25px;
        }
        
        .profile-img {
            width: 100%;
            max-width: 250px;
            border-radius: 8px;
            margin-top: 10px;
        }
        
.offer-card {
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--color2);
    transition: all 0.3s ease;
    width: 100%;
}
        .offer-card:hover {
            box-shadow: 0 8px 15px rgba(0,0,0,0.3);
        }
        
.offer-card h3 {
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
    color: white;
    padding: 10px;
    border-radius: 5px;
}

 .offer-card p {
            text-align: center;
            margin-bottom: 0;
            color: inherit; /* Dziedziczy kolor tekstu z rodzica */
        }
        
        .testimonial-card {
            background-color: var(--color6);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            border-top: 3px solid var(--color5);
        }
        
        .testimonial-author {
            font-weight: bold;
            color: var(--color5);
            margin-top: 15px;
            text-align: right;
        }
        
        footer {
            background-color: var(--color6);
            color: #333;
            padding: 20px 0;
            text-align: center;
            margin-top: 40px;
        }
        
        .btn-contact {
            background-color: var(--color5);
            color: white;
            font-weight: bold;
            padding: 10px 25px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
            margin-top: 15px;
            transition: all 0.3s ease;
        }
        
        .btn-contact:hover {
            background-color: #b55a7d;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        }

 /* Dla sekcji z dwoma kolumnami (O mnie) */
.about-section .row {
    margin-left: 0;
    margin-right: 0;
}

.about-section .col-md-7, 
.about-section .col-md-5 {
    padding-left: 0;
    padding-right: 0;
}      

.about-section .section-header {
    background-color: var(--color1);
}

.offer-section .section-header {
    background-color: var(--color2);
}

.teaching-section .section-header {
    background-color: var(--color3);
}

.schedule-section .section-header {
    background-color: var(--color4);
}

.contact-section .section-header {
    background-color: var(--color5);
}

.testimonials-section .section-header {
    background-color: var(--color1);
}

/* */
.offer-section .offer-card:nth-child(5n+1) {
    background-color: var(--color5);
    color: #333;
}

.offer-section .offer-card:nth-child(5n+1) h3 {
    background-color: darken(var(--color5), 10%);
    color: #333;
}
/**/
.offer-section .offer-card:nth-child(5n+2) {
    background-color: var(--color1); 
    color: #333;
}

.offer-section .offer-card:nth-child(5n+2) h3 {
    background-color: darken(var(--color1), 10%);
    color: #333;
}

.offer-section .offer-card:nth-child(5n+3) {
    background-color: var(--color2);
    color: #333;
}

.offer-section .offer-card:nth-child(5n+3) h3 {
    background-color: darken(var(--color2), 10%);
    color: #333;
}

.offer-section .offer-card:nth-child(5n+4) {
    background-color: var(--color3); 
    color: #333;
}

.offer-section .offer-card:nth-child(5n+4) h3 {
    background-color: darken(var(--color3), 10%);
    color: #333;
}

.offer-section .offer-card:nth-child(5n+5) {
    background-color: var(--color4); 
color: #333;
}

.offer-section .offer-card:nth-child(5n+5) h3 {
    background-color: darken(var(--color4), 10%);
    color: #333;
}

.teaching-methods-section {
    max-width: 800px;
    /* margin: 0 auto; */
    /* padding: 20px; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.teaching-intro, .teaching-outro {
    margin-bottom: 15px;
    color: #333;
}

.elegant-list {
    list-style-type: none;
    padding-left: 0;
    margin: 20px 0;
    padding-left: 40px;
}

.elegant-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1rem;    
    transition: all 0.3s ease; /* Płynne przejście animacji */
    border-radius: 4px; /* Lekko zaokrąglone rogi */
    /*padding: 8px 12px;  Więcej przestrzeni wokół tekstu */
    margin-left: -12px; 
}


.elegant-list li:hover {
    background-color: var(--color4); /* Kolor tła po najechaniu */
    transform: translateX(5px); /* Lekkie przesunięcie w prawo */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Delikatny cień */
}
.elegant-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color3);
    font-weight: bold;
}
/* Dla lepszej czytelności możesz dodać */
.elegant-list li:hover::before {
    color: var(--color5); /* Zmiana koloru ikony na hover */
}