/*
Theme Name: Hello Child
Theme URI: https://trigy.cz
Description: Child theme for Hello Elementor
Author: Trigy
Template: hello-elementor
Version: 2.3.0
*/
 @media (min-width: 1024px) {
/* WordPress Menu Container */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* WordPress vygenerovaný <ul> element */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Menu položky */
.nav-menu li {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #64748b;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

.nav-menu li a:hover {
    color: #79489C;
}

/* Aktivní stránka - WordPress přidává current-menu-item */
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: #79489C;
    font-weight: 600;
}

/* Podtržení aktivní stránky */
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #79489C 0%, #995bc5 100%);
    border-radius: 1px;
}

/* Dropdown menu (submenu) */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 220px;
    z-index: 1000;
    margin: 0;
    list-style: none;
}

.nav-menu li:hover > .sub-menu {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.nav-menu .sub-menu li {
    margin: 0;
}

.nav-menu .sub-menu li a {
    padding: 0.75rem 1.5rem;
    color: #64748b;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-menu .sub-menu li a:hover {
    background: #f8f9fa;
    color: #79489C;
    padding-left: 1.75rem;
}

/* Šipka u položek s dropdown */
.nav-menu .menu-item-has-children > a::before {
    content: ' ▾';
    font-size: 0.95rem;
    margin-left: 0.25rem;
    opacity: 0.7;
    position: absolute;
    right: -15px;
    top: 12px;
}

/* CTA Button v menu (pokud má třeba class "btn" nebo "cta") */
.nav-menu .menu-item.cta-button a,
.nav-menu .menu-item a.button {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
}

.nav-menu .menu-item.cta-button a:hover,
.nav-menu .menu-item a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    color: white;
}
 }
/* Animace pro dropdown */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





   

    .secondary-menu-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

 

    .services-menu > li > a {
        font-size: var(--size-heading-small);
    }

    .services-menu .sub-menu li a {
        font-size: var(--size-body);
    }


