/* Base font size */
html { font-size: 14px; }


/* Variable Font Imports */
@font-face {
  font-family: 'Montserrat Italic';
  src: url('../font/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../font/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* CSS Variables */
:root {
  --color-text: #000;
  --bg-color: #F3EEEA;
  --transition-fast: 0.3s ease;
  --transition-menu: 0.6s ease;
  --basic-color: #DB6503;
}

/* Reset & Base Styles */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--bg-color);
  font-weight: 500;
  font-family: 'Montserrat';
  line-height: 2.4rem;
}
img { max-width: 100%; height: auto; }
img.radius { border-radius: 2.1875rem; }

/* Focus & Selection */
:focus { outline: none; }
/* Dla Chrome, Safari (WebKit) */
::-webkit-selection {
  background-color: #009cde;
  color: white;
}

/* Dla Firefoksa (starsze wersje - moz-prefiks) */
::-moz-selection {
  background-color: #009cde;
  color: white;
}

/* Dla pozostałych nowoczesnych przeglądarek (np. Edge, najnowszy Firefox) */
::selection {
  background-color: #009cde;
  color: white;
}

a{
  color: --color-text;
  transition: .3s ease;
}
a:hover { color:  #009cde; transition: .3s ease; }

/* Inputs & Buttons */
input, button, select, textarea { outline: none; }

/* Headings Grouped */
h1, h2, h3, h4 {
  color: var(--color-text);
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
}
h1 { font-size: 2.714rem; line-height: 4rem; font-weight: 600;}
h2 { font-size: 2.714rem; line-height: 4rem; font-weight: 600;}
h3, h4 { font-size: 2.625rem; line-height: 4.5rem; }

.bordered-bottom{
  border-bottom: 1px solid rgba(0, 0, 0, 0.20) !important;
}
.menu-item a{
  text-decoration: none;
}

.lista{
  color: #363636;
}


.menu-list{
  list-style-type: none;
}

 #menu-menu-gorne .menu-item{
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  margin-left: 3rem;

}

a img:hover{
  opacity: 0.8;
  transition: .3s ease-in
}
a img{
  opacity:1;
  transition: .3s ease-in
}

button.button-a{
  border-bottom: 1px solid #000 !important;
    padding-bottom: 20px;
    transition: .3s ease;
    outline: none;
    border: none;
    background-color: transparent;
}



.disclaimer {
  color: var(--color-text);
  font-family: "Montserrat";
  font-size: 0.75rem;
  line-height: 1.33rem;
}


p{
  color: #363636;
}

.current_page_item a,
.current-page-ancestor a{
  color: --basic-color;
  padding-bottom: 14px;
  border-bottom: 3px solid --basic-color;
}

#menu-menu-dolne .current_page_item a,
#menu-menu-dolne .current-page-ancestor a{
  color: inherit;
  padding-bottom: 0;
  border-bottom: none
}

.overlay-content ul{
  list-style-type: none;
  padding-left: 0;
}

/* Navigation */
.nav > li > a:hover, .nav > li > a:focus {
  background: none;
}

/* Overlay Menu */
.overlay {
  position: fixed;
  top: 0; right: 0;
  width: 0; height: 100%;
  background-color: #fff;
  overflow-x: hidden;
  transition: 0.5s;
  z-index: 93;

}
.overlay-content {
  position: relative;
  width: 100%;
  text-align: left;
}

.button-a{
 border-bottom: 1px solid #000;
 padding-bottom: 20px;
 transition: .3s ease;
}
.button-a:hover{
 padding-bottom: 15px;
transition: .3s ease;

}


.overlay a {
  display: block;
  padding: 0;
  font-size: 14px;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #F3F3F3;
  color: --color-text;
  transition: var(--transition-fast);
  line-height: normal;
  text-decoration: none;
}

.overlay-button a{
  padding: 0.8rem 2.4rem;
  color: #fff;
  background-color: --color-text;
  border: 1px solid #000;
  justify-content: center;
  display: flex;
  white-space: nowrap;
  width: 100%;
}

.nav {
  list-style-type: none;
  padding-left: 0;
}
.overlay .closebtn {
  position: absolute;
  top: 20px; right: 1.25rem;
  font-size: 60px;
}

#menu-menu-gorne {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin-top: auto;
  margin-bottom: auto;
}

