 
 /*
Theme Name: Duraport
Theme URI: http://example.com/
Author: NoLogic
Author URI: http://example.com/
Description: TEST
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: TEST
*/
html {
    scroll-behavior: smooth;
    scroll-padding-top: 15vh;
}

/* Fade-in */
body {
    margin: 0;
    font-family: Outfit, sans-serif;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    line-height: 1.1;
}
body.loaded {
    opacity: 1;
}

/* ============================
   HEADER
============================ */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    flex-wrap: nowrap;
}

/* LOGO */
.logo {
    flex: 0 0 auto;
    max-width: 220px;
    margin-left: 5%;
    margin-right: 20px;
}

.responsive-logo {
    width: auto;
    height: 120px;
    transition: filter 0.4s ease, box-shadow 0.4s ease;
}
.responsive-logo:hover {
    filter: brightness(1.05);
    box-shadow:
        0 0 4px rgba(0,51,102,0.2),
        0 0 8px rgba(0,51,102,0.15),
        0 0 12px rgba(0,51,102,0.1);
    cursor: pointer;
}

/* ============================
   NAVBAR
============================ */
#navbar {
    margin-right: 50px;
}

/* ===== NAVBAR: wymuszenie jednej linii i poprawne ułożenie ikony ===== */
#navbar {
  align-items: center;   
  gap: 16px;
  margin-right: 50px;
  flex-wrap: nowrap;     
}
header #navbar {
  display: flex;        
}

#navbar > ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;    
  flex: 0 1 auto;         
  order: 1;              
}

/* top-level li */
#navbar > ul > li {
  position: relative;
  flex: 0 0 auto;         /* elementy menu nie będą się rozciągać */
}

/* download icon — zawsze po prawej od <ul> */
#navbar .download-link {
  flex: 0 0 auto;        
  order: 2;                
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6em;
  height: 2.6em;
  background: #00467f;
  border-radius: 50%;
}

/* trochę mniejsza grafika wewnątrz */
#navbar .download-link img {
  width: 1.9em;
  height: 1.9em;
  filter: invert(1);
  display: block;
}

/* ===== SUBMENU: absolutne i poza przepływem (nie wypycha ikonki) ===== */
#navbar > ul > li .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;  
  z-index: 9999;          
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 160px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  flex-direction: column;
  white-space: nowrap;
}

/* pokaż submenu na hover */
#navbar > ul > li:hover > .sub-menu {
  display: flex;
}

/* submenu items */
#navbar .sub-menu li { display: block; }
#navbar .sub-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
}
#navbar > ul > li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 12px; 
    background: transparent;
}
#navbar > ul[style], #navbar > ul {
  max-width: calc(100% - 3.4em); 
}
/* ============================
   IKONA PDF — FIX
============================ */
.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    /* przywraca ikonę DO LINII */
    flex: 0 0 auto;
    width: 2.875em;
    height: 2.875em;
    background: #00467f;
    border-radius: 50%;
}

.download-link img {
    width: 2.2em; /* trochę mniejsza */
    height: 2.2em;
    filter: invert(1);
}
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}
.hamburger img {
    width: 30px;
}



    @keyframes slideUp {
      from {
        transform: translateY(100%);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }
/* ============================
   MOBILE MENU POPRAWKI
============================ */
@media (max-width: 900px) {

    /* ---------- HAMBURGER ---------- */
    .hamburger {
        display: block;
        position: relative;
        z-index: 2000;
        margin-right: 20px;
    }
.logo{
  margin-left: 28%;
}
.hero-overlay h1 {
  font-size: 2em !important;
}
    /* ---------- NAVBAR ---------- */
    #navbar {
        position: absolute;
        top: 120px; /* ↓↓↓ menu jeszcze niżej */
        left: 0;
        width: 100%;
        background: #fff;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        padding: 0;
        margin: 0;

        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-out;

        box-shadow: 0 6px 18px rgba(0,0,0,0.1);
        z-index: 1500;
    }

    #navbar.active {
        max-height: 650px; /* dopasowane aby wszystko weszło */
    }

    /* ---------- UL: PIONOWO I CENTRUM ---------- */
    #navbar > ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;        /* wycentrowane */
        justify-content: center;    /* wycentrowane */
        gap: 0;

        margin: 0;
        padding: 0;
    }

    /* ---------- LI: pełna szerokość + centrowanie ---------- */
    #navbar > ul > li {
        width: 100%;
        display: flex;
        justify-content: center;    /* idealnie na środku */
        align-items: center;        /* idealnie na środku */
        padding: 14px 0;
        border-bottom: 1px solid #ececec;
        text-align: center;
    }

    #navbar > ul > li:last-child {
        border-bottom: none; /* usuwa linię przed przyciskiem PDF */
    }

    /* ---------- LINKI ---------- */
    #navbar > ul > li > a {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* ---------- SUBMENU ---------- */
    #navbar .sub-menu {
        position: static;
        display: none;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        box-shadow: none;
    }

    #navbar .sub-menu.active {
        display: block;
    }

    /* ---------- DOWNLOAD LINK: NA SAMYM KOŃCU + CENTRUM ---------- */
     .download-link {
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        order: 999;
        margin-top: 20px;
        margin-bottom: 10px;
        align-self: center !important; /* ← MAGIC FIX */
    }
  #navbar .download-link {
        align-self: center !important;
    }
    .hero-video {
    height: 500px !important;

}
.hero {
    height: 500px !important;

}

}

