/* --- Responsive Navigation Menu Styles --- */

/* === Global Styles === */

@font-face {
font-display:swap;
    font-family: 'Lato';
    src: url('/wp-content/themes/BWbiznes/fonts/Lato-Regular.woff2') format('woff2'),
         url('/wp-content/themes/BWbiznes/fonts/Lato-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
font-display:swap;
    font-family: 'Krona One';
    src: url('/wp-content/themes/BWbiznes/fonts/KronaOne-Regular.woff2') format('woff2'),
         url('/wp-content/themes/BWbiznes/fonts/KronaOne-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


* {
  font-family: "Lato", sans-serif;
  
}
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: "Krona One", sans-serif;
  font-weight: 400;
  font-style: normal;
}
h1 {
  font-size: 5rem;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}
h3 {
  font-size: 1.75rem;
}
a {
  text-decoration: none;
  color: #f6f6f6;
}
ul li {
  list-style: none;
}

p {
font-size: 1.1rem;
font-weight: 700;
}

/* === Colors === */
.orange {
  color: #ff8e25;
}
.blue {
  color: #7189dd;
}
.navy {
  color: #03082d;
}

/* === Buttons === */
.button-orange {
  border: 2px solid #ff8e25;
  border-radius: 0px;
  padding: 10px 15px;
  transition: 0.3s ease;
  background-color: transparent;
  color: #f6f6f6;
}
.button-orange:hover {
  border: 2px solid #f6f6f6;
  transform: scale(110%);
}

.button-full-orange {
  background-color: #ff8e25;
  color: #f6f6f6;
  border-radius: 0px;
  padding: 10px 15px;
  transition: 0.3s ease;
}

.button-full-orange:hover {
  background-color: #ff8e25;
  color: #03082d;
  transform: scale(110%);
}
.button-white {
  border: 3px solid #f6f6f6;
  border-radius: 25px;
  padding: 10px 15px;
}
.single-offer button:hover {
  border: 3px solid #ff8e25;
}
.single-offer button:hover > a {
  color: #ff8e25;
}
.single-offer button a {
  color: #f6f6f6;
}

/* === Dividers === */
.divider {
  border-bottom: 5px solid #ff8e25;
  width: 10rem;
  margin: 10px 0;
}

/* === Links === */

.top-bar .current-menu-item > a,
.sidebar-menu .current-menu-item > a {
  color: #f6f6f6;
}
/* === Overlays === */
.black-overlay {
  background-color: rgba(0, 0, 0, 0.7);
  height: 100vh;
}

/* === Header Section === */

header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Nawigacja główna */
header .navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;

  font-family: "Lato", Arial, sans-serif;
  font-size: 1.1rem;
  background: transparent;
  height: 80px;
}

/* Logo */
.navbar-brand,
.navbar-brand:hover {
  color: #f6f6f6;
}

/* Efekt po scrollowaniu */
header .navbar.scrolled {
  background-color: #03082d;
  transition: background-color 0.3s ease;
}

/* Kontener menu */
header .container-lg {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

header .container-lg .navbar-collapse > ul {
  display: flex;
  height: 80px;
}

/* Linki w menu */
header .top-bar {
  height: 100%;
}

header .top-bar li {
  position: relative;
  list-style: none;
  text-align: start;
}

header .top-bar li a {
  text-decoration: none;
  padding: 0.25rem 1rem;
  color: #f6f6f6;
  font-size: 1.1rem;
  font-family: "Krona One", sans-serif;
}

header .top-bar li a:hover,
header .top-bar li .sub-menu a:hover {
  color: #ff8e25;
}

header .top-bar li .sub-menu a:active {
  color: #ff8e25;
}

/* Submenu */
header .top-bar li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -75px;
  width: 300px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  background-color: rgba(0, 0, 0, 0.2);
  padding: 10px 5px;
  list-style: none;
  z-index: 999;
  transition: 0.3s ease;
}

/* Kiedy navbar ma klasę .scrolled — submenu ma pełne tło */
header .navbar.scrolled .top-bar li .sub-menu {
  background-color: rgba(3, 8, 45, 0.9);
}

header .top-bar li .sub-menu a {
  font-size: 1rem;
  padding: 0.25rem;
  display: block;
  color: #f6f6f6;
}

header .top-bar > .menu-item-has-children:hover > .sub-menu {
  display: block;
  transition: all 0.3s ease;
}

/* Ikony i kontakt */
header .contact-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

header .contact-social .nav-link {
  color: #f6f6f6;
}

header .contact-social .nav-link:hover {
  color: #ff8e25;
}

header .contact-social i {
  margin: 0 20px;
  font-size: 1.2rem;
  color: #f6f6f6;
  transition: 0.3s ease;
  display: inline-block;
}

header .contact-social i:hover {
  color: #ff8e25;
  transform: translateY(-10px);
}

/* === Front Page Sections === */

/* section hero */
#hero {
  position: relative;
  width: 100%;
  min-height: 100dvh; /* desktop */
  overflow: hidden;
}

