/**
Theme Name: Astra Child teema
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-teema
Template: astra
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Montserrat:wght@400;600;700;800;900&display=swap');

/* Pealkirjade ja teksti vaikimisi marginid */
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0.5em; }
p { margin-top: 0; margin-bottom: 0; }

/* Sticky header */
#masthead,
.site-header,
.ast-primary-header-bar,
.main-header-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Menüü */
.main-header-menu .menu-item > a,
.main-header-menu .menu-item > .menu-link {
    color: #555555 !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    font-family: "Montserrat", sans-serif !important;
    letter-spacing: -0.3px !important;
}
.main-header-menu .menu-item:hover > a,
.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .menu-item.current-menu-item > a,
.main-header-menu .menu-item.current-menu-ancestor > a,
.main-header-menu .menu-item.focus > a {
    color: #101820 !important;
}

/* Footer CTA background */
.elementor-element-18031d3,
.elementor-element-e1bd756 {
    background: radial-gradient(circle at 10% 20%, #F67599aa 0%, transparent 40%),
                radial-gradient(circle at 90% 90%, #00A3E0aa 0%, transparent 40%),
                radial-gradient(circle at 50% 10%, #FFCD0080 0%, transparent 35%),
                #f5f5f7 !important;
    min-height: 400px;
}

/* Galerii pildid */
.elementor-element-gal-imgs img {
    width: 100% !important;
    height: 225px !important;
    object-fit: cover !important;
    object-position: center !important;
    aspect-ratio: unset !important;
    display: block;
    transition: transform 0.4s ease !important;
}
.elementor-element-gal-imgs img:hover {
    transform: scale(1.06) !important;
}

/* Meist — statistika blokid */
.elementor-element-ef17093 { align-self: flex-end !important; }
.stat-card p:first-child {
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    margin-bottom: 4px !important;
    white-space: nowrap !important;
}
@media (max-width: 480px) {
    .stat-card p:first-child { font-size: 18px !important; }
    .stat-card p:last-child, .stat-card p + p { font-size: 10px !important; }
}
.stat-card p:last-child,
.stat-card p + p {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

/* Hover card efekt */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.hover-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}

/* Eristus-kaart hover */
.eristus-kaart {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.eristus-kaart:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10) !important;
}

/* Mobiil */
@media (max-width: 768px) {
    .stat-card p:first-child { font-size: 20px !important; }
    .stat-card p:last-child, .stat-card p + p { font-size: 11px !important; }
    .main-header-menu .menu-item > a,
    .main-header-menu .menu-item > .menu-link { font-size: 16px !important; }
}

/* Kontaktlehe Fluent Forms vormi stiilid */
.fluentform .ff-el-group label,
.fluentform .ff-el-form-label,
.fluentform legend {
    color: #111820 !important;
}
.fluentform .ff-btn-submit:hover,
.fluentform .ff-btn-submit:focus,
.ff_submit_btn_wrapper .ff-btn:hover,
.ff_submit_btn_wrapper .ff-btn:focus,
.ff_submit_btn_wrapper button:hover,
.ff_submit_btn_wrapper button:focus {
    color: #00A3E0 !important;
    background: #fff !important;
    background-color: #fff !important;
}

/* Jaluse lingid */
#colophon a,
.site-footer a,
.ast-footer-overlay a,
footer a {
    color: #111820 !important;
    text-decoration: none !important;
}
#colophon a:hover,
.site-footer a:hover,
.ast-footer-overlay a:hover,
footer a:hover {
    color: #444444 !important;
}

/* Teenuste kaartide "Loe rohkem" lingid */
.elementor-element-240020a a { color: #00A3E0 !important; }
.elementor-element-9918eaf a { color: #C0D725 !important; }
.elementor-element-b0430a4 a { color: #FFCD00 !important; }

/* Rippmenüü */
.main-header-menu .sub-menu {
    background: #fff !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10) !important;
    border: none !important;
    width: auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    margin-top: 0 !important;
    top: 100% !important;
}
.main-header-menu .sub-menu .menu-item > a,
.main-header-menu .sub-menu .menu-item > .menu-link {
    background: #fff !important;
    color: #555555 !important;
    padding: 6px 15px !important;
    display: block !important;
    text-align: left !important;
    white-space: nowrap !important;
    line-height: 1.3 !important;
}
.main-header-menu .sub-menu .menu-item:hover > a,
.main-header-menu .sub-menu .menu-item:hover > .menu-link {
    background: #f5f5f5 !important;
    color: #101820 !important;
}

/* Kalkulaatori vormi nupu hover */
.endora-kalk .ek-form-submit button:hover,
.endora-kalk .ek-form-submit button:focus {
    background: #00A3E0 !important;
    background-color: #00A3E0 !important;
    color: #fff !important;
    border: 2px solid #00A3E0 !important;
    box-shadow: none !important;
}
