/* Google Fonts */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Sofia+Sans+Extra+Condensed:ital,wght@0,1..1000;1,1..1000&display=swap');


    
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, embed, 
    figure, figcaption, footer, header, hgroup, 
    menu, nav, output, ruby, section, summary,
    time, mark, audio, video {
    	margin: 0;
    	padding: 0;
    	border: 0;
    	font: inherit;
    	vertical-align: baseline;
    }
    /* HTML5 display-role reset for older browsers */
    article, aside, details, figcaption, figure, 
    footer, header, hgroup, menu, nav, section {
    	display: block;
    }
    body {
    	line-height: 1;
    }
    
    blockquote, q {
    	quotes: none;
    }
    blockquote:before, blockquote:after,
    q:before, q:after {
    	content: '';
    	content: none;
    }
    table {
    	border-collapse: collapse;
    	border-spacing: 0;
    }
	
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

 
  a:link {COLOR: inherit; TEXT-DECORATION: none;}
  a:visited {COLOR: inherit; TEXT-DECORATION: none;}
  a:active {COLOR: inherit; TEXT-DECORATION: none;}
  a:hover {COLOR: inherit; TEXT-DECORATION: none;}


button { color: #1b1b1b; }



body {
	color: #231F20;
	font-size: 24px;
	line-height: 1.6; 
	font-weight: 300;
  font-family: "Google Sans Flex", sans-serif;
  overflow: visible;
  background: #fff;
}


html{margin-top: 0px !important;}
em { font-style: italic; }

ul{ margin: 15px 0 25px; list-style: none; margin-left: 30px }
ul li{ margin-left: 0px; padding-left: 25px; margin-bottom: 10px; position: relative; }
strong { font-weight: 600 }
p a { text-decoration: underline !important}

/***************** menu res ******************/
  .menuMobileClick{ width: 30px; height: 18px; cursor:pointer; display:none; z-index:980; text-align:right; flex-direction: column; align-items: flex-end;
  -webkit-transition: all .25s linear;
     -moz-transition: all .25s linear;
     -ms-transition: all .25s linear;
     -o-transition: all .25s linear;
    transition: all .25s linear;}
  .menuMobileClick div {
     width: 23px;
    height: 2px;
  background-color: #000;
  display: block;
  margin: 3px 0;
  }
  .menuMobileClick div:nth-child(2) { margin-left: 6px;  }
  .menuFixed{ position: fixed; width: 100%; height: 100%; padding: 0; z-index: 10011; left: 0px; top: 0%; opacity: 0; display: none; overflow-x: hidden; overflow-y: scroll; text-align: center;
    -webkit-box-shadow: 5px 5px 30px 18px rgba(0,0,0,0.5);
    box-shadow: 5px 5px 30px 18px rgba(0,0,0,0.5);
    }
  .menuFixed-inner{ width: 100%; min-height: 100vh; position: relative; overflow: hidden; background:rgba(12, 143, 155, 0.95); padding-bottom: 100px;
      backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);}
  .closeMenuContainer{ text-align:right; position: absolute; top: 36px; right: 17px;  z-index: 900; }
  .closeX { height: 30px; width: 30px; position: relative; box-sizing: border-box; line-height: 40px; display: inline-block; cursor: pointer; z-index: 900;}
  .closeMenuContainer .closeX { width: 41px; height:29px; cursor:pointer; z-index:980; text-align:right; flex-direction: column; align-items: flex-end;
  -webkit-transition: all .25s linear;
     -moz-transition: all .25s linear;
     -ms-transition: all .25s linear;
     -o-transition: all .25s linear;
    transition: all .25s linear;}

  .closeMenuContainer .closeX div {
     width: 41px;
    height: 3px;
  background-color: #000;
  display: block;
  margin: 6px 0;

  }
  .closeX::before, .closeX::after {
  width: 30px;
  height: 2px;
  transform: rotate(-45deg);
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -2px;
  margin-left: -15px;
  display: block;
  background-color: #fff;
  transition: all 0.25s ease-out;
}
.closeX::after {
  transform: rotate(-135deg);
}
  .menuFixed ul{ margin: 0px; padding: 0px; list-style: none; padding-top: 100px; display: flex; flex-direction: column; }
  .menuFixed ul li{ font-weight: 400; color:#124577; overflow: hidden; padding: 5px 0px;font-size: 24px; font-weight: 500; position: relative; z-index: 100; display: inline-block; line-height: 1.2; letter-spacing: 1px; text-align: left; padding-left: 30px;}
  .menuFixed ul a{ display: block; text-align: center; }
  .menuFixed a{ color: inherit; text-decoration: none; text-align: left; }
  .menuFixed ul li.active{ letter-spacing: 4px; color: #EFEFEF;}
  .menuFixed-flex { display: flex; align-items: center; height: 100%; position: relative; }
  .menuFixed .logo { display: none; }
  .menuFixed .logo-menu { position: absolute; top: 0; left: 3.1%; }
  .logo-menu {display: none;}
  .menuFixed .menu li.menu-btn-blue1, .menuFixed .menu li.menu-btn-blue {font-size: 18px; margin-top: 20px; width: 250px; padding: 12px 20px;}
  .top-fixed .menuMobileClick { position: absolute; right: 0px; top: 6px } 
.menu-small-mobile { display: none; }


/***********************************/
#wpadminbar { display: none; }


.all { overflow: hidden; }





body {
    padding-top: 150px; 
}

/* Tło headera (tylko to zostawiamy pod klasą is-sticky) */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-sticky {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(15px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
}

/* Baza menu i logo */
.top-inner {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.logo img {
    width: 160px;
}

.menu-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center; /* Wyśrodkujmy wszystko w pionie */
    height: 90px; /* Stała wysokość kontenera menu */
}
.main-menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Trzyma wysokość w ryzach dla GSAPa */
}
.main-menu li { 
    text-align: right; 
    font-family: "Sofia Sans Extra Condensed", sans-serif; 
    text-transform: uppercase; 
    font-size: 26px; 
    font-weight: 800; 
    margin-bottom: 5px;
}
.main-menu li a {
    color: #000;
    text-decoration: none;
    display: block; 
}

/* Hamburger - rysowanie */
.hamburger {
    position: absolute;
    top: 50%; right: 0;
    transform: translateY(-50%);
    width: 40px; height: 20px; /* Całkowita wysokość 2 kresek */
    cursor: pointer;
    pointer-events: none;
}
.hamburger span {
    position: absolute;
    right: 0; 
    height: 3px;
    background-color: #000;
    border-radius: 4px;
    width: 0%; /* Ukryte na start */
    opacity: 0;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { bottom: 0; }

/* Hamburger - Krzyżyk "X" po kliknięciu */
.hamburger.is-active span {
    background-color: #fff;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), background-color 0.3s ease !important;
}
.hamburger.is-active span:nth-child(1) {
    top: 50%; margin-top: -1.5px; transform: rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    bottom: 50%; margin-bottom: -1.5px; transform: rotate(-45deg);
}

.main-menu li:last-child { margin-bottom: 0; }
.menu-wrapper nav { margin-top: 80px;  }







.container { width: 94%; margin: auto; }

.home-start { margin-top: 20vh; display: flex;justify-content: space-between; align-items: flex-end; }
.home-start h1 { font-family: "Sofia Sans Extra Condensed", sans-serif; color: #1E1E1B; font-size: 160px; font-weight: 900; line-height: 0.9 }
.home-start h1 span { }
.home-right { max-width: 700px; margin-right: 200px }



/* portfolio main */

.portfolio-section { 
  display: flex; 
  margin: 0 auto; 
  padding: 40px 0px; 
  gap: 40px; 
  margin-top: 100px; 
  padding-left: 3%; 
}

.sidebar { 
  flex-shrink: 0; 
  display: flex; 
  align-items: flex-start;
}

.sidebar-title-wrapper { 
  padding: 0; 
  display: inline-block;
  transition: margin-top 0.2s ease-out; /* Płynność zmiany marginesu JS */
}

.vertical-title { 
  writing-mode: vertical-rl; 
  transform: rotate(180deg); 
  font-size: 78px; 
  font-weight: 900; 
  margin: 0; 
  color: #D5D5D5; 
  text-transform: uppercase; 
  line-height: 1; 
  font-family: "Sofia Sans Extra Condensed", sans-serif;
}

.content-wrapper { 
  flex-grow: 1; 
  min-width: 0; 
  display: flex; 
  flex-direction: column;
}

.slider-container { 
  display: flex; 
  gap: 30px; 
  overflow-x: auto; 
  /* Kluczowe dla snapowania: */
  scroll-snap-type: x mandatory; 
  scroll-behavior: smooth; /* Płynne przewijanie przy użyciu kółka/JS */
  scrollbar-width: none; 
  -ms-overflow-style: none;  
  padding-bottom: 20px;
}

.slider-container::-webkit-scrollbar { 
  display: none;
}

.slide {  
  flex: 0 0 70%; 
  /* Miejsce, w którym slider ma się zatrzymać: */
  scroll-snap-align: start; 
  max-width: 1000px;
}

.slide:last-of-type { 
  margin-right: 30px;  
}

.image-wrapper img { 
  width: 100%; 
  height: auto; 
  aspect-ratio: 16 / 9; 
  object-fit: cover; 
  display: block;
}

.slide-title { 
  margin-top: 15px; 
  font-size: 1.1rem; 
  color: #1a1a1a; 
  font-weight: 600;
}

.slider-footer { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-top: 40px; 
  padding-right: 20px;
}

.progress-track { 
  width: 250px; 
  height: 2px; 
  background-color: #e0e0e0; 
  position: relative;
}

.progress-thumb { 
  position: absolute; 
  top: -1px; 
  left: 0; 
  height: 4px; 
  width: 20%; 
  background-color: #333; 
  border-radius: 2px;
  /* Dodajemy płynne przejście, by pasek nie skakał: */
  transition: left 0.3s ease-out, width 0.3s ease-out; 
}

.see-all-link { 
  text-decoration: none; 
  color: #1a1a1a; 
  font-size: 1.2rem; 
  font-weight: 500; 
  display: flex; 
  align-items: center; 
  gap: 10px;
}

.see-all-link::before { 
  content: ""; 
  display: block; 
  width: 3px; 
  height: 24px; 
  background-color: #1a1a1a;
}


.slider-container {
  user-select: none; 
  -webkit-user-select: none;
  cursor: grab;
}

.slider-container img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* --- KLASA PODCZAS PRZECIĄGANIA MYSZKĄ --- */
.slider-container.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none; 
  scroll-behavior: auto; /* Zabezpiecza przed "lagowaniem" w trakcie przeciągania */
}








