/*
 Theme Name:   WP Bootstrap Starter Child
 Theme URI:    https://example.com
 Description:  Child theme for WP Bootstrap Starter
 Author:       Tomasz
 Template:     wp-bootstrap-starter
 Version:      1.0.0
*/

/* Tu możesz dopisywać swój CSS */

body,
button,
input,
select,
textarea {
	font-family: 'Open Sans', sans-serif;
	font-weight: normal;
	text-transform: none;
	font-size: 16px;
	line-height: 1.5;
    color: black;
}

.site-logo img {
    width: 150px;
    height: auto;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.85)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-logo.mb-3 {
    border-bottom: 1px solid black;
    padding-bottom: 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: black;
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 48px;
}

h1.title-subpage {
    margin-bottom: 15px;
    margin-top: 50px;
}


h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 38px;
    margin-bottom: 15px;
    margin-top: 30px;
}


h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 15px;
    margin-top: 30px;
}

h4 {
    font-size: 18px;
    font-weight: bold;
}

h5 {
    font-size: 16px;
    font-weight: bold;
}


ol.numbers_bullets ::marker{
    font-weight: bold;
}

ol.numbers_bullets_regular ::marker{
    font-weight: normal;
}


a {
    color: black;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: black;
    text-decoration: underline;
}

p.text-small {
    color: #212529;
    font-size: 14px;
}

li {
    margin-bottom: 5px;
}

li.menu-item {
    margin-bottom: 0px;
}

ol ol, ol ul, ul ol, ul ul {
    margin-bottom: 1rem;
}

.footer-title{
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
}

footer.main-footer {
    background-color: black;
    color: #fff;
    font-size: 12px;;
    padding-top: 150px;
    padding-bottom: 20px;
}

footer.main-footer a.nav-link{
    color: white;
    text-decoration: none;
    background-color: transparent;
    padding: 5px 0;
}

footer.main-footer a.nav-link:hover{
    text-decoration: underline;
    background-color: transparent;
}

footer.main-footer a {
    color: white;
}

.logo-footer img {
    width: 150px;
    height: auto;
}

footer.main-footer p {
    font-size: 12px;;
}

.kolumna-footer {
    margin-bottom: 40px;
}

.social-footer img {
    width: 16px;
    height: auto;
    float: left;
    margin-right: 10px;
}

header .container {
    position: relative;
}

