/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
 * =============================================
 * CONTENTS
 * =============================================
 *
 * 1.  GLOBAL & REUSABLE STYLES
 * - Glassmorphism Effect
 * 2.  HEADER & NAVIGATION
 * - Sticky Header Logic
 * 3.  CONTENT CARDS & BOXES
 * - Oferta Box
 * - Card Format
 * 4.  BUTTON STYLES
 * - Principal & Secundar Buttons
 * 5.  FOOTER
 * 6.  PLUGIN & WIDGET STYLES
 * 7.  MEDIA QUERIES (RESPONSIVE)
 *
 * =============================================
 */


/*
 * ---------------------------------------------
 * 1. GLOBAL & REUSABLE STYLES
 * ---------------------------------------------
 */

/* Common Glassmorphism Effect */
.oferta-box,
.card-format,
.avwp-av,
.pn-wrapper,
.box-footer,
.menu_principal_app .elementor-nav-menu--dropdown {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
 /* backdrop-filter: blur(12px); */
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.menu_principal .elementor-nav-menu::before {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, rgb(255 255 255 / 23%), rgb(255 255 255 / 0%));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 0;
    transition: all 0.35s ease;
    opacity: 0; /* Controlled by JS */
}


/*
 * ---------------------------------------------
 * 2. HEADER & NAVIGATION
 * ---------------------------------------------
 */

/* Sticky Header Logic */
header {
  z-index: 1000;
  transition: transform 0.4s ease-in-out;
}

header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-100%);
}

header.is-sticky.is-visible {
  transform: translateY(0);
}

header.is-sticky .elementor-widget-theme-site-logo img {
  width: 70px;
  height: 70px;
}

/* Desktop Menu Styles */
@media only screen and (min-width: 1025px) {
  .menu_principal .elementor-nav-menu,
  .menu_principal_app nav {
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  }

  .menu_principal .elementor-nav-menu li {
    position: relative;
    z-index: 1;
    transition: transform 250ms ease;
  }

  .menu_principal .elementor-nav-menu li:hover {
    transform: scale(1.05);
  }

  .menu_principal_app .elementor-nav-menu--dropdown {
    border-radius: 25px;
    padding-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18) !important; /* Note: !important used here */
  }
}


/*
 * ---------------------------------------------
 * 3. CONTENT CARDS & BOXES
 * ---------------------------------------------
 */

/* Oferta Box */
.oferta-box {
  border-radius: 25px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.oferta-box:hover {
  transform: scale(1.05);
  z-index: 999;
}

.oferta-box .oferta-principala h1 {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  /* backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  */
border-radius: 15px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18) !important; /* Note: !important used here */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.oferta-box .detalii-oferta ul {
  padding: 0;
}

.oferta-box .detalii-oferta li {
  position: relative;
  list-style-type: none;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.oferta-box .detalii-oferta li:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: -2px;
  width: 8px;
  height: 14px;
  border-width: 0 2px 2px 0;
  border-style: solid;
  border-color: green;
  transform-origin: bottom left;
  transform: rotate(45deg);
}

/* Card Format */
.card-format {
  border-radius: 25px;
  /* Specific gradient override */
  background: linear-gradient(135deg, rgb(255 200 57 / 12%), rgba(255, 255, 255, 0));
}


/*
 * ---------------------------------------------
 * 4. BUTTON STYLES
 * ---------------------------------------------
 */

/* Base button styles */
.btn-principal a,
.btn-secundar a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px; /* Set a fixed height */
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 30px;
  padding: 10px;
  color: #fff;
  letter-spacing: 1px;
  text-decoration: none;
  overflow: hidden;
  font-weight: 400;
  z-index: 1;
  transition: 0.5s;
  /* backdrop-filter: blur(15px); */
}

.oferta-box .btn-secundar {
  opacity: 0.8;
}

/* Principal Button - Hover Effects */
.btn-principal:hover a {
  letter-spacing: 2px;
}

.btn-principal a::before , .btn-secundar a::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(45deg) translate(0);
  transition: 0.5s;
}

.btn-principal:hover a::before, .btn-secundar:hover a::before {
  transform: skewX(45deg) translate(200px);
}