.hero {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    height: 660px; /* sztywna wysokość */
}

.hero-video {
    width: 100%;
    height: 660px; 
    object-fit: cover; 
    object-position: center center;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: none !important; /* upewnij się, że żaden overlay nie działa */
}

.hero-overlay {
    position: absolute;
    top: 5%;
    left: 6.5%;
    z-index: 10;
}

.hero-overlay h1 {
    margin: 0;
    font-size: 3.4em;
    line-height: 1.1;
    font-family: "Outfit", sans-serif;
    color: #fff;
}
.location-text p{
line-height: 1.1 !important;
}
.building_6 {
  font-size: 36px;
  background-color: #00467f;
  padding-top: 5%;
  padding-right: 5%;
  padding-left: 5%;
  padding-bottom: 1%; 
  font-weight: bold;
  text-align: center;
  color: #e8e8e8;
}


 @media (max-width: 768px) {
  .columns_leasing {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .column_leasing {
    max-width: 90%;
    padding: 15px;
    position: relative;
  }
    .column_leasing:not(:last-child)::after {
    top: auto;       
    bottom: -10px; 
    left: 0;
    right: 0;
    width: 100%; 
    height: 1px; 
    background-color: #e8e8e8;
  }
    
}
    .building-img {
      width: 100%;
      height: auto;
      display: block;
      
    }
 .building-plans {
  width: 90%;         
  max-width: 900px; 
  height: auto;
  display: block;
  margin: 40px auto;
  padding: 10px;
  background-color: #ffffff;
  transition: transform 0.2s;
}

@media (min-width: 768px) {
  .building-plans {
    width: 60%;
  }
}

@media (min-width: 1200px) {
  .building-plans {
    width: 40%;
  }
}

    .info-table {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  border-top: 1px solid #ccc;
}
.info-table li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
  font-size: 16px;
}

.info-table span {
  font-family: "Outfit", sans-serif !important;
  color: #003b71;
  font-weight: bold;
}

.info-table strong {
  color: #3d6890;
  text-align: right;
font-weight: normal;

}


.building-intro {
  max-width: 900px;
  margin: 60px auto 20px auto;
  padding: 0 20px;
  text-align: center;
  color: #00467f;
}

.building-intro h2 {
  font-size: 36px;
  color: #004475;
  margin-bottom: 15px;
  font-weight: bold;
}

.building-intro h3 {
  font-size: 20px;
  color: #00467f;
  font-weight: bold;
  margin: 0;
}

.building-intro p {
  font-size: 24px;
  color: #00467f;
  margin-bottom: auto;
  font-weight: normal;
  margin: 0;
}
.container1 {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    justify-content: space-between;
    background-color: #00467f;
    margin: 0 auto;
    margin-bottom: 0;
    padding-bottom: 5%;
}

