import type { Section } from "@/types/builder";
import { generateId } from "@/store/builder-store";

export const eventHero: Section = {
  id: `section-${generateId("section")}`,
  type: "regular",
  rows: [
    {
      id: `row-${generateId("row")}`,
      columns: [
        {
          id: `column-${generateId("column")}`,
          width: 100,
          elements: [
            {
              id: `element-${generateId("element")}-1`,
              type: "text",
              content: "DECEMBER 10-12, 2024 • MIAMI",
              settings: {
                fontSize: 16,
                fontWeight: "semibold",
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 16,
                marginLeft: 0,
                color: { light: "purple-600", dark: "purple-400" },
                textTransform: "uppercase",
                letterSpacing: "0.1em",
              },
            },
            {
              id: `element-${generateId("element")}-2`,
              type: "heading",
              content: "Crypto Future Summit 2024",
              settings: {
                fontSize: 72,
                fontWeight: "bold",
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 24,
                marginLeft: 0,
                color: { light: "zinc-900", dark: "white" },
                lineHeight: 1.1,
                letterSpacing: "-0.025em",
              },
            },
            {
              id: `element-${generateId("element")}-3`,
              type: "text",
              content:
                "Join 5,000+ crypto traders, blockchain innovators, and DeFi pioneers for three days of cutting-edge insights, networking, and breakthrough announcements that will shape the future of digital finance.",
              settings: {
                fontSize: 22,
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: "auto",
                marginBottom: 40,
                marginLeft: "auto",
                color: { light: "zinc-600", dark: "zinc-300" },
                lineHeight: 1.6,
                maxWidth: "800px",
              },
            },
            {
              id: `element-${generateId("element")}-4`,
              type: "button",
              content: "Register Now - $399",
              settings: {
                backgroundColor: "#9333ea",
                hoverBackgroundColor: "#7c3aed",
                color: "#ffffff",
                fontSize: 20,
                fontWeight: "bold",
                textAlign: "center",
                paddingTop: 20,
                paddingRight: 40,
                paddingBottom: 20,
                paddingLeft: 40,
                marginTop: 0,
                marginRight: 16,
                marginBottom: 16,
                marginLeft: 0,
                borderRadius: 12,
                width: "auto",
                display: "inline-block",
                boxShadow: "0 8px 25px -8px rgba(147, 51, 234, 0.4)",
              },
            },
            {
              id: `element-${generateId("element")}-5`,
              type: "button",
              content: "View Crypto Experts",
              settings: {
                backgroundColor: "transparent",
                borderColor: "#9333ea",
                borderWidth: 2,
                borderStyle: "solid",
                hoverBackgroundColor: "#faf5ff",
                color: "#9333ea",
                fontSize: 18,
                fontWeight: "semibold",
                textAlign: "center",
                paddingTop: 18,
                paddingRight: 36,
                paddingBottom: 18,
                paddingLeft: 36,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 32,
                marginLeft: 0,
                borderRadius: 12,
                width: "auto",
                display: "inline-block",
              },
            },
            {
              id: `element-${generateId("element")}-6`,
              type: "text",
              content:
                "🎤 50+ crypto experts  •  🌟 3 keynote sessions  •  🤝 Unlimited networking  •  💰 Exclusive trading insights",
              settings: {
                fontSize: 16,
                textAlign: "center",
                paddingTop: 48,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 40,
                marginLeft: 0,
                color: { light: "zinc-600", dark: "zinc-400" },
                lineHeight: 1.5,
              },
            },
            {
              id: `element-${generateId("element")}-7`,
              type: "text",
              content: "Early Bird: Save $150",
              settings: {
                fontSize: 24,
                fontWeight: "bold",
                textAlign: "center",
                paddingTop: 16,
                paddingRight: 32,
                paddingBottom: 16,
                paddingLeft: 32,
                marginTop: 0,
                marginRight: "auto",
                marginBottom: 8,
                marginLeft: "auto",
                backgroundColor: { light: "yellow-100", dark: "yellow-900" },
                color: { light: "yellow-800", dark: "yellow-200" },
                borderRadius: 8,
                display: "inline-block",
              },
            },
            {
              id: `element-${generateId("element")}-8`,
              type: "text",
              content: "Offer expires in 5 days",
              settings: {
                fontSize: 14,
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 0,
                marginLeft: 0,
                color: { light: "red-600", dark: "red-400" },
                lineHeight: 1.5,
                fontWeight: "semibold",
              },
            },
          ],
          settings: {
            paddingTop: 120,
            paddingRight: 40,
            paddingBottom: 120,
            paddingLeft: 40,
            textAlign: "center",
            display: "flex",
            flexDirection: "column",
            alignItems: "center",
            justifyContent: "center",
          },
          nestingLevel: 1,
        },
      ],
      settings: {
        maxWidth: "1200px",
        paddingTop: 0,
        paddingRight: 20,
        paddingBottom: 0,
        paddingLeft: 20,
        verticalAlign: "middle",
        marginLeft: "auto",
        marginRight: "auto",
      },
      nestingLevel: 1,
    },
  ],
  settings: {
    backgroundColor: { light: "zinc-50", dark: "zinc-900" },
    paddingTop: 0,
    paddingRight: 0,
    paddingBottom: 0,
    paddingLeft: 0,
    marginTop: 0,
    marginRight: 0,
    marginBottom: 0,
    marginLeft: 0,
    minHeight: "100vh",
    display: "flex",
    alignItems: "center",
    justifyContent: "center",
    position: "relative",
  },
  name: "Event Hero",
  description:
    "Professional event/conference hero section with registration focus and compelling event details",
  category: "hero",
  snapshots: {
    card: "",
    preview: "",
  },
};
