@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
  font-family: 'FoobarPro-Regular';
  src: url('../fonts/FoobarPro-Regular.ttf.woff') format('woff'),
    url('../fonts/FoobarPro-Regular.ttf.svg#FoobarPro-Regular') format('svg'),
    url('../fonts/FoobarPro-Regular.ttf.eot'),
    url('../fonts/FoobarPro-Regular.ttf.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --blue: #1e90ff;
  --bluelight: #e9f4ff;
  /* pink #FF3399 in decimal RGB */
  --pink: 255, 51, 153;
  --pinklight: #ffebf5;
  --green: #00D364;
  --greenlight: #e6fbf0;
  --yellow: #FECB67;
  --yellowlight: #fffaf0;
  --white: #ffffff;
  --greylight: #eeeeee;
  --greydark: #3b3b3b;

  /* black #1a1a1c in decimal RGB */
  --black: 26, 26, 28;
}

body {
  overflow-x: hidden;
  font-family: 'Inter', Verdana, Arial, Lucida, sans-serif;
  color: var(--black);
}

h2 {
  font-family: 'FoobarPro-Regular';
}

h5 {
  font-family: 'FoobarPro-Regular';
}

/* Navigation */

.nav-item {
  font-weight: 400;

}

.nav-link {
  color: var(--white);
  padding-left: 1rem;
}

.navbar {
  background-color: rgba(var(--black), 0.6);
  transition: all 0.5s;

}

.navbar-scrolled {
  background-color: var(--black);
  box-shadow: 0 3px 10px rgba(var(--black), 0.15);
}

@media(min-width: 992px) {

  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

}


/* navbar pills */
.navbar .navbar-nav .nav-link:hover {
  background-color: rgba(var(--pink), 0.8);
  color: var(--white);
  transition: all 0.5s;
}

/* Dropdown item hover effect */
.dropdown-item:hover {
  background-color: rgba(var(--pink), 0.8);
  color: var(--white);
  transition: all 0.5s;
}

@media (max-width: 991px) {

  /* Targets md and smaller screens */
  .navbar .navbar-toggler {
    margin: 0 auto;
    /* Center-align */
  }
}

/* End navbar pills */

/* End navigation */

/*bakground image*/

#heatherBkg {
  background-image: url('../img/bul185.webp');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.headpicbg {
  height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#kubkiBkg {
  background-image: url('../img/header_bkg/cups.jpg');
  background-size: auto;
  height: 16rem;
  /* Make the background image cover the entire element */
  background-position: center;
  /* Center the image */
}

#szklankiBkg {
  background-image: url('../img/header_bkg/glasses.jpg');
  background-size: auto;
  height: 16rem;
  background-position: center;
}

#printingBkg {
  background-image: url('../img/header_bkg/silkprinting.jpg');
  background-size: auto;
  height: 16rem;
  background-position: center;
}

#platesBkg {
  background-image: url('../img/header_bkg/plates.jpg');
  background-size: auto;
  height: 16rem;
  background-position: center;
}

#wynajemBkg {
  background-image: url('../img/header_bkg/wynajem.jpg');
  background-size: auto;
  height: 16rem;
  background-position: center;
}

#uslugiBkg {
  background-image: url('../img/header_bkg/uslugi.jpg');
  background-size: auto;
  height: 16rem;
  background-position: center;
}

#realizacjeBkg {
  background-image: url('../img/header_bkg/realizacje.jpg');
  background-size: auto;
  height: 16rem;
  background-position: center;
}

#onasBkg {
  background-image: url('../img/header_bkg/o_nas.jpg');
  background-size: auto;
  height: 16rem;
  background-position: center;
}

#faqBkg {
  background-image: url('../img/header_bkg/faq.jpg');
  background-size: auto;
  height: 16rem;
  background-position: center;
}


/* Default button styles */
.btn-outline-primary {
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
  /* Add transition for color and border */
}

/* Hover state for the button */
.btn-outline-primary:hover {
  background-color: var(--blue);
  /* Change background color */
  color: #fff;
  /* Change text color */
  border-color: var(--blue);
  /* Change border color */
}


/* Carousel */

.card {
  border-radius: 25px;
  overflow: hidden;
}

main .logos-slide .card {
  border-radius: 25px;

}

.logos {
  position: relative;
  top: 4rem;
}

.logos-slide {
  display: flex;
  animation: slide 80s linear infinite;
}

/* Background under slides images*/

.kubki-slide {
  background-color: rgba(var(--black), 0.2);
}

.kubki-slide:hover {
  background-color: rgba(254, 203, 103, 0.1);
  /* Light blue background */
  transition: background-color 0.3s ease;
  /* Smooth transition */
}

.kubki-slide:hover img {
  transform: scale(1.05);
  /* Slight zoom effect on image */
  transition: transform 0.3s ease;
  /* Smooth transition */
}


