 * {padding: 0;margin: 0; box-sizing: border-box;}
body {background-color: rgba(187, 187, 5, 0.8);}
html{font-size: 10px; font-family:'Open Sans', sans-serif;}

a{text-decoration: none;}
.conteiner{min-height: 100vh;width: 100%;display: flex; align-items:center; justify-content: center;}
img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
p{
    color: black;
    font-size: 1.4rem;
    margin-top: 5px;
    line-height: 2.5rem;
    font-weight: 300;
    letter-spacing: .05rem;
}
.section-title{
    font-size: 4rem;
    font-weight: 300;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .2rem;
    text-align: center;
}
.section-title span {color: #BA1B18;}
.cta {display: inline-block;padding: 10px 30px;color: white; background-color: transparent; border: 3px solid #BA1B18;font-size: 2rem;text-transform: uppercase; letter-spacing: .1rem;margin-top: 30px;transition: .3s ease; border-radius: 5px}
.cta:hover{color: white; background-color: #BA1B18; border-radius: 5px;}
.brand h1{
    font-size: 3rem;
    text-transform: uppercase;
    color: white;
}
.brand h1 span {
    color: #BA1B18;
}


/*Navbar section start*/
nav {
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 5%;
    background:#878704;
    box-shadow: 0 2px 10px rgb(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    }

    .logo {
        font-size: 25px;
        color: #333;
        text-decoration: none;
        font-weight: 600;
        }

        nav .cart-icon {
          position: relative;
            font-size: 30px;
            color: #333;
            display: flex;
        }

        nav .cart-icon .cart-item-count {
            position: absolute;
            top: 0;
            right: -6px;
            width: 20px;
            height: 20px;
            background: #e35f26;
            border-radius: 50%;
            font-size: 12px;
            color:#fff;
            line-height: 20px;
            text-align: center;
            display: none;
        }



/*Hero section starts*/
#hero{background-image: url(/ImageContent/ivara\ piparmetras\ cpy1v1.jpg);background-size: cover;background-position: top center; position: relative; z-index: 1;}
#hero::after{content:''; position: absolute; left: 0; top:0; height: 100%; width: 100%; background-color: black; opacity: .7; z-index: -1;}
#hero .hero {
    display: flex;
    flex-direction: column;
    justify-content:space-around;
}
#hero h1{display: block; width: fit-content; font-size: 4rem;position: relative;color: white;}
#hero #Poga {
    margin-left: 10vh;
}

/* Cepumu paziņojums sākas*/

#hero .banneron {
display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
    font-size: 1.7rem;
    color: white;
    background-color: #485563;
   text-align: center;

    
}

.bannerpoga.ccpoga {text-transform: uppercase; margin-top: 1vh; }

.banneroff {display: none;}

/* Cepumu paziņojums beidzas*/

/*Grozs*/

#offer .off {
  display:none;
}



/*Hero section ends*/

/*Offer section start*/
#offer .offer{
    background-color:#878704;
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
    padding: 20px 0;
    border: 2px solid #474702;
    }

       #offer .offer-top p{
       font-size: 1.2rem;
       text-transform: uppercase;
       font-weight: bold;
       color:#6E0B09;
    }

.offer .product-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            justify-items: center;
            gap: 20px;
        }
        .offer .img-box {
  display: flex;
  justify-content: center;   /* centrē horizontāli */
  align-items: center;       /* centrē vertikāli */
  overflow: hidden;
  cursor: pointer;
  width: 100%;               /* nodrošina pilnu kartes platumu */
  height: 200px;             /* vai citu vēlamo augstumu */
  background-color: #fff;    /* ja gribi baltu fonu zem bildes */
  border-radius: 10px;       /* nedaudz noapaļotas malas */
}

.offer .img-box img {
  width: 100%;               /* bilde aizņem visu platumu */
  height: 100%;              /* un augstumu */
  object-fit: cover;         /* bilde tiek "izgriezta", lai aizpildītu rāmi */
  transition: transform 0.5s ease;
}

.offer .img-box img:hover {
  transform: scale(1.1);
}
        .offer .title {
            font-size: 18px;
            font-weight: 400;
            margin-top: 10px;
        }
        .offer .price {
            display: block;
            font-weight: bold;
            margin-top: 5px;


        }

