Files
REXNT/src/Components/Sections/Services/Services.jsx

140 lines
6.4 KiB
React
Raw Normal View History

2026-01-09 19:24:08 +03:00
import React from "react";
2026-01-12 15:27:19 +03:00
import { Wallet, Zap, Users, PieChart, Sparkles } from "lucide-react";
import { useTranslation } from "react-i18next";
2025-12-23 17:09:40 +03:00
const Services = () => {
2026-01-12 15:27:19 +03:00
const { t } = useTranslation();
2026-01-09 19:24:08 +03:00
const features = [
2025-12-23 17:09:40 +03:00
{
2026-01-09 19:24:08 +03:00
id: 1,
icon: <Wallet className="w-8 h-8" />,
2026-01-12 15:27:19 +03:00
title: t("services.features.industrial.title"),
description: t("services.features.industrial.description"),
2025-12-23 17:09:40 +03:00
},
{
2026-01-09 19:24:08 +03:00
id: 2,
2025-12-23 17:09:40 +03:00
icon: <Zap className="w-8 h-8" />,
2026-01-12 15:27:19 +03:00
title: t("services.features.residential.title"),
description: t("services.features.residential.description"),
2025-12-23 17:09:40 +03:00
},
{
2026-01-09 19:24:08 +03:00
id: 3,
icon: <Users className="w-8 h-8" />,
2026-01-12 15:27:19 +03:00
title: t("services.features.infrastructure.title"),
description: t("services.features.infrastructure.description"),
2025-12-23 17:09:40 +03:00
},
{
2026-01-09 19:24:08 +03:00
id: 4,
icon: <PieChart className="w-8 h-8" />,
2026-01-12 15:27:19 +03:00
title: t("services.features.maintenance.title"),
description: t("services.features.maintenance.description"),
2025-12-23 17:09:40 +03:00
},
];
return (
2026-01-12 16:46:00 +03:00
<section id="services" >
2026-01-12 15:27:19 +03:00
<div className="min-h-screen bg-transparent font-sans overflow-hidden relative" dir="rtl">
2026-01-09 19:24:08 +03:00
<div className="min-h-screen bg-transparent font-sans overflow-hidden relative">
<div className="absolute inset-0 z-0 overflow-hidden">
<div className="absolute inset-0 bg-transparent"></div>
</div>
<div className="relative z-10 flex flex-col lg:flex-row min-h-screen items-center">
2026-01-12 15:27:19 +03:00
<div className="flex flex-col justify-center max-h-screen">
2026-01-09 19:24:08 +03:00
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 md:gap-10 max-w-4xl mx-auto p-6">
{features.map((feature) => (
<div
key={feature.id}
className="group relative overflow-hidden"
>
<div className="absolute inset-0 bg-gradient-to-br from-white to-[#47718b] rounded-2xl shadow-lg group-hover:shadow-2xl transition-all duration-500 border border-gray-200 group-hover:border-[#47718b]"></div>
<div className="relative p-6 z-10">
2026-01-12 15:27:19 +03:00
<div className="flex items-start space-x-5 rtl:space-x-reverse">
2026-01-09 19:24:08 +03:00
<div className="p-3 bg-gradient-to-br from-white to-[#47718b] rounded-xl group-hover:from-[#47718b] group-hover:to-[#063e5b] group-hover:text-white transition-all duration-500 shadow-sm group-hover:shadow-lg">
{feature.icon}
</div>
<div className="flex-1">
<h3 className="text-xl font-bold text-gray-800 mb-3 group-hover:text-[#47718b] transition-colors duration-500">
{feature.title}
</h3>
<p className="text-gray-600 leading-relaxed text-sm">
{feature.description}
</p>
</div>
</div>
</div>
</div>
))}
2025-12-23 17:09:40 +03:00
</div>
2026-01-09 19:24:08 +03:00
</div>
<div className="relative lg:w-1/2 lg:min-h-screen flex items-center justify-center py-16 lg:py-0">
<div className="absolute inset-0 lg:inset-y-0 lg:right-0 lg:left-auto lg:w-[100%]">
<div className="absolute inset-0">
<div className="hidden lg:block absolute inset-0">
<div
className="absolute inset-0 bg-gradient-to-br from-[#57acd9] via-gray-700/85 to-[#47718b] backdrop-blur-xl"
2025-12-23 17:09:40 +03:00
style={{
2026-01-09 19:24:08 +03:00
clipPath: 'circle(150% at 0% 50%)',
borderTopLeftRadius: '0',
borderBottomLeftRadius: '0',
borderTopRightRadius: '9999px',
borderBottomRightRadius: '9999px'
2025-12-23 17:09:40 +03:00
}}
2026-01-09 19:24:08 +03:00
>
</div>
2025-12-23 17:09:40 +03:00
</div>
2026-01-09 19:24:08 +03:00
<div className="lg:hidden absolute inset-0">
<div
className="absolute inset-0 bg-gradient-to-br from-[#57acd9] via-gray-700/85 to-[#47718b] backdrop-blur-xl"
style={{
clipPath: 'ellipse(150% 100% at 50% 0%)',
borderBottomLeftRadius: '9999px',
borderBottomRightRadius: '9999px'
}}
2025-12-23 17:09:40 +03:00
>
2026-01-09 19:24:08 +03:00
<div className="absolute inset-0 bg-gradient-to-b from-white/10 via-transparent to-white/5"></div>
<div className="absolute inset-0 border-2 border-white/20"></div>
2025-12-23 17:09:40 +03:00
</div>
</div>
</div>
2026-01-09 19:24:08 +03:00
<div className="absolute inset-0 overflow-hidden">
<div className="absolute top-1/4 -left-16 w-64 h-64 bg-white/10 rounded-full backdrop-blur-md"></div>
<div className="absolute bottom-1/3 -left-8 w-48 h-48 bg-purple-400/20 rounded-full backdrop-blur-lg"></div>
<div className="absolute top-1/2 right-1/4 w-32 h-32 bg-indigo-400/15 rounded-full backdrop-blur-md animate-pulse"></div>
</div>
<div className="absolute top-0 left-0 w-32 h-full bg-gradient-to-r from-white/5 to-transparent"></div>
2025-12-23 17:09:40 +03:00
</div>
2026-01-09 19:24:08 +03:00
<div className="relative z-20 text-white p-8 md:p-12 lg:p-16 max-w-2xl mx-auto lg:mr-16 lg:ml-auto">
<div className="space-y-8 lg:space-y-10">
<div className="relative">
2026-01-12 15:27:19 +03:00
<div className="flex items-center space-x-3 mb-2 rtl:space-x-reverse">
<span className="text-sm font-semibold tracking-widest text-white">
{t("services.summary")}
</span>
2026-01-09 19:24:08 +03:00
<Sparkles className="w-6 h-6 text-[#57acd9]" />
2025-12-23 17:09:40 +03:00
</div>
2026-01-09 19:24:08 +03:00
<h1 className="text-5xl md:text-6xl lg:text-7xl font-bold tracking-tight bg-clip-text text-transparent bg-gradient-to-r from-white via-white to-[#539cc4]">
2026-01-12 15:27:19 +03:00
{t("services.pageTitle")}
2026-01-09 19:24:08 +03:00
</h1>
2025-12-23 17:09:40 +03:00
</div>
2026-01-09 19:24:08 +03:00
<div className="space-y-4">
<h2 className="text-2xl md:text-3xl lg:text-4xl font-bold leading-tight drop-shadow-xl">
2026-01-12 15:27:19 +03:00
{t("services.mainHeading")}
2026-01-09 19:24:08 +03:00
</h2>
2026-01-12 15:27:19 +03:00
<div className="w-20 h-1 bg-gradient-to-r from-white to-[#57acd9] rounded-full"></div>
2026-01-09 19:24:08 +03:00
</div>
<p className="text-lg md:text-xl text-purple-100/90 font-light leading-relaxed max-w-lg">
2026-01-12 15:27:19 +03:00
{t("services.description")}
2026-01-09 19:24:08 +03:00
</p>
</div>
2025-12-23 17:09:40 +03:00
</div>
2026-01-09 19:24:08 +03:00
</div>
</div>
</div>
2026-01-12 15:27:19 +03:00
</div>
2026-01-12 16:46:00 +03:00
</section>
2025-12-23 17:09:40 +03:00
);
};
2026-01-09 19:24:08 +03:00
export default Services;