"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FeatureCardTwentySeven from '@/components/sections/feature/FeatureCardTwentySeven';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import MediaAbout from '@/components/sections/about/MediaAbout';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TeamCardSix from '@/components/sections/team/TeamCardSix';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="large"
      background="aurora"
      cardStyle="glass-elevated"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingInline
            navItems={[
              { name: "About", id: "#about" },
              { name: "Projects", id: "#projects" },
              { name: "Team", id: "#team" },
              { name: "Contact", id: "#contact" },
            ]}
            brandName="DK Real Estate"
            button={{ text: "Get Started", href: "#contact" }}
          />
        </div>

        <div id="hero" data-section="hero">
          <HeroBillboardRotatedCarousel
            background={{ variant: "rotated-rays-animated" }}
            title="Architecting Excellence"
            description="Crafting the future of luxury real estate with precision, vision, and unparalleled architectural innovation."
            tag="Luxury Architecture"
            carouselItems={[
              { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/detail-shot-skyscrapers_1359-705.jpg", imageAlt: "Luxury Estate Facade" },
              { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/woman-doing-daily-activities-minimal-decorated-room_23-2150407613.jpg", imageAlt: "Minimalist Interior View" },
              { id: "3", imageSrc: "http://img.b2bpic.net/free-photo/luxury-holiday-home_23-2151918258.jpg", imageAlt: "Infinity Pool Vista" },
              { id: "4", imageSrc: "http://img.b2bpic.net/free-photo/abstract-modern-architecture-with-strong-shadows-geometric-shapes_41433-193.jpg", imageAlt: "Architectural Detail Texture" },
              { id: "5", imageSrc: "http://img.b2bpic.net/free-photo/decorated-interior-christmas-beautiful-christmas-tree-near-modern-expensive-couch-big-clock-with-roman-numbers_132075-11378.jpg", imageAlt: "Sophisticated Bedroom Suite" },
              { id: "6", imageSrc: "http://img.b2bpic.net/free-photo/fountain-park-pedralbes-royal-palace_1398-4394.jpg", imageAlt: "Aerial Estate View" },
            ]}
          />
        </div>

        <div id="about" data-section="about">
          <MediaAbout
            useInvertedBackground={true}
            title="Defining Modern Luxury"
            description="At DK Real Estate, we push the boundaries of what is possible in residential design. Our approach blends cutting-edge technology with timeless architectural aesthetics to create spaces that inspire, protect, and elevate."
            imageSrc="http://img.b2bpic.net/free-photo/low-angle-shot-beautiful-white-interior-modern-architecture_181624-21886.jpg"
            imageAlt="Our Architectural Studio"
          />
        </div>

        <div id="features" data-section="features">
          <FeatureCardTwentySeven
            animationType="slide-up"
            textboxLayout="split"
            useInvertedBackground={false}
            features={[
              { id: "f1", title: "Glass Architecture", descriptions: ["Floor-to-ceiling panoramic glass walls."], imageSrc: "http://img.b2bpic.net/free-photo/low-angle-view-modern-buildings_1359-788.jpg" },
              { id: "f2", title: "Spiraling Design", descriptions: ["Iconic staircase layouts that redefine spatial flow."], imageSrc: "http://img.b2bpic.net/free-photo/low-angle-architectural-structure-city_23-2148798659.jpg" },
              { id: "f3", title: "Spa Retreats", descriptions: ["Premium, integrated spa environments in every home."], imageSrc: "http://img.b2bpic.net/free-photo/modern-bathroom-with-big-mirror_1203-1497.jpg" },
            ]}
            title="Curated Experiences"
            description="Precision engineering meets sophisticated design in every property we create."
          />
        </div>

        <div id="projects" data-section="projects">
          <ProductCardOne
            animationType="slide-up"
            textboxLayout="default"
            gridVariant="bento-grid"
            useInvertedBackground={true}
            products={[
              { id: "p1", name: "The Obsidian Villa", price: "Available", imageSrc: "http://img.b2bpic.net/free-photo/design-beautiful-old-house-castle_23-2148252748.jpg" },
              { id: "p2", name: "Skyline Heights Penthouse", price: "Sold Out", imageSrc: "http://img.b2bpic.net/free-photo/fashionable-young-brunette-woman-black-skirt-using-phone-terrace-city-view_197531-1893.jpg" },
              { id: "p3", name: "Grand Orchard Estate", price: "POA", imageSrc: "http://img.b2bpic.net/free-photo/interior-design-neoclassical-style-with-furnishings-decor_23-2151199321.jpg" },
              { id: "p4", name: "Sunset View Pavilion", price: "Available", imageSrc: "http://img.b2bpic.net/free-photo/umbrella-chair-around-swimming-pool-neary-sea-ocean-beach-with-blue-sky-white-cloud_74190-8484.jpg" },
              { id: "p5", name: "Metropolitan Loft", price: "Available", imageSrc: "http://img.b2bpic.net/free-photo/couple-home-spending-time-together_23-2149185015.jpg" },
              { id: "p6", name: "Contemporary Haven", price: "Available", imageSrc: "http://img.b2bpic.net/free-photo/empty-modern-room-with-furniture_23-2149178352.jpg" },
            ]}
            title="Featured Projects"
            description="Discover our signature portfolio of architectural masterpieces."
          />
        </div>

        <div id="metrics" data-section="metrics">
          <MetricCardEleven
            animationType="scale-rotate"
            textboxLayout="split"
            useInvertedBackground={false}
            metrics={[
              { id: "m1", value: "150+", title: "Projects Completed", description: "Successful high-end estates.", imageSrc: "http://img.b2bpic.net/free-photo/happy-caucasian-woman-short-summer-dress-outside-villa-hotel-by-tree-blue-swimming-pool_343596-691.jpg" },
              { id: "m2", value: "20+", title: "Industry Awards", description: "Recognized architectural excellence.", imageSrc: "http://img.b2bpic.net/free-photo/minimalist-coastal-interior-with-arched-window-built-seating_23-2151996488.jpg" },
              { id: "m3", value: "45+", title: "Satisfied Clients", description: "Partners who trust our vision.", imageSrc: "http://img.b2bpic.net/free-photo/outdoor-terrace-sea-nature-beach_1203-5576.jpg" },
            ]}
            title="Our Impact"
            description="Numbers that define our journey through the landscape of luxury."
          />
        </div>

        <div id="team" data-section="team">
          <TeamCardSix
            animationType="depth-3d"
            textboxLayout="default"
            gridVariant="bento-grid"
            useInvertedBackground={true}
            members={[
              { id: "t1", name: "Elena Vance", role: "Principal Architect", imageSrc: "http://img.b2bpic.net/free-photo/senior-woman-with-plans-helmet_1149-1127.jpg" },
              { id: "t2", name: "Marcus Thorne", role: "Lead Architect", imageSrc: "http://img.b2bpic.net/free-photo/positive-confident-businessman-posing-outside_74855-1183.jpg" },
              { id: "t3", name: "Sophia Chen", role: "Creative Designer", imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-business-woman_158595-4750.jpg" },
              { id: "t4", name: "David Sterling", role: "Project Manager", imageSrc: "http://img.b2bpic.net/free-photo/ideal-beginning-sunday_1098-15647.jpg" },
            ]}
            title="Meet The Visionaries"
            description="Our creative team behind the blueprints of excellence."
          />
        </div>

        <div id="testimonials" data-section="testimonials">
          <TestimonialCardTwelve
            useInvertedBackground={false}
            testimonials={[
              { id: "1", name: "Sarah Johnson", imageSrc: "http://img.b2bpic.net/free-photo/bussinessman-brown-suit-studio-portrait_53876-102939.jpg" },
              { id: "2", name: "Michael Chen", imageSrc: "http://img.b2bpic.net/free-photo/financial-independent-woman-buying-new-house_23-2149571916.jpg" },
              { id: "3", name: "Emily Rodriguez", imageSrc: "http://img.b2bpic.net/free-photo/blond-businessman-surprised-expression_1194-3809.jpg" },
              { id: "4", name: "David Kim", imageSrc: "http://img.b2bpic.net/free-photo/businessman-with-bicycle-summer-city_1157-38211.jpg" },
              { id: "5", name: "Jane Doe", imageSrc: "http://img.b2bpic.net/free-photo/middle-age-woman-posing-studio-isolated-grey_613910-2361.jpg" },
            ]}
            cardTitle="Client Voices"
            cardTag="Testimonials"
            cardAnimation="slide-up"
          />
        </div>

        <div id="contact" data-section="contact">
          <ContactText
            useInvertedBackground={true}
            background={{ variant: "rotated-rays-animated-grid" }}
            text="Ready to discuss your dream project?"
            buttons={[{ text: "Contact Us", href: "#contact" }]}
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterLogoEmphasis
            columns={[
              { items: [{ label: "About", href: "#about" }, { label: "Projects", href: "#projects" }] },
              { items: [{ label: "Team", href: "#team" }, { label: "Careers", href: "#" }] },
              { items: [{ label: "Privacy", href: "#" }, { label: "Terms", href: "#" }] },
            ]}
            logoText="DK Real Estate"
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}