/*
Theme Name: Hello Elementor Child
*/

/* TABELE RESPONSIVE */
.elementor-widget-text-editor table {
    width: 100%;
    border-collapse: collapse;
}

.elementor-widget-text-editor .responsive-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .elementor-widget-text-editor table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .elementor-widget-text-editor table td,
    .elementor-widget-text-editor table th {
        min-width: 120px;
        white-space: normal;
        word-break: break-word;
    }
}

/* GALERIE ELEMENTOR - imagini egalizate */
.elementor-widget-image-gallery .gallery-item img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/*
Template: hello-elementor
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
}

/* TOP BAR */
.bth-topbar {
    background: #f0f8f8;
    border-bottom: 1px solid #d0e8e8;
    color: #555555;
    font-size: 12px;
    padding: 6px 0;
}

.bth-topbar-inner {
    max-width: 1410px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.bth-topbar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.bth-topbar a {
    color: #1c9193;
    text-decoration: none;
    font-weight: 500;
}

.bth-topbar a:hover {
    text-decoration: underline;
}

.bth-sep {
    color: #cccccc;
}

/* HEADER MAIN */
.bth-header-main {
    background: #ffffff;
    padding: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    position: relative;
    z-index: 10;
}

.bth-header-inner {
    max-width: 1410px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.bth-logo-wrap a {
    display: block;
}

.bth-logo-wrap img {
    height: 68px;
    width: auto;
    display: block;
}

.bth-site-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a4a;
    text-decoration: none;
}

.bth-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* SEARCH */
.bth-search-bar .search-form {
    display: flex;
    align-items: center;
    border: 1.5px solid #d0e8e8;
    border-radius: 6px;
    overflow: hidden;
    background: #f8fefe;
    box-shadow: 0 1px 4px rgba(28, 145, 147, 0.08);
}

.bth-search-bar .search-field {
    border: none;
    background: transparent;
    padding: 9px 16px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    width: 220px;
    color: #333333;
}

.bth-search-bar .search-field::placeholder {
    color: #aaaaaa;
}

.bth-search-bar .search-submit {
    background: #1c9193;
    border: none;
    color: #ffffff;
    padding: 9px 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: background 0.15s;
}

.bth-search-bar .search-submit:hover {
    background: #167a7b;
}

/* HAMBURGER */
.bth-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: #1c9193;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px 12px;
}

.bth-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

/* NAV */
.bth-primary-nav {
    background: #1c9193;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.bth-nav-inner {
    max-width: 1410px;
    margin: 0 auto;
    width: 100%;
}

.bth-menu {
    list-style: none;
    margin: 0;
    padding: 0 40px;
    display: flex;
    flex-wrap: wrap;
}

.bth-menu > li {
    position: relative;
}

.bth-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
    padding-bottom: 11px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-bottom: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.bth-menu > li > a:hover,
.bth-menu > li.current-menu-item > a,
.bth-menu > li.current-menu-ancestor > a {
    color: #ffffff;
    border-bottom-color: #ffffff;
    background: #1c9193;
}

.bth-arrow {
    font-size: 9px;
    opacity: 0.7;
    margin-top: 1px;
}

/* DROPDOWN DESKTOP */
.bth-dropdown,
.bth-subdropdown {
    display: none;
    position: absolute;
    background: #ffffff;
    border-top: 3px solid #1c9193;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 999;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    border-radius: 0 0 6px 6px;
}

.bth-dropdown {
    top: 100%;
    left: 0;
}

.bth-subdropdown {
    top: 0;
    left: auto;
    right: 100%;
    z-index: 1000;
}

.bth-menu > li:hover > .bth-dropdown,
.bth-menu > li:focus-within > .bth-dropdown,
.bth-dropdown > li:hover > .bth-subdropdown,
.bth-dropdown > li:focus-within > .bth-subdropdown {
    display: block;
}

.bth-dropdown > li > a,
.bth-subdropdown > li > a {
    display: block;
    padding: 9px 20px;
    font-size: 15px;
    color: #333333;
    text-decoration: none;
    border-left: 3px solid transparent;
    font-weight: 400;
    transition: background 0.1s, border-color 0.1s, color 0.1s;
}

.bth-dropdown > li > a:hover,
.bth-subdropdown > li > a:hover {
    background: #f0fafa;
    border-left-color: #1c9193;
    color: #1c9193;
}

/* CLOSE — ascuns pe desktop */
.bth-close {
    display: none;
}

/* TOGGLE — ascuns pe desktop */
.bth-toggle {
    display: none;
}

