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

export const creativeHero: 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: "heading",
              content: "CRYPTO",
              settings: {
                fontSize: 120,
                fontWeight: "900",
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 10,
                marginLeft: 0,
                color: { light: "transparent", dark: "transparent" },
                textStroke: "2px #ff6b6b",
                lineHeight: 0.9,
                letterSpacing: "0.1em",
                textTransform: "uppercase",
                width: "100%",
                display: "block",
              },
            },
            {
              id: `element-${generateId("element")}-2`,
              type: "heading",
              content: "TRADING",
              settings: {
                fontSize: 120,
                fontWeight: "900",
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 10,
                marginLeft: 0,
                background: "linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1)",
                WebkitBackgroundClip: "text",
                WebkitTextFillColor: "transparent",
                lineHeight: 0.9,
                letterSpacing: "0.05em",
                textTransform: "uppercase",
                width: "100%",
                display: "block",
              },
            },
            {
              id: `element-${generateId("element")}-3`,
              type: "heading",
              content: "REVOLUTION",
              settings: {
                fontSize: 120,
                fontWeight: "900",
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 40,
                marginLeft: 0,
                color: { light: "black", dark: "white" },
                lineHeight: 0.9,
                letterSpacing: "0.1em",
                textTransform: "uppercase",
                width: "100%",
                display: "block",
              },
            },
            {
              id: `element-${generateId("element")}-4`,
              type: "text",
              content:
                "We're a revolutionary crypto platform that believes in financial freedom. From Bitcoin to DeFi tokens, we enable trades that transform portfolios and lives.",
              settings: {
                fontSize: 24,
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: "auto",
                marginBottom: 48,
                marginLeft: "auto",
                color: { light: "zinc-600", dark: "zinc-300" },
                lineHeight: 1.6,
                maxWidth: "600px",
                fontStyle: "italic",
                width: "100%",
                display: "block",
              },
            },
            {
              id: `element-${generateId("element")}-5`,
              type: "button",
              content: "Start Trading",
              settings: {
                backgroundColor: { light: "black", dark: "white" },
                hoverBackgroundColor: {
                  light: "rgba(0,0,0,0.8)",
                  dark: "rgba(255,255,255,0.8)",
                },
                color: { light: "white", dark: "black" },
                fontSize: 18,
                fontWeight: "bold",
                textAlign: "center",
                paddingTop: 20,
                paddingRight: 40,
                paddingBottom: 20,
                paddingLeft: 40,
                marginTop: 0,
                marginRight: 16,
                marginBottom: 16,
                marginLeft: 0,
                borderRadius: 0,
                width: "auto",
                display: "inline-block",
                textTransform: "uppercase",
                letterSpacing: "0.1em",
              },
            },
            {
              id: `element-${generateId("element")}-6`,
              type: "button",
              content: "View Markets",
              settings: {
                backgroundColor: "transparent",
                borderColor: { light: "black", dark: "white" },
                borderWidth: 3,
                borderStyle: "solid",
                hoverBackgroundColor: { light: "black", dark: "white" },
                color: { light: "black", dark: "white" },
                hoverColor: { light: "white", dark: "black" },
                fontSize: 18,
                fontWeight: "bold",
                textAlign: "center",
                paddingTop: 17,
                paddingRight: 40,
                paddingBottom: 17,
                paddingLeft: 40,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 32,
                marginLeft: 0,
                borderRadius: 0,
                width: "auto",
                display: "inline-block",
                textTransform: "uppercase",
                letterSpacing: "0.1em",
                transition: "all 0.3s ease",
              },
            },
          ],
          settings: {
            paddingTop: 80,
            paddingRight: 24,
            paddingBottom: 80,
            paddingLeft: 24,
            textAlign: "center",
            display: "flex",
            flexDirection: "column",
            alignItems: "center",
            justifyContent: "center",
          },
          nestingLevel: 1,
        },
      ],
      settings: {
        maxWidth: "1400px",
        paddingTop: 0,
        paddingRight: 20,
        paddingBottom: 0,
        paddingLeft: 20,
        verticalAlign: "middle",
        marginLeft: "auto",
        marginRight: "auto",
      },
      nestingLevel: 1,
    },
  ],
  settings: {
    backgroundColor: { light: "white", dark: "black" },
    paddingTop: 40,
    paddingRight: 16,
    paddingBottom: 40,
    paddingLeft: 16,
    marginTop: 0,
    marginRight: 0,
    marginBottom: 0,
    marginLeft: 0,
    minHeight: "100vh",
    display: "flex",
    alignItems: "center",
    justifyContent: "center",
    position: "relative",
  },
  name: "Creative Hero",
  description:
    "Bold creative agency hero with artistic typography and strong visual impact",
  category: "hero",
  snapshots: {
    card: "",
    preview: "",
  },
};