@media (max-width: 768px) {
  .logos-slide {
    display: flex;
    animation: slide 60s linear infinite;
  }

}


.logos:hover {
  cursor: pointer;
}

.logos-slide img {
  height: 70vh;
  margin: 0;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}


/* Custom transition for Bootstrap modal */
.modal.fade .modal-dialog {
  transition: opacity 0.5s ease-in;
  opacity: 0;
}

.modal.fade.show .modal-dialog {
  opacity: 1;
}

/* End of Carousel */

/*-- Cards styling --*/

/* Define common card transition effect */
/* Individual card styles */
.card1 {
  background-color: var(--bluelight);
  --card-hover-bg: var(--blue);
}

.card2 {
  background-color: var(--yellowlight);
  --card-hover-bg: var(--yellow);
}

.card3 {
  background-color: var(--greenlight);
  --card-hover-bg: var(--green);
}

.card4 {
  background-color: var(--pinklight);
  --card-hover-bg: rgba(var(--pink), 0.8);
}

.card1:hover h4,
.card2:hover h4,
.card3:hover h4,
.card4:hover h4 {
  color: var(--white);
  transition: all 0.5s;
}

.card::before {
  content: '';
  position: absolute;
  border-radius: 25px;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  transition: transform 300ms ease-in-out;
  transform: scaleY(0);
  /* Vertical transition */
  transform-origin: bottom;
  /* Start from bottom */
  background-color: var(--card-hover-bg);
  /* Use a custom variable for each card’s hover color */
}

/* Apply hover effect */
.card:hover::before,
.card:focus::before {
  transform: scaleY(1);
  /* Cover the card from bottom to top */
}

.card {
  transition: color 400ms ease-in-out;
  z-index: 1;
}

.card {
  box-shadow: 0 4px 6px 0 rgba(var(--black), 0.2);
  transition: transform 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  /* Ensure ::before overlay works correctly */
}

.card h4 {
  font-family: 'FoobarPro-Regular';
  color: var(--blue);
}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* rozciaganie cards do tej samej wysokosci */

.karty>div {
  display: flex;
  align-items: stretch;
}

.karty {
  border-radius: 25px;
  background-color: var(--yellowlight);
  background-image: url('../img/bg1.png');
  background-repeat: round;
  background-size: cover;
}

.karty .card:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease-in-out;
  /* Smooth transition */
}

/* Cards for sales */
.bg-gradient-card {

  background: linear-gradient(0deg, var(--bluelight) 30%, rgba(254, 254, 254, 1) 80%);
  background-size: 100% 150%;
  background-position: 0 0;
  transition: background-position .4s ease;
}

.bg-gradient-card:hover {
  background-position: 0 75%;
}

/* rozciaganie cards do tej samej wysokosci */
.karty-sales>div {
  display: flex;
  align-items: stretch;
}

.karty-sales .card:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease-in-out;
  /* Smooth transition */
}

.btn-center {
  margin: 0 auto;
  /* Centers the button horizontally */
  display: block;
  /* Ensures the button takes up its own line */
}


/* Testimonials */
.testimonials {
  border-radius: 25px;
  margin-top: 10rem;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}



.logo-circle {
  width: 14rem;
  height: 14rem;
  background-color: var(--greylight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  /* Position it absolutely within the container */
  top: -4rem;
  /* Move it up by half its height to overlap */
  left: 50%;
  /* Center it horizontally */
  transform: translateX(-50%);
  /* Adjust for centering */
  z-index: 10;
  /* Ensures the circle stays on top of other elements */
}

.logo-circle img {
  height: 32px;
}


@media (max-width: 768px) {

  /* Targets md and smaller screens */
  .logo-circle {
    width: 10rem;
    height: 10rem;
    top: -6rem;
    left: 70%;
  }

  .logo-circle img {
    height: 20px;
  }

}

.logo-circle:hover {
  background-color: var(--greydark);
  transition: all 0.5s;
}

.testimonial-footer {
  position: absolute;
  /* Position the footer at the bottom of the parent */
  bottom: 0;
  left: 2rem;
  padding: 1rem;
  text-align: left;
  /* Align text to the left */
  width: 100%;
  /* Make sure the footer spans the full width of the column */
}

.row {
  position: relative;
  /* Allows absolute positioning within the row */
}

.col-md-4 {
  position: relative;
  /* Ensures that the logo-circle's absolute positioning is relative to this column */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.col-md-8 {
  text-align: left;
}

.nowrap {
  white-space: nowrap;
}


/*-- Footer --*/


#footerbg {
  border-radius: 25px;
  background-color: rgba(var(--black), 1);
  color: var(--white);
}

footer .row {
  padding: 1.5rem 0 4rem;
  line-height: 2rem;
}

footer img {
  margin: 1.5rem 0;
}

footer h3 {
  margin: 1.5rem 0;
}

footer .col-md-4 button {
  width: 70%;
  margin: 0 auto;
}

.glow {
  color: var(--white);
  text-shadow: 0 0 5px var(--blue),
    0 0 10px rgba(var(--black), 1),
    0 0 20px rgba(var(--black), 1),
    0 0 30px rgba(var(--black), 0.8),
    0 0 40px rgba(var(--black), 0.8),
    0 0 50px rgba(var(--black), 0.8),
    0 0 60px rgba(var(--black), 0.8);
  font-size: 2rem;
  /* Default size */
  font-weight: bold;
}

@media (max-width: 576px) {

  /* Adjust font size for small screens */
  .glow {
    font-size: 1rem;
  }
}

/* Galery Realizacje */
.gallery-block .heading {
  margin-bottom: 50px;
  text-align: center;
}

.gallery-block.compact-gallery .item {
  overflow: hidden;
  margin: 0;
  /* Remove any margin between items */
  padding: 0;
  /* Ensure no internal padding */
  position: relative;
  /* Keep items relative for hover effects */
}

.gallery-block.compact-gallery .item .image {
  transition: 0.8s ease;
  width: 100%;
  /* Ensure image takes full width of the item */
  height: auto;
  /* Maintain image aspect ratio */
}

.gallery-block.compact-gallery .item .info {
  position: relative;
  display: inline-block;
}

.gallery-block.compact-gallery .item .description {
  display: grid;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  padding: 10px;
  font-size: 17px;
  line-height: 18px;
  width: 100%;
  opacity: 1;
  color: #fff;
  transition: 0.8s ease;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.39));
}