.btn-principal a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 15%;
  width: 90%;
  height: 70%;
  background: #FFC42D;
  border-radius: 30px;
  transition: 0.5s;
	z-index: -1;
}


/*
 * ---------------------------------------------
 * 5. FOOTER
 * ---------------------------------------------
 */

.box-footer {
  border-radius: 25px 25px 0 0;
  margin-bottom: -5px;
}


/*
 * ---------------------------------------------
 * 6. PLUGIN & WIDGET STYLES
 * ---------------------------------------------
 */

.avwp-av {
  border-radius: 25px;
}

.avwp-av h2 {
  font-size: 24px;
  margin: 0;
  padding: 0;
}

.avwp-av p {
  font-size: 22px;
  margin-bottom: 20px;
}

.pn-wrapper {
  border-radius: 25px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1) !important;
}

.pn-wrapper .btn.act {
  color: var(--e-global-color-primary) !important;
}

.offer-of-the-day-box {
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
	padding: 40px;
}

.offer-of-the-day-box img {
	max-width: 200px;
}

.offer-of-the-day-box h3 {
	margin: 0;
	margin-left: auto;
}

.offer-of-the-day-box .offer-buttons {
	display: flex;
    gap: 10px;
    margin-left: 40px; 
}

.offer-of-the-day-box .offer-buttons a {
	padding: 10px 30px;
}

.offer-of-the-day-box {
  position: relative;
}
.offer-of-the-day-box {
  background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;
	border-radius: 25px;
}


@keyframes animatedgradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}





/* Container for the floating elements */
.floating-elements-container {
    position: fixed; /* Stays in place when scrolling */
    top: 0;
    left: 0;
    width: 100%;
	opacity: 0.2;
    height: 100%;
    z-index: -1; /* Crucial: Puts it behind all other content */
    pointer-events: none; /* Allows clicks to go through to the content */
    overflow: hidden; /* Hides elements that might go off-screen */
}

/* --- Assign your images/SVGs to each element --- */
/* Replace with the correct paths to your images in the Media Library */
.floating-element:nth-of-type(1) { background-image: url('/wp-content/uploads/2023/03/124_2-clubs.png'); }
.floating-element:nth-of-type(2) { background-image: url('/wp-content/uploads/2023/03/124_4-decor-2.png'); }
.floating-element:nth-of-type(3) { background-image: url('/wp-content/uploads/2023/03/124_4-decor.png'); }
.floating-element:nth-of-type(4) { background-image: url('/wp-content/uploads/2023/02/new-deco-img-1.png'); }
.floating-element:nth-of-type(5) { background-image: url('/wp-content/uploads/2023/02/new-deco-img-8.png'); }
.floating-element:nth-of-type(6) { background-image: url('/wp-content/uploads/2023/02/new-deco-img-7.png'); }
.floating-element:nth-of-type(7) { background-image: url('/wp-content/uploads/2023/02/new-deco-img-12.png'); }
.floating-element:nth-of-type(8) { background-image: url('/wp-content/uploads/2023/03/124_2-clubs.png'); }


/* Individual floating element styling */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    transform: scale(var(--random-scale, 1));
    animation: floatAnimation infinite alternate;
}

/* The keyframe animation for the floating effect */
@keyframes floatAnimation {
    from {
        /* UPDATED: Combine the scale variable with the translation */
        transform: scale(var(--random-scale, 1)) translateY(-25px); 
    }
    to {
        /* UPDATED: Combine the scale variable with the translation */
        transform: scale(var(--random-scale, 1)) translateY(25px);  
    }
}





.live-stats-box {
    position: fixed;
    bottom: 20px;
    z-index: 12;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 0px 0px 0px 12px;
	transition: all 300ms;
}
.live-stats-box .bold {
	font-weight: bold;
	color: white;
}
.live-stats-box:hover {
	transform: scale(1.02);
}
.live-stats-box .live-indicator-wrapper {
	display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 10px;
}
.live-stats-box .live-indicator-wrapper .live-indicator {
	border-radius: 50%;
	background: red;
	height: 15px;
	width: 15px;
	display: block;
	
	/* Add the animation here */
	box-shadow: 0 0 0 0 rgba(255, 0, 0, 1);
	transform: scale(1);
	animation: pulse 2s infinite;
}

