/*
Theme Name: AHI Corporate Theme
Theme URI:  https://openit.gr
Author:     OpenIT
Author URI: https://openit.gr
Description: Custom theme for AHI CARRIER SEE corporate site
Version:    1.0
Text Domain: ahi_corporate_theme
*/

/* ------------------------------
   GLOBAL STYLES
------------------------------ */
body {
    font-family: 'Noto Sans', 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    font-family: 'Noto Sans', 'Inter', sans-serif;
    cursor: default !important;

}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    cursor: default !important;

}

a,
button {
    cursor: pointer !important;
}


/* ------------------------------
   HEADER & NAVIGATION
------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999999 !important;
    pointer-events: auto;
    width: 100%;
    background-image: url("https://ahicarrier.gr/wp-content/uploads/2025/11/Path-20790-1.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

/* .site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("http://opendemo.gr/ahi_corporate/wp-content/uploads/2025/11/Path-20790-1.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: -1;
} */

/* .site-header:hover::before {
    opacity: 1;
}

.site-header.scrolled::before {
    opacity: 1;
} */

.site-header.menu-open::before {
    opacity: 1;
}

.site-header .container {
    background: transparent;
    padding-left: 0;
    padding-right: 0;
}

.navbar {
    padding: 0.75rem 0;
    border-radius: 15px;
}

.navbar-brand img {
    height: 65px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav {
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.navbar-nav li {
    display: inline-block;
    margin: 0 1rem;
}

.navbar-nav a {
    color: var(--header-link-color, #283583) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.25s ease, opacity 0.25s ease;
    font-size: 16px !important;
}

.navbar-nav a:hover {
    color: #fff;
    cursor: pointer;
    /* font-weight: 700; */
}

.navbar-collapse {
    justify-content: center !important;
}


/* .site-header.scrolled .navbar-nav a, */
.site-header.scrolled #searchToggle,
.site-header.scrolled #searchToggle i {
    color: #fff !important;
}




#searchToggle {
    position: relative;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
    color: var(--header-link-color, #283583);
}

#searchToggle i {
    display: block;
    width: 24px;
    height: 24px;
    color: var(--header-link-color, #283583);
}

/* ------------------------------
   SEARCH CONTAINER (BLUR)
------------------------------ */
.search-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1500;
    border-radius: 15px;
}

.search-container.active {
    opacity: 1;
    pointer-events: auto;
}

.search-container form {
    display: flex;
    width: 65%;
    max-width: 700px;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-container input[type="search"] {
    width: 100%;
    padding: 14px 20px;
    font-size: 1.1rem;
    border: none;
    background: transparent;
    color: #283583;
}

.search-container input[type="search"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.4);
}

.search-container button {
    padding: 12px 18px;
    border: none;
    background: transparent;
    color: var(--header-link-color, #283583);
    cursor: pointer;
    font-size: 1.3rem;
    transition: opacity 0.3s ease;
}

.search-container button:hover {
    opacity: 0.7;
}

.navbar-toggler {
    border: 1px solid #fff;
    background-color: #fff;

}

.wpml-ls-legacy-dropdown-click {}

@media (max-width: 1199px) {
    .site-header .container {
        /* background-color: #fff !important; */
        padding-left: 0;
        padding-right: 0;
    }

    .site-header {
        /* background-color: #fff !important; */
        backdrop-filter: none !important;
        top: 0;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .site-header .navbar {
        padding-left: 14px;
        padding-right: 14px;
        /* background-color: #fff !important; */
    }

    .navbar-nav li {
        display: block;
        margin: 0;
    }

    .navbar-collapse {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #ccc transparent;
    }

    .navbar-collapse::-webkit-scrollbar {
        width: 6px;
    }

    .navbar-collapse::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 10px;
    }


    .navbar-nav a,
    #searchToggle,
    #searchToggle i {
        color: #fff !important;
    }

    .navbar-toggler {
        border: 1px solid #fff;
    }

    .search-container {
        position: fixed;
        top: 70px;
        height: auto;
        padding: 12px 0;
        background: rgb(255, 255, 255);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(8px);
    }

    .search-container form {
        width: 90%;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: none;
    }

    .search-container input[type="search"] {
        background: #fff;
        border-radius: 6px 0 0 6px;
        font-size: 1rem;
        padding: 10px 15px;
    }

    .search-container button {
        color: #111;
        padding: 10px 15px;
    }
}

@media (max-width: 768px) {
    .site-header .navbar {
        padding-left: 14px;
        padding-right: 14px;
        position: inherit;
    }

    .navbar-brand img {
        height: 55px;
    }

    .navbar-toggler,
    #searchToggle {
        margin-right: 6px;
    }
}

@media (min-width: 991px) {
    .site-header.scrolled {
        /* background: rgba(255, 255, 255); */
        /* backdrop-filter: blur(8px); */
        /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); */
        /* background-image: url(http://opendemo.gr/ahi_corporate/wp-content/uploads/2025/11/Path-20790-1.svg); */
        /* background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
        background-position: top center;
        border-bottom-right-radius: 15px;
        border-bottom-left-radius: 15px; */
    }
}

.form-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 15px;
    border: 2px solid #ba1d2b;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    background: transparent;
}

.form-btn img {
    width: 25px;
    height: auto;
    transition: filter 0.3s ease;
}

.form-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #ba1d2b;
    z-index: 0;
    transition: width 0.4s ease;
}

.form-btn span,
.form-btn img {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    font-weight: 400;
}

.form-btn:hover::before {
    width: 100%;
}

.form-btn:hover {
    color: #fff;
    border: 2px solid #ba1d2b !important;
}

.form-terms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    margin-top: 25px;
    opacity: 0.8;
}

.form-terms input {
    accent-color: #E30F12;
    width: 16px;
    height: 16px;
}

.form-terms label {
    display: flex;
    align-items: center;
    gap: 8px;
}


.form-terms a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.form-terms a:hover {
    text-decoration: underline;
}

.wpcf7 form p {
    margin: 0;
    padding: 0;
}


.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
    /* border-color: transparent !important; */
}

/* RESET ΤΟΥ ΚΟΥΤΙΟΥ */
.header-language-switcher .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 6px !important;
    height: auto;
    display: flex;
    align-items: center;
}

/* FLAG */
.header-language-switcher .wpml-ls-flag {
    width: 20px;
    height: auto;
    margin-right: 4px;
}

/* ARROW → μικρό & σωστό */
.header-language-switcher .wpml-ls-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #fff;
    /* ίδιο με menu */
    margin-left: 4px;
}

/* REMOVE DEFAULT ARROW SVG */
.header-language-switcher .wpml-ls-arrow:before {
    display: none !important;
}

/* DROPDOWN */
.header-language-switcher .wpml-ls-sub-menu {
    background-color: transparent !important;
    border-radius: 6px;
    padding: 6px;
    min-width: auto !important;
}

/* DROPDOWN ITEMS */
.header-language-switcher .wpml-ls-sub-menu a {
    padding: 4px;
    display: flex;
    justify-content: center;
    background-color: transparent !important;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
    border: none !important;
}

/* REMOVE STUPID WIDTH */
.header-language-switcher .wpml-ls {
    width: auto !important;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
    color: #fff !important;
    right: -5px !important;
    top: calc(50% - 0.19em) !important
}

.wpml-ls-legacy-dropdown-click a {
    border: 1px solid transparent !important;
}