.gallery-block.compact-gallery .item .description .description-heading {
  font-size: 1em;
  font-weight: bold;
}

.gallery-block.compact-gallery .item .description .description-body {
  font-size: 0.8em;
  margin-top: 10px;
  font-weight: 300;
}

/* Hover zoom effect */
.gallery-block .zoom-on-hover {
  overflow: hidden;
  /* Ensure images don't overflow the container */
}

.gallery-block .zoom-on-hover .image {
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.gallery-block .zoom-on-hover:hover .image {
  transform: scale(1.3);
  opacity: 0.7;
  cursor: pointer;
}

/* End Galery Realizacje */


/* Ensuring no space between items */
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.row.no-gutters>[class^="col-"] {
  padding-right: 0;
  padding-left: 0;
}

/*-- Bootstrap overly search icon --*/

.position-relative {
  position: relative;
}

.overlay-icon {
  position: absolute;
  top: 80%;
  left: 20%;
  transform: translate(-50%, -50%);

  width: 20%;
  height: 20%;
  display: block;
  /* Hide by default */
  cursor: pointer;
}

.overlay-icon img {
  width: 100%;
  height: 100%;
  opacity: 0.8;
  transition: transform 500ms ease-in-out, opacity 1000ms ease-in-out;
}


.position-relative:hover .overlay-icon img {
  transform: scale(1.2);
  /* Slight zoom-in effect */
  opacity: 0.8;
  /* Make the icon fully visible */
}

.hand-pointer {
  cursor: pointer;
}


/* Bootstrap floating action button */
.fab-container {
  position: fixed;
  top: 5rem;
  right: 20px;
  z-index: 1050;
  /* Ensure it appears above other elements */
}

/* Adjust spacing for very small screens */
@media (max-width: 576px) {
  .fab-container {
    bottom: 8px;
    right: 8px;
  }
}

.fab-container .btn {
  padding: 10px 20px;
  /* Adjust padding for better appearance */
  font-size: 1rem;
  /* Adjust font size for readability */
  border-radius: 50px;
  /* Rounded edges for the button */
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  /* Prevent text wrapping */
}

/* Centered Alert */
.centered-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050;
  /* Ensure it stays above other elements */
  border-radius: 1rem;
  max-width: auto;
  /* Limit width on smaller screens */
}


/* Styling the email modal */
#sessionDataContainer .row {
  max-height: 7rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Ensure content doesn't overflow */
  text-align: center;
}


#sessionDataContainer .col-md-3 img {
  max-height: 6rem;
  height: auto;
  /* Maintain aspect ratio */
  max-width: 100%;
  /* Prevent overflow */
  object-fit: contain;
  /* Ensure the image fits nicely */
}

.trash-icon {
  transition: transform 0.2s ease;
  /* Add a slight animation effect */
}

.trash-icon:hover {
  transform: scale(1.2);
  /* Slight zoom effect on hover */
}


.modal-body {
  max-height: 50%;
  /* Adjust based on your modal size preference */
  overflow-y: auto;
  /* Ensures scrollable content */
}

#img-hierarhia:hover {
  cursor: pointer;
}

/*-- Extra Bootstrap Column Padding --*/
[class*="col-"] {
  padding: 1rem;
}