﻿/* Reset și baze */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Container */
.large-container-o {
    padding: 0 15px;
    width: 100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.section-o {
    overflow: visible;
}
/* Top bar */
.top-bar-o {
    background-color: #f5f5f5;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.row-o {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.widget-o {
    width: 100%;
}

widget-container-o {
    width: 100%;
}

.top-md-o {
    display: flex;
    gap: 20px;
    align-items: center;
}

.text-o {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.header-o {
    width: 100%;
    display: flex;
    justify-content: center;
}

.icon-comment-o {
    width: 16px;
    height: 16px;
    fill: #007bff;
}

.call-o a, .mail-o a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

    .call-o a:hover, .mail-o a:hover {
        color: #007bff;
    }

.call-o small, .mail-o small {
    font-size: 80%;
    color: #888;
    display: block;
}

.social-icons-o ul {
    display: flex;
    gap: 15px;
    list-style: none;
}

.social-icon-o {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

    .social-icon-o:hover {
        color: #007bff;
    }

/* Header principal */
.main-header-o {
    background-color: #fff;
    padding: 6px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logobox-o {
    display: flex;
    align-items: center;
}

.logo-o img {
    display: block;
    width: 120px;
}

/* Navigație */
.navbar-nav-o {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

    .navbar-nav-o li {
        list-style-type: none;
    }

.nav-link-o {
    text-decoration: none;
    color: #000 !important;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

    .nav-link-o:hover {
        color: #FCA311 !important;
    }

/* Submeniu - reguli de bază */
.menu-item-has-children-o {
    position: relative;
}

.sub-menu-o {
    display: none;
    position: absolute;
    left: 0;
    min-width: 220px;
    padding: 15px 30px;
    z-index: 1001 !important;
    background-color: #fff;
    width: 220px;
    /*    height: 10rem;*/
    top: 25px;
    padding-top: 40px;
}

/* DOAR pentru desktop - hover */
@media (min-width: 1025px) {


    /* Dezactivează clasa .active pe desktop ca să nu interfereze */
    .menu-item-has-children-o:hover .sub-menu-o {
        display: inline-block;
    }
}

.sub-menu-o .menu-item-o {
    display: block;
    padding: 0;
    margin: 0;
}

.menu-link-o {
    display: block;
    padding: 5px 15px 5px 0px;
    text-decoration: none;
    color: #0F3567 !important;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    line-height: 24px;
    letter-spacing:0;
}

    .menu-link-o:hover {
        color: #FCA311 !important;
        /*        padding-left: 25px;*/
    }

/* Buton */
.theme-btn-o {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #007bff;
    color: #fff;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
    min-width: 167px;
    background: #FCA311 !important;
    border: 1px solid #000;
}

    .theme-btn-o:hover {
        background-color: #000 !important;
    }

    .theme-btn-o svg {
        transition: transform 0.3s;
    }

    .theme-btn-o:hover svg {
/*        transform: translateX(3px);*/
    }

/* Hamburger (ascuns pe desktop) */
.hamburger-o {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.line-o {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
}

/* Sticky header */
.sticky-header-o {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Top bar personalizat */
.top_o {
    display: flex;
    flex-direction: row;
    background-color: #000;
    width: 100%;
    padding: 5px 20px;
    box-sizing: border-box;
/*    height: 3rem;*/
}

    .top_o .top_md svg {
        width: 1rem;
        fill: #FCA311;
    }

.top-large-container-o {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.top_o .row-o {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.top_o .text {
    color: #fff;
}

.top_o .call, .top_o .mail {
    background-color: #FCA311;
    font-size: 17px;
    line-height: 25px;
    color: var(--color-white);
    display: block;
    border-radius: 9px;
    padding: 1px 15px;
}

.top_o .top_md {
    gap: 1.5rem;
}

.social-icons ul li .m_icon {
    background: #000 !important;
}

.fa-brands:before, .fa-regular:before, .fa-solid:before, .fa:before, .fab:before, .far:before, .fas:before {
    color: #fff !important;
}

.top_o .top_rt {
    display: none;
    width: 100%;
    justify-content: end;
}

.arrow-down {
    width: 0.6rem;
    height: auto;
}

.menu-side-o {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive 1200px */
@media (max-width:1200px) {
    .menu-side-o {
        width: 100%;
    }

    .main-header-o .row-o {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }
    .nav-link-o {
        letter-spacing: 0;
        font-size: 16px;
    }
    .large-container-o{
        justify-content:start;
    }
    .large-container-o .row-o{
        width:100%;
    }
}

@media (min-width:1200px) {
    .top_o {
        max-width: 1160px;
        min-width: 100%;
        justify-content:center;
        display:flex;
    }
    .top-large-container-o {
        max-width: 1642.5px;
    }
    .wp-block-o {
        min-width: 100%;
        max-width: 1160px;
       
    }
    .wp-block-o, .header-o, widget-container-o, widget-o, .widget-wrap-o, .column-o, .container-o, .section-o {
        height: 5rem;
    }
    .header-o .row-o {
        max-width: 1642.5px;
        display:flex;
        justify-content:space-between;
        width:100%;
    }

    .menu-side-o {
        width:64%;
    }
    .navbar-content-o{
        width:100%;
    }
    
}

/* Responsive 991px */
@media (max-width:991px) {
    .top_o {
        padding-top: 10px;
        padding-bottom: 40px;
        height: 6rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

        .top_o .top-large-container-o {
            justify-items: center;
            align-items: center;
        }

        .top_o .top_md {
            justify-content: center;
        }
}

/* Responsive 640px */
@media (max-width:640px) {
    .top_md {
        flex-direction: column;
    }

    .top_o {
        height: 11rem;
        padding: 0;
    }

        .top_o .row-o {
            justify-content: center;
            align-items: center;
        }
        
}

/* Mobile Menu Styles - Complete */
.mobile-menu-overlay-o {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(252, 163, 17, 0.95);
    z-index: 2000;
    opacity: 0.8 !important;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

    .mobile-menu-overlay-o.active {
        opacity: 1;
        visibility: visible;
    }

.mobile-menu-container-o {
    position: fixed;
    top: 0;
    left: 0;
    width: 380px;
    height: 100%;
    background-color: transparent;
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s ease 0.1s;
    overflow-y: auto;
}

    .mobile-menu-container-o.active {
        transform: translateX(0);
    }

.mobile-menu-inner-o {
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform 0.2s ease 0.2s;
    min-height: 100%;
    padding: 25px 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu-container-o.active .mobile-menu-inner-o {
    transform: translateX(0);
}

.mobile-menu-header-o {
    display: flex;
    justify-content: end;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

    .mobile-menu-header-o img {
        max-width: 150px;
        height: auto;
        display: none;
    }

.close-menu-o {
    background: #FCA311;
    border: none;
    font-size: 32px;
    font-weight: 100 !important;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

    .close-menu-o:hover {
        color: #FCA311;
        background-color: #f5f5f5;
    }

.mobile-nav-o {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .mobile-nav-o li {
        border-bottom: 1px solid #eee;
        list-style-type: none;
        padding: 10px 0 10px 0;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

        .mobile-nav-o li:last-child {
            border-bottom: none;
        }

    .mobile-nav-o .nav-link-o {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #000;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s;
    }

        .mobile-nav-o .nav-link-o:hover {
            color: #FCA311;
        }

.mobile-menu-item-with-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

    .mobile-menu-item-with-sub > a {
        color: #000 !important;
        text-decoration: none;
        font-weight: 600;
        flex: 1;
        transition: color 0.3s;
    }

        .mobile-menu-item-with-sub > a:hover {
            color: #FCA311;
        }

.mobile-submenu-toggle-o {
    background: none;
    border: 1px solid #FCA311;
    cursor: pointer;
    font-size: 14px;
    color: #000;
    transition: transform 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}


    .mobile-submenu-toggle-o:hover {
        background-color: #f5f5f5;
        color: #FCA311;
    }

    .mobile-submenu-toggle-o.active {
        transition: .3s ease-in-out;
        background: #FCA311;
        color:#fff;
    }
   

        .mobile-submenu-toggle-o.active .mobile-arrow-down {
            transition: .3s ease-in-out;
            filter: brightness(0) saturate(100%) invert(100%);
        }

.mobile-sub-menu-o {
    list-style: none;
    padding-left: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

    .mobile-sub-menu-o.active {
        max-height: 800px;
    }

    .mobile-sub-menu-o li {
        border-bottom: none;
    }

        .mobile-sub-menu-o li a {
            display: block;
            color: #000 !important;
            text-decoration: none;
            font-size: 17px;
            transition: all 0.3s;
        }

            .mobile-sub-menu-o li a:hover {
                color: #FCA311;
                padding-left: 20px;
                border-left-color: #FCA311;
            }

.mobile-menu-footer-o {
    padding-top: 25px;
}

.mobile-contact-info-o {
    margin-bottom: 20px;
    background-color: #FCA311;
    padding: 25px 25px;
    border-radius: 6px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

    .mobile-contact-info-o strong {
        color: #FCA311;
        display: none;
        margin-bottom: 10px;
    }

    .mobile-contact-info-o p {
/*        margin: 12px 0;*/
        font-size: 14px;
        padding:0;
        margin:0;
    }

    .mobile-contact-info-o a {
        color: #000 !important;
        text-decoration: none;
        transition: color 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-weight: 500;
    }

        .mobile-contact-info-o a svg {
            fill: #FCA311;
            color: #FCA311;
        }

        .mobile-contact-info-o a:hover {
            color: #FCA311;
        }

.mobile-social-icons-o {
    display: none;
    gap: 20px;
    margin-top: 20px;
}

    .mobile-social-icons-o a {
        color: #333;
        text-decoration: none;
        font-size: 20px;
        transition: all 0.3s;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: #f5f5f5;
    }

        .mobile-social-icons-o a:hover {
            color: #fff;
            background-color: #FCA311;
            transform: translateY(-2px);
        }

/* Hide desktop menu and show hamburger on mobile */
@media (max-width: 1024px) {
    .navbar-content-o {
        display: none !important;
    }

    .hamburger-o {
        display: flex !important;
        cursor: pointer;
    }

    .menu-side-o {
        justify-content: flex-end;
        width: auto;
        gap: 20px;
    }

    .main-header-o .row-o {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .logo-col-o {
        flex-shrink: 0;
    }

    .button-o {
        display: none;
    }

    .mobile-arrow-down {
        width: 12px;
    }
}

/* Hide hamburger on desktop */
@media (min-width: 1025px) {
    .hamburger-o {
        display: none !important;
    }

    .mobile-menu-overlay-o,
    .mobile-menu-container-o {
        display: none;
    }

    /* Asigură că meniul desktop este vizibil */
    .navbar-content-o {
        display: block !important;
    }
}

/* Responsive 650px */
@media (max-width: 650px) {
    .mobile-menu-container-o {
        width: 100%;
    }
}

/* Responsive 480px */
@media (max-width: 480px) {
    .mobile-menu-container-o {
        width: 100%;
    }

    .top_o .top_md {
        flex-wrap: wrap;
        gap: 10px;
    }

    .top_o .text {
        font-size: 12px;
    }

    .top_o .call,
    .top_o .mail {
        font-size: 12px;
        padding: 2px 10px;
    }
}

/* Animation for hamburger icon */
.hamburger-o {
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s;
}

    .hamburger-o:hover .line-o {
        background-color: #FCA311;
    }

.line-o {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s;
}
