html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  position: relative;

}

html,
body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ----------------------- Pjesa e pare ----------------------------- */

.mainHeading {
  background-image: url("../Photos/448 (2).jpg");
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  align-items: center;
  padding: 20px;
  /* Add padding for breathing space */
}

.mainHeading h1 {
  text-shadow: 2px 2px rgb(102, 102, 102);
}

.section1 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(144, 154, 54, 0.3);
  /* Initial semi-transparent color */
  z-index: 1;
  /* Place the overlay behind the h1 */
  transition: background 0.5s ease;
  /* Smooth transition for color change */
}

.section1 h1 {
  top: 42vh;
  position: relative;
  z-index: 20;
  font-size: 3rem;
  text-align: center;
  transition: transform 0.3s ease;
  color: white;
  
}

.section2 {
  position: relative;
  font-size: 2rem;
  padding-bottom: 2rem;
  background-color:#b8bc7c;
  color: black;
  z-index: 2;
  margin-top: 100vh;
  margin-bottom: -100px;
}

.section2 .scallop-down{
    rotate:180deg;
    width: 100%;
    background-color: white;
    z-index: 100;
  }
  
.section2 .scallop-down img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

/* Initial arrow animation */
#section04 a span {
  display: block;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-45deg);
  animation: sdb04 2s infinite;
  opacity: 1;
  transition: opacity 0.3s ease;
}

#section04 a span.hidden {
  opacity: 0;
  /* Hide the arrow */
  pointer-events: none;
  /* Prevent interaction */
}


/* Arrow keyframe animation */
@keyframes sdb04 {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }

  20% {
    transform: rotate(-45deg) translate(-10px, 10px);
  }

  40% {
    transform: rotate(-45deg) translate(0, 0);
  }
}

.demo a {
  position: absolute;
  bottom: 40vh;
  left: 50%;
  z-index: 2;
  display: inline-block;
  color: #fff;
  font: normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity 0.3s ease;
  
}


.title {
  font-size: 2rem;
  color: white;
  text-shadow: 0 0 10px black;
}

.background {
  transform: translateZ(-10px) scale(2);
  position: fixed;
  top: 0;
  left: 0;
  height: 140vh;
  width: 100vw;
  object-fit: cover;
  z-index: -1;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;

}

.overlap {
  z-index: 2;
  background-color: white;
}


.content {
  text-align: center;
  color: white;
}

.content h2{
  font-size: 4vw;
  font-weight: bold;
  padding-top: 5vh
}

.content p {
  text-align: center;
  padding-top: 40px;
  font-size: 1rem;
}
.photo {
  padding-top: 25px;
  display: flex;
  justify-content: center;
  /* Center items horizontally */
  max-width: 100%;


}

.photo img {
  width: 20vw;
  height: 40vh;
  border-radius: 15px;
  margin-right: 40px;
  box-shadow: 5px 5px 5px rgb(27, 26, 26);
}

.photo img:hover {
  scale: 1.1;
  cursor: pointer;
}

.underPhoto {
  justify-content: center;
  text-align: center;
  padding-top: 40px;

}
.productH2 {
  text-align: center;
  margin: 0;
  color:#707c34;
  background-color: white;
  padding-bottom: 25px;
  font-size: 4vw;
  font-weight: bold;
}

/* Media query for phones */
@media only screen and (max-width: 767px) {

  .mainHeading{
    background-size: cover;
    background-position: center;
  }
  .section1 h1 {
    font-size: 1.8rem;
    
  }

  .section h1 {
    top: 40vh;
  }
  .photo {
    padding-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 100%;
  }

  .photo img {
    width: 70vw;
    height: 20vh;
    border-radius: 15px;
    margin: 10px 0;
    box-shadow: 5px 5px 5px rgb(27, 26, 26);
  }

  .responsive-table li {
    flex-direction: column;
  }

  #load-more {
    max-width: 30% !important;
  }
  .content h2{
    font-size: 1.8rem
  }
  .underPhoto p{
    padding: 0 5vw 3vh 5vw;
  }
  .productH2{
    font-size: 2rem;
    padding-top: 5vh
  }
  .scallop-down{
    visibility: hidden;
  }
}

/*----------------*/
/*  SCALLOP down  */
/*----------------*/
/* .scallop-down{
  rotate:180deg;
  width: 100%;
  background-color: white;
}

.scallop-down img{
  width: 100% !important;
  height: auto !important;
  display: block !important;
} */