/* Define the animation keyframes */
@keyframes pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
	}
}
.live-stats-box .stats-container {
	display: flex;
    gap: 10px;
	background: #ffffff47;
    border-radius: 50px;
    padding: 8px 12px;
}





/*
 * ---------------------------------------------
 * 7. MEDIA QUERIES (RESPONSIVE)
 * ---------------------------------------------
 */

@media only screen and (max-width: 1024px) {
  /* Mobile Menu Glass Effect */
  .elementor-menu-toggle,
  ul li a.elementor-item.elementor-item-anchor.has-submenu,
  nav.elementor-nav-menu--dropdown ul.elementor-nav-menu,
  nav.elementor-nav-menu--main ul ul.sub-menu.elementor-nav-menu--dropdown {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    border-radius: 25px !important;
  }
	
nav.elementor-nav-menu--main ul ul.sub-menu.elementor-nav-menu--dropdown {
    position: absolute;
  }

  .elementor-nav-menu--dropdown {
    padding: 10px;
  }

  .oferta-box .btn-secundar a {
    height: 50px;
  }
	.offer-of-the-day-box {
		flex-direction: column;
		padding: 20px;
		gap: 10px;
		text-align: center;
	}
	.offer-of-the-day-box .offer-buttons {
		margin-left: 0;
	}
	.offer-of-the-day-box .offer-title {
		font-size: 20px;
	}
	.parent-offer-of-the-day-box {
		padding: 10px;
	}
}










:root {
  /* --- Dark, rich background (unchanged) --- */
  --color-bg1: rgb(0, 0, 0);
  --color-bg2: rgb(18, 10, 2);

  /* --- Muted golds and a cool grey accent --- */
  --color1: 190, 150, 45;   /* Muted old gold */
  --color2: 160, 115, 30;   /* Darker, desaturated bronze */
  --color3: 140, 140, 150;  /* A cool, smoky grey to break up the warmth */
  --color4: 155, 120, 50;   /* A subtle, brownish-gold */
  --color5: 180, 145, 80;   /* A soft, tan-gold */

  /* --- A gentle, sand-colored interactive blob --- */
  --color-interactive: 210, 190, 140;
  
  /* --- General settings --- */
  --circle-size: 40%;
  --blending: soft-light;  /* 'soft-light' is much gentler than 'overlay' */
}

@-webkit-keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}
@keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}
@-webkit-keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }
  50% {
    transform: translateX(50%) translateY(10%);
  }
  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}
@keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }
  50% {
    transform: translateX(50%) translateY(10%);
  }
  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}
.gradient-bg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  overflow: hidden;
  background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
  top: 0;
  left: 0;
	z-index: -1;
	opacity: 0.3;
}
.gradient-bg svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}
.gradient-bg .gradients-container {
  filter: url(#goo) blur(40px);
  width: 100%;
  height: 100%;
}
.gradient-bg .g1 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: center center;
  -webkit-animation: moveVertical 30s ease infinite;
          animation: moveVertical 30s ease infinite;
  opacity: 0.7;
}
.gradient-bg .g2 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
  opacity: 0.7;
}
.gradient-bg .g3 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2 + 200px);
  left: calc(50% - var(--circle-size) / 2 - 500px);
  transform-origin: calc(50% + 400px);
  -webkit-animation: moveInCircle 40s linear infinite;
          animation: moveInCircle 40s linear infinite;
 opacity: 0.7;
}
.gradient-bg .g4 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: calc(50% - 200px);
  -webkit-animation: moveHorizontal 40s ease infinite;
          animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}
.gradient-bg .g5 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: calc(var(--circle-size) * 2);
  height: calc(var(--circle-size) * 2);
  top: calc(50% - var(--circle-size));
  left: calc(50% - var(--circle-size));
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  -webkit-animation: moveInCircle 20s ease infinite;
          animation: moveInCircle 20s ease infinite;
  opacity: 0.7;
}
.gradient-bg .interactive {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;
  opacity: 0.7;
}


.detalii-oferta {
    opacity: 0.8;
}

ul.sub-menu.elementor-nav-menu--dropdown.sm-nowrap {
    z-index: 999;
}