#menu-menu-dolne li{
  color: --color-text;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 400;
  line-height: 250%; /* 35px */
}

#menu-menu-dolne{
  padding-left: 0;
  list-style: none;
}

/* Hamburger Menu */
.menu-bar {
  position: relative;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px; height: 18px;
  cursor: pointer;
}
.bar {
  width: 100%;
  height: 2px;
  background-color: --color-text;
  transition: transform var(--transition-fast) ease-in-out;
}
.menu-open .bar:first-child {
  transform: translateY(14px) rotate(45deg);
  background-color: --color-text;
}
.menu-open .bar:nth-child(2) {
display: none;
}
.menu-open .bar:last-child {
  transform: translateY(-2px) rotate(-45deg);
  background-color: --color-text;
}
.menu-bar.menu-open::before,
header.menu-open p,
header.menu-open .underline {
  color: #fff;
  transition: color var(--transition-menu);
}

.menu ul{
  display: flex;
  flex-direction: row;


}

.border-top{
  border-top: 1px solid rgba(0, 0, 0, 0.20) !important;
}

/* Underline Utility */
.underline {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.gallery-item {
  width: 100%;
  margin-bottom: 1rem;
}

.two-pictures img{
  width: 100%;
  object-fit: cover;
}


  /* Ustawiamy linki menu jako flex, tekst do lewej, ikonki do prawej */
  #myNav .overlay-content .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }


  .faq-item {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
  }

  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    
  }
  .faq-question h3 {
    margin: 0;
    font-size: 0.778rem;
    font-weight: normal;
    line-height: 3rem;
  }
  .faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    transition: transform 0.3s ease;
  }
  /* UKRYWAMY przez max-height i opacity, a nie display */
  .faq-answer {
    font-size: 0.778rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0.5rem;
    line-height: 1.4;
    color: #555;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  /* Gdy aktywne – tekst stanie się widoczny */
  .faq-item.active .faq-answer {
    opacity: 1;
  }
  /* Obrót ikonki przy otwarciu */
  .faq-item.active .faq-toggle {
    transform: rotate(180deg); /* plus → „×” */
  }


.fancybox__toolbar__column button{
  display: none;
}
.fancybox__toolbar__column button:last-child{
  display: flex !important;
}



/* 1) Kontener overlay musi być relative, żeby pseudo-elementy mogły się pozycjonować względem niego */
.overlay-content {
  position: relative;
}

/* 2) Spraw, by linki miały pełną szerokość i padding tylko z lewej */
.overlay-content .menu-menu-gorne-container ul.menu li.menu-item > a {
  display: block;
  width: 100%;
  position: relative;
  text-align: left;
}

/* 3) Pseudo-element strzałki – absolutnie względem <a>, ale dzięki szerokości 100% zawsze będzie przy prawej krawędzi overlay */
.overlay-content .menu-menu-gorne-container ul.menu li.menu-item > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;                     /* przy prawej krawędzi linka (czyli overlay) */
  transform: translateY(-50%);
  width:16px;                  /* dopasuj do rozmiaru obrazka */
  height:16px;
  background: url('../images/arrow-right.png') no-repeat center center;
  background-size: contain;
}


.overlay-content .menu-menu-gorne-container ul.menu li.menu-item.current_page_item a{
  font-weight: 700;
}

span.podpis{
  color: #363636;

font-family: Montserrat;
font-size: 1.143rem;
font-style: normal;
font-weight: 600;
line-height: 225%;
margin-top: 1rem;
}

.podpis {
  position: relative;           /* żeby w razie potrzeby móc pozycjonować pseudo‐element */
  display: inline-block;        /* upewniamy się, że span ma zachowanie blokowo‐liniowe */
}

