/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* Global Font: Lexend */
:root {
	--font-main: 'Lexend', sans-serif;
}

body, html {
	font-family: var(--font-main), sans-serif !important;
}

/* Ensure icons use their proper font families */
i[class^="icon-"],
i[class*=" icon-"],
.fab, .fas, .far, .fal, .fad {
	font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", "font-icons", "Simple-Line-Icons" !important;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-main), sans-serif !important;
}

.menu-link, .button, .btn, a, p, span, div {
	font-family: var(--font-main), sans-serif !important;
}

.menu-item:hover>.menu-link,
.menu-item.current>.menu-link {
	color: #F4D03F;
	font-weight: bold !important;
}

#footer {
	background: #F4D03F;
}

ul.icons-list {
	list-style: none;
}

ul.icons-list li{
	margin-bottom: 20px;
	font-size: 18px;
}

ul.icons-list li i{
	color: #7CB342;
	margin-right: 5px;
}

#page-title h1{
	font-size: 3.5rem;
}

/* Page Title - Always at bottom of stacking order */
#page-title {
	position: relative;
	z-index: 1 !important;
}

/* Ensure page-title section content doesn't block other elements */
#page-title .container {
	position: relative;
	z-index: 1;
}

/* Keep header & language dropdown always above page-title */
#header,
#header-wrap {
	z-index: 5000 !important;
}

.language-switcher {
	z-index: 6000 !important;
}

.language-dropdown {
	z-index: 7000 !important;
}
.mobile-padding .card-body h4{
	min-height: 50px;
}
.mobile-padding .card-body a {
	white-space: normal;
}
@media(max-width: 767px){
	.mobile-padding .card-body h4{
		min-height: 80px;
	}
	.mobile-padding{
		padding: 0 5px;
	}

}

/* ============================================
   INTERACTIVE FEATURES & ANIMATIONS
   ============================================ */

/* Scroll Animations */
.fade-in-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.animate-on-scroll {
	opacity: 0;
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-in {
	opacity: 1;
}

/* Stagger Animation */
.stagger-item {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.animate-in {
	opacity: 1;
	transform: translateY(0);
}

/* Card Interactive Effects */
.card, .product-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	will-change: transform;
}

.card:hover, .product-card:hover {
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-img-top {
	transition: transform 0.5s ease;
	overflow: hidden;
}

.card:hover .card-img-top {
	transform: scale(1.05);
}

/* Disable interactive effects in Taste Profile section */
#products .row:has([data-translate="products.taste.title"]) .card,
#products .row:has([data-translate="products.taste.title"]) .card-img-top {
	transform: none !important;
	transition: none !important;
}

#products .row:has([data-translate="products.taste.title"]) .card:hover {
	transform: none !important;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

#products .row:has([data-translate="products.taste.title"]) .card:hover .card-img-top {
	transform: none !important;
}

/* Fallback for browsers that don't support :has() */
#products .taste-profile-section .card,
#products .taste-profile-section .card-img-top {
	transform: none !important;
	transition: none !important;
}

#products .taste-profile-section .card:hover {
	transform: none !important;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

#products .taste-profile-section .card:hover .card-img-top {
	transform: none !important;
}

/* Ripple Effect */
.ripple {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	transform: scale(0);
	animation: ripple-animation 0.6s ease-out;
	pointer-events: none;
}

@keyframes ripple-animation {
	to {
		transform: scale(4);
		opacity: 0;
	}
}

/* Button Interactive Effects */
.button, .btn {
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.button:hover, .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(244, 208, 63, 0.4);
}

.button:active, .btn:active {
	transform: translateY(0);
}

/* Feature Icons Animation */
.feature-item i, .icon-check-circle {
	transition: transform 0.3s ease, color 0.3s ease;
	display: inline-block;
}

.feature-item:hover i, .feature-item:hover .icon-check-circle {
	color: #F4D03F !important;
}

/* Floating Animation */
@keyframes float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

.contact-bubble {
	animation: float 3s ease-in-out infinite;
}

/* Parallax Background */
.parallax-bg {
	position: relative;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Navbar Scroll Effect */
#header {
	transition: all 0.3s ease;
}

#header.scrolled {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header.scrolled .menu-link {
	color: #333;
}

#header.scrolled .menu-link:hover {
	color: #F4D03F;
}

/* Product Gallery Interactive */
.product-thumb, .gallery-item img {
	transition: transform 0.3s ease, filter 0.3s ease;
	cursor: pointer;
}

.product-thumb:hover, .gallery-item:hover img {
	transform: scale(1.1);
	filter: brightness(1.1);
}

/* Process Steps Interactive */
.process-step {
	transition: all 0.3s ease;
	position: relative;
}

.process-step:hover {
	transform: translateY(-5px);
}

.process-step::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(244, 208, 63, 0.1), rgba(124, 179, 66, 0.1));
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: 10px;
}

.process-step:hover::before {
	opacity: 1;
}

/* Video Interactive */
video {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

video:hover {
	transform: scale(1.02);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Hero Text Animation */
.hero-text {
	animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Loading State */
/* Allow scrolling immediately; only prevent horizontal overflow before load */
body:not(.loaded) {
	overflow-x: hidden;
}


/* Smooth Scroll */
html {
	scroll-behavior: smooth;
}

/* Interactive Hover States */
a {
	transition: color 0.3s ease;
}

a:hover {
	color: #F4D03F;
}

/* Section Transitions */
.section {
	transition: opacity 0.6s ease;
}

/* Image Zoom Container */
.card, .gallery-item {
	overflow: hidden;
}

/* Text Reveal Animation */
.text-reveal {
	overflow: hidden;
}

.text-reveal span {
	display: inline-block;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.text-reveal.animate-in span {
	opacity: 1;
	transform: translateY(0);
}

/* Pulse Animation for CTA Buttons */
@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.button.button-xlarge:hover {
	animation: pulse 2s infinite;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
	.card:hover {
		transform: none;
	}
	
	.parallax-bg {
		background-attachment: scroll;
	}
	
	#header.scrolled {
		background: rgba(255, 255, 255, 0.98);
	}
}

/* Accessibility - Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	
	html {
		scroll-behavior: auto;
	}
}