/* dla urządzeń mobilnych (max-width np. 767px) */
@media (max-width: 767px) {
  #hero {
    min-height: 100vh; /* dokładnie wysokość viewportu */
  }
}

#hero picture,
#hero img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

@media (min-width: 768px) {
  #hero picture,
  #hero img {
    width: 100%;
    height: 100%;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 8, 45, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  padding: 1rem;
}

.hero-overlay h1 {
  color: #fff;
  margin: 0;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #ff8e25;
  display: block;
  margin-top: 0.5rem;
}

#hero button {
  margin-top: 2rem;
}

/* section features */
#Features {
  height: 300px;
  margin-top: -150px;
}

#Features img{
  height: 50px;
  width: 50px;
}

.single-feature {
  min-width: 200px;
  padding: 25px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  z-index: 100;
}
.single-feature svg {
  height: 50px;
  margin-right: 25px;
  margin-bottom: 25px;
}
#feature1 {
  background-color: #03082d;
  color: #f6f6f6;
}
#feature2 {
  background-color: #ff8e25;
}
#feature3 {
  background-color: #f6f6f6;
}

/* section offer */

#Offer h3 {
  color: #f6f6f6;
  font-size: 2rem;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}
.single-offer {
  height: 350px;

  box-sizing: border-box;
  background-size: cover;
}

.overlay-single-offer {
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  width: 100%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.overlay-single-offer:hover {
  background-color: rgba(0, 0, 0, 0);
  box-shadow: inset 0px -100px 0px 0px #ff8e25;
  transition: 0.3s ease-in;
}

/* section newsletter */
#Newsletter {
  background-color: #03082d;
  color: white;
  height: 250px;
}
#Newsletter h2 {
  margin-bottom: 0px;
}

/* section about */
#About {
  background-size: cover;
  background-position: 0 -200px;
  background-attachment: fixed;
}
.about-left-column {
  background-color: #f6f6f6;
}
.about-left-column h3 {
  color: #7189dd;
}
.about-right-column {
  background-color: #03082d;
  color: #f6f6f6;
}
.about-right-column h3,
h4 {
  color: #ff8e25;
}
.single-about i {
  font-size: 3rem;
  color: #f6f6f6;
}

/* section gallery */
#Gallery {
  background: #fff;
  padding: 50px 0;
  width: 100%;
}

#Gallery .gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
#Gallery .gallery-image {
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s;
}
#Gallery .gallery-image:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}

/* section reviews & contact */
#Reviews,
#Contact {
  background-color: #f6f6f6;
}
.border-l-orange {
  border-left: 25px solid #ff8e25;
  min-height: 4rem;
}
#message {
  height: 300px;
}
#Contact li:first-child {
  font-size: 1.3rem;
}
#Contact li {
  font-size: 1rem;
  font-family: "Krona One", sans-serif;
}

#Contact iframe {
  width: 100%;
  height: 300px;
}

/* === Offer Page Sections === */

/* Buttons */

.Offer-Page .button-orange {
  display: none;
}

/* section 1 */

.content-block {
  background-color: #f6f6f6;
}
.system-single {
  height: 400px;
  background-size: cover;
}

.system-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  height: 10rem;
  transition: height 0.3s ease;
}

.system-single:hover .system-overlay {
  height: 100%;
}

.system-single:hover .button-orange {
  display: block;
}

/* section 2 */
#Section2 {
  background-color: #f6f6f6;
}

.single-text-list {
  border-bottom: 1px solid #a9a9a9;
  padding: 1rem 0;
}

.offer-description img {
  float: right;
  margin: 0 0 15px 15px;
  max-width: 400px; /* szerokość zdjęcia */
  height: auto;
}
/* section profiles */
/* Add any specific styles for profiles section here */

/* section colours */

#offer-colours .single-colour:hover {
  transform: scale(110%);
}

.advantage-container {
  background-color: #03082d;
  color: #f6f6f6;
}

/* === Felgi === */
#felgi {
  height: 100vh;
  background-size: cover;
  background-attachment: fixed;
  background-position: 50% 50%;
}

#felgi img {
  height: 100px;
  width: auto;
  margin: 0px 20px;
  transition: 0.3s ease-in;
}

#felgi img:hover {
  transform: scale(1.2);
}

/* === Other Section Padding === */
#Offer,
#About,
#Reviews,
#Gallery,
#Contact {
  padding: 50px 0;
}

/* === Footer === */

footer {
  background-color: #03082d;
  color: #f6f6f6;
  padding: 2rem 0;
}
footer a {
  color: #ff8e25;
}
footer a:hover {
  text-decoration: underline;
}

