/* Full Cover Background Logic */
.main-slider__bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	z-index: -2;
	/* Sits behind everything */
}

/* Ensure shapes stay on top of the background but below content */
.main-slider__shape-1,
.main-slider__shape-2,
.main-slider__shape-3 {
	z-index: 1;
}

.main-slider__content {
	z-index: 10;
}

/* Dynamic Text Colors */
.text-light .section-title__title,
.text-light .main-slider__text,
.text-light .section-title__tagline {
	color: #ffffff !important;
}

.text-dark .section-title__title {
	color: var(--sonchoy-black) !important;
}

.text-dark .main-slider__text {
	color: #6a6a6a !important;
}

/* Optional: Add a dark overlay so white text is always readable */
.main-slider__bg::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	/* Adjust 0.3 to make it darker or lighter */
	z-index: 1;
}

.main-slider__shape-1_custom {
	position: absolute;
	top: -10px;
	right: 0;
	opacity: 0.6;
	z-index: -1;
}

.main-slider__shape-1_custom img {
	width: auto;
}

/* top bar  */
/* CSS for the smooth scrolling marquee */
.topbar-marquee-wrapper {
	flex: 1; /* Takes up the available space in the middle */
	overflow: hidden;
	white-space: nowrap;
	margin: 0 20px;
	display: flex;
	align-items: center;
	position: relative;
}

.topbar-marquee-text {
	display: inline-block;
	color: #e66f07; /* Gouna Brand Orange */
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 1px;
	animation: scrollText 20s linear infinite;
}

.topbar-marquee-wrapper:hover .topbar-marquee-text {
	animation-play-state: paused;
}

@keyframes scrollText {
	0% {
		transform: translateX(100%);
	}
	100% {
		transform: translateX(-100%);
	}
}

/* Hide on very small screens to prevent the top bar from breaking */
@media (max-width: 991px) {
	.topbar-marquee-wrapper {
		display: none;
	}
	.right-contact-list {
		justify-content: center !important;
		margin-top: 10px;
	}
	.main-header__top-inner {
		flex-direction: column;
	}
}
