/*
Theme Name: TAKA BS53 SL
Author: TAKA agencja
Description: Lightweight Bootstrap 5.3 based template focused on gaining site performance without using tons of plugins.
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
	background-color: #f2f5f7;
	color: black;
	font-family: 'Poppins', sans-serif;
}
img {
	max-width: 100%;
	height: auto;
}

#header, .bg-black {
	background-color: #000;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    color: inherit;
}


.logo {
	height: 50px;
}


h1, h2, h3, h4, .lead, .nav-link {
	font-family: "Montserrat", sans-serif;
}
.nav-link {
	font-weight: 600;
}
.lead {
	font-size: 20px;
	font-weight: 500;
	transition: color 0.3s ease;
}
.lead--dark {
    color: #000 !important;
}

h3 {
	font-size: 1.5rem;
}

h4 {
	font-size: 1.125rem;
}

.nav-item a {

}
.img-offer-caption {
	font-size: 18px;
	font-weight: bold;
	padding: 15px 0;
}
.px-05 {
	padding-right: 0.05rem!important;
	padding-left: 0.05rem!important;
}

.gutters-10 {
    margin-left: -.3125rem;
    margin-right: -.3125rem;
}

.gutters-10>[class*=col-] {
    padding: .3125rem;
    padding-right: .3125rem;
}

.offer-card {position:relative;margin:1em;padding:1em 2em;box-sizing:border-box;background:none;border:0;color:#f45e61;font-size:inherit;font-weight:700;vertical-align:middle;}
.offer-card:before, .offer-card:after{content:'';position:absolute;box-sizing:inherit;width:100%;height:100%;}

.center:hover{color:#6477b9;}
.center:before,
.center:after{top:0;left:0;height:calc(100% - 32px);width:100%;
transform-origin:center;}
.center:before{border-top:2px solid #ff6f3c;border-bottom:2px solid #ff6f3c;
transform:scale3d(0, 1, 1);}
.center:after{
border-left:2px solid #ff6f3c;border-right:2px solid #ff6f3c;
transform:scale3d(1, 0, 1);}
.center:hover:before,
.center:hover:after{
transform:scale3d(1, 1, 1);
transition:transform 0.4s;}

.offer-card h2 {
    transition: transform .3s ease;
}

.offer-card .btn {
    display: inline-block;
    margin-top: 1rem;
    transition: transform .3s ease;
}

.offer-card:hover h2 {
    transform: translateY(-8px);
}

.offer-card:hover .btn {
    transform: translateY(-8px);
}

.card-container {
    position: relative;
    overflow: hidden;          /* 🔥 kluczowe */
    aspect-ratio: 4 / 4;       /* lub height */
    background: #fff;
}

.offer {
	padding: 0 0 100px 0;
}

.scroll-bg-section {
    background-color: #000;
    transition: background-color 0.05s linear; /* mikro-wygładzenie */
}

/* Zdjęcie */
.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s ease;
	filter: grayscale(100%);
	opacity: 0.6;
}

/* Pomarańczowy tint */
.card-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ff6f3c;
    mix-blend-mode: multiply;
    opacity: 0.97;
    transition: opacity .6s ease;
    z-index: 1;
}

/* Hover → kolor */
.card-container:hover::before {
    opacity: 0;
}

/* Zoom */
.card-container:hover .card-bg {
    transform: scale(1.1);
	filter: grayscale(0%);
	opacity: 1;
}

/* Content */
.offer-card {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* Content */
.offer-card {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    text-align: center;
}



/* Overlay dla czytelności */
.card-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        #ff6f3cad,
        rgba(0,0,0,.3)
    );
    z-index: 1;
}

/* Overlay dla czytelności */
.card-container:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.6),
        rgba(0,0,0,.3)
    );
    z-index: 1;
}


/* STOPKA */

footer {
	background-color: #ff6f3c;
	color: white;
}

footer h1, footer h2, footer h3, footer h4, footer p {
	margin: 0;
	padding: 0;
}

footer .contact-section {
	padding: 3.75rem 0;
}

footer .footer-c2a {
	padding: 2.5rem 0;
	background-color: rgba(255,255,255,0.2);
	backdrop-filter: blur(14px);
	
}

footer .copyright-section {
	font-size: .875rem;
    padding: 2.1875rem 0;
	background-color: #000;
	color: #738c9b;
}

footer .copyright-section a {
	color: #ff6f3c;
	text-decoration: none;
}