.podpis::after {
  content: "";
  display: inline-block;
  width: 14px;           /* dostosuj szerokość według potrzeb */
  height: 14px;                 /* dostosuj wysokość według potrzeb */
  margin-left: 18px;             /* odstęp między tekstem a obrazkiem */
  background-image: url("/images/Ellipse.svg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;       /* wyrównanie względem linii tekstu */
  transition: opacity .3s ease;
}


.disclaimer, .disclaimer a{
  color: rgba(0, 0, 0, 0.30);

font-family: Montserrat;
font-size: 12px;
font-style: normal;
font-weight: 500;
line-height: 220%; /* 26.4px */
text-decoration: none;
}


/* -----------------------------------------------
   5. (Opcjonalnie) Twoje style dla .disclaimer
   – tu nic się nie zmienia
------------------------------------------------- */
.disclaimer,
.disclaimer a {
  color: rgba(0, 0, 0, 0.30);
  font-family: Montserrat;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 220%; /* 26.4px */
  text-decoration: none;
}


.gtranslate_wrapper a{
  color: #282725;

text-align: right;
font-family: 'Montserrat';
font-size: 1rem;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 15.32px */
margin-left: 1rem;
}

acceptance{
  color: #808080;

font-family: Montserrat;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 140%; /* 18.2px */
}

footer a{
  text-decoration: none;
  color: initial;
}

img.logo{
  image-rendering: crisp-edges; /* lub pixelated */
}


#cc-main {

  /** Kolory główne przycisków - dopasowujemy do koloru strony **/
  --cc-btn-primary-bg: #000; 
  --cc-btn-primary-border-color: #000;
  --cc-btn-primary-hover-bg: #444444;
  --cc-btn-primary-hover-border-color: #444444;

  --cc-toggle-on-bg: var(--cc-btn-primary-bg);

  /** Stopień zakrzywienia buttonów - dopasowujemy do strony **/
  --cc-btn-border-radius: 10px;
  --cc-pm--box-border-radius: 10px;

}
.disable--interaction #cc-main .cm-wrapper::before {
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(4px);
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  visibility: hidden;
  z-index: 0;
}

.show--consent #cc-main .cc--anim .cm--middle {
  border-radius: 10px;
}
#cc-main .cm__btns {
  border-radius: 10px;
}

.show--preferences #cc-main .cc--anim .pm--box{
  border-radius: 10px !important;
}

#cc-main .pm-overlay{
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(4px);
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  visibility: hidden;
  z-index: 0;
}
.cm__btn--secondary[data-role="necessary"] {
  display: none !important;
}

.skills-img{
  border-radius: 25px;
}


.radius{ border-radius: 2.1875rem; }


@media(min-width:768px){
  /* -----------------------------------------------
   1. Styl bazowy dla .podpis
------------------------------------------------- */
.podpis {
  position: relative;
  display: inline-block;
  cursor: pointer; /* opcjonalnie: wskazuje, że element jest interaktywny */
}

/* -----------------------------------------------
   2. Pseudo‐elementy ::before i ::after
   – przykład położenia i wymiaru ikonek
------------------------------------------------- */
.podpis::before,
.podpis::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;                     /* ustawiamy na koniec treści <span> */
  margin-left: 18px;              /* taki sam odstęp, jakiego używałeś przy margin-left w poprzedniej wersji */
  transform: translateY(-50%);    /* wypośrodkujemy w pionie */
  width: 14px;                    /* szerokość ikonki */
  height: 14px;                   /* wysokość ikonki */
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity 0.3s ease;  /* animujemy tylko opacity */
}

/* 2.1. ::before – domyślna, widoczna ikona (Ellipse.svg) */
.podpis::before {
  background-image: url("/images/Ellipse.svg");
  opacity: 1;    /* domyślnie widoczne */
}

/* 2.2. ::after – hover‐owa ikona – domyślnie niewidoczna */
.podpis::after {
  background-image: none;  /* tu podłożymy odpowiednią wersję w sekcji 3 */
  opacity: 0;
}

/* -----------------------------------------------
   3. Przypisanie różnych “hoverowych” grafik do ::after
   w zależności od rodzica (.ibp, .ds, .sq, .aod, .lle, .button-a)
------------------------------------------------- */
/* Przykład dla .ibp */

/* Przykład dla .button-a */
.button-a .podpis::after {
  background-image: url("/images/Ellipse.svg");
}

/* -----------------------------------------------
   4. Przejście pomiędzy ::before i ::after w momencie hoveru
------------------------------------------------- */
/* .ibp:hover → ukrywamy ::before, pokazujemy ::after */
.ibp:hover .podpis::before {
  opacity: 0;
}
.ibp:hover .podpis::after {
  opacity: 1;
}

/* .ds:hover → ukrywamy ::before, pokazujemy ::after */
.ds:hover .podpis::before {
  opacity: 0;
}
.ds:hover .podpis::after {
  opacity: 1;
}