/* Product detail page stayling */

        .product-detail {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            padding: 100px 9% 30%;

        }
       
        .product-detail .product-img img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.product-detail .product-list {
      align-content: space-around;
}

        .product-detail .thumbnail-list{
            display: flex;
            flex-direction: column;  
            gap: 30px;
        }
        .product-detail .thumbnail-list img {
            height: 70px;
            cursor: pointer;
            
        }
        .product-detail .title {
            font-weight: 600;
            line-height: 1;
            margin-bottom: 8px;
        }
        .product-detail .rating i {
            color: #e35f26;

        }
        .product-detail .price {
            display: block;
            font-size: 25px;
            font-weight: 600;
            margin: 20px 0;
        }
        
        
        .product-detail :is(.size-options .selected, .color-options .selected) {
            border: rgb(236, 5, 5) 3px solid;
        }
        .btn {
            padding: 12px 30px;
            background: #222;
            border: none;
            font-size: 16px;
            color: #fff;
            cursor: pointer;
            margin-bottom: 20px;
        }
        .product-detail .product-policy {
            border-top:  1px solid #ccc;
            padding-top: 10px;
        }
        .product-detail .product-policy p {
            margin: 3px 0;
        }

        /*Groza noformēšana*/

        .cart {
            padding: 110px 9% 30px;
        }
        .cart-header {
            display: flex;
            
            padding: 10px 0;
            font-weight: bold;
            border-bottom: 1px solid #ccc;
        }
        .cart-header span {
            flex: 1;
            text-align: center;
        }
        .cart-header span:first-child {
            flex:2;
            text-align: left;
        }

        .cart-item {
            display: flex;
            flex: content;
            align-items: center;     
            padding:  15px 0 ;
            
           
            
        }

        .cart-item .product {
            display: flex;
            align-items: center;
            flex: 2;
        }



        .cart-item img {
            width: 80px;
            margin-right: 15px;
        }
        
        
        .cart-item :is(.price, .quantity, .total-price) {
            flex: content;
            text-align: center;
        }
        .cart-item .quantity input {
            width: 50px;
            padding: 5px;
            border: 1px solid #ccc;
            outline: none;
            text-align: center;
        }
        .cart-item .remove {
            background: transparent;
            border: none;
            flex: 1;
        }
        .cart-item .remove i {
            font-size: 20px;
            color: #333;
            cursor: pointer;
        }

        .cart-total {
            width: 400px;
            margin: 50px 0 0 auto;
        }
        .cart-total h3 {
            margin-bottom: 15px;
        }
        .cart-total p {
            display: flex;
            justify-content: space-between;
        }
        .cart-total p:not(:last-of-type) {
            border-bottom: 1px solid #ccc;
            padding-bottom: 8px;
            margin-bottom: 8px;
        }
        .cart-total p:last-of-type {
            font-weight: bold;
        }
        .cart-total .btn {
            display: block;
            padding: 12px 3px;
            margin: 30px 0 0 auto;
        }




        /*End offer section*/








/*Project section start*/

#projects .projects-header h1{
    padding-top: 30px;

}
/*Sākas dzeja*/
#projects {
    min-height: 150vh;}
.all-projects {
    display: flex;
    justify-content: center;
    padding-top: 15ch;
}

.Po-container {
    max-width: 1000px;
    display: inline-block;
    position: relative;
    padding: 2rem;
    text-align: center;
   
    
    }
   

  
  /* Next & previous buttons */
  #uz, #no {
    cursor: pointer;
    position:absolute;
    top: 100%;
    width: auto;
    padding: 16px;
    margin-top: 10px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
     top: 50%;
    transform: translateY(-50%);
  }
  
  /* Position the "next button" to the right */
  #uz {
    left: 0;
    border-radius: 3px 0 0 3px;
  }

/* Position the "next button" to the right */
#no {
    right: 0;
    border-radius: 3px 0 0 3px;
  }



  #projects .poem {
    text-transform: uppercase;
   
    
      }
.poem p{ font-size: 1.5rem;
    font-weight: 300;}

/*beidzas dzeja*/
  
/*Projecet sesction End*/


/*Par mani sākas*/
#about .about{
    display: flex;
    flex-direction: column;
    text-align: center;
    text-transform: uppercase;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}
#about .col-left{
    width: 250px;
    height: 360px;
    
}
#about .col-right {
    max-width: 100%;
    text-align: justify;
    
    
}
#about .col-right h2{
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: .2rem;
    margin-bottom: 10px;
}
#about .col-right p{
    margin-bottom: 20px;
    font-size:1.6rem;
}
#about .col-right .cta{
    color: black;
    margin-bottom: 50px;
    padding: 10px 20px;
    font-size: 2rem;
}
#about .col-left .about-img {
    height: 100%;
    width: 100%;
    position: relative;
    border: 10px solid white;
}
#about .col-left .about-img::after{
content: '';
position: absolute;
left: -33px;
top:19px;
height: 98%;
width: 98%;
border: 7px solid #BA1B18;
z-index: -1;
}
/*Par mani beidzas*/

/*Kontakti sākas*/
#tekstaievade {
min-width: 698px;
height:150px;
}
#contact {
   flex-direction:row;
   background-color:#878704;
}

#contact .section-title{
    padding-top: 30px;   
}

#contact .container{
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: space-evenly;
    
}