/* === Responsive Styles === */

@media (max-width: 1399px) {
  /* Fonts */
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 2rem;
    margin-bottom: 50px;
  }
  h3,
  #Offer h3 {
    font-size: 1.5rem;
  }

  #About h4 {
    font-size: 1.2rem;
  }

  /*  Header */

  header .top-bar li a {
    font-size: 1rem;
  }

 header .contact-social i {
    margin: 0 10px;
  }

  /* Section Hero */

  /* /==/=/==/ FRONT PAGE /==/=/==/ */

  /* Section Features */
  .single-feature {
    padding: 20px;
  }
  .single-feature svg {
    height: 40px;
    margin: 0px 20px 20px 0px;
  }

  /* Section Offer */

  .single-offer {
    height: 250px;

    min-width: 220px;
    max-width: 100%;
    box-sizing: border-box;
    background-size: cover;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  /* /==/=/==/ Offer Page /==/=/==/ */

  .system-single {
    height: 400px;
    background-size: cover;
  }
}

@media (max-width: 1199px) {
  h3,
  #Offer h3 {
    font-size: 1.2rem;
  }
  /* /==/=/==/ Offer Page /==/=/==/ */

  /* Section Iamge Label */

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  h3,
  #Offer h3 {
    font-size: 1.3rem;
  }

  /* /==/=/==/ FRONT PAGE /==/=/==/ */

  .single-offer {
    height: 200px;

    min-width: 180px;
    padding: 0;
  }
  .overlay-single-offer {
    padding: 15px;
  }

  .overlay-single-offer:hover {
    padding: 15px;
    box-shadow: inset 0px -100px 0px 0px #ff8e25;
  }

  /* Section Features */

  .single-feature svg {
    height: 30px;
    margin: 0px 10px 10px 0px;
  }

  /* Section Newsletter */
  #Newsletter {
    height: auto;
    padding: 25px 0;
  }

  /* Section About */
  #About .about-right-column i {
    font-size: 2rem;
  }

  /* Section Contact */
  #Contact li:first-child {
    font-size: 1.1rem;
  }
}

@media (max-width: 991px) {
  .top-bar {
    display: none !important;
  }

  .navbar-toggler,
  .offcanvas {
    display: block !important;
  }
  .sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "Lato", Arial, sans-serif;
    font-size: 1.1rem;
  }

  .sidebar-menu li {
    margin-bottom: 1rem;
  }

  header .offcanvas .offcanvas-body {
    background-color: #03082d;
  }
  header .offcanvas .offcanvas-body > .submenu {
    display: flex;
    flex-direction: column;
  }

  /* /==/=/==/ FRONT PAGE /==/=/==/ */

  .single-feature p {
    display: none;
  }
  .single-feature svg {
    margin: 0px 0px 20px 0px;
  }

  #Text-Image-Advantage img {
    height: 300px;
  }

  #felgi img {
    height: 80px;
  }
}

@media (max-width: 767px) {
  /* Fonts */
  h3 {
    font-size: 1.2rem;
  }

  /* Buttons */
  .button-white {
    border: 2px solid #f6f6f6;

    padding: 10px 15px;
  }

  /* /==/=/==/ FRONT PAGE /==/=/==/ */

  /* section features */

  #Features {
    height: auto;
    margin-top: 0px;
    padding: 50px 0px;
  }

  .single-offer {
    height: 200px;

    min-width: 120px;
    font-size: 0.9rem;
  }
  .single-feature p {
    display: block;
  }
  .overlay-single-offer {
    padding: 10px;
  }
  #Offer h3 {
    font-size: 2rem;
    text-shadow: none;
  }

  /* /==/=/==/ OFFER PAGE /==/=/==/ */

  .offer-description img {
    float: none;
    display: block;
    margin: 0 auto 15px auto; /* wyśrodkowanie i odstęp pod obrazkiem */
    max-width: 70%; /* pełna szerokość w mobilnych */
  }
}

@media (max-width: 575px) {
  header .navbar {
    height: 50px;
  }

  h1 {
    font-size: 2rem;
  }

  /* /==/=/==/ FRONT PAGE /==/=/==/ */

  .hero-subtitle {
    font-size: 1rem;
  }

  .single-offer {
    min-height: 10rem;

    min-width: 80px;
  }
  .overlay-single-offer {
    padding: 5px;
    justify-content: center;
    align-items: center;
  }
  #Offer h2 {
    margin-bottom: 20px;
  }
  #Offer h3 {
    font-size: 1.2rem;
  }

  /* /==/=/==/ OFFER PAGE /==/=/==/ */

  .Offer-Page h2 {
    font-size: 1.3rem;
  }

  #felgi img {
    height: 50px;
    margin: 0px 10px;
  }
}
