
/* ===== PROFESJONALNE STYLE BAZOWE ===== */
html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Profesjonalna nawigacja */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 700;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333 !important;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
    width: 100%;
}
p,div{
    font-size: 1.25rem;
    font-weight: 300;
}
.o-nas-summary {
text-align: justify;
}
.fa-brands.fa-linkedin-in {
    color: #0077B5; /* Kolor brandowy LinkedIn */
    font-size: 16px;
}
ul li::marker{
    color: #007bff; /* Użyj swojego odcienia niebieskiego, np. #007bff */
    font-size: 1.2em; /* Opcjonalnie: możesz też zwiększyć ich rozmiar */
}

.blue-separator {
    border: none; /* Usuwa domyślną, często szarą, granicę */
    height: 3px; /* Ustawia grubość linii */
    background-color: #007bff; /* Ustawia niebieski kolor */
    width: 80%; /* Ogranicza szerokość linii, np. do 50%, żeby wycentrować */
    margin: 20px auto; /* Centruje linię i dodaje odstęp */
}
.orange-big {
    font-size: 1.5em; /* Możesz dostosować */
    color: orange;
}
/* Usunięto niestandardowe ikony karuzeli z sufiksem '2' w HTML */
section,
footer {
    padding: 40px 0;
}
/* Reset dla obrazów i styl dla tła showcase */
img {
    max-width: 100%;
    height: auto;
}

/* Responsywne obrazy w karuzeli */
.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsywne kontenery */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}
.showcase-img {
    background-size: cover;
    background-position: center;
}

.showcase-text {
    padding: 50px;
}

.showcase {
    padding: 0;
}

/* Profesjonalna sekcja kontakt */
.team-item {
    max-width: 300px;
    margin-bottom: 30px;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffc107, #fd7e14);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.team-item:hover::before {
    transform: scaleX(1);
}