/* Desktop language switcher */
.lang-switcher-desktop {
    position: absolute;
    top: 0px; /* dopasujesz do wysokości logo */
    right: 0;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-switcher-desktop .lang-item {
    text-decoration: none;
    color: #000;
    padding: .5rem 1rem;
    margin-right: 10px;
    margin-left: 10px;
    opacity: 0.3;
    transition: opacity .2s;
}

.lang-switcher-desktop .lang-item.active {
    opacity: 1;
    font-weight: 600;
}

.lang-switcher-desktop .lang-item:hover {
    opacity: 1;
}

.lang-switcher-desktop .sep {
    opacity: 0.3;
}


/* MOBILE MENU LANGUAGE SWITCHER — widoczny tylko po otwarciu menu */
.mobile-lang-switcher {
    display: none;
    text-align: left;
    padding: 80px 30px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
}

.mobile-menu-overlay.active .mobile-lang-switcher {
    display: block;
}

.mobile-lang-switcher .lang-item {
    text-decoration: none;
    padding: .5rem 1rem;
    margin-right: 10px;
    margin-left: 10px;
    color: #000;
    opacity: 0.3;
    transition: opacity .2s;
}

.mobile-lang-switcher .lang-item.active {
    opacity: 1;
    font-weight: 600;
}

.mobile-lang-switcher .lang-item:hover {
    opacity: 1;
}

.mobile-lang-switcher .sep {
    opacity: 0.3;
}




.czarny-przycisk {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    width: 250px;
    background: transparent;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid black;
    border-radius: 0;
    text-decoration: none;
    color: black;
    position: relative;
}

.czarny-przycisk::after {
    content: url('images/arrow_button.svg');
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.czarny-przycisk:hover::after {
    opacity: 1;
    transform: translateX(0);
}

a.czarny-przycisk {
    color: black;
}

a.czarny-przycisk a:hover {
    color: black;
    text-decoration: none;
}

.czarny-przycisk:hover {
    color: black;
    text-decoration: none;
}


.bialy-przycisk {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    width: 250px;
    background: transparent;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid white;
    border-radius: 0;
    text-decoration: none;
    color: white;
    position: relative;
}

.bialy-przycisk::after {
    content: url('images/arrow_button_wht.svg');
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.bialy-przycisk:hover::after {
    opacity: 1;
    transform: translateX(0);
}

a.bialy-przycisk {
    color: white;
}

a.bialy-przycisk a:hover {
    color: white;
    text-decoration: none;
}

.bialy-przycisk:hover {
    color: white;
    text-decoration: none;
}


.call-to-action_section {
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    height: 400px;
    width: 100%;
    display: block;
    margin-top: 50px;
    background-image: url('images/CTA_banner.jpg');
}

@media screen and (max-width: 680px) {
.call-to-action_section {
    background-image: none;
    background-color: #e7e8ec;
}
    
}

.call-to-action_section h2 {
    font-size: 46px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.call-to-action_section h3 {
    margin-top: 0px;
    margin-bottom: 50px;;
}


.navbar-light .navbar-nav .nav-link {
    padding: .5rem 1rem;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 14px;
}

.hero {
    position: relative;
    z-index: 1;
    height: 550px;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7); /* przyciemnienie */
    z-index: -1;
}

.hero_content {
    color: white;
    margin-top: 60px;
}

.hero_content h1 {
    color: white;
    line-height: 46px;
    margin-bottom: 10px;
}

.hero_content p.text-small {
    color: white;
    margin-bottom: 40px;
}


.hero_content > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.hero_content h1 {
    animation-delay: 0.2s;
}

.hero_content p {
    animation-delay: 0.4s;
}

.hero_content .bialy-przycisk {
    animation-delay: 0.6s;
}


.inv-gallery .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3; /* lub inne proporcje, np. 4/3, 3/2 */
    display: block;
}


@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


.title-subpage::after{
    content: "";
    display: inline-block;
    margin-bottom: 10px;
    margin-left: 13px;
    width: 150px;
    height: 1px;
    background-color: black;
}


section.zwykly-tekst {
    margin-top: 25px;
    margin-bottom: 25px;
}

.kreska-miedzy-kolumnami {
    width: 1px;
    height: 100%;
    background-color: black;
    margin: 0 auto;
}


.form-control {
    border: 0px;
    border-bottom: 1px solid black;
    border-radius: 0px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.btn.btn-primary {
    background: black;
    color: white;
    border: 0px;
    border-radius: 0px;
    padding: 10px 15px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.btn.btn-primary:hover {
    background: rgb(31, 31, 31);
    border: 0px;
    border-radius: 0px;
    padding: 10px 15px;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #f7f7f7 inset !important;
    box-shadow: 0 0 0 1000px #f7f7f7 inset !important;
    -webkit-text-fill-color: #000 !important;
}

input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #f7f7f7 inset !important;
    box-shadow: 0 0 0 1000px #f7f7f7 inset !important;
    -webkit-text-fill-color: #000 !important;
}


button:focus,
input[type="submit"]:focus {
    outline: none;
    box-shadow: none;
}

.wpcf7-response-output {
    transition: all 0.3s ease;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #f0fff2;
    background-color: #f0fff2;
}


.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #fffbf0;
    background-color: #fffbf0;
}

.wpcf7 form.submitting .wpcf7-response-output {
    border-color: #f0fff2;
    background-color: #f0fff2;
}

h3.kontakt_subtitle {
    margin-top: 1rem;
}

h1.blog-title, h1.inv-title {
    margin-top: 30px;
    margin-bottom: 30px;
}

h3.title_subtitle {
   /* margin-top: -50px; */
    margin-bottom: 50px;
}

p.text-small-blog {
    font-size: 14px;
    margin-left: 50px;
    margin-top: 50px;
}

section.blog-hero, section.inv-hero {
    margin-bottom: 50px;
    margin-top: 50px;
}

.blog-hero img,
.related-thumb {
    width: 100%;
    height: 500px; /* lub dowolna wysokość */
    object-fit: cover;
}


.inv-hero img,
.related-thumb {
    width: 100%;
    height: 500px; /* lub dowolna wysokość */
    object-fit: cover;
}

.philosophy img{
    /*width: 100%;*/
    height: 450px; /* lub dowolna wysokość */
    object-fit: cover;
}



section.blog-content {
    /*padding-left: 100px; */
}


h3.related-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}

.related-thumb {
    width: 100%;
    height: 200px; /* ustawiasz wysokość = proporcje */
    object-fit: cover;
    object-position: center;
    display: block;
}

.related-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* liczba linijek */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5em; /* żeby wszystkie boksy były równe */
}

.category-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-bottom: 10px;
}