/* Per tabelen posht */




.containerTable {

  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 5vh;
}

h2 {
  font-size: 26px;
  margin: 20px 0;
  text-align: center;

}



.responsive-table {

  li {
    font-size: large;
    font-weight: 700;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    z-index: 2;
  }





  .table-row {

    color: #707c34;
    border-bottom: 1px solid #b8bc7c;
    background-color: transparent;
    transition: background-color 0.4s ease-in-out;
    position: relative;
    z-index: 2;
  }

  .table-row:nth-child(odd)::before {
    content: '';
    /* Required for pseudo-element */
    position: absolute;
    top: 0;
    left: -120vw;
    /* Initially position off-screen to the left */
    width: 100%;
    height: 100%;
    border-radius: 3px;
    background-color:#b8bc7c;
    /* Initial background color */
    transition: left 0.6s ease-in-out;
    /* Transition effect for left property */
    z-index: 1;

  }

  .table-row:nth-child(even)::before {
    content: '';
    /* Required for pseudo-element */
    position: absolute;
    top: 0;
    left: 120vw;
    /* Initially position off-screen to the left */
    width: 100%;
    height: 100%;
    border-radius: 3px;
    background-color: #8e985f;
    /* Initial background color */
    transition: left 0.6s ease-in-out;
    /* Transition effect for left property */
    z-index: 1;
  }

  .table-row:hover {
    color: white;
    cursor: pointer;
    border-radius: 3px;
    z-index: 0;
  }


  .table-row:hover::before {

    left: 0;
    /* Move from left to right upon hovering */
    z-index: -1;

  }



  .col-1 {
    flex-basis: 100%;
  }

  .col-2 {
    flex-basis: 130%;
  }

  .col-3 {
    flex-basis: 100%;
  }


  @media all and (max-width: 767px) {


    li {
      display: block;
    }

    .col {

      flex-basis: 100%;

    }

    .col {
      display: flex;
      padding: 10px 0;

      &:before {
        color: black;
        padding-right: 10px;
        content: attr(data-label);
        flex-basis: 10%;
        text-align: right;
      }
    }
  }
}

.highlight {
  background-color: lightyellow;
  font-weight: bold;
}

.search-container {
  height: 15vh;
  padding: 40px 0;
  text-align: center;
}

#searchInput {
  border: none;
  border-bottom: 1px solid #707c34;
  padding: 5px 10px;
  font-size: 16px;
  width: 50%;
  max-width: 300px;
}

#searchInput:focus {
  outline: none;
  border-bottom: 1px solid #707c34;
}

.bgList {
  position: relative;
  background-color: white;
  z-index: 3;
}

/* Per load more button te lista e produkteve */

#load-more {
  display: block;
  margin: 20px auto;
  /* Adjust the top margin as needed */
  max-width: 10%;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px 30px;
  border: 1px solid #707c34;
  color: #707c34;
  font-size: 16px;
  background-color: #fff;
  cursor: pointer;
  text-align: center;
  /* Center aligns inline-block content */
  border-radius: 4px;

}

#load-more:hover {
  background-color: #707c34;
  border-color: #707c34;
  color: #fff;
}

.responsive-table .table-row {
  display: none;
  /* Hide all table rows by default */
}

.responsive-table .table-row.visible {
  display: flex;
  /* Display table rows with the 'visible' class */
}

.responsive-table .table-row:nth-child(1),
.responsive-table .table-row:nth-child(2),
.responsive-table .table-row:nth-child(3),
.responsive-table .table-row:nth-child(4),
.responsive-table .table-row:nth-child(5),
.responsive-table .table-row:nth-child(6),
.responsive-table .table-row:nth-child(7),
.responsive-table .table-row:nth-child(8),
.responsive-table .table-row:nth-child(9),
.responsive-table .table-row:nth-child(10),
.responsive-table .table-row:nth-child(11),
.responsive-table .table-row:nth-child(12),
.responsive-table .table-row:nth-child(13),
.responsive-table .table-row:nth-child(14),
.responsive-table .table-row:nth-child(15) {

  display: flex;
}

/* Per tabletat */

@media only screen and (min-width: 768px) and (max-width: 1024px){
  .photo img{
    height: 25vh;
    width: 25vw;
  }
  .content p{
    padding-bottom: 40px;
  }
  .section2 .scallop-down img{
    background: linear-gradient(to top, #b8bc7c 20%, #ffffff 20%);
  }
}