/*
  Theme Name: Suhkrudepilatsioon.ee
  Theme URI: https://suhkrudepilatsioon.ee
  Version: 1.0
  Template: Divi
  Author: Hundikuu Agentuur
  Author URI: https://hundikuu.ee
  Description: Suhkrudepilatsioon.ee alamteema Divi veebilehele
  Text Domain: suhkrudepilatsioon.ee
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


  .dle-testimonial-3 .et-pb-arrow-prev {
			left: 22px;   
	}
  
   .dle-testimonial-3 .et-pb-arrow-next {
  		right: 22px;
	}
  
  .dle-testimonial-3 .et_pb_slides .et_pb_slider_container_inner {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
  }
  
  .dle-testimonial .et_pb_slide_description .et_pb_slide_content {
    	order: 0;
  }
  
  .dle-testimonial-3 .et_pb_slide_description .et_pb_slide_title:after {
    	background-color: #e02b20;
    	bottom: -10px;
    	content: "";
    	height: 2px;
    	left: 50%;
    	position: absolute;
      transform: translateX(-50%);
      width: 60%   
	}
  
  .dle-testimonial-3 .et-pb-controllers a {
      height: 10px;
      width: 10px;
  }
  
  .dle-testimonial-3 .et-pb-controllers .et-pb-active-control {
    width: 40px;
  }
  
  @media screen and (max-width: 767px) {
      .dle-testimonial-3 .et-pb-arrow-prev {
					left: 0;
			}
  
   		.dle-testimonial-3 .et-pb-arrow-next {
  				right: 0;
			}
  }

  

  .miks .et_pb_bg_layout_dark .et_pb_slide_description {
  text-shadow: none !important;
}

  .teenused-sektsioon-v2 {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
  
    border-radius: 12px;
  }

.teenused a {
  color: #000;
}
  
  .teenused-pealkiri {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #333;
  }
  
  .teenused-konteiner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .teenus-kaart-v2 {
    flex: 0 0 calc(33.33% - 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
  }
  
  .teenus-pilt-konteiner {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
  }
  
  .teenus-pilt-konteiner:hover {
    transform: scale(1.05);
  }
  
  .teenus-pilt-v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .teenus-nimi-v2 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin-top: 10px;
  }
  
  /* Mobiilikuvade jaoks */
  @media (max-width: 992px) {
    .teenus-kaart-v2 {
      flex: 0 0 calc(50% - 30px);
    }
  }
  
  @media (max-width: 576px) {
    .teenus-kaart-v2 {
      flex: 0 0 100%;
    }
    
    .teenus-pilt-konteiner {
      width: 180px;
      height: 180px;
    }

    .tootajad-item {
    width: 80% !important;
    height: 354px;
    margin: 0 auto;
}
  }


.et_pb_team_member_description {
  display: none !important;
}
#main-footer {
    background-color: #222222;
    visibility: hidden;
}

#hinnakiri {
    position: relative;
    top: -150px; /* Nihutab ankurpunkti 150px üles */
}
 
.meie-spetsialistid {
    position: relative;
    top: -150px; /* Nihutab ankurpunkti 150px üles */
}
.dle-testimonial-3 .et_pb_slide_description .et_pb_slide_title:after {
    background-color: #eabd79 !important
}		

.broneeri-nupp {
    display: inline-block;
    vertical-align: top !important;
    width: 200px;
    margin: -40px;
    text-align: center;
}

.sugaringi-abc {
    display: inline-block;
    vertical-align: top !important;
    width: 200px;
    text-align: center;
}

.toode-item h2 {
  font-size: 19px !important;
  min-height: 106px;
}

.toode-pilt {
  min-height: 246px;
}


.lisainfo-btn {
  
  text-transform: uppercase!important;
}

.toode-item {
  border: 1px solid #8080802e;
  padding: 15px;
}

.btn {
  margin-top: 10px;
  padding: 15px 40px;
  border: none;
  outline: none;
  color: #FFF;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 12px;
}

.btn::after {
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #eabd79; /* Taust kullakarva */
  left: 0;
  top: 0;
  border-radius: 10px;
}
#main-footer {
  background-color: #222222;
  visibility: hidden;
  display: none;
}
/* glow */
.btn::before {
  content: "";
  background: linear-gradient(
    45deg,
    #000000, #e6c350, #f6e36c, #d7a39a, #000000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  filter: blur(8px);
  animation: glowing 20s linear infinite;
  border-radius: 10px;
  opacity: 1; /* Pidev efekt */
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* aktiivse kliki stiil */
.btn:active::after {
  background: transparent;
}

.btn:active {
  color: #000;
  font-weight: bold;
}





.gold-button {
  position: relative;
  display: inline-block;
  height: 44px;
  line-height: 43px;
  padding: 0 28px;
  background: linear-gradient(to bottom,#fae17f 0%,#e7b94a 50%,#c99e3d 100%);
  color: #333;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.9);
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
}
.gold-button-container {
  position: relative;
  display: inline-flex;
  overflow: visible;
}

.gold-button-container a {
  position: relative;
  z-index: 1;
  will-change: transform;
  transform: translateZ(0);
}
/* Originaalne glow efekt */
.gold-button-container::before {
  content: "";
  background: linear-gradient(
    45deg,
    #000000, #eabd49, #f6e27c, #eabd49, #000000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  filter: blur(8px);
  animation: glowing 20s linear infinite;
  border-radius: 50px;
  opacity: 1;
  overflow: visible;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* Hover efekt */
.gold-button:hover {
  background: linear-gradient(to bottom, #fae89a 0%, #e9c15a 50%, #d1a745 100%);
  overflow: visible;
}



.teenused {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Muudame justify-content väärtust */
    margin-top: 50px;
    width: 100%; /* Veendume, et konteiner täidab kogu laiuse */
  }
  
 
  
  .teenused .teenus1 {
    margin-right: auto; 
    overflow: visible;
  }
  
  .teenused .teenus2 {
    margin-left: auto; /* Võimalikult paremale */
  }
  
  /* Mobiilikuvade jaoks */
  @media (max-width: 600px) {
    .teenused {
      flex-direction: column;
      align-items: center;
    }
    
    .teenused .teenus1,
    .teenused .teenus2 {
      margin: 10px 0; /* Eemaldame külgmised marginid mobiilivaates */
      width: 100%;
      text-align: center;
    }
  }

/* Ainult lihtne hover efekt */
.teenus-kaart-v2 {
  position: relative;
}

.teenus-pilt-konteiner {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}

.teenus-pilt-konteiner img {
  border-radius: 50%;
}

/* Darkening overlay effect */
.teenus-pilt-konteiner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Tumendusefekt */
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

/* Text that appears on hover */
.teenus-pilt-konteiner:after {
  content: "Loe lisa";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  color: rgb(255, 255, 255);
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
  pointer-events: none;
}

/* Show both overlay and text on hover */
.teenus-pilt-konteiner:hover:before,
.teenus-pilt-konteiner:hover:after {
  opacity: 1;
}

.gm-container {
  background:
#878787;
}

.et_pb_text_7 {
      width: calc(100vw - 15%) !important;
      padding-right: 0px !important;
}

@media screen and (max-width: 600px) {
 .tooted-galerii {
 display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
 }
.toode-item {
    width: calc(50% - 10px);
    text-align: center;
    padding: 10px 5px !important;
}
.toode-pilt {
    min-height: 136px;
}
.toode-item h2 {
    font-size: 16px !important;
    min-height: 70px;
}
.gm-navigation-drawer--open {
  width: 100% !important;
}

span.gm-menu-item__txt {
    font-size: 18px;
    font-weight: 700;
}
}