.category-post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* liczba linijek */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5em;
}

.category-description {
    margin-bottom: 100px;
}

h3.category-post-title {
    margin-top: 20px;
    margin-bottom: 10px;
}

section.blog-related {
    margin-top: 50px;
    margin-bottom: 50px;
}

.inv-map-embed {
    width: 100%;
}

.inv-map-embed iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 450px;
    border: 0;
    display: block;
}


.inv-details {
    display: grid;
    grid-template-columns: 1fr auto;
    border-bottom: 1px solid black;
    margin-bottom: 25px;
    padding-bottom: 5px;
    column-gap: 5px;
    text-align: right;
}

.inv-details strong {
    text-align: left;
}




.inv-meta {
    margin-top: 40px;
    padding-left: 40px;
    margin-bottom: 40px;
}

.inv-button {
    margin-top: 20px;
}

.btn-primary {
    background-color: white;
    border: 1px solid black;
    border-radius: 0px;
    padding: 10px 15px;
    color: black;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background-color: black;
    border: 1px solid black;
    color: white;
}


.inv-list strong {
    display: block;
    margin-bottom: 5px;
}

.inv-list li {
    border-bottom: 1px solid black;
    list-style: none;
    margin-bottom: 35px;
    padding-bottom: 5px;
}

ul.inv-list {
    padding-left: 0px;
}

section.inv-invest {
    margin-bottom: 50px;
}

.inv-filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    margin-top: 50px;
}

.inv-filter-buttons .btn-primary.active {
    background: black;
    color: white;
}

.inv-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 10px;
}

/* .inv-title {
    font-size: 20px;
    margin-bottom: 10px;
} */

.inv-excerpt {
    color: #555;
}

.inv-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* liczba linijek */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.5em; /* 3 linie × 1.5em (wysokość linii) */
    line-height: 1.5em;
}


.inv-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.inv-hidden {
    opacity: 0;
    transform: scale(0.95);
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: black;
    border-color: black;
    box-shadow: none;
}

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus{
    box-shadow: none;
}

@media screen and (max-width: 576px) {

    .inv-list strong {
    float: none;
    display: block;
    margin-top: 5px;
}

    .inv-details strong {
    float: none;
    display: block;
    margin-top: 5px;
}

    .inv-details {
    display: block;
}

}



@media screen and (max-width: 766px) {

.inv-meta {
    padding-left: 0px;
}

}


.navbar-toggler {
    width: 32px;
    height: 24px;
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}


/* Linie */
.burger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: black;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ANIMACJA X – geometrycznie równa */
.navbar-toggler.active .burger-line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.navbar-toggler.active .burger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .burger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}



/* OVERLAY */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.35s ease;
}

/* AKTYWNE MENU */
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* MENU LISTA */
.mobile-menu {
    padding: 30px 30px;
    /*margin-top: 50px;*/
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    opacity: 0;
    transform: translateY(10px);
    animation: menuFade 0.4s ease forwards;
}

.mobile-nav li:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav li:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav li:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav li:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav li:nth-child(5) { animation-delay: 0.5s; }

@keyframes menuFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TYLKO MOBILE */
@media (min-width: 992px) {
    .mobile-menu-overlay {
        display: none;
    }
}

.mobile-nav li{
    padding: .5rem 1rem;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 14px;
}


.tiles h5:before {
    content: url('images/arrow_button.svg');
    width: 30px;
    height: 30px;
    right: 5px;
    position: absolute;
    display: inline-block;
    transition: all 0.5s ease;
    text-align: right;
}

h3.category-post-title:before {
    content: url('images/arrow_button.svg');
    width: 30px;
    height: 30px;
    right: 20px;
    position: absolute;
    display: inline-block;
    transition: all 0.5s ease;
    text-align: right;
}

.tiles h5:hover:before, .tiles a:hover h5:before, h3.category-post-title:hover:before, .inv-list a:hover h3.category-post-title:before, .category-posts a:hover h3.category-post-title:before {
    transform: translateX(5px);
}

.tiles h5, h3.category-post-title {
    padding-right: 30px;
}


h3.category-post-title {
	font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: bold;
}


.form-control:focus {
    box-shadow: 0 0 0 0px rgba(0,0,0,0.1) !important;
    border-color: #000 !important;
    border-bottom: 2px solid black !important;
    outline: none !important;
    background-color: transparent;
}


p.inv-no-results {
    padding: 100px 0;
    text-align: center;
    font-size: 18px;
    color: #d3d3d3;
    font-style: italic;
}