/* OVERLAY */
.bth-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.bth-overlay.is-visible {
    display: block;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    /* TOPBAR */
    .bth-topbar-inner {
        padding: 0 16px;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .bth-topbar-left {
        display: none;
    }

    .bth-topbar-right {
        width: 100%;
        text-align: center;
    }

    /* HEADER */
    .bth-header-inner {
        padding: 10px 16px;
    }

    .bth-logo-wrap {
        flex: 0 0 70%;
    }

    .bth-logo-wrap img {
        height: 48px;
    }

    .bth-header-right {
        flex: 0 0 30%;
        justify-content: flex-end;
    }

    .bth-search-bar {
        display: none;
    }

    .bth-hamburger {
        display: flex;
    }

    /* NAV */
    .bth-nav-inner {
        padding: 0;
    }

    /* CANVAS */
    .bth-menu {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;

        background: #ffffff;
        flex-direction: column;
        padding: 0;
        z-index: 9999;
        overflow-y: auto;
        overflow-x: hidden;
        transition: left 0.3s ease;
        display: block;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .bth-menu.is-open {
        left: 0;
    }

    /* CLOSE BUTTON */
    .bth-close {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #1c9193;
        border: none;
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        padding: 16px 20px;
        width: 100%;
        letter-spacing: 0.3px;
        flex-shrink: 0;
    }

    .bth-close span {
        font-size: 20px;
        font-weight: 400;
    }

    /* ITEME MENIU */
    .bth-menu > li {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        border-bottom: 1px solid #eeeeee;
        position: static;
    }

    .bth-menu > li > a {
        flex: 1;
        padding: 13px 20px;
        border-bottom: none;
        border-left: none;
        margin-bottom: 0;
        color: #2c2c2c;
        font-size: 15px;
        background: none;
        border-bottom: 3px solid transparent;
    }

    .bth-menu > li > a:hover,
    .bth-menu > li.current-menu-item > a {
        color: #1c9193;
        background: #f0fafa;
        border-bottom-color: transparent;
    }

    /* TOGGLE */
    .bth-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        border-left: 1px solid #eeeeee;
        cursor: pointer;
        padding: 0 18px;
        min-height: 46px;
        flex-shrink: 0;
    }

    .bth-toggle:hover {
        background: #f0fafa;
    }

    .bth-toggle .bth-arrow {
        font-size: 12px;
        opacity: 1;
        display: inline-block;
        transition: transform 0.2s;
        color: #1c9193;
    }

    /* DEZACTIVEAZA HOVER DESKTOP */
    .bth-menu > li:hover > .bth-dropdown,
    .bth-menu > li:focus-within > .bth-dropdown,
    .bth-dropdown > li:hover > .bth-subdropdown,
    .bth-dropdown > li:focus-within > .bth-subdropdown {
        display: none;
    }

    /* DROPDOWN MOBILE */
    .bth-dropdown,
    .bth-subdropdown {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        box-shadow: none !important;
        border-top: none !important;
        border-radius: 0 !important;
        border-left: 3px solid #1c9193 !important;
        background: #f8fefe !important;
        display: none;
        min-width: 0 !important;
        width: 100% !important;
        padding: 4px 0 !important;
        flex: 0 0 100%;
    }

    .bth-menu > li.is-open > .bth-dropdown,
    .bth-dropdown > li.is-open > .bth-subdropdown {
        display: flex !important;
        flex-direction: column !important;
    }

    .bth-dropdown > li,
    .bth-subdropdown > li {
        display: block;
        border-bottom: 1px solid #eeeeee;
    }

    .bth-dropdown > li > a,
    .bth-subdropdown > li > a {
        display: block;
        color: #444444;
        padding: 10px 20px 10px 28px;
        border-left: none;
        font-size: 14px;
        background: none;
    }

    .bth-dropdown > li > a:hover,
    .bth-subdropdown > li > a:hover {
        background: #e8f6f6;
        color: #1c9193;
    }
}







.bth-footer {
    background-color: #146062;
    color: #e0f0f0;
}

.bth-footer-inner {
    display: flex;
    gap: 40px;
    max-width: 1410px;
    margin: 0 auto;
    padding: 48px 20px 40px;
}

.bth-footer-col {
    flex: 1;
    min-width: 0;
}

.bth-footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.bth-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.bth-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #c8e6e6;
}

.bth-contact-list li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #5ecfcf;
}

.bth-contact-list a {
    color: #c8e6e6;
    text-decoration: none;
}

.bth-contact-list a:hover {
    color: #ffffff;
}

.bth-social-links {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.bth-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: background 0.2s;
}

.bth-social-link:hover {
    background: rgba(255, 255, 255, 0.25);
}

.bth-social-link svg {
    width: 18px;
    height: 18px;
}

.bth-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bth-footer-menu li {
    margin-bottom: 8px;
}

.bth-footer-menu li a {
    font-size: 13px;
    color: #c8e6e6;
    text-decoration: none;
    transition: color 0.15s;
}

.bth-footer-menu li a:hover {
    color: #ffffff;
}

.bth-footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bth-footer-bottom-inner {
    max-width: 1410px;
    margin: 0 auto;
    padding: 14px 20px;
    text-align: center;
}

.bth-footer-bottom p {
    font-size: 12px;
    color: #a0c8c8;
    margin: 0;
}

@media (max-width: 768px) {
    .bth-footer-inner {
        flex-direction: column;
        gap: 32px;
        padding: 36px 20px 28px;
    }
}