@charset "UTF-8";

/* ==========================================================================
   Czcionki
   ========================================================================== */
@font-face {
    font-family: 'CenturyGothicPro';
    src: url('static/fonts/CenturyGothicPro.otf') format('opentype'),
         url('static/fonts/CenturyGothicPro.woff') format('woff'),
         url('static/fonts/CenturyGothicPro.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'CenturyGothicPro-Bold';
    src: url('static/fonts/CenturyGothicPro-Bold_0.otf') format('opentype'),
         url('static/fonts/CenturyGothicPro-Bold_0.woff') format('woff'),
         url('static/fonts/CenturyGothicPro-Bold_0.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: 'Tungsten-Semibold';
    src: url('static/fonts/Tungsten-Semibold.otf') format('opentype'),
         url('static/fonts/Tungsten-Semibold.woff') format('woff'),
         url('static/fonts/Tungsten-Semibold.woff2') format('woff2');
    font-style: normal;
    font-weight: 600;
}

/* ==========================================================================
   Zmienne CSS
   ========================================================================== */
:root {
    --blue: #007bff;
    --red: #dc3545;
    --white: #fff;
    --black: #000;
    --gray: #eceeed;
    --canon-red: #da020e;
    --canon-blue: #009bd4;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1100px;
}

/* ==========================================================================
   Styl bazowy
   ========================================================================== */
*,
*::after,
*::before {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'CenturyGothicPro', Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: var(--black);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--canon-red);
    text-decoration: none;
    font-family: 'CenturyGothicPro-Bold', Helvetica, Arial, sans-serif;
    transition: color 0.25s;
}

a:hover {
    color: darken(var(--canon-red), 10%);
    text-decoration: none;
}

/* ==========================================================================
   Typografia
   ========================================================================== */
h3 {
    font-family: 'CenturyGothicPro-Bold', 'CenturyGothicPro', Helvetica, Arial, sans-serif;
    font-size: 42px; /* Bazowy rozmiar dla desktopu */
    line-height: 52px;
    margin: 0;
    text-align: center; /* Centrowanie tytułów */
}

h6 {
    font-family: 'CenturyGothicPro', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    margin: 0;
    text-align: center; /* Centrowanie nazw produktów */
}

p {
    margin: 0;
}

strong,
b {
    font-family: 'CenturyGothicPro-Bold', Helvetica, Arial, sans-serif;
    font-weight: 800;
}

ol,
ul {
    margin: 0 0 1rem 0;
    line-height: 2rem;
    padding-left: 1.5rem;
}

/* ==========================================================================
   Kontenery i układ
   ========================================================================== */
.container {
    width: 100%;
    padding-right: 20px; /* Zwiększony padding dla większej rozdzielczości */
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.container-fluid-canon {
    max-width: 1600px; /* Zwiększona szerokość dla 1920px */
}

@media (min-width: 576px) {
    .container { max-width: 540px; }
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
}

@media (min-width: 992px) {
    .container { max-width: 960px; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

@media (min-width: 1920px) {
    .container { max-width: 1600px; } /* Maksymalna szerokość dla 1920px */
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    margin-left: -20px;
    justify-content: center;
}

.col,
.col-lg-3,
.col-lg-11,
.col-lg-12,
.col-md-12,
.col-sm-6,
.col-sm-12,
.col-12,
.col-xl-11 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Układ siatki dla różnych rozdzielczości */
@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; } /* Cztery komórki w wierszu */
    .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; margin-left: auto; margin-right: auto; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; } /* Dwie komórki w wierszu */
}

@media (max-width: 767.98px) {
    .col-sm-6,
    .col-12 { flex: 0 0 100%; max-width: 100%; } /* Jedna komórka w wierszu */
}

@media (min-width: 1100px) {
    .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; margin-left: auto; margin-right: auto; }
}

/* Centrowanie i rozszerzanie bloków tekstowych */
.block {
    text-align: center; /* Centrowanie tekstu w blokach */
}

.block .text-adaptive {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px; /* Rozszerzenie kontenera tekstowego */
    text-align: left; /* Wyrównanie tekstu do lewej w listach */
    width: 100%; /* Zapewnienie pełnej szerokości w granicach kolumny */
}

/* ==========================================================================
   Nagłówek
   ========================================================================== */
.header-section {
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.header-desktop,
.header-mobile {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: none;
}

@media (min-width: 768px) {
    .header-desktop { display: block; }
}

@media (max-width: 767px) {
    .header-mobile { display: block; }
}

/* ==========================================================================
   Produkty promocyjne
   ========================================================================== */
.product-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
    background: var(--gray);
    position: relative; /* Dla lepszej kontroli nad pozycjonowaniem */
}

.promo-product {
    color: var(--black);
    transition: transform 330ms ease-in-out;
    display: block;
    text-align: center;
}

.promo-product:hover {
    color: var(--canon-red);
}

.promo-product img {
    width: 220px; /* Jeszcze większe zdjęcia */
    max-height: 230px; /* Ograniczenie wysokości dla zachowania miejsca w kontenerze */
    height: auto; /* Zachowanie proporcji */
    transition: transform 330ms ease-in-out;
    display: block; /* Usunięcie zbędnych marginesów */
    margin: 0 auto; /* Centrowanie w poziomie */
}

.promo-product:hover img {
    transform: scale(1.05) rotate(0.01deg);
}

/* Usunięcie wpływu zagnieżdżonego diva na centrowanie */
.product-container .col-sm-12 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0; /* Usunięcie dodatkowego paddingu */
}

.products-canon {
    margin-top: -50px;
    margin-bottom: -20px;
}

@media (max-width: 1080px) {
    .products-canon { margin-top: 15px; }
}

/* ==========================================================================
   Klasy narzędziowe
   ========================================================================== */
.text-center { text-align: center !important; }
.color-heading { color: var(--black); }
.bg-canon { background-color: var(--canon-red); }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-25 { margin-top: 25px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-50 { margin-bottom: 50px; }
.mb-80 { margin-bottom: 80px; }
.pb-10 { padding-bottom: 10px; }
.pb-50 { padding-bottom: 50px; }
.pb-80 { padding-bottom: 80px; }
.pt-10 { padding-top: 10px; }
.px-xl-0 { padding-left: 0; padding-right: 0; }

@media (max-width: 1199.98px) {
    .px-xl-0 { padding-left: 15px; padding-right: 15px; }
}

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 1199.98px) {
    h3 { font-size: 36px; line-height: 46px; }
    section[class*="pb-"] { padding-bottom: 10px; }
}

@media (max-width: 991.98px) {
    h3 { font-size: 32px; line-height: 42px; }
    .col-lg-3 { flex: 0 0 50%; max-width: 50%; } /* Dwie komórki w wierszu */
}

@media (max-width: 767.98px) {
    h3 { font-size: 32px; line-height: 40px; } /* Powiększenie tytułów na mobile */
    .col-lg-3 { flex: 0 0 50%; max-width: 50%; } /* Jedna komórka w wierszu */
}

@media (max-width: 575.98px) {
    h3 { font-size: 28px; line-height: 36px; } /* Powiększenie tytułów na mniejszych ekranach */
}