#contact .contact-items{
   max-width: 800px; 
   
   
}



#contact .contact-item {
  width: 100%;
  max-width: 500px;
  text-align: left;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  margin-bottom: 1rem;
  box-shadow: 0px 0px 18px 0 #0000002c;
}

#contact .contact-item .map-iframe {
  width: 100%;
  height: 300px;
  border: none;
}

#tekstaievade {
  width: 100%;
  min-width: 300px;
}

    

    
  #contact .icon {
    max-width: 30px;
    margin: 0 auto;
    margin-bottom: 10px;

  }

    #contact .contact-info h1{
    font-size: 2.0rem;
    font-weight: 500;
    margin-bottom: 5px;
  }
  #contact .contact-info h2{
    font-size: 1.3rem;
    line-height: 2rem;
    font-weight: 500;
  }
  #contact .contact-item .map-iframe {
    padding-top: 20px;
    max-width: 400px;

  }

  #wrapper .form :last-child {
   position:relative;
   
}

/*Kontakti beidzas*/


/*Footer Sākas*/

#footer {
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
    display: flex;
    justify-content: center;
    text-align: center;
}
#footer .footer {
    min-height: 200px;
    padding-top: 20px;
    padding-bottom: 10px;
}

#footer h2 {
    color: white;
    font-weight: 500;
    font-size: 1.8rem;
    letter-spacing: .1rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

#footer .social-icon {
    margin-bottom: 30px;
}

#footer .social-item { 
    display: flex;
    justify-content: center;
    margin-left: 10px;
   
}

#footer .social-item img {
    filter: grayscale(1);
    transition: .3s ease filter;
}
#footer .social-item:hover img {
    filter: grayscale(0);
}


#footer p {
    color: white;
    font-size: 1.3rem;
}







/*Footer beidzas*/  






/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position:absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }

/* Position the "next button" to the right */
.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
  }

  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }






  
  /* On smaller screens, decrease text size */
  @media only screen and (max-width: 450px) {
  #contact .container {
    flex-direction: column-reverse;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  #contact .contact-item {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 1.5rem;
  }

  #contact .contact-item .map-iframe {
    height: auto;
  }

  #tekstaievade {
    min-width: unset;
  }

  .prev, .next, .text {
    font-size: 11px;
  }
}


    #contact .form {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 2rem;
        
    } 
    #contact .form h2{font-weight: 300;}
    #contact .contact-item{
      max-width: 300px;
      text-align: center;
      border-radius: 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      box-shadow: 0px 0px 18px 0 #0000002c;
  }

  #contact .contact-item .map-iframe {
    padding-top: 20px;
    max-width: 300px;

  }
    
    #tekstaievade {
    width: 100%;
    min-width: unset;
}
    
/*Hero section starts*/
#hero{background-image: url(/ImageContent/ivara\ piparmetras\ cpy1v1.jpg);background-size:cover;background-position:center; position: relative; z-index: 1;}
#hero::after{content:''; position: absolute; left: 0; top:0; height: 100%; width: 100%; background-color: black; opacity: .7; z-index: -1;}
#hero h1{ font-size: 2.8rem; text-align: center;  color: white; padding-left: 1rem;}
#hero #sveiciens {display:flex;flex-direction: column;  align-items: center;}
#hero #Poga {
  margin-right: 10vh;
}

/*Hero section ends*/
    
#about .col-right {
    max-width: 100%;
    text-align: justify;
    padding-left: 2rem;
    padding-right: 2rem;
  
    
    
    }


  .modern-form {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.modern-form input[type="text"],
.modern-form input[type="email"],
.modern-form input[type="tel"] {
  padding: 0.75rem 1rem;
  border: 1px solid #d0d7de;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.modern-form input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  outline: none;
}

.modern-form button {
  padding: 0.75rem 1rem;
  background-color: #4f46e5;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modern-form button:hover {
  background-color: #4338ca;
}

@media only screen and (max-width: 450px) {
  .poem p {
    font-size: 1.3rem;
    line-height: 2rem;
    padding: 0 1rem;
    text-align: center;
  }

  .Po-container {
    padding: 1rem;
  }
}


@media only screen and (max-width: 600px) {
  .cart-header,
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item .product {
    flex-direction: row;
    align-items: center;
  }

  .cart-item img {
    width: 60px;
    margin-bottom: 10px;
  }

  .cart-total {
    width: 100%;
    padding: 2rem 1rem;
  }
}
@media only screen and (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    gap: 2rem;
  }

  .product-detail .thumbnail-list {
    flex-direction: row;
    justify-content: center;
    overflow-x: auto;
  }

  .product-detail .thumbnail-list img {
    height: 50px;
  }
}











.product-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.product-card {
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  width: 220px;
  text-align: center;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-card img {
  max-width: 100%;
  border-radius: 6px;
}
