/*
Theme Name: Hello Elementor Child
Description: Child theme του Hello Elementor για custom CSS
Author: LEFOS
Template: hello-elementor
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../hello-elementor/style.css");

/* ============================================
   CUSTOM CSS STARTS HERE
   ============================================ */

/* Απόκρυψη "Αρχική" μόνο στην homepage */
.home .menu-item-home {
    display: none !important;
}

/* Hide horizontal overflow for the entire page */
html, body {
   overflow-x: hidden;
}

/* Fix post title overlapping menu */
.single-post .elementor-location-single {
   margin-top: 120px !important;
   z-index: 1 !important;
}

/* Remove gray background from post video container */
.single-post .elementor-widget-container,
.single-post .e-con {
   background-color: transparent !important;
}

/* Ensure header stays on top */
header,
.elementor-location-header {
   z-index: 999 !important;
   position: relative !important;
}

.text-bg, .tabs .e-n-tab-title[aria-selected=true] {
   background: linear-gradient(to right, #BB6FFB 0%, #FC5F67 52%, #FFB054 100%) !important;
   -webkit-background-clip: text !important;
   -webkit-text-fill-color: transparent !important;
}

.font-shadow {
    font-family: "Anek Bangla";
    text-shadow: -2px -2px 0px rgba(59, 167, 235, 0.1); /* Adjust shadow position */
}

/* Rounded button with gradient border */
.btn-black {
   border-radius: 100px;
   background: linear-gradient(to right, #BB6FFB 0%, #FC5F67 52%, #FFB054 100%);
   padding: 2px;
}
.btn-LEF .elementor-button:hover, .form .metform-btn:hover {
   background: linear-gradient(to right, #BB6FFB 30%, #FC5F67 80%, #FFB054 100%);
}
/* Alternative gradient background for hover effects and active states */
.text-bg-2, .menu-item .active, .menu-item a:hover, .blog a:hover, .footer-menu-item a:hover {
   background-image: -webkit-linear-gradient(45deg, #FF3BCE 0%, #3BA7EB 100%);
   background-clip: text;
   -webkit-background-clip: text;
   text-fill-color: transparent;
   -webkit-text-fill-color: transparent;
}


/* Social media icon style with gradient background and rounded shape */
.social .elementor-grid-item {
   padding: 1px;
   border-radius: 100%;
   background: linear-gradient(to right, #BB6FFB 0%, #FC5F67 52%, #FFB054 100%);
}

/* ========================================
   MARQUEE STYLING (Pure CSS Animation)
   ======================================== */

/* Marquee container - Full width */
.marquee-content,
.marquee-right {
   overflow: hidden !important;
   position: relative !important;
}

/* Parent section full width */
.marquee-content .elementor-column,
.marquee-right .elementor-column {
   width: 100% !important;
}

/* Marquee animation - Left scroll */
.marquee-content .elementor-widget-container,
.marquee-content .elementor-icon-list-items {
   display: inline-flex !important;
   width: max-content !important;
   animation: marqueeLeft 30s linear infinite !important;
   white-space: nowrap !important;
   will-change: transform !important;
   flex-wrap: nowrap !important;
   align-items: center !important;
}

/* Marquee animation - Right scroll */
.marquee-right .elementor-widget-container,
.marquee-right .elementor-icon-list-items {
   display: inline-flex !important;
   width: max-content !important;
   animation: marqueeRight 30s linear infinite !important;
   white-space: nowrap !important;
   will-change: transform !important;
   flex-wrap: nowrap !important;
   align-items: center !important;
}

/* Keyframes for left scroll */
@keyframes marqueeLeft {
   0% { 
      transform: translateX(0);
   }
   100% { 
      transform: translateX(-50%);
   }
}

/* Keyframes for right scroll */
@keyframes marqueeRight {
   0% { 
      transform: translateX(-50%);
   }
   100% { 
      transform: translateX(0);
   }
}

/* Marquee content size control */
.marquee-content .elementor-icon-list-text,
.marquee-right .elementor-icon-list-text {
   font-size: 24px !important;
}

/* Stroke effect on text within icon lists */
.marquee-content .elementor-icon-list-text {
   -webkit-text-stroke: 1px #02050a;
}

/* Icon spacing in marquee */
.marquee-content .elementor-icon-list-item,
.marquee-right .elementor-icon-list-item {
   margin-right: 40px !important;
   display: inline-flex !important;
   flex-shrink: 0 !important;
   white-space: nowrap !important;
}

/* OLD CSS ANIMATION - DISABLED (Now using JavaScript)
.marquee-content .elementor-widget-container,
.marquee-content .elementor-icon-list-items {
   display: inline-flex !important;
   width: max-content !important;
   animation: marquee 30s linear infinite !important;
   animation-play-state: running !important;
   white-space: nowrap !important;
   will-change: transform !important;
   padding-right: 0 !important;
}


/* Stroke effect on text within icon lists 
.marquee-content .elementor-icon-list-text {
   -webkit-text-stroke: 1px #02050a;
}


/* Keyframes for marquee animation 
@keyframes marquee {
   0% { 
      transform: translateX(0); 
      -webkit-transform: translateX(0);
   }
   100% { 
      transform: translateX(-50%); 
      -webkit-transform: translateX(-50%);
   }
}


/* Reverse marquee animation for right-to-left scrolling 
.marquee-right .elementor-widget-container,
.marquee-right .elementor-icon-list-items {
   display: inline-flex !important;
   width: max-content !important;
   animation: marquee-right 30s linear infinite !important;
   animation-play-state: running !important;
   white-space: nowrap !important;
   will-change: transform !important;
}


@keyframes marquee-right {
   0% { 
      transform: translateX(-50%); 
      -webkit-transform: translateX(-50%);
   }
   100% { 
      transform: translateX(0); 
      -webkit-transform: translateX(0);
   }
}



/* ========================================
   MARQUEE ANIMATION - NOW HANDLED BY JS
   (Keeping only the stroke effect)
   ======================================== */

/* Stroke effect on text within icon lists 
.marquee-content .elementor-icon-list-text {
   -webkit-text-stroke: 1px #02050a;
}

/* OLD CSS ANIMATION - DISABLED (Now using JavaScript)
.marquee-content,
.marquee-right {
   overflow: hidden !important;
   position: relative !important;
}

.marquee-content .elementor-widget-container,
.marquee-content .elementor-icon-list-items {
   display: inline-flex !important;
   width: max-content !important;
   animation: marquee 30s linear infinite !important;
   animation-play-state: running !important;
   white-space: nowrap !important;
   will-change: transform !important;
   padding-right: 0 !important;
}

@keyframes marquee {
   0% { 
      transform: translateX(0); 
      -webkit-transform: translateX(0);
   }
   100% { 
      transform: translateX(-50%); 
      -webkit-transform: translateX(-50%);
   }
}

.marquee-right .elementor-widget-container,
.marquee-right .elementor-icon-list-items {
   display: inline-flex !important;
   width: max-content !important;
   animation: marquee-right 30s linear infinite !important;
   animation-play-state: running !important;
   white-space: nowrap !important;
   will-change: transform !important;
}

@keyframes marquee-right {
   0% { 
      transform: translateX(-50%); 
      -webkit-transform: translateX(-50%);
   }
   100% { 
      transform: translateX(0); 
      -webkit-transform: translateX(0);
   }
}
*/




/* ========================================
   BUTTONS
   ======================================== */

/* Large, centered button with responsive size */
.btn-h .elementor-button {
   height: 156px;
   width: 156px;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
}


.btn-h .elementor-button-content-wrapper {
   display: inline-block;
}


/* Adjust button size on smaller screens */
@media (max-width: 1024px) {
   .btn-h .elementor-button {
       height: 120px;
       width: 120px;
   }
}


/* Gradient border for selected tabs and focused form inputs */
.tabs .e-n-tabs-heading > .e-n-tab-title[aria-selected="true"],
.form .mf-input:focus {
   border-color: white !important;
   border-image-slice: 1;
   border-image-source: linear-gradient(to left, #BB6FFB 0%, #FC5F67 52%, #FFB054 100%);
}


/* Gradient border for price boxes and buttons */
.price-box .divider .elementor-divider-separator,
.btn-border-gradient .elementor-button {
   border-color: white !important;
   border-image-slice: 1;
   border-image-source: linear-gradient(to right, #FF3BCE 0%, #3BA7EB 100%) !important;
}
/* Button with a gradient border */
.btn-border-gradient {
   border-radius: 100px;
   background: linear-gradient(to left, #FF3BCE 0%, #3BA7EB 100%);
}
/* Hover effect for price boxes and form inputs */
.price-box:hover, .form .mf-input:focus {
   border-image-slice: 1;
   border-image-source:  linear-gradient(to right, #BB6FFB 0%, #FC5F67 52%, #FFB054 100%) !important;
}


/* Text with a gradient effect for buttons and form inputs */
.btn-text-gradient .elementor-button-text,
.form .mf-input:focus {
   background-image: linear-gradient(to right, #BB6FFB 0%, #FC5F67 52%, #FFB054 100%) !important;
   background-clip: text;
   -webkit-background-clip: text;
   text-fill-color: transparent;
   -webkit-text-fill-color: transparent;
}
/* Hover effect: change text to white */
.btn-text-gradient:hover .elementor-button-text {
   background-image: none;
   background-color: transparent;
   -webkit-text-fill-color: white;
}

/* ========================================
   POST CONTENT STYLING
   ======================================== */

/* Remove gray background from post content containers */
.single-post .elementor-widget-container,
.single-post .e-con,
.single-post .elementor-container,
.single-post .elementor-widget-video,
.single-post .elementor-video-wrapper {
   background-color: transparent !important;
   background: none !important;
}

/* Specific for video containers */
.single-post .jeg-elementor-kit.jkit-video-button,
.single-post .elementor-video-container,
.single-post .elementor-custom-embed-image-overlay {
   background-color: transparent !important;
   background: none !important;
}

/* Remove any default backgrounds from all post containers */
.single-post .e-con-inner,
.single-post .elementor-column-wrap,
.single-post .elementor-widget-wrap {
   background-color: transparent !important;
   background: none !important;
}


/* Blog images with fixed height and centered content */
.blog img {
   height: 203px !important;
   object-fit: cover;
   object-position: center;
}


/* Blog entry titles with ellipsis overflow and line clamp */
.blog .entry-title {
   color: white;
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* Limit to 2 lines */
   -webkit-box-orient: vertical;
}


/* Blog button with gradient text */
.blog .elementskit-btn {
   background-image: linear-gradient(to left, #FF3BCE 0%, #3BA7EB 100%);
   background-clip: text;
   -webkit-background-clip: text;
   text-fill-color: transparent;
   -webkit-text-fill-color: transparent;
}