@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  transition: all .2s linear;
  text-transform: none;
}

/* ADS BANNER SADALA start */
.ad-space { 
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 9999;
  width: 250px; 
  
  /*border: 1px solid #000; */
  max-width: 90%;
  /* display:flex; 
  justify-content: center; 
  align-items: center; 
  float: right;
  margin-right: 20px;
  margin-top: 20px;*/
} 

.ad-space img { 
  max-width: 100%; 
  height: auto; 
}

/* ADS BANNER SADALA end */

section {
  padding: 20px 100px;
}

.section-home {
  position: relative;
  min-height: 100vh;
  background: url(bg_2.jpg)no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-home::before {
  content: '';
  position: absolute;
  background: linear-gradient(to top, #232523, transparent);
  width: 100%;
  height: 80px;
  bottom: 0;
}

.section-home h1 {
  color: #02ae58;
  font-size: 10vw;
  font-weight: 800;
  text-shadow: 0 5px 25px rgb(0, 0, 0 / 20%);
  opacity: 0.3;
}

.section-two {
  min-height: 100vh;
  background: #23252b;
}

.section-two h2 {
  color:#fff;
  font-size: 3em;
  font-weight: 700;
  margin: 30px 0;
}

.section-two h2 span {
  color:#02ae58;
}

.section-two p {
  color: #fff;
  font-size: 1rem;
  margin: 30px 0;
}

header {
  z-index: 999;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #23252b;
  box-shadow: 0 5px 25px rgb(0, 0, 0 / 20%);
  padding: 0 100px;
  transition: 0.6s;
}

header .logo {
  color: #02ae58;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
}

header .navigation {
  position: relative;
  line-height: 75px;
  transition: 0.6s;
  transition-property: line-height;
}

header.sticky .navigation {
  line-height: 60px;
}

header .navigation .menu {
  position: relative;
  display: flex;
  justify-content: center;
  list-style: none;
  user-select: none;
}

.menu-item > a {
  color: #fff;
  font-size: 1em;
  text-decoration: none;
  margin: 20px;
  padding: 25px 0;
  position: relative;
  transition: 0.3s;
}

.menu-item a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #38ec92;
  transition: all 0.3s;
}

.menu-item > a:hover {
  color: #38ec92;
  transition: 0.3s;
}

.menu-item a:hover::after {
  width: 100%;
  left: 0;
}

.menu-item .sub-menu {
  position: absolute;
  background: #23252b;
  top: 74px;
  line-height: 40px;
  list-style: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 5px 25px rgb(0, 0, 0 / 20%);
  pointer-events: none;
  transform: translateY(20px);
  opacity: 0;
  transition: 0.3s;
  transition-property: transform, opacity;
}

header.sticky .menu-item .sub-menu {
  top: 60px;
}

.menu-item:hover .sub-menu {
  pointer-events: all;
  transform: translateY(0);
  opacity: 1;
}

.menu-item .sub-menu .sub-item {
  position: relative;
  padding: 7px 0;
  cursor: pointer;
  box-shadow: inset 0px -30px 5px -30px rgba(255, 255, 255, 0.2);
}

.menu-item .sub-menu .sub-item a {
  color: #fff;
  font-size: 1em;
  text-decoration: none;
  padding: 15px 30px;
}

.menu-item .sub-menu .sub-item:hover {
  background: #38ec92;
} 

.menu-item .sub-menu .sub-item:last-child:hover {
  border-radius: 0 0 8px 8px;
}

.more .more-menu {
  position: absolute;
  background: #23252b;
  list-style: none;
  top: 0;
  left: 100%;
  white-space: nowrap;
  border-radius: 0 8px 8px 8px;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(20px);
  opacity: 0;
  transition: 0.3s;
  transition-property: transform, opacity;
}

.more:hover .more-menu {
  pointer-events: all;
  transform: translateY(0);
  opacity: 1;
}

.more .more-menu .more-item {
  padding: 7px 0;
  box-shadow: inset 0px -30px 5px -30px rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.more .more-menu .more-item:hover {
  background: #38ec92;
}

.menu-btn {
  display: none;
}

@media (max-width: 1024px) {
  section {
    padding: 20px 50px;
  }

  header .navigation .menu {
    position: fixed;
    display: block;
    background: #23252b;
    min-width: 250px;
    height: 100vh;
    top: 0;
    right: -100%;
    padding: 90px 50px;
    visibility: hidden;
    overflow-y: auto;
    transition: 0.5s;
    transition-property: right, visibility;
  }

  header.sticky .navigation {
    line-height: 75px;
  }

  header .navigation .menu.active {
    right: 0;
    visibility: visible;
  }

  .menu-item {
    position: relative;
  }

  .menu-item .sub-menu {
    opacity: 1;
    position: relative;
    top: 0;
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    display: none;
  }

  header.sticky .menu-item .sub-menu {
    top: 0;
  }

  .menu-item:hover .sub-menu {
    transform: translateX(10px);
  }

  .menu-item .sub-menu .sub-item {
    box-shadow: none;
  }

  .menu-item .sub-menu .sub-item:hover {
    background: none;
  }

  .menu-item .sub-menu .sub-item a:hover {
    color: #38ec92;
    transition: 0.3s;
  }

  .more .more-menu {
    opacity: 1;
    position: relative;
    left: 0;
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    display: none;
  }

  .more .more-menu .more-item {
    box-shadow: none;
  }

  .more .more-menu .more-item:hover {
    background: none;
  } 

  .more .more-menu .more-item a {
    margin-left: 20px;
  }

  .close-btn {
    position: absolute;
    background: url(close.png)no-repeat;
    width: 40px;
    height: 40px;
    background-size: 25px;
    background-position: center;
    top: 0;
    left: 0;
    margin: 25px;
    cursor: pointer;
  }

  .menu-btn {
    background: url(menu.png)no-repeat;
    width: 40px;
    height: 40px;
    background-size: 30px;
    background-position: center;
    cursor: pointer;
    display: block;
  }

  header {
    padding: 0 50px;
  }

  header.sticky {
    padding: 10px 20px;
  }

  .menu-item > a {
    font-size: 0.9em;
  }

  .ad-space a {
    max-width: 48%;
  }
}


/* AKTIVITĀŠU SADALA */
/* html */
body {
  background: url(bg.jpg);
}

.regions {
  width: 250px;
  text-align: center;
}

.regions img {
  width: 60%;
  height: auto;
  border-radius: 50%;
  display: block;
  margin-left: 25%;
  position: absolute;
}

.regions ul > li {
  display: flex;
  background: #23252b;
  margin-left: 20px;
  margin-top: 40px;
  padding-left: 30px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-radius: 10px;
}

.regions ul > li > a {
  text-decoration: none;
  size: 24px;
  color:#fff
}

.regions ul > li > a:hover {
  color: #02ae58;
}


/* REGIONI */
/*html {
  font-size: 62.5%;
  overflow-x: hidden;
}*/

body {
  background: url(bg.jpg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.container .title {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 3rem;
  text-transform: uppercase;
  text-align: center;
}

.container .products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem;
}

.container .products-container a {
  text-decoration: none;
}

.container .products-container .product {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
  outline: .1rem solid #ccc;
  outline-offset: -1.5rem;
  cursor: pointer;
}


.container .products-container .product:hover {
  outline: .2rem solid #222;
  outline-offset: 0;
  background-color: #444;
  color: #27ae60;
}

/*.container .products-container .product img {
  height: 25rem;
}

.container .products-container .product:hover img {
  transform: scale(.9);
}*/

.container .products-container .product h3 {
  padding: .5rem 0;
  font-size: 2rem;
  color: #444;
}

.container .products-container .product:hover h3 {
  color: #27ae60;
}

.container .products-container .product .pagasts-1 a {
  text-decoration: none;
  color: #111;
  font-size: 1rem;
}

.container .products-container .product .pagasts-1 a:hover {
  color: #27ae60;
}

.products-preview {
  position: fixed;
  top: 30px; left: 0;
  min-height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, .8);
  display: none;
  align-items: center;
  justify-content: center;
}

.products-preview .preview {
  display: none;
  padding: 2rem;
  text-align: center;
  background: #fff;
  position: relative;
  margin: 2rem;
  width: 55rem;
}

.products-preview .preview.active {
  display: inline-block;
}

.products-preview .preview img {
  height: 8rem;
}

/* SLIDE PICTURE */
.slideshow-container { 
  position: relative; 
  max-width: 250px; 
}
 .slides {
  display: none;
} 
 .slides img { 
  width: 100%; 
  transition: transform 0.2s; 
} 
.slides img:hover {
  transform: scale(1.4); 
} 
.prev, .next { 
  cursor: pointer; 
  position: absolute; 
  top: 50%; 
  width: auto; 
  padding: 16px; 
  margin-top: -22px; 
  color: rgb(206, 205, 205); 
  font-weight: bold; 
  font-size: 14px; 
  transition: 0.3s; 
} 
.prev { 
  left: 0; 
} 
.next { 
  right: 0; 
} 
.prev:hover, .next:hover { 
  background-color: rgba(73, 72, 72, 0.8); 
}

/* SLIDE PICTURE BEIGAS */

.products-preview .preview .fa-times {
  position: absolute;
  top: 1rem; right: 1.5rem;
  cursor: pointer;
  color: #444;
  font-size: 2rem;
}

.products-preview .preview .fa-times:hover {
  transform: rotate(90deg);
}

.products-preview .preview h3 {
  color: #444;
  padding: .5rem 0;
  font-size: 1rem;
}

/*.products-preview .preview .stars {
  padding: 1rem 0;
  font-size: 1.7rem;
}

.products-preview .preview .stars i {
  color: #27ae60;
}

.products-preview .preview .stars span {
  color: #999;
}*/

.products-preview .preview p {
  line-height: 1rem;
  padding: 1rem 0;
  font-size: .7rem;
  color: #111;
  text-align: justify;
}

.products-preview .preview p a {
  color: #04bf58;
  text-align: justify;
  text-decoration: none;
}

.products-preview .preview .pagasts {
  padding: .3rem 0;
  font-size: 1.2rem;
}

.products-preview .preview .pagasts a {
  padding: .6rem 0;
  font-size: 1.1rem;
  color:#04bf58;
  text-decoration: none;
}

.products-preview .preview .pagasts a span {
  font-size: .8rem;
  color: #111;
}

.products-preview .preview .pagasts a:hover {
  color: #026258;
}

.products-preview .preview .buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.products-preview .preview .buttons .buy {
  flex: 1 1 16rem;
  padding: 1rem;
  font-size: 0.8rem;
  color: #111;
  border: .1rem solid #444;
  text-decoration: none;
}

.products-preview .preview .buttons .buy a {
  color: #02ae58;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
}

.products-preview .preview .buttons .buy a:hover {
  color: #026258;
}

.products-preview .preview .buttons .cart {
  background: #444;
  color: #fff;
  flex: 1 1 16rem;
  padding: 1rem;
  font-size: 0.8rem;
  border: .1rem solid #444;
  text-decoration: none;
}


/* .products-preview .preview .buttons a.cart:hover {
  background: #111;
}

.products-preview .preview .buttons a.buy:hover {
  background: #444;
  color: #fff;
} */

@media (max-width:991px){
  html {
    font-size: 55%;
  }

  .ad-space a {
    max-width: 100%;
  }
}

@media (max-width:768px){
  section {
    padding: 15px;
  }

  header {
    flex-direction: column;
    padding: 0 20px;
  }

  .menu-item > a {
    margin: 10px;
    padding: 15px 0;
  }

  .products-preview .preview img {
    height: 20rem;
  }

  .ad-space a {
    max-width: 100%;
  }
}

@media (max-width:480px){
  html {
    font-size: 50%;
  }

  .section-home h1 {
    font-size: 12vw; /* Palielina vai pielāgo tekstu mobilajiem */
  }

  .menu-item > a {
    font-size: 0.8em;
  }

  .ad-space {
    flex-direction: column;
    gap: 5px;
    /*top: 5px;
    right: 5px;
    width: 180px;*/
  }

  .ad-space a {
    max-width: 100%;
  }
}

/* ----------  KONTAKTU SADAĻA ---------- */
.main {
  background-color: #222;
  padding: 3rem 0;
}

.main_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  height: 90%;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  padding: 0 50px;
}

.main_content {
  color: #fff;
  width: 100%;
}

.main_content h1 {
  font-size: 2rem;
  background: #56ecdd;
  background-image: linear-gradient(to top, #026258 0%, #04bf58 100%);
  background-size: 100%;
  background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.main_content h3 {
  font-size: 1.2rem;
  margin-top: 30px;
  color: #535050;
}

.main_content a {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-decoration: none;
  color: #02ae58;
}

.main_content p {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 400;
}

.main_img-container {
  text-align: center;
}

.main_img-card {
  margin: 10px;
  height: 420px;
  width: 420px;
  border-radius: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: #DCE35B;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #45B649, #DCE35B);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #45B649, #DCE35B);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.fa-address-card,
.fa-location-dot {
  font-size: 14rem;
}


/* Mobile Responsive */

@media screen and (max-width: 1100px) {
  .main_container {
      display: grid;
      grid-template-columns: 1fr;
      align-items: center;
      justify-content: center;
      width: 100%;
      margin: auto;
      height: 90%;
  }
  .main_img-container {
      display: flex;
      justify-content: center;
  }
  .main_img-card {
      height: 425px;
      width: 425px;
  }
  .main_content {
      text-align: center;
      margin-bottom: 4rem;
  }
  .main_content h1 {
      font-size: 2.5rem;
      margin-top: 2rem;
  }
  .main_content h2 {
      font-size: 3rem;
  }
  .main_content p {
      margin-top: 1rem;
      font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .main_img-card {
      width: 200px;
      height: 200px;
  }
  .fa-location-dot,
  .fa-address-card {
      font-size: 12rem;
  }
  .main_content h1 {
      font-size: 3rem;
      margin-top: 3rem;
  }
  .main_content h2 {
      font-size: 3rem;
  }
  .main_content p {
      margin-top: 3rem;
  }
}
