/*
Theme Name:     Kamenické práce JH
Theme URI:      https://kamenickepracejh.cz
Description:    Child theme for Divi – customized for Kamenické práce JH
Author:         David Klhufek
Author URI:     https://phirebase.com
Template:       Divi
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    kamenicke-prace-jh
*/

/* === Heading span colors === */
h1 span {    
	color: #a89f91;  
}
h3 span {    
	color: #a89f91;  
}

/* === Mobile Menu Styling === */
ul#mobile_menu.et_mobile_menu a,
ul#top-menu a {
    text-transform: uppercase;
}

.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu {
    margin-top: 25px;
}

/* === Image Titles Off === */
.mfp-title {
    display: none;
}

/* === Animated Menu Link Underline === */
#custom-menu a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background-color: #a89f91; /* Union Jack Red */
    transition: width 0.3s ease;
    margin-top: 4px;
}

#custom-menu a.active-menu::after {
    width: 100%;
}

/* === CTA Phones === */
.cta-phones .et_pb_blurb {
    display: flex;
    justify-content: center; /* centrování celého bloku */
}

.cta-phones .et_pb_blurb_content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.cta-phones .et_pb_main_blurb_image {
    margin: 0 !important;
}

.cta-phones .et_pb_blurb_container {
    margin: 0 !important;
    width: auto !important;
}

.cta-phones .et_pb_blurb_description {
    text-align: left; /* text vedle ikony */
}

.cta-phones .et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 5px;
}

/* === Set Meta slider height for mobile === */
@media only screen and (max-width : 767px) {
.metaslider .slides li img {
	width: 100% !important;
	height: 320px !important;
	object-fit: cover;
}
.metaslider .flex-direction-nav {
	display: none;
}
}

/* Set Meta slider position under menu  */
@media (max-width: 980px) { /* Tablet */
    .slider-meta {
        position: relative;
        top: -17px;
    }
}

@media (max-width: 767px) { /* Mobile */
    .slider-meta {
        position: relative;
        top: -23px;
    }
}

/* === Scroll to Top Button === */
.et_pb_scroll_top.et-pb-icon {
    color: white;
    right: 30px;
    bottom: 30px;
    padding: 8px;
    border-radius: 30px;
    background: #2e2e2e; 
    font-size: 32px;
    transition: all 0.1s ease-in-out;
}

.et_pb_scroll_top.et-pb-icon:hover {
    bottom: 32px;
    background: #2e2e2e;
    transition: all 0.1s ease-in-out;
    box-shadow: 0 10px 15px #162c4e4a;
}

/* === Scroll Top Animations === */
.et_pb_scroll_top.et-visible {
    animation: fadeInBottom 1s cubic-bezier(0.50, 0, 0.16, 1);
}
.et_pb_scroll_top.et-hidden {
    opacity: 0;
    animation: fadeOutBottom 1s cubic-bezier(0.77, 0, 0.175, 1);
}

