/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.5
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Target the button link */
.dbtnorange .elementor-button {
    position: relative;
    overflow: hidden;
    background-color: var(--e-global-color-primary) !important;
    color: #fff !important;
    border-left: 4px solid #000000 !important; 
    border-radius: 0px !important;       /* Sharp corners */
    
    /* Subtle Shadow Base */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15) !important;
    
    transition: color 0.4s ease, box-shadow 0.4s ease !important;
    z-index: 1;
}

/* The Slide-in Background */
.dbtnorange .elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000; 
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

/* Target the text span */
.dbtnorange .elementor-button-text {
    display: inline-block;
    transition: transform 0.4s ease !important;
    transform: translateX(-15px);
}

/* HOVER STATES */

/* Fill background from left */
.dbtnorange .elementor-button:hover::before {
    transform: scaleX(1);
}

/* Slide text to the right/center */
.dbtnorange .elementor-button:hover .elementor-button-text {
    transform: translateX(0);
}

/* Flip text color and deepen shadow on hover */
.dbtnorange .elementor-button:hover {
    color: #fff !important;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25) !important;
}
/* Target the button link */
.dbtnblack .elementor-button {
    position: relative;
    overflow: hidden;
    background-color: #000000 !important; /* Base black */
    color: #ffffff !important;           /* Base text white */
    border-left: 4px solid var(--e-global-color-primary) !important; 
    border-radius: 0px !important;       /* Sharp corners */
    
    /* Subtle Shadow Base */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15) !important;
    
    transition: color 0.4s ease, box-shadow 0.4s ease !important;
    z-index: 1;
}

/* The Slide-in Background */
.dbtnblack .elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--e-global-color-primary); 
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

/* Target the text span */
.dbtnblack .elementor-button-text {
    display: inline-block;
    transition: transform 0.4s ease !important;
    transform: translateX(-15px);
}

/* HOVER STATES */

/* Fill background from left */
.dbtnblack .elementor-button:hover::before {
    transform: scaleX(1);
}

/* Slide text to the right/center */
.dbtnblack .elementor-button:hover .elementor-button-text {
    transform: translateX(0);
}

/* Flip text color and deepen shadow on hover */
.dbtnblack .elementor-button:hover {
    color: #000000 !important;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25) !important;
}

/* Target the button link */
.dbtnwhite .elementor-button {
    position: relative;
    overflow: hidden;
    background-color: #fff !important; 
    color: #000 !important;           
    border-left: 4px solid var(--e-global-color-primary) !important; 
    border-radius: 0px !important;       /* Sharp corners */
    
    /* Subtle Shadow Base */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15) !important;
    
    transition: color 0.4s ease, box-shadow 0.4s ease !important;
    z-index: 1;
}

/* The Slide-in Background */
.dbtnwhite .elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--e-global-color-primary); 
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

/* Target the text span */
.dbtnwhite .elementor-button-text {
    display: inline-block;
    transition: transform 0.4s ease !important;
    transform: translateX(-15px);
}

/* HOVER STATES */

/* Fill background from left */
.dbtnwhite .elementor-button:hover::before {
    transform: scaleX(1);
}

/* Slide text to the right/center */
.dbtnwhite .elementor-button:hover .elementor-button-text {
    transform: translateX(0);
}

/* Flip text color and deepen shadow on hover */
.dbtnwhite .elementor-button:hover {
    color: #000000 !important;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25) !important;
}

/* center image accordeon (via shortcode) */
.acimg .jet-toggle__content .jet-toggle__content-inner{text-align: center;}
.acimg .jet-toggle__content .jet-toggle__content-inner img{ /* width: 100% ; height: 100% ; */ object-fit: contain; }
