/* 
Theme Name: Flow with S
Theme URI: https://flowwiths.com
Description: Flow with S is a child theme of Hello Elementor, created by RedHost
Author: RedHost
Author URI: https://redhost.gr/
Template: hello-elementor
Version: 2.0.0
Text Domain: flowwiths
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

:root {
    --font-main: "brandon-grotesque", "Montserrat", Arial, sans-serif;
}

body,
body[class*="elementor-kit-"] {
    --e-global-typography-primary-font-family: "brandon-grotesque";
    --e-global-typography-secondary-font-family: "brandon-grotesque";
    --e-global-typography-text-font-family: "brandon-grotesque";
    --e-global-typography-accent-font-family: "brandon-grotesque";
    font-family: var(--font-main);
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-widget-text-editor,
.elementor-button {
    font-family: var(--font-main);
}

/* The sections position the page themselves: no browser scroll anchoring */
html { overflow-anchor: none; }

html.intro-lock,
html.intro-lock body {
    overflow: hidden;
}

/* Keep the intro above the first section while it fades away. */
html.intro-lock #intro {
    position: fixed !important;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 999;
}

html.intro-skip #intro {
    display: none !important;
}

.elementor .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1000;                 /* πάνω από τις ενότητες και το ::after της σκίασης (99) */
    pointer-events: none;          /* δεν μπλοκάρει τα clicks στις ενότητες από κάτω */
    transition: opacity .6s ease, visibility .6s;
    opacity: 0;
    visibility: hidden;
}
.elementor .site-header a,
.elementor .site-header button,
.elementor .site-header [role="button"] {
    pointer-events: auto;
}

/* Κρυμμένο όσο παίζει το intro, εμφανίζεται με fade μόλις ξεκινήσει η μετάβαση */
html:not(.intro-pending) .elementor .site-header {
    opacity: 1;
    visibility: visible;
}

/* Στον editor του Elementor να μην καλύπτει τα υπόλοιπα */
/*
body.elementor-editor-active .elementor .site-header {
    position: relative;
}
*/

.elementor .intro-stage .intro-frame {
    opacity: 0;
}
body.elementor-editor-active .elementor .intro-stage .intro-frame {
    opacity: 1;
}

/* The stage is a viewport-sized clipping window; its panels are stacked by the JS. */
html.fs-stage-active .fs-stage {
    position: relative !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    gap: 0 !important;
    isolation: isolate;
}
html.fs-stage-active .fs-stage  .fs-section {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
    html { overscroll-behavior-y: none; }
    body:not(.elementor-editor-active) .elementor .fs-section::after {
        content: '';
        position: absolute;
        inset: 0;
        background: #000;
        opacity: var(--dim, 0);
        pointer-events: none;
        z-index: 99;
    }
    .elementor .fs-section .anim-scroll { opacity: 0; }
}
/* Στον editor όλα φαίνονται κανονικά */
body.elementor-editor-active .elementor .anim-scroll {
    opacity: 1 !important;
}
html.intro-pending .elementor .fs-section {
    visibility: hidden;
}

.reveal-text {
    will-change: opacity, transform;
}

/* Burger: δύο εικόνες, αλλάζουν στο hover και όταν το μενού είναι ανοιχτό */
.elementor .site-header .menu-toggle {
    position: relative;
    cursor: pointer;
    pointer-events: auto;              /* το header έχει pointer-events: none */
}
.elementor .menu-toggle .elementor-widget {
    margin: 0;
}
.elementor .menu-toggle .burger-main,
.elementor .menu-toggle .burger-alt {
    transition: opacity .25s ease;
}
.elementor .menu-toggle .burger-alt {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: auto;
    opacity: 0;
}
.elementor .menu-toggle .burger-alt img {
    width: 100%;
    height: auto;
}

@media (hover: hover) {
    .elementor .menu-toggle:hover .burger-alt  {
        opacity: 1;
    }
    .elementor .menu-toggle:hover .burger-main {
        opacity: 0;
    }
}
.elementor .menu-toggle.is-open .burger-alt  {
    opacity: 1;
}
.elementor .menu-toggle.is-open .burger-main {
    opacity: 0;
}

/* Μενού πλήρους οθόνης */
.elementor .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    z-index: 9999;                      /* κάτω από το header (1000), ώστε το burger να μένει κλικαμπλ */
    display: flex;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
}
body.elementor-editor-active .elementor .menu-overlay {
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}


/* Όσο είναι ανοιχτό, η σελίδα πίσω δεν κυλά */
html.menu-open { overflow: hidden; }


/* form */
.mailpoet_form {
    padding: 0 !important;
}
.mailpoet_form_column {
    flex-direction: row !important;
    border:0 !important;
    border-bottom: 1px solid #231F20 !important;
    justify-content: space-between !important;
}
.mailpoet_form_column:not(:first-child) {
    margin-left: 0 !important;
}
.mailpoet_paragraph {
    line-height:0 !important;
    margin-bottom: 10px !important;
}
.mailpoet_segment_label,
.mailpoet_text_label,
.mailpoet_textarea_label,
.mailpoet_select_label,
.mailpoet_radio_label,
.mailpoet_checkbox_label,
.mailpoet_list_label,
.mailpoet_date_label {
    display:block;
    font-weight: normal;
}
.mailpoet_text,
.mailpoet_textarea,
.mailpoet_select,
.mailpoet_date_month,
.mailpoet_date_day,
.mailpoet_date_year,
.mailpoet_date {
    display:block;
    font-size: 16px !important;
}

.mailpoet_text,
.mailpoet_textarea {
    border:0 !important;
    background: unset !important;
    padding: 0 !important;
}

input:focus,
input:focus-visible,
input:active,
input:hover {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    background: unset !important;
    border:0 !important;
    border-radius:0 !important;
}

.mailpoet_submit {
    border: 0 !important;
    color: #000 !important;
    font-style: italic !important;
    font-size: 15px !important;
    position: absolute;
    right: 0;
    padding:0 !important;
}
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    border:1px solid #000 !important;
    background: unset !important;
    width: 14px !important;
    height:14px !important;
}
input[type="checkbox"]:checked::before {
    content: "";
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: block;
    margin-left: 4px;
    margin-top:0;
}
.mailpoet_checkbox_label {
    font-size: 14px !important;
}
.mailpoet_divider {
}

.mailpoet_message {
}

.mailpoet_form_loading {
    width: 30px;
    text-align: center;
    line-height: normal;
}

.mailpoet_form_loading > span {
    width: 5px;
    height: 5px;
    background-color: #5b5b5b;
}

/* Κρυμμένο μέχρι να παίξει το animation (η εμφάνισή του γίνεται από το JS), σε όλα τα πλάτη */
@media (prefers-reduced-motion: no-preference) {
    .elementor .fs-section .dandelion {
        opacity: 0;
        will-change: transform, opacity;
    }
}
/* Στον editor και στο preview του Elementor φαίνεται κανονικά */
body.elementor-editor-active .elementor .dandelion,
body.elementor-editor-preview .elementor .dandelion {
    opacity: 1 !important;
}

.section-arrow {
    position: sticky !important;
    bottom: 0;
    inset-block-end: 0 !important;
    mix-blend-mode: multiply !important;
    margin-top: auto;
}
.section-arrow img {
    mix-blend-mode: multiply;
}