/**********/
/* Ogólne */
/**********/

.section {
    padding: 80px 15px;
    min-height: calc(100vh - 44px);
}

.selected-section {
    padding-top: 230px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #DBEBF8;
}

.nav-link.active {
    color: blue !important; 
}

/***************************/
/* Powiększanie dokumentów */
/***************************/

#imageOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#imageOverlay img {
    height: 100%;
    width: auto;
    cursor: zoom-out;
    box-shadow: 0 0 15px #fff;
    border-radius: 10px;
    max-height: 100vh;
    max-width: 100vw;
    object-fit: contain;
}

/************************/
/* Polityka prywatności */
/************************/

.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

.privacy-content {
    background-color: #fff;
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    color: #000;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
}

/************************/
/* Przycisk przewijania */
/************************/

#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 500;
    font-size: 18px;
    background-color: #007bff;
    color: white;
    border: none;
    outline: none;
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, padding 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: #0056b3;
}

#scrollToTopBtn i {
    font-size: 16px; /* mniejsza niż tekst */
    vertical-align: middle; /* lepsze wyrównanie */
}

/*************************/
/* Pasek z informacjami  */
/*************************/

#info-bar {
    background-color: #BEBEBF;
    position: fixed;
    width: 100vw;
    font-size: 16px;
    color: #272121;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    height: 50px;
    z-index: 9;
}

#info-bar .info-item {
    padding: 0 15px;
}

#info-bar .info-item i {
    margin-right: 8px; /* Odstęp między ikoną a tekstem */
}

@media (max-width: 1400px) {
    #info-bar {
        padding: 0;
    }
    
    #info-bar .info-item {
        padding: auto;
    }
    
    #info-bar .info-item i {
        margin-right: 2px; /* Odstęp między ikoną a tekstem */
    }
}

@media (max-width: 440px) {
    #info-bar {
        justify-content: center;
        padding: 0 10px;
        text-align: center;
    }
    
    #info-bar .info-item {
        font-size: 11px;
    }
}

/*******************/
/* Pasek nawigacji */
/*******************/

.navbar {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #272121;
    background-color: #FFFFFF;
    position: fixed;
    width: 100vw;
    height: 100px;
    margin-top: 50px;
    z-index: 10
}

@media (max-width: 1400px) {
    .navbar-collapse {
        background-color: #FFFFFF;
        position: fixed;
        width: 100%;
        top: 150px;
        left: 0;
        z-index: 10;
    }
}

.navbar-brand img {
    width: 135px;
    height: 70px;
}

.navbar-nav .nav-link {
    white-space: nowrap; /* Nie pozwala na zawijanie */
}

.navbar .nav-item {
    margin: 0 15px;
}

.navbar .container-fluid {
    flex-wrap: wrap; /* Blokuje zawijanie się elementów */
    justify-content: space-between; /* Rozkłada logo i menu na boki */
}

@media (min-width: 1400px) {
    .navbar .dropdown {
        border: 1px solid #333; /* Zmień kolor i grubość obramowania według potrzeb */
        border-radius: 8px; /* Zaokrąglone rogi */
        padding: 0 10px;
    }
}

@media (max-width: 1400px) {
    .navbar-nav {
        justify-content: center;
        width: 100%;
    }
    
    .navbar-nav li {
        text-align: center;
    }
}

/*****************/
/* Strona główna */
/*****************/

#main-background {
    width: 100%;
    min-height: 100vh; /* 100% wysokości ekranu */
    display: flow-root;
    align-items: center;
    justify-content: left;
    background: url("../img/back.png") center/cover no-repeat;
}

#languages-box {
    background: rgba(255, 255, 255, 0.6); /* Półprzezroczyste tło */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px 30px;
    text-align: left;
    width: 1000px;
    height: 270px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: #272121;
    margin: 250px 50px;
}

#languages-box p {
    word-wrap: break-word;
}

.flag-container {
    padding: 4px;
    display: inline-block; /* Zapewnia, że flaga będzie obok tekstu */
}

#languages-box img {
    margin-bottom: 3px;
}

