/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.2
*/

/* Μy Custom Css */
#my-top-bar-layout {
    background: linear-gradient(to right, #ED1C24, #000000 40%);
    color: #fff;
    font-size: 14px;
    font-family: "Didact Gothic", sans-serif;
    font-weight: 300;
    border-bottom: 4px solid rgba(255, 255, 255, 0.25);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: transform 0.3s ease-out;
    transform: translateY(0);
}

#my-top-bar-layout.top-bar-hidden {
    transform: translateY(-100%);
}

.top-bar-inner {
    padding: 10px 0;
    display: flex;
    flex-direction: row !important;
    justify-content: flex-end !important;
    direction: ltr !important;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    margin-left: 0 !important;
    margin-right: 0 !important;
    order: 1 !important;
}

.top-bar-left .top-bar-item {
    background: #000000;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 4px 12px;
    margin-right: 15px;
    transition: border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
}

.top-bar-left .top-bar-item:hover {
    border-color: #fff;
    color: #fff;
}

.top-bar-item .fa-phone {
    color: #ED1C24 !important;
    transform: scaleX(-1);
    vertical-align: middle;
}
.top-bar-item .fa-whatsapp {
    color: #25D366 !important;
    vertical-align: middle;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    order: 2 !important;
}

.top-bar-right .label {
    margin-right: 5px;
    vertical-align: middle;
}

.top-bar-social {
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    vertical-align: middle;
}

.top-bar-social:hover {
    background: #fff;
    color: #000;
    border-color: transparent;
}

#site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 990;
    margin-top: -1px;
    will-change: top;
}

#my-top-bar-layout.top-bar-hidden + #site-header {
    top: 0 !important;
}

/* Mobile Settings */
@media (max-width: 768px) {
    .top-bar-right .label {
        display: none !important;
    }
    .top-bar-inner {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 15px 3px !important;
        width: 100% !important;
        gap: 8px;
        flex-wrap: wrap;
    }
    .top-bar-item {
        margin-right: 3px !important;
        gap: 2px;
        font-size: 11px !important;
        line-height: normal !important;
    }
    .top-bar-left .top-bar-item:last-child {
       margin-right: 0 !important;
    }
    .top-bar-right {
        gap: 5px;
    }
    .top-bar-left,
    .top-bar-right {
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

#mobile-dropdown {
    background-color: #000000 !important; /* Βάλε εδώ το χρώμα που θέλεις */
}

}
