/* CSS Core Typo Styles & Custom Properties */
:root {
    font-size: 18px;
    --bs-font-sans-serif: 'Inter', sans-serif;
    --bs-primary: #f25220;
    --bs-primary-rgb: 242, 82, 32;
    --bs-dark: #000000;
    --bs-dark-rgb: 0, 0, 0;
    --section-padding: 6.25vw;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 0.8vw + 4px, 18px);
    /* Dokładnie 18px na ekranach FullHD */
    font-weight: 400;
    line-height: 1.69;
    color: #111111;
    overflow-x: hidden;
}

.container-fluid,
.p-xxl {
    padding: max(var(--section-padding), 30px);
}

.p-xl {
    padding: max(calc(var(--section-padding) / 2), 30px);
}

.btn-dark {
    background: var(--bs-dark);
}


h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.fw-black {
    letter-spacing: -3%;
    font-weight: 900 !important;
}

h1,
.h1 {
    font-size: clamp(2.8rem, 4.34vw - 0.5rem, 5.61rem) !important;
    line-height: 1.05;
    text-transform: uppercase;
}

h2,
.h2 {
    font-size: clamp(2.2rem, 3.25vw - 0.3rem, 4.209rem) !important;
    line-height: 1.1;
    text-transform: uppercase;
}

h3,
.h3 {
    font-size: clamp(1.85rem, 2.4vw - 0.2rem, 3.157rem) !important;
    line-height: 1.15;
}

h4,
.h4 {
    font-size: clamp(1.55rem, 1.8vw - 0.1rem, 2.369rem) !important;
}

h5,
.h5 {
    font-size: clamp(1.3rem, 1.4vw, 1.777rem) !important;
}

h6,
.h6 {
    font-size: clamp(1.1rem, 1.1vw, 1.333rem) !important;
}

small,
.small {
    font-size: 12px;
}

/* Pełna płynność układu szerokości fluid */
.container-fluid {
    max-width: 100% !important;
    width: 100%;
}

/* Górna belka desktopowa */
.brand-logo {
    height: 64px;
    width: auto;
}

.header-top-nav {
    padding-bottom: 15px;
}

.header-top-text {
    font-size: 14px;
}

.hero-section {
    background-color: var(--bs-primary);
}

.hero-bg-image {
    width: 100%;
    height: 70vh;
    clip-path: inset(0 0 0 0);
}

.hero-bg-image .parallax {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-image img {
    object-fit: cover;
    object-position: center 30%;
    pointer-events: none;
    z-index: -1;
    height: 125vh;
    width: 100%;
}


.text-sub {
    border-left: 3px solid #ffcc00;
    padding-left: 15px;
}

h1.main-title {
    position: relative;
    font-size: 14vw !important;
    line-height: 1;
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.main-title .hero-line-2 {
    font-size: .5em;
}

.badge-circle {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #FFBB00;
    color: #000;
    font-size: 24px;
    font-weight: 900;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    padding: 12px;
    letter-spacing: -3%;
    transform: rotate(12deg);
    animation: pulseBadge 3.5s infinite ease-in-out;
}

@media (max-width: 991.98px) {

    .brand-logo img {
        height: 56px;
        width: auto;
    }

    h1.main-title {
        font-size: 22vw !important;
        width: fit-content;
    }

    .badge-circle {
        right: -15px;
        top: -15px;
        width: 100px;
        height: 100px;
        font-size: 12px;
    }

    .hero-bg-image img {
        position: absolute;
        height: 100vh;
    }
}


/* Marquee Efekt płynnego tekstu kroczącego */
.marquee-track {
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-content {
    white-space: nowrap;
    letter-spacing: -3%;
}

.small-marquee-text {
    font-size: clamp(14px, 0.7vw + 14px, 23.99px);
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-25%, 0, 0);
    }
}

#o-nas img {
    height: 64px;
}

/* Elementy użytkowe i kolory */
.bg-orange {
    background-color: var(--bs-primary) !important;
}

.tracking-widest {
    letter-spacing: 2px;
}

.min-vh-25 {
    min-height: 25vh;
}

.min-vh-40 {
    min-height: 40vh;
}

.min-vh-50 {
    min-height: 50vh;
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

.size-card {
    background-color: #fff;
    border: 1px solid #eee !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.size-card:hover {
    transform: translateY(-5px);
    border-color: var(--bs-primary) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06) !important;
}

/* Skalowanie przycisków */
.transition-scale {
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.transition-scale:hover {
    transform: scale(1.02);
}

/* Akordeon FAQ dostosowany bez obramowań bootstrapa */
.accordion-button::after {
    filter: brightness(0);
}

.accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    box-shadow: none;
}

.btn {
    font-weight: 900;
    color: white !important;
}

footer a:hover {
    color: var(--bs-primary) !important;
}

/* Efekt hover dla galerii */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-img {
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1)
}

/* Po najechaniu myszką: powiększenie i delikatne ściemnienie */
.gallery-item:hover .gallery-img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

/* Stały Guzik Pełnoekranowego Menu */
.menu-trigger-btn {
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 1050;
    width: 88px;
    height: 88px;
    background-color: #000;
    border: none;
    border-radius: 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.menu-trigger-btn .bar {
    width: 24px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.menu-trigger-btn:hover {
    background-color: #cf1f04;
}

/* Menu Overlay Ekranowe */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-nav a {
    display: block;
    color: #fff;
    font-size: clamp(1.4rem, 3.5vw, 3rem);
    font-weight: 900;
    text-decoration: none;
    text-align: center;
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(40px);
    line-height: 1;
    transition: transform 0.4s ease, color 0.3s ease;
}

.fullscreen-menu.active .fullscreen-nav a {
    opacity: 1;
    transform: translateY(0);
}

.fullscreen-nav a:hover {
    color: var(--bs-primary);
}

.menu-close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3.5rem;
    cursor: pointer;
    line-height: 1;
    width: 88px;
    height: 88px;
}

.hover-white:hover {
    color: #fff !important;
}

/* Animacja badge */
@keyframes pulseBadge {
    0% {
        transform: rotate(12deg) scale(1);
    }

    50% {
        transform: rotate(14deg) scale(1.04);
    }

    100% {
        transform: rotate(12deg) scale(1);
    }
}