@media (max-width: 1400px) {
    #main-background {
        display: flex;
        flex-direction: column;
        line-height: unset;
    }
    
    #languages-box {
        width: 90%;
        font-size: 20px;
        margin: 0;
        bottom: 20px;
        position: absolute;
        height: auto;
    }
    
    #languages-box p:nth-child(3) {
        font-size: 16px;
    }
    
    #languages-box img {
        max-width: 20px;
    }
}

/**********/
/* Oferty */
/**********/

    /****************/
    /* - Nagłówek - */
    /****************/
#offer-header {
    text-align: center;
    margin-bottom: 80px;
}

#offer-header h2 {
    font-size: 60px;
    font-weight: 600;
}

.offer-header-description {
    font-size: 16px;
    color: #666;
    margin: 0 auto 20px auto;
    line-height: 1.5;
    font-weight: 600;
}

.language-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.language-box {
    background: #007bff;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

.language-box:hover {
    transform: scale(1.05);
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1400px) {
    .language-box {
        padding: 6px 12px;
        font-size: 15px;
    }
    
    #offer-header h2 {
        font-size: 30px;
    }
}



    /*************/
    /* Podsekcje */
    /*************/
.offer-subsection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 70%;
    margin: 20px auto;
    flex-direction: row; /* Zmiana kierunku na poziomy */
    text-align: left; /* Wyrównanie tekstu */
}

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

.offer-left {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    width: 40%;
    text-align: center;
}

.offer-left h4 {
    margin-bottom: 15px;
}

.offer-right {
    width: 60%; 
    font-size: 16px
}

@media (max-width: 1400px) {
    .offer-subsection {
        flex-direction: column;
        width: 90%;
    }
    
    .offer-left {
        width: 100%;
    }
    
    .offer-left img {
        display: none;
    }
    
    .offer-right {
        width: 100%;
    }
}

/***************/
/* O tłumaczce */
/***************/

.about-subsection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 90%;
    margin: 20px auto;
    flex-direction: row; /* Zmiana kierunku na poziomy */
    text-align: left; /* Wyrównanie tekstu */
}

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

.about-left {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    width: 66%;
    text-align: center;
    padding-right: 10px;
}

.about-right {
    width: 34%;
    padding-left: 10px;
    font-size: 16px;
}

.about-image {
    display: flex;
    justify-content: center; /* Wyśrodkowanie obrazu */
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Zaokrąglone rogi */
}

@media (max-width: 1400px) {
    .about-subsection {
        flex-direction: column;
        width: 90%;
    }
    
    .about-left {
        width: 100%;
    }
    
    .about-right {
        width: 100%;
    }
}

/**************/
/* Referencje */
/**************/

.references-subsection {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 20px;
}

#references-header {
    text-align: center;
    margin-bottom: 80px;
    width: 100%;
}

#references-header h2 {
    font-size: 60px;
}

.references-documents {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 90%;
}

.references {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33%; 
}

.references-img {
    max-width: 70%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: contain; /* Zapewnia, że obraz zachowa proporcje */
}

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

.references p {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

@media (max-width: 1400px) {
    .references-subsection {
        gap: 0;
    }
    
    .references-documents {
        display: block;
    }
    
    .references-img:hover {
        transform: scale(1.01);
    }
    
    .references {
        width: 100%;
        padding-bottom: 20px
    }
    
    #references-header h2 {
        font-size: 30px;
    }
}

/***************/
/* Uprawnienia */
/***************/

.certificates-subsection {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 20px;
}

#certificates-header {
    text-align: center;
    margin-bottom: 80px;
    width: 90%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#certificates-header:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

#certificates-header h2 {
    font-size: 60px;
}

#certificates-header ul {
    text-align: left;
    font-size: 16px;
    padding: 20px 100px
}

.certificates-documents {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 90%;
}

.certificates {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%; 
}

.certificates-img {
    max-width: 70%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: contain; /* Zapewnia, że obraz zachowa proporcje */
}

.certificates-img:hover {
    transform: scale(1.03);
}

