/*
Theme Name: Astra Child
Description: A child theme of Astra Theme
Version: 1.0.0
Text Domain: astra
Template: astra
*/

/*------------Header---------------------*/
.ast-builder-menu-1 .menu-item .sub-menu .menu-link {
	color: #111827 !important;
}

/*------------Erotimatologia-------------*/

/*Sticky Sidebar*/
.form-sidebar{
        position: -webkit-sticky; /* For Safari */
        position: sticky;
        top: 50px;
        z-index: 5;
    }

/*Repeater Fields Same height*/
.parallel-fields .forminator-all-group-copies .forminator-grouped-fields .forminator-row .forminator-field-radio .forminator-field {min-height:280px !important;}


/*Footer*/
.site-footer .textwidget p {color: #ffffff !important;}
.site-footer .ast-footer-copyright p {color: #ffffff !important;}
.site-footer h2.widget-title {color: #ffffff !important;}
.site-footer a.menu-link {color: #ffffff !important;}

.clickable-box {
    cursor: pointer;
}

.clickable-box a {
    display: block;
    text-decoration: none;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #0f2f43;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(15, 47, 67, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    padding: 0 !important;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(15, 47, 67, 0.5);
    background-color: #1a4460;
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.02);
}

/* Arrow Icon */
.back-to-top .arrow-icon {
    color: white;
    position: absolute;
    z-index: 2;
    transition: transform 0.3s ease;
}

.back-to-top:hover .arrow-icon {
    transform: translateY(-3px);
}

/* Progress Ring */
.progress-svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    width: 60px;
    height: 60px;
}

.progress-circle {
    stroke: #3e7795;
    stroke-dasharray: 176; /* 2πr where r=28 */
    stroke-dashoffset: 176;
    transition: stroke-dashoffset 0.1s ease;
    stroke-linecap: round;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .back-to-top .arrow-icon {
        width: 16px;
        height: 16px;
    }

    .progress-svg {
        width: 50px;
        height: 50px;
    }

    .progress-circle {
        cx: 25;
        cy: 25;
        r: 23;
        stroke-dasharray: 144.5;
        stroke-dashoffset: 144.5;
    }
}

.open-user-map .box-wrap .map-wrap .open-add-location-overlay{ width: 150px !important;}
.open-user-map .box-wrap .map-wrap .open-add-location-overlay span.btn_text{ 
	line-height: 20px;
	opacity: 1 !important;
}

.ast-footer-copyright a,
.textwidget a,
.widget.widget_nav_menu a{ color: #FFF !important;}

.ast-footer-copyright a:hover,
.textwidget a:hover,
.widget.widget_nav_menu a:hover{ color: #1f8ea3 !important;}

/* Forms Settings */
.forminator-slider-limit-min,
.forminator-slider-limit-max,
.forminator-slider-limit-between{ color: #000 !important;}

/* Calendar */
.mec-calendar-day,
.mec-previous-month a,
.mec-next-month a,
.mec-event-detail,
.mec-totalcal-view *{ color: #535353 !important;}

.mec-calendar-day.mec-selected-day,
.mec-wrap.colorskin-custom .mec-totalcal-box .mec-totalcal-view span.mec-totalcalview-selected,
.mec-totalcal-view .mec-totalcal-view-selected{ color: #FFF !important;}

.mec-color.mec-table-side-day{ border: 0 !important;}

#greco_ft_grid .greco_ft_num{
  font-size: 90px !important;
  font-weight: 100 !important;
  font-family: "Geologica", sans-serif;
}

Replace the previous CSS with this version:
css/* Prepare header for sticky behavior */
#masthead {
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 999;
    background-color: transparent; /* Start transparent */
}

/* Sticky state styles */
#masthead.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #224f6c; /* Your blue background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
	z-index: 999;
}

/* Optional: Reduce header size when sticky */
#masthead.sticky-header .site-branding img {
    max-height: 50px; /* Adjust based on your logo size */
    transition: max-height 0.3s ease-in-out;
}

/* Slide down animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Add padding to body when header becomes sticky to prevent content jump */
body.header-is-sticky { padding-top: 0;}

body.header-is-sticky .site-primary-header-wrap.site-header-focus-item{ height: 105px !important;}


/* Hover */
.icon-circle {
  position: relative;
  transition: all 0.8s ease-in-out;
  cursor: pointer;
}

.icon-circle::before {
  content: '';
  position: absolute;
  left: -13px;
  border-radius: 50%;
  background: #5F7F8F;
  opacity: 0;
  transition: all 0.8s ease;
}

.icon-circle:hover::before {
  opacity: 1;
  transform: scale(1.1);
}

@media screen and (max-width: 1024px){
	.icon-circle::before { left: -24px;}
	.icon-circle:hover::before { transform: scale(1.25, 1.1);}
}

@media screen and (max-width: 768px){
	.icon-circle::before { 
        left: -24px;
        top: -10px;
    }
	.icon-circle:hover::before { transform: scale(1.2, 1);}
}

/* Individual colors for each icon */
.icon-circle.color-01::before { background: #5A7761; }
.icon-circle.color-02::before { background: #2E6A73; }
.icon-circle.color-03::before { background: #6B7F75; }
.icon-circle.color-04::before { background: #6E767A; }
.icon-circle.color-05::before { background: #9A6B54; }
.icon-circle.color-06::before { background: #3F6F88; }


/* Αλλάζουμε από Grid σε Flex - ΓΙΑ ΟΛΑ */
.icon-circle-inline .e-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 80px !important;
}

/* Αφαιρούμε grid constraints από τα παιδιά */
.icon-circle-inline .e-grid > .e-con {
    grid-column: unset !important;
    grid-row: unset !important;
}

.checkbox-limit-message {
  margin-top: 8px;
  font-size: 13px;
  color: #b32d2e;
}
 
[class*="max-"] input[type="checkbox"]:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
}

.fournoi-header-logos{
	display: flex !important;
}


@media screen and (max-width: 1295px) and (min-width: 1025px) {
	.protovoulia_title h1, .entry-content :where(h1) {
	    font-size: 80px;
	    font-size: 3.444444rem;
	    font-family: 'Manrope', sans-serif;
	    line-height: 1.2em;
	}
	
	.elementor-1098 .elementor-element.elementor-element-513796f::before, 
	.elementor-1098 .elementor-element.elementor-element-513796f > .elementor-background-video-container::before, 
	.elementor-1098 .elementor-element.elementor-element-513796f > .e-con-inner > .elementor-background-video-container::before, 
	.elementor-1098 .elementor-element.elementor-element-513796f > .elementor-background-slideshow::before, 
	.elementor-1098 .elementor-element.elementor-element-513796f > .e-con-inner > .elementor-background-slideshow::before, 
	.elementor-1098 .elementor-element.elementor-element-513796f > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
	    background-color: #00000000;
	    background-image: url("https://fournoi-korseon.grecoisland.gr/wp-content/uploads/2025/12/fournoi-thymaina-background-abstracte.svg");
	    --background-overlay: '';
	    background-position: 55px 0px !important;
	    background-repeat: no-repeat;
	    background-size: cover;
	}
	
	/* Flex direction & centering */
    .fourni-con-boxed .e-con-inner,
    .elementor-element-c9a3d98 .e-con-inner {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .fourni-con-boxed .e-con-inner > *,
    .elementor-element-c9a3d98 .e-con-inner > * {
        width: 85% !important;
        max-width: 100% !important;
    }
	
	/* Background images */
	.fourni-con1, .elementor-1098 .elementor-element.elementor-element-982a2d3:not(.elementor-motion-effects-element-type-background), 
	.fourni-con1, .elementor-1098 .elementor-element.elementor-element-982a2d3 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	    background-image: url(https://fournoi-korseon.grecoisland.gr/wp-content/uploads/2025/12/two-rectangles-blue-colors.webp) !important;
	    background-position: center center !important;
	    background-repeat: no-repeat !important;
	    background-size: contain !important;
	}
	
	.fourni-con1 .elementor-element.elementor-element-982a2d3.e-con-full.e-flex.e-con.e-child {
	    margin-top: 20px;
	    margin-bottom: 60px;
	}


	.fourni-con1,  .elementor-1098 .elementor-element.elementor-element-5dee079 > .elementor-widget-container {
	    margin: 0px 50px 100px 50px !important;
	    padding: 0px 0px 0px 0px !important;
	}
		
	.fourni-con2, .elementor-1098 .elementor-element.elementor-element-6e30369:not(.elementor-motion-effects-element-type-background), 
	.fourni-con2, .elementor-1098 .elementor-element.elementor-element-6e30369 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	    background-image: url(https://fournoi-korseon.grecoisland.gr/wp-content/uploads/2025/12/one-renctangle-one-circle-blue-colors.webp) !important;
	    background-position: center center !important;
	    background-repeat: no-repeat !important;
	    background-size: contain !important;
	}
	
	.fourni-con2, .elementor-1098 .elementor-element.elementor-element-ff0cf93 > .elementor-widget-container {
	    margin: 40px 70px 100px 0px !important;
	    padding: 0px 0px 0px 0px !important;
	}
	
	
	.pilones-stratigikis, .elementor-1098 .elementor-element.elementor-element-5eb8ca4 .elementor-heading-title {
		font-size: 80px;
		-webkit-text-stroke-width: 0.5px;
		stroke-width: 0.5px;
		-webkit-text-stroke-color: #FFFFFF;
		stroke: #FFFFFF;
		color: var(--e-global-color-05a99ee);
	}
}