/* .sq:hover → ukrywamy ::before, pokazujemy ::after */
.sq:hover .podpis::before {
  opacity: 0;
}
.sq:hover .podpis::after {
  opacity: 1;
}

/* .aod:hover → ukrywamy ::before, pokazujemy ::after */
.aod:hover .podpis::before {
  opacity: 0;
}
.aod:hover .podpis::after {
  opacity: 1;
}

/* .lle:hover → ukrywamy ::before, pokazujemy ::after */
.lle:hover .podpis::before {
  opacity: 0;
}
.lle:hover .podpis::after {
  opacity: 1;
}

/* .button-a:hover → ukrywamy ::before, pokazujemy ::after */
.button-a:hover .podpis::before {
  opacity: 0;
}
.button-a:hover .podpis::after {
  opacity: 1;
}


}


@media (min-width: 768px) {
  .gallery-item {
    flex: 0 0 calc((100% - 2rem) / 3);
  }
}

/* Container */
.container {
  padding: 0 1.5rem;
  /* jeśli potrzebujesz centrowania: margin: 0 auto; */
}

/* Duże monitory (1441px i więcej) */
@media (min-width: 1441px) {
  .container {
    max-width: 96rem;
    }
}

/* Ekrany od 1366px do 1440px – kontener zawsze 1240px */
@media (min-width: 1366px) and (max-width: 1440px) {
  .container {
    max-width: 1240px;
  }
}

/* Laptopy i mniejsze monitory (do 1365px) */
@media (max-width: 1365px) {
  .logo-top {
    max-width: 330px;
  }
  .container {
    max-width: 77.5rem;
    padding: 0 2rem;
  }
}


/* Tablety oraz małe laptopy i urządzenia w poziomie (do 1024px) */
@media (max-width: 1024px) {
  html {
    font-size: 13px;
  }
}

/* Tablety oraz małe laptopy w pionie (do 992px) */
@media (max-width: 992px) {
  .container {
    max-width: 66.68rem;
    padding: 0 1.5rem;
  }
}

/* Smartfony i małe urządzenia (do 576px) */
@media (max-width: 576px) {
  .logo-top{
    max-width: 200px;
  }
  html {
    font-size: 12px;
  }
  .container {
    max-width: 42.54rem;
    padding: 0 1rem;
  }

  h1{
    font-size: 22px;
    line-height: 36px;
  }
  h2{
    font-size: 20px;
    line-height: 36px;
  }


}

/* Bardzo wąskie (do 360px) */
@media (max-width: 360px) {

  .podpis {
  position: relative;           /* żeby w razie potrzeby móc pozycjonować pseudo‐element */
  display: inline-block;        /* upewniamy się, że span ma zachowanie blokowo‐liniowe */
}

.podpis::after {
  content: "";
  display: inline-block;
  width: 14px;                  /* dostosuj szerokość według potrzeb */
  height: 14px;                 /* dostosuj wysokość według potrzeb */
  margin-left: 18px;             /* odstęp między tekstem a obrazkiem */
  background-image: url("/images/Ellipse.svg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;       /* wyrównanie względem linii tekstu */
  transition: background-image .3s ease;
}

/* Zmiana obrazka po najechaniu na napis */
.ibp:hover .podpis::after {
  background-image: url("/images/circle-ibp.svg");
  
}

.disclaimer, .disclaimer a{
  color: rgba(0, 0, 0, 0.30);

font-family: Montserrat;
font-size: 12px;
font-style: normal;
font-weight: 500;
line-height: 220%; /* 26.4px */
text-decoration: none;
}
/* Zmiana obrazka po najechaniu na napis */
.ds:hover .podpis::after {
  background-image: url("/images/circle-ds.svg");
  
}
/* Zmiana obrazka po najechaniu na napis */
.sq:hover .podpis::after {
  background-image: url("/images/circle-sq.svg");
  
}
/* Zmiana obrazka po najechaniu na napis */
.aod:hover .podpis::after {
  background-image: url("/images/circle-aod.svg");
  
}
/* Zmiana obrazka po najechaniu na napis */
.lle:hover .podpis::after {
  background-image: url("/images/circle-lle.svg");
  
}
/* Zmiana obrazka po najechaniu na napis */
.button-a:hover .podpis::after {
  background-image: url("/images/circle-k.svg");
  
}

}