.certificates p {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

@media (max-width: 1400px) {
    .certificates-subsection {
        gap: 0;
    }
    
    .certificates-documents {
        display: block;
    }
    
    .certificates-img:hover {
        transform: scale(1.01);
    }
    
    .certificates {
        width: 100%;
        padding-bottom: 20px
    }
    
    #certificates-header ul {
        padding: 10px 50px;
    }
    
    #certificates-header h2 {
        font-size: 30px;
    }
}

/************************/
/* Działalność autorska */
/************************/

.activities-subsection {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 20px;
}

#activities-header {
    text-align: center;
    margin-bottom: 80px;
    width: 90%;
    background: white;
    justify-content: space-between;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#activities-header h2 {
    font-size: 60px;
}

#activities-header ul {
    text-align: left;
    font-size: 16px;
    padding: 20px 100px;
}

#activities-header li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

#activities-header li span {
    width: 65%;
}

#activities-header li a {
    width: 150px;
}

.activities-documents {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 90%;
}

.activity {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 36%; 
    margin: 0 auto;
}

.activity-img {
    max-width: 70%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: contain; /* Zapewnia, że obraz zachowa proporcje */
}

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

.activity p {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

@media (max-width: 1400px) {
    .activities-subsection {
        gap: 0;
    }
    
    .activities-documents {
        display: block;
    }
    
    .activities-img:hover {
        transform: scale(1.01);
    }
    
    .activity {
        width: 100%;
        padding-bottom: 20px
    }
    
    #activities-header ul {
        padding: 10px 50px;
    }
    
    #activities-header li {
        flex-direction: column;
        align-items: flex-start; /* lub center jeśli chcesz wycentrować */
        gap: 10px;
    }
    
    #activities-header li span {
        width: 100%;
    }

    #activities-header li a {
        width: 100%;
        max-width: 200px;
    }
    
    #activities-header h2 {
        font-size: 30px;
    }
}

/*******************/
/* Polecane strony */
/*******************/

.featured-subsection {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    margin: 20px auto;
    flex-direction: row; /* Zmiana kierunku na poziomy */
    text-align: left; /* Wyrównanie tekstu */
}

.featured-subsection h4 {
    padding: 10px;
    font-size: 1.4rem
}

#featured-header {
    text-align: center;
    margin-bottom: 80px;
}

#featured-header h2 {
    font-size: 60px;
}

.featured-left {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    width: 50%;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    min-height: 800px;
}

.featured-right {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    width: 50%;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    min-height: 800px;
}

.featured-image {
    display: flex;
    justify-content: center; /* Wyśrodkowanie obrazu */
    align-items: center;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Zaokrąglone rogi */
}

.featured-links {
    height: 260px;
}

@media (max-width: 1400px) {
    .featured-subsection {
        flex-direction: column;
        width: 90%;
    }
    
    .featured-left {
        width: 100%;
        margin-top: 5px;
    }
    
    .featured-right {
        width: 100%;
        margin-top: 5px;
    }
    
    .featured-links a {
        margin: 5px;
    }
    
    #featured-header h2 {
        font-size: 30px;
    }
}

/***********/
/* Kontakt */
/***********/

#contact {
    width: 100%;
    height: 100vh; /* Cała wysokość okna */
    padding: 0;
    margin: 0;
    background: url("../img/contact-back.png") no-repeat right bottom;
    background-size: 80%; /* Zmniejsza tło do 40% szerokości kontenera */
    display: flex;
    align-items: center; /* Wyśrodkowanie w pionie */
    justify-content: flex-start; /* Treść z lewej */
}

.contact-subsection {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 40px;
    width: 100%;
}

.contact-left {
    padding: 30px;
    max-width: 500px;
    margin-left: 5%;
}

.contact-left h3,
.contact-left p {
    margin: 0 0 10px 0;
    text-align: left;
}

.contact-left a {
    text-decoration: none;
    text-align: left;
}

/* Responsywność */
@media (max-width: 1400px) {
    
    #contact {
        background-size: 100%;
    }

    .contact-left {
        width: 100%;
        text-align: center;
    }
}

/**********/
/* Stopka */
/**********/

.footer {
    background-color: #fff; /* czarne tło */
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
}

.footer-content {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px; /* odstęp między elementami */
    flex-wrap: wrap;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}


@media (max-width: 440px) {
    .footer {
        font-size: 11px;
    }
}