/* #a3bbdd sinine */

/* GLobal */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body, html {
  font-family: 'Satoshi', sans-serif;
  color: rgb(0, 0, 0);
  background-color: #191919;  
}

body {
  border: 7px solid #191919;
  margin: 0;         
  height: 100vh;     
  box-sizing: border-box;

}
::selection {
  background-color: #ffcc00; 
  color: #000000;            
}
.highligt {
  background-color: #ffcc00; 
  color: #000000; 
}

section {
  padding-top: 5%;
  padding-bottom: 5%;
  background-color: rgb(255, 255, 255);
}
h2 {
  text-align: center;
}
h3 {
  color: #acadae;  
}
p{
  font-weight: 400;
  color: #464646;
  font-size: 17px;
  letter-spacing: 1.3px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  padding: 1.5rem;
  align-items: center;
  border-radius: 60px;

}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  background: #191919;
  padding: 1rem;
  border-radius: 60px;

}

.nav-links li a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: color 0.2s, background-color 0.2s;
}
.nav-links li a:hover,
.nav-links li a:focus-visible {
  background-color: #353732;
}


/* Hero */
.hero {
  position: relative;
  background: url('img/dogs-hunting.jpeg') no-repeat center center/cover;
  height: 90vh;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  color:white;
}
@media (max-width: 768px) {
  .hero {
    background-image: url('img/dogs-hunting-mobile.jpeg');
  }
  .hero-content {
  justify-content: center;  
}

}

.hero-content {
  display: flex;
  justify-content: left;
  align-items: center;
  height: 60vh;
  text-align: left;
  padding-left: 5%;
}

.hero-content h1 {
  font-size: 50px;
  line-height: 1.3;
  letter-spacing: 2px;
}

/* Features */
.curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: rgb(255, 255, 255);
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  
}

.feature-wrapper {
  display: flex;
  justify-content: center;
  gap: 13%;
  align-items: center;
  padding: 20px 40px 20px 40px;
  height: 100%;
}
.feature-container {
  display: flex;
  gap: 10px
}
.material-symbols-outlined {
  color: #acadae;  
}
/* Kategooriad */
.category-container{
  display: flex;
  height: 400px;
  margin-bottom: 10px;
  padding: 0 40px 0 40px;
}
.category-container h1 {
  color: white;
  margin: 5px;
}
.category-box{
  height: 100%;
}
.category-container a {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: filter 0.25s, transform 0.25s;
}
.category-container a:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.category-container a:focus-visible {
  outline: 3px solid #191919;
  outline-offset: 3px;
}
.category-left{
  width: 70%;
  height: 405px;
  border-radius: 10px;
  border: 1px solid #A6CDDE;
  margin: 5px;
  background: url('./img/woodcock-hunting.jpg') no-repeat center/cover;

}
.category-right{
    width: 30%;

}
.category-up{
  height: 50%;
  background: url('./img/duck-hunting.jpg') no-repeat center center/cover;
  border-radius: 10px;
 border: 1px solid #A6CDDE;
 margin: 5px;
}
.category-down{
  height: 50%;
  background: url('./img/wildboar-hunting.jpg') no-repeat center center/cover;
  border-radius: 10px;
 border: 1px solid #A6CDDE;
 margin: 5px;
}


/* Tooted */
#product-section {
  
}
#product-div{
  display: flex;
  justify-content: flex-start;
  overflow-x: scroll;  
  overflow-y: hidden;   
  white-space: nowrap;
}

.product-wrapper{
  flex: 0 0 auto;  
  width: 400px;
  height: 200px;
  background: rgb(255, 255, 255);
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid #A6CDDE;
  border-radius: 10px;
  box-shadow: 0;
  transform: scale(0.95);
  transition: box-shadow 0.5s, transform 0.5s;
  &:hover{
    transform: scale(1);
    box-shadow: 5px 20px 30px rgba(0,0,0,0.2);
  }

  .product-container{
    width:100%;
    height:100%;
    .top{
      height: 70%;
      width:100%;
    }
    .top img{
        width: 100%;
    }
    .bottom{
      width: 200%;
      height: 0%;
      transition: transform 0.5s;
      &.clicked{
        transform: translateX(-50%);
        
      }
      h1{
          margin:0;
          padding:0;
      }
      p{
        background-color: #ffffff;
        border: 1px solid #A6CDDE;
        border-radius: 60px;
        margin:10px;
        padding:10px;
        font-weight: 500;
        text-align: center;
      }
      .left{
        height:100%;
        min-width: 25%;
        background: #f4f4f4;
        position:relative;
        float:left;
        .details{
          padding: 20px;
          float: left;
          width: calc(70% - 40px);
        }
      }
      }
      .right{
        width: 50%;
        background: #A6CDDE;
        color: white;
        float:right;
        height:200%;
        overflow: hidden;
        .details{
          padding: 20px;
          float: right;
          width: calc(70% - 40px);
        }
        .done{
          width: calc(30% - 2px);
          float:left;
          transition: transform 0.5s;
          border-right:solid thin rgba(255,255,255,0.3);
          height:50%;
          i{
            font-size:30px;
            padding:30px;
            color: white;
          }
        }
        .remove{
          width: calc(30% - 1px);
          clear: both;
          border-right:solid thin rgba(255,255,255,0.3);
          height:50%;
          background: #BC3B59;
          transition: transform 0.5s, background 0.5s;
          &:hover{
            background: #9B2847;
          }
          &:hover i{
            transform: translateY(5px);
          }
          i{
            transition: transform 0.5s;
            font-size:30px;
            padding:30px;
            color: white;
          }
        }
        &:hover{
          .remove, .done{
            transform: translateY(-100%);
          }
        }
      }
    }
  }
  
  .inside{
    z-index:9;
    background:  #629ab2;
    width:140px;
    height:140px;
    position: absolute;
    top: -70px;
    right: -70px;
    border-radius: 0px 0px 200px 200px;
    transition: all 0.5s, border-radius 2s, top 1s;
    overflow: hidden;
    .icon{
      position:absolute;
      right:85px;
      top:85px;
      color:white;
      opacity: 1;
    }
    &:hover{
      width:100%;
      right:0;
      top:0;
      border-radius: 0;
      height:100%;
      .icon{
        opacity: 0;
        right:15px;
        top:15px;
      }
      .contents{
        opacity: 1;
        transform: scale(1);
        transform: translateY(0);
      }
    }
    .contents{
      padding: 5%;
      opacity: 0;
      transform: scale(0.5);
      transform: translateY(-200%);
      transition: opacity 0.2s, transform 0.8s;
      table{
        text-align:left;
        width:100%;
      }
      h1, p, table{
        color: white;
      }
      p{
        font-size:13px;
      }
    }
  }
}