.team-item .h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-item p {
    color: #666;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

/* Brak ; po center */
.call-to-action {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(0, 86, 179, 0.9)), url(../img/slider-1.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.call-to-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.call-to-action .container {
    position: relative;
    z-index: 2;
}

/* Profesjonalny formularz */
.form-control {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.btn-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838, #1e7e34);
}

/* ===== RESPONSYWNOŚĆ ===== */

/* Tablet i większe telefony (768px - 991px) */
@media (max-width: 991px) {
    .navbar-brand h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption h3 {
        font-size: 1.5rem;
    }
    
    section, footer {
        padding: 30px 0;
    }
    
    .showcase-text {
        padding: 30px;
    }
}

/* Telefony (do 768px) */
@media (max-width: 768px) {
    /* Nawigacja */
    .navbar-brand h2 {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    /* Karuzela główna */
    .carousel-caption {
        bottom: 10px;
        padding: 10px;
    }
    
    .carousel-caption h3 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }
    
    /* Sekcje */
    section, footer {
        padding: 25px 0;
    }
    
    /* Typografia */
    p, div {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    /* Karty osób */
    .person-card {
        margin-bottom: 20px;
    }
    
    .person-name {
        font-size: 1.1rem;
    }
    
    /* Sekcja kontakt */
    .service-item,
    .team-item {
        margin-bottom: 30px;
    }

    .service-item:last-child,
    .team-item-last {
        margin: 0;
    }

    .showcase-img {
        height: 250px;
    }
    
    .showcase-text {
        padding: 20px;
    }
    
    /* Formularz kontaktowy */
    .call-to-action {
        padding: 40px 0;
    }
    
    .call-to-action h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .form-control {
        font-size: 1rem;
        padding: 12px;
    }
    
    /* Karuzela aplikacji */
    #carouselExampleCaptions2 .carousel-control-prev,
    #carouselExampleCaptions2 .carousel-control-next {
        width: 36px;
        height: 36px;
        margin: 8px 4px 0;
    }
    
    #carouselExampleCaptions2 .carousel-control-prev-icon,
    #carouselExampleCaptions2 .carousel-control-next-icon {
        width: 20px;
        height: 20px;
        background-size: 20px 20px;
    }
}

/* Małe telefony (do 576px) */
@media (max-width: 576px) {
    /* Nawigacja */
    .navbar-brand h2 {
        font-size: 1.2rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Karuzela główna */
    .carousel-caption {
        bottom: 5px;
        padding: 8px;
    }
    
    .carousel-caption h3 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    /* Sekcje */
    section, footer {
        padding: 20px 0;
    }
    
    /* Typografia */
    p, div {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    /* Karty */
    .read-card,
    .person-card,
    .o-nas-summary {
        padding: 16px;
        margin-bottom: 15px;
    }
    
    /* Lista w sekcji "Warto przeczytać" */
    .read-list {
        padding-left: 15px;
    }
    
    .read-list li {
        margin-bottom: 8px;
        font-size: 0.95rem;
    }
    
    /* Sekcja O nas */
    .person-list {
        padding-left: 15px;
    }
    
    .person-list li {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    /* Kontakt */
    .team-item {
        margin-bottom: 25px;
    }
    
    .team-item p {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .team-item .h5 {
        font-size: 1.1rem;
    }
    
    /* Formularz */
    .call-to-action h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .form-control {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    textarea.form-control {
        min-height: 100px;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    /* Showcase */
    .showcase-text {
        padding: 15px;
    }
    
    /* Footer */
    .footer p {
        font-size: 0.8rem;
    }
}

/* Bardzo małe ekrany (do 480px) */
@media (max-width: 480px) {
    .navbar-brand h2 {
        font-size: 1.1rem;
    }
    
    .carousel-caption h3 {
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .read-card,
    .person-card,
    .o-nas-summary {
        padding: 12px;
    }
    
    .call-to-action {
        padding: 30px 0;
    }
    
    .call-to-action h2 {
        font-size: 1.2rem;
    }
}

/* Orientacja pozioma na telefonach */
@media (max-height: 500px) and (orientation: landscape) {
    .carousel-caption {
        display: none;
    }
    
    section, footer {
        padding: 15px 0;
    }
    
    .call-to-action {
        padding: 20px 0;
    }
}

/* Dodatkowe style dla lepszej dostępności */
@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        transition: none;
    }
}

/* Wysokie rozdzielczości (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .carousel-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===== PROFESJONALNE ANIMACJE I EFEKTY ===== */

/* Animacje wejścia */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Profesjonalne karty */
.card-professional {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.card-professional:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Sekcja O nas */
#o-nas .person-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#o-nas .person-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

#o-nas .person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

#o-nas .person-card:hover::before {
    transform: scaleX(1);
}

#warto-przeczytac {
    padding: 60px 0;
}

#warto-przeczytac .read-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#warto-przeczytac .read-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

#warto-przeczytac .read-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

#warto-przeczytac .read-card:hover::before {
    transform: scaleX(1);
}

#warto-przeczytac .read-list {
    padding-left: 20px;
}

#warto-przeczytac .read-link {
    display: inline-block;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

#warto-przeczytac .read-link:hover {
    text-decoration: underline;
}
#o-nas .person-name {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Sterowanie karuzelą w sekcji Aplikacja: jasnoszare i pod grafiką */
#carouselExampleCaptions2 {
    position: relative;
}
#carouselExampleCaptions2 .carousel-control-prev,
#carouselExampleCaptions2 .carousel-control-next {
    position: static; /* nie nachodzą na grafikę */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; /* okrągły, klikalny przycisk */
    height: 44px;
    padding: 0;
    margin: 12px 6px 0; /* odstęp od karuzeli */
    opacity: 1;
    border-radius: 50%;
    background-color: #c9c9c9; /* jasnoszare tło koła */
    cursor: pointer;
}
#carouselExampleCaptions2 .carousel-control-prev-icon,
#carouselExampleCaptions2 .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    filter: invert(0.15) brightness(0.3); /* ciemniejsza strzałka na jasnym tle */
}

#o-nas .person-list {
    padding-left: 20px;
    margin: 0;
}

#o-nas .person-list li {
    margin-bottom: 6px;
}

#o-nas .o-nas-summary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
}

/* Dodatkowe klasy pomocnicze dla responsywności */
.text-responsive {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Lepsze odstępy na różnych urządzeniach */
@media (max-width: 576px) {
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-3 {
        margin-bottom: 1rem !important;
    }
}

/* Ukrywanie elementów na bardzo małych ekranach jeśli potrzeba */
@media (max-width: 350px) {
    .carousel-caption {
        display: none;
    }
    
    .navbar-brand h2 {
        font-size: 1rem;
    }
}