1 Commits

View File

@@ -100,6 +100,133 @@ export default function LandingPage() {
.fade-in {
animation: fadeIn 0.8s ease-out forwards;
}
@keyframes parallaxShift {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-50px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(50px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes scaleUp {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes shimmer {
0% { background-position: -1000px 0; }
100% { background-position: 1000px 0; }
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
}
.features-section {
animation: fadeInUp 1s ease-out forwards;
}
.feature-card {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.feature-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.5s ease;
}
.feature-card:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.feature-card:hover::before {
left: 100%;
}
.testimonial-card {
animation: fadeInUp 0.8s ease-out forwards;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
}
.testimonial-card:hover {
transform: translateY(-12px) rotateX(5deg);
box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.product-card {
animation: scaleUp 0.6s ease-out forwards;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.product-card::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,165,0,0.1));
opacity: 0;
transition: opacity 0.3s ease;
}
.product-card:hover {
transform: translateY(-10px) scale(1.03);
box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.product-card:hover::after {
opacity: 1;
}
.gradient-overlay {
background: linear-gradient(135deg, rgba(139,69,19,0.7), rgba(210,180,140,0.7));
transition: all 0.4s ease;
}
.smooth-transition {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.stagger-delay-1 { animation-delay: 0.1s; }
.stagger-delay-2 { animation-delay: 0.2s; }
.stagger-delay-3 { animation-delay: 0.3s; }
.stagger-delay-4 { animation-delay: 0.4s; }
.stagger-delay-5 { animation-delay: 0.5s; }
`}</style>
<div id="hero-section" data-section="hero-section" className="hero-parallax">
<HeroOverlay
@@ -122,7 +249,7 @@ export default function LandingPage() {
/>
</div>
<div id="about-section" data-section="about-section" className="fade-in-up" style={{ animation: 'fadeInUp 0.8s ease-out' }}>
<div id="about-section" data-section="about-section" className="fade-in-up testimonial-card" style={{ animation: 'fadeInUp 0.8s ease-out' }}>
<TestimonialAboutCard
tag="Our Story"
tagIcon={Sparkles}