/*
Theme Name: VitroPur Child
Theme URI: https://vitropur.com/
Description: Thème enfant premium pour VitroPur basé sur Povash.
Author: Titanium
Author URI: https://vitropur.com
Template: povash
Version: 1.0.0
Text Domain: vitropur-child
*/

/* === Variables de couleur === */
:root {
  --theme-color-two: #42834c !important;
}

/* === Polices === */
body {
  font-family: 'Poppins', sans-serif;
}

/* === Header Sticky === */
.main-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.sticky-header.fixed-header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* === Boutons principaux === */
.theme-btn-one {
  background-color: #42834c !important;
  border-radius: 8px;
  padding: 18px 32px;
  font-weight: 600;
  color: #ffffff !important;
  transition: all 0.3s ease;
  border: none;
}
.theme-btn-one:hover {
  background-color: #005bb5 !important;
  color: #ffffff !important;
}

/* === Bouton scroll-top === */
.scroll-top {
  background-color: #42834c !important;
}
.scroll-top:hover {
  background-color: #2e6137 !important;
}
.scroll-top i {
  color: #ffffff !important;
}
.scroll-top.scroll-to-target.open::before,
.scroll-top.scroll-to-target.open::after {
  background-color: #42834c !important;
  transition: background-color 0.3s ease;
}
.scroll-top.scroll-to-target.open:hover::before {
  background-color: #2e6137 !important;
}

/* === Témoignages stylisés === */
.testimonial-block-one .inner-box {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.testimonial-block-one .inner-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* === Équipe stylisée === */
.team-block-one .inner-box {
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}
.team-block-one .inner-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* === Formulaires === */
input[type="text"], input[type="email"], textarea {
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 12px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #42834c;
  box-shadow: 0 0 0 3px rgba(66,131,76,0.2);
}

/* === Slider (Carrousel principal) === */
.elementor-element-1a919fb .banner-carousel.owl-carousel {
  pointer-events: none;
}
.elementor-element-1a919fb .theme-btn-one {
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

/* === Remplacement manuel du orange par vert === */
.theme-btn-one,
.theme-btn-one:hover,
.main-header .header-lower .info-box .phone-box .icon-box,
#image_block_1 .image-box h3 a i,
#image_block_1 .image-box h3 a:before,
#image_block_1 .image-box .image-2:before,
.progress-box .bar-inner,
.progress-box .count-text,
.progress-box .count-text:before,
#content_block_4 .content-box .inner-box .single-item:first-child,
.gallery-block-one .inner-box .image-box .view-btn a:hover,
.gallery-block-one .inner-box .image-box:before,
.news-block-one .inner-box .content-box h2 a:hover,
.news-block-one .inner-box .content-box .post-info li a:hover,
.main-header.style-two .outer-box .btn-box a,
.main-header.style-two .outer-box .btn-box a:hover,
.blog-sidebar .sidebar-search .search-form .form-group input:focus + button,
.blog-sidebar .sidebar-search .search-form .form-group button:hover {
  background-color: #42834c !important;
  color: #ffffff !important;
}

/* Menu dropdown hover */
.main-menu .navigation > li > ul > li > a:hover,
.main-menu .navigation > li > .megamenu li > a:hover {
  color: #42834c !important;
}

/* Fix Read More hover color */
.service-block-one .lower-content .link a {
  background: none !important;
  color: #0b306e !important;
  border: none !important;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-block-one .lower-content .link a:hover {
  color: #2e6137 !important;
}

.service-block-one .image-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(66, 131, 76, 0.2) !important; /* Your green with opacity */
  z-index: 1;
  transition: background-color 0.3s ease;
}