/*
Theme Name:     Garantultau
Theme URI:      n/a
Template:       kadence
Author:         Claudiu Maftei
Author URI:     https://bizzmags.ro/
Description:    Child theme for garantultau
Version:        1.0.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Custom gallery tweaks */
.kb-gallery-image-contain img[src$=".svg"] {
  opacity: 0.7;
  filter: invert(7%) sepia(84%) saturate(1195%) hue-rotate(200deg) brightness(93%) contrast(96%);
}
.home_first_carousel .kb-gallery-image-contain img[src$=".svg"]:hover {
  opacity: 1; /* fully visible on hover */
  cursor:pointer;
}
.home_first_carousel .kb-gallery-image-contain img {
  height: 10vw;       /* 10% of viewport width (scales with screen) */
  width: auto;
  object-fit: contain;
  max-height: 200px;  /* cap max height */
}
.home_first_carousel .kb-gal-image-radius
{
	height: 150px!important;
}
.home_first_carousel ul{
	justify-content: center !important;
}
.hideme{
	display:none;
}
.home_first_carousel a:hover img[src$=".svg"] {
  opacity: 1;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Ensure clean fade logic without Kadence 'display: initial' conflict */
.wp-block-site-logo img {
    transition: opacity 0.25s ease-in-out;
}

/* When NOT sticky – show original logo only */
:not(.kb-header-sticky-active) .wp-block-site-logo img.custom-logo {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
:not(.kb-header-sticky-active) .wp-block-site-logo img.kb-img-sticky {
    display: none !important;
}

/* When STICKY – show sticky logo only */
.kb-header-sticky-active .wp-block-site-logo img.custom-logo {
    display: none !important; /* Override Kadence 'display: initial' issue */
}
.kb-header-sticky-active .wp-block-site-logo img.kb-img-sticky {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important; /* Prevent vertical offset */
    margin: 0 !important;
    vertical-align: middle;
}

/* Keep container alignment consistent */
.kb-header-sticky-active .wp-block-site-logo {
    display: flex !important;
    align-items: center !important;
}