/* Get quote */
.get-quote{
  padding: 9%;
  display: flex;
 display: flex;
  flex-direction: column;
  align-items: center; /* horisontaalne keskjoondus */ 
color: #191919;

}
.button-center{
  display: block;
  margin: 0 auto;

}

/* Button CSS */
button {
  font-family: 'Satoshi', sans-serif;
  color: #464646;
  font-size: 17px;
  background-color: #ffffff;
  text-align: center; 
  border-radius: 60px; 
  border: 1px solid #A6CDDE;
  padding: 13px; 
  letter-spacing: 1.3px;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

button:hover {
  background-color: #A6CDDE; 
  color: white;
  transform: translateY(-2px);
}

#contact-btn {
  position: fixed;
  bottom: 10px;
  right: 30px;
  width: 250px;
}

/* Our Team */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0 3rem 0 0;
}

.text-box {
  padding: 4rem;

  text-align: center;
  border-radius: 0 10px 10px 0;
  border: 1px solid #A6CDDE;
}

.text-inner h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.description {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.image-grid img {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  object-fit: cover;
}
/* Contact info */
.contact-info {
text-align: center;
}
#email-bnt{
border: none;
background: none;
cursor: pointer;
}
#email-bnt:hover {
  color:#A6CDDE;
}
/* Snackbar */
#snackbar {
  visibility: hidden; 
  min-width: 250px; 
  margin-left: -125px; 
  background-color: #ffffff; 
  color: #000000; 
  text-align: center; 
  border-radius: 60px; 
  border: 1px solid #A6CDDE;
  padding: 16px; 
  position: fixed;
  z-index: 1; 
  left: 50%; 
  bottom: 30px; 
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}


/* Mobile */
@media (max-width: 768px) {
  /* Category */
  .category-container {
    overflow: hidden
  }
  /* Product Cards */
  #product-section {

  }
  .product-wrapper {
    width: 300px;
    height: 200px;
  }
  .product-wrapper {
  .icon {
    right: 97px;
    top: 96px;
  }

.inside {
  top: -90px;
  right: -90px;
}
 .bottom h1{
    font-size: 16px;
  }
  .bottom {
    max-width: 100%;
  }
}
.hero-content h1 {
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: 2px;
}
.nav-links {
    gap: 1px;
    padding:15px;
}
h2 {
  font-size:23px;
  margin:10px;
}
/* Features */
.hero {
  height: 110vh;
}
.hero-content {
  height: 60vh;
}
.feature-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.curve {
  height: 250px;
}

.feature-container {
  display: inline-block;
  text-align: center;
  width: 40%;
  height:100px;
}
h3{
  font-size: 17px;
  color:#393939;
  font-weight: 500;
  padding-top: 10px;
}
.material-symbols-outlined {
  color: #96bbca;
  padding: 5px;
  border-radius: 60px;
}

/* Product Category */
#product-section {
  text-align: center;
}
.category-container{
  display: inline-block;
    text-align: left;

  height: 100%;
  width: 90%;
  padding: 0;
  margin: 0;
}
.category-container h1 {
  margin: 5px;
}
.category-box{
  height: 100%;
}
.category-left{
  width: 100%;
  height: 140px;

 margin: 0px;
}
.category-right{
    width: 100%;

}
.category-up{
  height: 140px;
 margin: 5px 0 0 0;
}
.category-down{
  height: 140px;
 margin: 5px 0 0 0;
}

/* Our Team */
.content-grid {
  display: inline-block;
  text-align: center;
  grid-template-columns: 0;
  gap: 0;
  padding: 20px;
}

.text-box {
  padding: 25px;
  margin-bottom: 15px;
  text-align: center;
  border-radius: 10px;
}

.text-inner h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.description {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.image-grid img {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  object-fit: cover;
}


}