@media (max-width: 768px) {

    .container1 {
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
    }
    .building_6{
      padding-bottom: 5%;
    }
    .column {
        flex: none;
        width: 90%;
        max-width: 100%;
    }
    .section-title {
        font-size: 18px;
        text-align: center;
    }
    .label, .content {
        font-size: 14px;
        text-align: center;
    }
    .line, .line1 {
        margin: 15px 0;
    }
}
       

.line_sep {
  border: none;                  
  border-top: 2px solid #d3d3d3; 
  margin: 10% 0;                  
}

    
      .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  gap: 20px;
  padding: 40px 20px;
  max-height: fit-content;
  background-color: #ffffff;
  text-align: center;
}
  
  .gallery h2 {
    width: 100%;
  font-size: 36px;
  padding: 3%;
  color: #004475;
  margin-top: -5%;
 margin-bottom: -30px;
  font-weight: bold;
  text-align: center;
}

.gallery h3 {
  width: 100%;
  text-align: center;
  font-size: 20px;
  color: #00467f;
  font-weight: normal; 
  margin-top: 60px;
  margin-bottom:  -30px;

}

    .gallery img {
      width: 110%;
      height: 400px;
    }

    @media (min-width: 768px) {
  .gallery img {
    width: 80%;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  .gallery img {
    width: 90%;
  }
}

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.building-location-section {
  background-color: #00467f;
  padding: 60px 0;
}



.shadow-image {
  display: block;
  width: 80%;
  max-width: 80%;
  height: auto; 
  margin: 0 auto 0 auto; 
  background-color: #00467f;
  
}

@media (max-width: 768px) {
  .shadow-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}
.shadow-wrapper {
  background-color: #00467f; 
  padding-bottom: 80px;
  text-align: center;      
}



#port-services {
  background-color: #e8e8e8; /* kolor tła sekcji */

}
#port-services h1 {
  color: #004475;     /* kolor czcionki */
  font-size: 42px;   /* rozmiar czcionki */
   margin-top: 0;
  margin-bottom: 0;
  padding-top: 5%;
  padding-bottom: 2%;
  margin-left:7%;
  
}
@media (max-width: 1324px) {
  #port-services h1 {
   
    padding: 40px 20px 40px 20px; /* góra/dół 40px, lewo/prawo 20px */
    text-align: left;        /* tekst od lewej */
  }
}
/* PS GALLERY */
.ps-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    background-color: #e8e8e8 !important;
    padding: 40px 7% 80px 7%;
    box-sizing: border-box;
}

@media (max-width: 1224px) {
  .ps-gallery {
    padding: 0 !important;
  }
}


/* KAFELKI */
.ps-tile {
    width: 500px;
    background-color: #00467f !important;
    text-align: left;
    transition: transform 0.2s;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 500px; /* równa wysokość */
    box-sizing: border-box;
    cursor: pointer;
       position: relative;
        text-decoration: none; 
}
.ps-image,
.ps-title,
.ps-desc {
    pointer-events: none; 
}

/* Link Discover More nadal klikalny */
.ps-link {
    pointer-events: auto;
}

.ps-tile:hover {
    transform: translateY(-2px);
    background-color: #6d6f71 !important; /* szary */
}

.ps-link::after {
    content: " →";
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.2s ease;
      font-size: 1em;
    font-weight: bold;
}
.ps-link:hover::after {
    transform: translateX(4px);
}

/* GÓRNA CZĘŚĆ – zajmuje ok. 70% kafelka */
.ps-image {
    flex: 7;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    
}

.ps-image img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: fill;
    object-position: center 35%; /* 👈 kluczowa zmiana */
    display: block;
}