footer .copyright-section .wrapper {
	align-items: center;
    display: flex;
    justify-content: space-between;
}


.video-hero h1, .text-sticky h2, .gl-text h2 {
	font-weight: 800;
	
}

.configure-overlay h2 {
	font-weight: 800;
	
}

.offer-element h2 {
	font-weight: 800;

	margin-bottom:25px;
}

.offer-element h3 {
	font-weight: 800;

	margin-bottom:25px;
}

.offer-element h4 {
	font-weight: 800;

	margin-bottom:25px;
}
.offer-card h2 {
	color: white;
	font-weight: 700;
	font-size: 1rem;
}
.video-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
    background: #000;
}
@media (min-width: 992px) {
	.video-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background: #000;
}
.video-hero h1, .text-sticky h2, .gl-text h2 {
	font-weight: 800;
	font-size: 64px;
}

.layer h2 {
	font-weight: 800;
	font-size: 56px;
}

.offer-element h2 {
	font-weight: 800;
	font-size: 32px;
	margin-bottom:25px;
}

.offer-element h3 {
	font-weight: 800;

	margin-bottom:25px;
}

.offer-element h4 {
	font-weight: 800;

	margin-bottom:25px;
}
	.offer-card h2 {
	color: white;
	font-weight: 700;
	font-size: 1.6rem;
}
}

.orange, .nav-tabs .nav-link {
	color: #ff6f3c;
}

/* WIDEO */
.video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* OVERLAY */
.video-overlay {
    position: absolute;
    inset: 0;

    --r: 0;
    --g: 0;
    --b: 0;

    background: linear-gradient(
        to bottom,
        rgba(var(--r), var(--g), var(--b), 0.45) 0%,
        rgba(var(--r), var(--g), var(--b), 0.65) 60%,
        rgba(var(--r), var(--g), var(--b), 1) 100%
    );

    z-index: 1;
    pointer-events: none;
}

.video-overlay-sub {
    position: absolute;
    inset: 0;

    --r: 242;
    --g: 245;
    --b: 247;

    background: linear-gradient(
        to bottom,
        rgba(var(--r), var(--g), var(--b), 0.45) 0%,
        rgba(var(--r), var(--g), var(--b), 0.65) 60%,
        rgba(var(--r), var(--g), var(--b), 1) 100%
    );

    z-index: 1;
    pointer-events: none;
}

.video-overlay-sub-white {
    position: absolute;
    inset: 0;

    --r: 255;
    --g: 255;
    --b: 255;

    background: linear-gradient(
        to bottom,
        rgba(var(--r), var(--g), var(--b), 0.45) 0%,
        rgba(var(--r), var(--g), var(--b), 0.65) 60%,
        rgba(var(--r), var(--g), var(--b), 1) 100%
    );

    z-index: 1;
    pointer-events: none;
}

/* CONTENT */
.video-content {
    position: relative;
    z-index: 2;
    height: 100%;
	min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.fade-seq {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-seq.visible {
    opacity: 1;
    transform: translateY(0);
}


.layers-section {
    height: 250vh; /* ilość scrolla = ilość warstw */
    position: relative;
}

.layers-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
}

.layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.text-sticky {
    position: sticky;
    top: 220px; /* trochę niżej niż warstwy */
	color: white;
	max-width: 600px;
}

.layer-1 {
    opacity: 1;
}

.configure {
	background: black;
}


.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: #ff6f3c;
    --bs-btn-border-color: #ff6f3c;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #bb2d3b;
    --bs-btn-hover-border-color: #b02a37;
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #b02a37;
    --bs-btn-active-border-color: #a52834;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #dc3545;
    --bs-btn-disabled-border-color: #dc3545;
}

.configure {
	background-color: rgb(239 239 239) !important;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
    background-color: #ff6f3c;
}

.h3 {
	font-size: 42px!important;
}

.configure {
    position: relative;
    height: 500vh;
    background: #000;
}

.layers-section {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
}

.layers-sticky {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.layer-1 {
    opacity: 1;
}

.layer-bg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.configure-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
	background: rgba(0, 0, 0, 0.4);

background: linear-gradient(90deg,rgba(0, 0, 0, 0.67) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
}

.configure-overlay .container {
    position: relative;
}

.configure-overlay .col-lg-4 {
    pointer-events: auto;
}

.table>:not(caption)>*>* {
    padding: .5rem .5rem;
    color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));
    background-color: #ffffff00;
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}

@media (max-width: 991px) {
	.h3 {
		font-size: 24px!important;
	}
}