: root{ --primary: #0f172a; --secondary: #1e293b; --accent: #38bdf8; --accent-light: #7dd3fc; --white: #ffffff; --light: #f1f5f9; --gray: #94a3b8; --dark-gray: #64748b; --space-sm: 0.5rem; --space-md: 1rem; --space-lg: 2rem; --space-xl: 3rem; --border-radius: 6px; --transition: all 0.3s ease; --header-height-desktop: 80px; --header-height-mobile: 60px; }
.btn{ display: inline-block; padding: 0.8rem 1.8rem; border-radius: var(--border-radius); font-weight: 600; transition: var(--transition); text-decoration: none; cursor: pointer; text-align: center; border: none; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }
.btn-primary{ background-color: var(--accent); color: var(--primary); }
.btn-primary: hover, .btn-primary: focus{ background-color: var(--accent-light); color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
.product-showcase{ position: relative; width: 100%; min-height: 400px; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: var(--white); display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: calc(var(--header-height-desktop) + var(--space-md)); padding-bottom: calc(var(--space-lg) + 30px); box-shadow: inset 0 -8px 20px rgba(0, 0, 0, 0.25); /* background-image: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%), url('/images/noise.png'); */}
.showcase-slide{ position: absolute; top: calc(var(--header-height-desktop) + var(--space-md)); left: 0; width: 100%; height: calc(100% - var(--header-height-desktop) - var(--space-md) - var(--space-lg) - 20px); display: flex; align-items: center; justify-content: space-around; padding: var(--space-md) var(--space-xl); opacity: 0; transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out; transform: translateX(30px); z-index: 1; gap: var(--space-lg); }
.showcase-slide: not(.active){ /* If you want previous slides to slide out left, you'd need JS to add a classExample: JS adds 'exiting-left' which sets transform: translateX(-30px); */transform: translateX(30px); }
.showcase-slide.active{ opacity: 1; transform: translateX(0); z-index: 2; }
.showcase-content{ flex: 1; max-width: 550px; z-index: 1; position: relative; }
.showcase-slide.active .showcase-content h2, .showcase-slide.active .showcase-content h3{ animation: fadeInDownBanner 0.7s ease-out 0.3s backwards; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); }
.showcase-slide.active .showcase-content p{ animation: fadeInUpBanner 0.7s ease-out 0.5s backwards; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); }
.showcase-slide.active .showcase-content .btn{ animation: fadeInUpBanner 0.7s ease-out 0.7s backwards; }
.showcase-slide.active .showcase-image{ animation: zoomInBanner 0.9s ease-out 0.4s backwards; }
.showcase-content h2, .showcase-content h3{ font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: var(--space-sm); font-weight: 700; color: var(--white); line-height: 1.25; }
.showcase-content p{ font-size: clamp(1rem, 2.5vw, 1.15rem); margin-bottom: var(--space-md); color: var(--light); line-height: 1.65; max-width: 500px; }
/* .showcase-content .btn-primary{ Keep the default .btn-primary look defined above for consistencyor redefine specifically if needed}
*/.showcase-image{ flex: 0 1 45%; max-width: 450px; display: flex; justify-content: center; align-items: center; }
.showcase-image img{ max-width: 100%; height: auto; display: block; border-radius: 8px; filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3)); }
/* .showcase-image: hover img{ transform: scale(1.03); }
*/.showcase-slide > .showcase-content, .showcase-slide > .showcase-image{ margin-top: -15px; }
.showcase-dots{ position: absolute; bottom: var(--space-md); left: 50%; transform: translateX(-50%); display: flex; gap: calc(var(--space-sm) + 2px); z-index: 3; padding: 0; margin: 0; }
.carousel-indicators{ position: absolute !important; bottom: 20px !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; justify-content: center !important; gap: 8px !important; z-index: 3 !important; padding: 0 !important; margin: 0 !important; width: auto !important; }
.carousel-indicators button{ width: 8px !important; height: 8px !important; border-radius: 50% !important; background-color: rgba(255, 255, 255, 0.4) !important; border: none !important; cursor: pointer !important; transition: all 0.3s ease !important; padding: 0 !important; margin: 0 4px !important; text-indent: 0 !important; min-width: auto !important; min-height: auto !important; }
.carousel-indicators button: hover{ background-color: rgba(255, 255, 255, 0.7) !important; transform: scale(1.2) !important; }
.carousel-indicators button.active{ background-color: var(--white) !important; transform: scale(1.3) !important; border: none !important; }
.showcase-dot{ width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.4); cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; padding: 0; border: 1px solid rgba(255, 255, 255, 0.5); font-size: 0; }
.showcase-dot: hover{ background-color: rgba(255, 255, 255, 0.7); transform: scale(1.1); }
.showcase-dot.active{ background-color: var(--white); transform: scale(1.2); border: none; }
.showcase-dot: focus{ outline: 2px solid var(--accent-light); outline-offset: 3px; }
.showcase-dot: focus: not(: focus-visible){ outline: none; }
@keyframes fadeInDownBanner{ from{ opacity: 0; transform: translateY(-25px); }
to{ opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUpBanner{ from{ opacity: 0; transform: translateY(25px); }
to{ opacity: 1; transform: translateY(0); }
}
@keyframes zoomInBanner{ from{ opacity: 0; transform: scale(0.95); }
to{ opacity: 1; transform: scale(1); }
}
@media (max-width: 768px){ .product-showcase{ padding-top: calc(var(--header-height-mobile) + var(--space-sm)); min-height: 480px; padding-bottom: calc(var(--space-lg) + 15px); }
.showcase-slide{ flex-direction: column; text-align: center; top: calc(var(--header-height-mobile) + var(--space-sm)); height: calc(100% - var(--header-height-mobile) - var(--space-sm) - var(--space-lg) - 15px); padding: var(--space-md); justify-content: center; gap: var(--space-md); }
.showcase-content{ max-width: 100%; order: 2; margin-top: 0; }
.showcase-image{ order: 1; flex-basis: auto; max-width: 70%; margin-bottom: 0; width: auto; margin-top: -10px; }
.showcase-content h2, .showcase-content h3{ font-size: 1.7rem; }
.showcase-content p{ font-size: 1rem; max-width: 90%; margin-left: auto; margin-right: auto; }
.showcase-content .btn{ padding: 0.7rem 1.5rem; }
.showcase-dots{ bottom: 10px; }
}
#slide-1 .showcase-image{ max-width: 780px; margin-top: -50px; }
@media (max-width: 768px){ #slide-1 .showcase-image{ max-width: 100%; margin-top: -50px; }
}
#slide-2 .showcase-image{ max-width: 325px; margin-top: -55px; }
@media (max-width: 768px){ #slide-2 .showcase-image{ max-width: 50%; margin-top: -50px; }
}
#slide-3 .showcase-image{ max-width: 450px; margin-top: -35px; }
#slide-3 .showcase-content{ margin-top: 10px; }
@media (max-width: 768px){ #slide-3 .showcase-image{ max-width: 60%; margin-top: -30px; }
#slide-3 .showcase-content{ margin-top: 0; }
}
