/*
Theme Name: FAMELIA OLIVE
Theme URI: https://example.com/famelia-olive
Description: Child theme of Hello Elementor for FAMELIA OLIVE.
Author: Yiannis M
Author URI: https://yiannismakrakis.gr
Template: hello-elementor
Version: 1.0.0
Text Domain: famelia-olive
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Your custom CSS below */
/* Optional: smooth scroll + sticky offset */
html { scroll-behavior: smooth; }
:root { --scroll-offset: 0px; }
[id] { scroll-margin-top: var(--scroll-offset); }

body {
	scroll-behavior: smooth;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
a {
	text-decoration: none;
	outline: none;
	cursor: pointer;
}
a:hover {
	outline: none;
}
a:focus {
	outline: none;
	background: lightgrey;
}

a:focus:not(:focus-visible) {
	background: transparent;
}

a:focus-visible {
	outline: 2px solid var( --e-global-color-accent );
	background: transparent;
}
.elementor-post-navigation {column-gap:20px}
.lenis.lenis-smooth {  scroll-behavior: auto;}
.lenis.lenis-smooth [data-lenis-prevent] {  overscroll-behavior: contain;}
.lenis.lenis-stopped {  overflow: hidden;}
.lenis.lenis-scrolling iframe {  pointer-events: none;}
	

.famelia-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--e-global-typography-secondary-font-family);
}
.right-menu .famelia-menu { justify-content: flex-end;}

.famelia-menu a {
  /*font-style: italic;*/
  font-weight: normal;
  text-decoration: none;
  color: inherit;
	font-size: 1.4rem;
	/*color: var(--wp--preset--color--white);*/
	color: #000;
  transition: font-style 0.2s ease, font-weight 0.2s ease;
}

.famelia-menu a.active {
  font-style: normal;
  font-weight: bold;
}


#sticky_nav .famelia-menu { gap: 0.8rem}
#sticky_nav .famelia-menu a {
  font-weight: normal;
  text-decoration: none;
  color: inherit;
	font-size: 1.1rem;
	/*color: var(--wp--preset--color--white);*/
	color: #000;
  transition: font-style 0.2s ease, font-weight 0.2s ease;
	padding: 5px;
}

.famelia-menu.aside li { width:100%; padding:6px; margin: 4px 0; text-align: center}
ul.famelia-menu.aside{
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--e-global-typography-secondary-font-family);
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;}

.qodef-qi-animated-text .qodef-m-title { margin:0}

.famelia-menu.footer {
 display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--e-global-typography-secondary-font-family);
    flex-direction: column;
	font-family: var( --e-global-typography-text-font-family ), Sans-serif;
}

.famelia-menu.footer a {
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  color: inherit;
	font-size: 1rem;
	color: #000;
  transition: font-style 0.2s ease, font-weight 0.2s ease;
}

/* items: subtle, slowish staggered entrance + spacing after each li */
.animated-dashlist ul {
	padding:0;	
	list-style: none;
}
.animated-dashlist ul li {
  margin: 10px 0;                            
  line-height: 1.67em;
  opacity: 0;
  transform: translateX(-6px);               
  transition: opacity .8s ease-out, transform .8s ease-out;
  transition-delay: calc(var(--i, 0) * 150ms);
  list-style:none;

}

/* keep ALL direct children inline so mixed content doesn't break layout */
.animated-dashlist ul li > * {
  display: inline;
  margin: 0;
}
.animated-dashlist ul li > * + * { margin-left: .25em; } 


.animated-dashlist ul li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 0;
  border-top: 1px solid currentColor;
  margin-right: 12px;
  transition: width .6s ease-out;
}

/* play animations when container is in view (your JS handles the class) */
.animated-dashlist.in-view ul li {
  opacity: 1;
  transform: translateX(0);
}
.animated-dashlist.in-view ul li::before {
  width: 20px;
}

/* Sticky Nav – base state: completely hidden, off-screen */
/* Base: nav is completely off-screen and non-interactive */
#sticky_nav {
    position: fixed;
    top: -9999px;             /* park it far above the viewport */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    opacity: 0;
    pointer-events: none;
    visibility: hidden;

    border-radius: 200px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid transparent;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.6),
        0 16px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(5px);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

/* Once JS says we're ready, allow it to sit at the top (but still hidden by default) */
body.sticky-nav-ready #sticky_nav {
    top: 20px;                /* real position */
    visibility: visible;
}

/* Visible when scrolling up past threshold */
body.sticky-nav-ready #sticky_nav.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}


.swiper-zoom-container img { background-color:#fff}

 .elementor-element .swiper .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 15px !important;
}