/* DOLNA CZĘŚĆ – zajmuje ok. 30% kafelka */
.ps-content {
    flex: 3; /* 🔥 proporcja — 3 części z 10 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #00467f;
    padding: 10px 15px;
}

/* TEKSTY */
.ps-title {
 
    font-size: 2em;
    margin: 30px 0 5px 10px;
    color: #e8e8e8;
}

.ps-desc {
    font-size: 1em;
    color: #d0d0d0;
    margin: 5px 0 5px 10px;
    flex-grow: 1;
}

.ps-link {
    display: inline-block;
    margin: 5px 0 30px 10px;
    color: #f37c05 !important;
    text-decoration: none;
    font-weight: normal;
}

.ps-link:hover {
    text-decoration: underline;
}
@media (min-width: 1600px) {
  .ps-image img {
    object-position: center 45%; /* trochę niżej na ultrapanoramicznych ekranach */
  }
}

@media (max-width: 1024px) {
  .ps-image img {
    object-position: center 25%; /* lekko wyżej na tabletach */
  }
}
/* ROZKŁAD – MAKS 3 W RZĘDZIE */
@media (min-width: 901px) {
    .ps-tile {
        flex: 1 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

@media (max-width: 900px) and (min-width: 601px) {
    .ps-tile {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .ps-tile {
        flex: 1 1 100%;
        max-width: 100%;
        height: auto;
    }
     .project-title {
  margin: -2% 0 5% 10px !important;
}
}
.ps-section.ps-section-2 {
  background-color: #ffffff !important;
  color: #000000 !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 18px !important;
  padding: 60px 25% 60px 25%;
  justify-content: center;
  box-sizing: border-box;

}

.ps-section.ps-section-4 {
  background-color: #00467f !important;
  color: #ffffff !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 30px !important;
  font-weight: bold;
 
  padding: 40px 5%;
  text-align: center;
  box-sizing: border-box;
  padding-bottom: 10px;
}
/* -------------------------------------------
 * 8. SECTION PROJECTS (Galeria z polem tekstowym)
 * ------------------------------------------- */

/* --- Sekcja główna --- */
.main_projects {
  background-color: #00467f;
}

.main_projects h1 {
  color: #fff;
  font-size: 42px;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
  padding: 40px 300px;
}

.main_projects h2 {
  color: #fff;
  font-size: 16px;
  margin: 0;
  text-align: right;
  margin-right: 5%;
}

/* --- PS GALLERY --- */
.projects-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #e8e8e8 !important;
  padding: 40px 300px;
  box-sizing: border-box;
}

@media (max-width: 1224px) {
  .projects-gallery {
    padding: 0 !important;
  }
}

/* --- KAFELKI W SWIPERZE --- */
.project-tile {
  background-color: #f37c05 !important;
  text-align: left;
  transition: transform 0.2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 700px;
  box-sizing: border-box;
  text-decoration: none;

  /* <<< KLUCZOWE ZMIANY >>> */
  flex: 0 0 auto;   /* NIE wymusza szerokości, swiper nadaje ją sam */
  width: 100%;      /* szerokość kontrolowana przez swiper */
  max-width: none;  /* usuwa blokadę 400px */
}
.project-tile:hover {
  transform: translateY(-2px);
}

/* --- Górna część kafelka (obraz) --- */
.project-image {
  flex: 8;
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* <-- kluczowa zmiana */
  object-position: center;
  display: block;
}

/* --- Dolna część kafelka (tekst) --- */
.project-content {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f37c05;
  padding: 10px 15px;
}

.project-title {
  font-size: 2em;
  line-height: 1.2;
  color: #e8e8e8;
  text-align: left;

  margin: 2% 0 3% 10px;

  /* <<< KLUCZ >>> */
  min-height: calc(1.2em * 2);
}

.project-desc {
  font-size: 1em;
  color: #ffffff;
  margin: 5px 0 5px 10px;
}

.project-link {
  display: inline-block;
  margin: 5px 0 5px 10px;
  color: #00467f !important;
  text-decoration: none;
  
}

.project-link::after {
  content: " →";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.project-link:hover::after {
  transform: translateX(4px);
}

.project-number {
  font-size: 1em;
  color: #ffffff;
  margin: 5px 0 0 23px;
  flex-grow: 1;
}

/* --- Responsywność obrazów --- */
@media (min-width: 1600px) {
  .project-image img {
    object-position: center 45%;
  }
}

@media (max-width: 1024px) {
  .project-image img {
    object-position: center 25%;
  }
}

/* --- Rozkład kafelków --- */
@media (min-width: 901px) {
  .project-tile {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  
  }
 
}

@media (max-width: 900px) and (min-width: 601px) {
  .project-tile {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
  .project-number {
  margin: 5px 0 5% 23px;
}
  
}

@media (max-width: 600px) {
  .project-tile {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .project-image {
    flex: unset;
    height: 70vw;
  }

  .project-image img {
    height: 100%;
    object-fit: cover;
  }

  .project-content {
    flex: unset;
  }

  .main_projects h1 {
    padding: 20px 20px !important;
    font-size: 32px;
    text-align: center;
  }

  .main_projects h2 {
    padding: 10px 20px !important;
    font-size: 20px;
    text-align: center;
    display: block;
    margin-top: -20px;
  }
}

/* ---------------- Swiper ---------------- */
.swiper.projects-gallery,
.swiper.mySwiper {
  width: 100%;
  height: auto;
  background-color: #00467f !important;
  position: relative;
  padding: 20px 0;
  
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
}

.swiper-pagination-bullet {
  background-color: #fff !important;
  opacity: 1;

  


}

.swiper-pagination-bullet-active {
  background-color: #fff !important;
}

/* --- Swiper Project --- */
.swiper-project {
  width: 100%;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 40px 0;
}

.swiper-project .swiper-wrapper {
  max-width: 100%;
  margin: 0 auto;
}

.swiper-project .swiper-slide {
  background: #f37c05;
  display: flex;
  flex-direction: column;
  height: auto;
  overflow: hidden;
}

.swiper-project .project-image img {
  width: 100%;
  height: 100%; /* <-- zmienione z 880px */
  object-fit: cover;
}

.swiper-project .swiper-button-next,
.swiper-project .swiper-button-prev {
  color: #fff !important;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-project .swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.swiper-project .swiper-pagination-bullet {
  background-color: #fff !important;
  opacity: 0.7;
  
  
}

.swiper-project .swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 1200px) {
  .swiper-project .swiper-wrapper {
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  .swiper-project .swiper-wrapper {
    max-width: 100%;
  }
}

/* --- Dodatkowe sekcje --- */
.project-section-2 {
  background-color: #ffffff !important;
  color: #000000 !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 18px !important;
 
  padding: 80px 10%;
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
}

.project-section-4 {
  background-color: #00467f !important;
  color: #ffffff !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 30px !important;
  font-weight: bold;
  
  padding: 80px 10%;
  text-align: center;
  box-sizing: border-box;
}

/* ==================================================
   WHY DURAPORT SECTION
================================================== */

/* SECTION BASE */
.why-duraport {
  padding: 0 0;
}

/* CUSTOM CONTAINER */
.why-duraport .duraport-container {
  width: 85vw;        /* prawie cały ekran */
  max-width: none;    /* brak ograniczenia szerokości */
  margin: 0 auto;     /* wycentrowanie */
  padding: 0;         
  box-sizing: border-box;
}
.why-duraport,
.why-duraport .duraport-section {
  padding-top: 2% !important;
  padding-bottom: 2% !important;
  font-family: Outfit, sans-serif !important;
}
/* MAIN TITLE */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px !important; /* zwiększony odstęp */
  text-align: center;
}

/* BLOCKS WRAPPER - max 2 per row, justify content */
.blocks-wrapper {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column; 

}

/* SINGLE BLOCK */
.section-block {
  width: 100%;
  box-sizing: border-box;
 
}

/* LINE ABOVE TITLE */
.block-line {
  width: 100%;
  height: 2px;
 margin-top: -70px;
 margin-bottom: -15px;
  background-color: #ffffff;
}

/* BLOCK TITLE */
.block-title {
  margin-bottom: 10px;
  font-weight: 600;
}



/* REMOVE ANY EXTRA BORDER OR AFTER ELEMENT */
.section-block h3::after,
.section-block h3::before {
  content: none !important;
}

.duraport-inner {
  display: flex;
  align-items: flex-start; /* ⬅️ KLUCZ */
  gap: 80px;
}
.duraport-image {
  flex: 0 0 55%;
    margin-top: -40px;
}

.duraport-image img {
  width: 100%;
  height: auto;
  display: block;
}
.blocks-wrapper .section-block:last-child .block-text {
  margin-bottom: 0;
}
/* RESPONSIVE */
@media (max-width: 1024px) {
  .section-block {
    flex: 0 1 48%; /* dwa bloki w wierszu nadal */
  }
}

@media (max-width: 768px) {

  .duraport-inner {
    flex-direction: column;    
    align-items: stretch;
    gap: 40px;                  
  }

  .duraport-image,
  .blocks-wrapper {
    flex: 1 1 100%;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 50px !important;
  }

  .block-line {
    margin-top: 0;           
    margin-bottom: 8px;
  }
}
/***********/
/* CONTACT  */
/***********/
.contact-section {
    display: flex;
    justify-content: center; /* centruje kolumny poziomo */
    align-items: flex-start;
    background: #e5e5e5;
    padding: 80px 150px;
    gap: 40px;
    font-family: "Outfit", sans-serif;
}

/* LEWA STRONA */
.contact-left {
    width: 30%;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Białe i grubsze linie */
.contact-left hr {
    border: none;
    border-top: 3px solid #ffffff;
    margin: 8px 0; /* zmniejszone marginesy nad i pod linią */
    width: 100%;
}


/* Teksty w lewej kolumnie */
.contact-label {
    text-transform: uppercase;
    font-size: 16px;
    color: #f37c05;
    letter-spacing: 1px;
}

.contact-left h1 {
    font-size: 42px;
    color: #00467f;
    margin: 5px 0 10px 0;
}

.contact-desc {
    font-size: 36px;
    color: #f37c05;
    margin-bottom: 15px;
    max-width: 300px;
    line-height: 0.9;
}

.contact-block {
    margin: 10px 0; /* zmniejszone odstępy między blokami */
}

.label {
    text-transform: uppercase;
    font-size: 16px;
    color: #f37c05;
    letter-spacing: 1px;
    margin-bottom: 3px; /* mniejszy odstęp między label a wartością */
}

.value {
    color: #00467f;
    font-size: 18px;
    margin-bottom: 5px; /* zmniejszony odstęp pod wartością */
}

/* PRAWA STRONA - FORM */
.contact-right {
    background: #ffffff;
    padding: 40px;
    margin-left: 100px;
    width: 45%;
    min-width: 280px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    color: #00467f;
    font-size: 16px;
    margin-top: 25px;
}

.contact-form input,
.contact-form textarea {
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    font-size: 16px;
    background: none;
    outline: none;
    width: 100%;
}

.contact-form textarea {
    height: 200px;
    resize: none;
}

.contact-form button {
    margin-top: 40px;
    background: #00467f;
    color: #fff;
    padding: 18px 0;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.contact-form button:hover {
    opacity: 0.9;
}
.value.address-value p {
    margin: 0; /* usuwa domyślne marginesy <p> w WYSIWYG */
    line-height: 1.3; /* opcjonalnie zmniejsza odstęp między liniami tekstu */
}
/* RESPONSYWNE */
@media (max-width: 900px) {
    .contact-section {
        flex-direction: column;
        padding: 40px 20px;
        align-items: center;
    }
/* PRAWA STRONA - FORM */
.contact-right {
    margin-left: 0;
 
}
    .contact-left, 
    .contact-right {
        width: 90%;
    }

    .contact-left hr {
        border-top: 2px solid #ffffff;
    }
}
 /* CONTACT US SHOW */
#bottomBanner {
  position: fixed;
  bottom: -150px; /* ukryty początkowo */
  left: 0;
  width: 100%;
  background-color: #00467f;
  color: white;
  text-align: center;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  opacity: 0;
  transition: bottom 0.7s ease, opacity 0.7s ease;
  z-index: 9999; /* nad innymi elementami */
  font-family: "Outfit", sans-serif !important;
}
#bottomBanner p {
  margin: 0 0 10px 0;
  font-size: 2.25em; 

  color: white;
}

#bottomBanner a {
  display: inline-block;
  padding: 12px 25px;
  background-color: #f37c05;
  color: white;
  text-decoration: none;
  font-weight: normal;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-size: 16px;
}

#bottomBanner a:hover {
  background-color: darkorange;
}

#bottomBanner .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 10000; /* wyżej niż banner */
}

/* SCROLL TOP BUTTON */
.scroll-top-btn {
  position: fixed; 
  bottom: 130px; /* nad bannerem */
  right: 20px;
  background-color: #00467f;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001; /* zawsze nad bannerem */
  opacity: 0;
  transition: opacity 0.3s ease;
}
.scroll-top-btn.visible {
  opacity: 1;

}

.scroll-top-btn img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

/* ==========================
   STYLIZACJA SEKCJI WAREHOUSING
========================== */

/* =========================
   WAREHOUSING SECTION
========================= */

.warehousing-section {
    padding: 80px 10%;
}

/* TYLKO DRUGA SEKCJA */
.warehousing-section-2 {
    padding-top: 0;
}

.warehousing-inner {
    display: flex;
    gap: 150px;
    align-items: flex-start;
}

/* MAPA */
.warehousing-map {
    flex: 1 1 50%;
}

.warehousing-map iframe {
    width: 100%;
    height: 400px;
    border-radius: 16px;
}

/* INFO */
.warehousing-info {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* LOGO */
.warehousing-logo img {
    max-width: 200px;
    height: auto;
}

/* ADDRESS */
.warehousing-address p {
    font-size: 20px;
    font-weight: 500;
      color:#00467f;
}

/* TEXT */
.warehousing-text {
    font-size: 20px;
    line-height: 1.2;
    color:#00467f;
}

/* LINK */
.warehousing-link2 a {
    color: #f37c05;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

/* MOBILE */
@media (max-width: 900px) {

    .warehousing-section {
        padding: 40px 16px; /* mniej paddingu po bokach */
    }

    .warehousing-inner {
        flex-direction: column;
        gap: 40px;
        align-items: center; /* WYŚRODKOWANIE */
    }

    .warehousing-map {
        width: 100%;
        display: flex;
        justify-content: center; /* iframe na środku */
    }

    .warehousing-map iframe {
        width: 100%;
        max-width: 100%;
        height: 380px; /* WIĘKSZA MAPA */
        border-radius: 12px;
    }

    .warehousing-info {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .warehousing-logo img {
        max-width: 180px;
    }

    .warehousing-address p,
    .warehousing-text {
        font-size: 18px;
    }
}

/* ================================
   WAREHOUSING TILE
================================ */

.warehousing-gallery {
    padding: 40px 7%; /* TAKI SAM JAK SEKCJA NIŻEJ */
    background-color: #f37c05;
}

.warehousing-gallery {
    padding: 40px 7%;

    background: linear-gradient(
        to right,
        #e8e8e8 0,
        #e8e8e8 7%,
        #f37c05 7%,
        #f37c05 calc(100% - 8.2%),
        #e8e8e8 calc(100% - 8.2%),
        #e8e8e8 100%
    );
}
.warehousing-tile {
    display: flex;
    align-items: flex-start; /* ⬅ tekst idzie do góry */
    gap: 60px;
}
.warehousing-text-col {
    margin-top: 30px;
    margin-left: 20px; /* ⬅ podnosi całą kolumnę */
}

/* ==== LEWA STRONA – TEKST (1/3) ==== */
.warehousing-text-col {
    flex: 1 1 33%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.warehousing-title {
    font-size: 36px;
   
    color: #ffffff;
    margin: 0;
}

.warehousing-desc {
    font-size: 20px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
}


.warehousing-link {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #00467f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.warehousing-link::after {
    content: "→";
    font-size: 18px;
    color: #00467f; /* ⬅ TEN SAM KOLOR */
    transition: transform 0.25s ease;
}

.warehousing-link:hover::after {
    transform: translateX(5px);
}

/* ==== PRAWA STRONA – OBRAZ (2/3) ==== */
.warehousing-image-col {
    flex: 2 1 67%;
}

.warehousing-image-col img {
    width: 95%;
    height: 500px;
   
    display: block;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 900px) {

    /* ⬅ USUWAMY GRADIENT */
    .warehousing-gallery {
        padding: 40px 20px;
        background: #f37c05;
    }

    .warehousing-tile {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }

    .warehousing-text-col {
        margin: 0;
        align-items: center;
    }

    .warehousing-title {
        font-size: 28px;
    }

    .warehousing-desc {
        font-size: 16px;
        line-height: 1.5;
    }

    .warehousing-link {
        justify-content: center;
    }

       .warehousing-image-col {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .warehousing-image-col img {
        width: 100%;        
        max-width: 100%;
        height: auto;
        max-height: 380px;
        object-fit: cover;  
        display: block;
    }
}
.typewriter {
    visibility: hidden;
}
.typewriter.is-typing {
    visibility: visible;
}
