{
  "_id": "template_raccolta_funghi_001",
  "name": "Raccolta Funghi Autunnale",
  "templateType": "outdoor-event",
  "description": "Template per eventi all'aperto legati alla natura",
  
  "format": {
    "preset": "A4",
    "width": 2480,
    "height": 3508,
    "unit": "px",
    "dpi": 300
  },
  
  "safeArea": {
    "top": 0.04,
    "right": 0.04,
    "bottom": 0.04,
    "left": 0.04
  },
  
  "backgroundColor": "#1a1a2e",
  
  "layers": [
    {
      "id": "layer_bg",
      "type": "backgroundImage",
      "zIndex": 0,
      "position": { "x": 0, "y": 0, "w": 1, "h": 1 },
      "anchor": "top-left",
      "required": false,
      "fallback": {
        "type": "gradient",
        "direction": "to-bottom",
        "colors": ["#2d3436", "#636e72"]
      },
      "style": {
        "opacity": 1,
        "blur": 0,
        "objectFit": "cover",
        "overlay": {
          "enabled": true,
          "type": "gradient",
          "direction": "to-bottom",
          "stops": [
            { "position": 0, "color": "rgba(0,0,0,0)" },
            { "position": 0.5, "color": "rgba(0,0,0,0.3)" },
            { "position": 1, "color": "rgba(0,0,0,0.85)" }
          ]
        }
      }
    },
    {
      "id": "layer_main_image",
      "type": "mainImage",
      "zIndex": 1,
      "position": { "x": 0.5, "y": 0.28, "w": 0.85, "h": 0.38 },
      "anchor": "center",
      "required": false,
      "style": {
        "borderRadius": 24,
        "objectFit": "cover",
        "shadow": {
          "enabled": true,
          "blur": 40,
          "spread": 0,
          "offsetX": 0,
          "offsetY": 20,
          "color": "rgba(0,0,0,0.6)"
        },
        "border": {
          "enabled": false,
          "width": 4,
          "color": "#ffffff"
        }
      }
    },
    {
      "id": "layer_title",
      "type": "title",
      "zIndex": 10,
      "position": { "x": 0.5, "y": 0.54, "w": 0.92, "h": 0.12 },
      "anchor": "center",
      "required": true,
      "maxLines": 2,
      "style": {
        "fontFamily": "Montserrat",
        "fontWeight": 900,
        "fontSize": 82,
        "fontSizeMin": 48,
        "fontSizeMax": 120,
        "autoFit": true,
        "color": "#ffffff",
        "textAlign": "center",
        "textTransform": "uppercase",
        "letterSpacing": 6,
        "lineHeight": 1.05,
        "shadow": {
          "enabled": true,
          "blur": 15,
          "offsetX": 3,
          "offsetY": 3,
          "color": "rgba(0,0,0,0.9)"
        },
        "stroke": {
          "enabled": true,
          "width": 3,
          "color": "rgba(0,0,0,0.5)"
        }
      }
    },
    {
      "id": "layer_subtitle",
      "type": "subtitle",
      "zIndex": 10,
      "position": { "x": 0.5, "y": 0.635, "w": 0.85, "h": 0.05 },
      "anchor": "center",
      "required": false,
      "style": {
        "fontFamily": "Open Sans",
        "fontWeight": 400,
        "fontSize": 32,
        "color": "#f0f0f0",
        "textAlign": "center",
        "letterSpacing": 2,
        "lineHeight": 1.3,
        "shadow": {
          "enabled": true,
          "blur": 8,
          "offsetX": 1,
          "offsetY": 1,
          "color": "rgba(0,0,0,0.7)"
        }
      }
    },
    {
      "id": "layer_event_date",
      "type": "eventDate",
      "zIndex": 10,
      "position": { "x": 0.5, "y": 0.72, "w": 0.9, "h": 0.06 },
      "anchor": "center",
      "required": true,
      "style": {
        "fontFamily": "Bebas Neue",
        "fontWeight": 400,
        "fontSize": 56,
        "color": "#ffd700",
        "textAlign": "center",
        "letterSpacing": 4,
        "textTransform": "uppercase",
        "shadow": {
          "enabled": true,
          "blur": 10,
          "offsetX": 2,
          "offsetY": 2,
          "color": "rgba(0,0,0,0.8)"
        }
      }
    },
    {
      "id": "layer_location",
      "type": "location",
      "zIndex": 10,
      "position": { "x": 0.5, "y": 0.79, "w": 0.85, "h": 0.05 },
      "anchor": "center",
      "required": true,
      "icon": {
        "enabled": true,
        "name": "location_on",
        "size": 28,
        "color": "#e74c3c"
      },
      "style": {
        "fontFamily": "Open Sans",
        "fontWeight": 600,
        "fontSize": 28,
        "color": "#ffffff",
        "textAlign": "center",
        "letterSpacing": 1
      }
    },
    {
      "id": "layer_contacts",
      "type": "contacts",
      "zIndex": 10,
      "position": { "x": 0.5, "y": 0.86, "w": 0.9, "h": 0.04 },
      "anchor": "center",
      "required": false,
      "style": {
        "fontFamily": "Open Sans",
        "fontWeight": 400,
        "fontSize": 22,
        "color": "#cccccc",
        "textAlign": "center",
        "letterSpacing": 0.5
      }
    },
    {
      "id": "layer_extra_text",
      "type": "extraText",
      "zIndex": 10,
      "position": { "x": 0.5, "y": 0.91, "w": 0.85, "h": 0.03 },
      "anchor": "center",
      "required": false,
      "style": {
        "fontFamily": "Open Sans",
        "fontWeight": 300,
        "fontSize": 18,
        "fontStyle": "italic",
        "color": "#aaaaaa",
        "textAlign": "center"
      }
    }
  ],
  
  "logoSlots": {
    "enabled": true,
    "maxCount": 3,
    "collapseIfEmpty": true,
    "slots": [
      {
        "id": "logo_slot_1",
        "position": { "x": 0.12, "y": 0.96, "w": 0.12, "h": 0.05 },
        "anchor": "bottom-left",
        "style": { "objectFit": "contain", "opacity": 0.9 }
      },
      {
        "id": "logo_slot_2",
        "position": { "x": 0.5, "y": 0.96, "w": 0.12, "h": 0.05 },
        "anchor": "bottom-center",
        "style": { "objectFit": "contain", "opacity": 0.9 }
      },
      {
        "id": "logo_slot_3",
        "position": { "x": 0.88, "y": 0.96, "w": 0.12, "h": 0.05 },
        "anchor": "bottom-right",
        "style": { "objectFit": "contain", "opacity": 0.9 }
      }
    ]
  },
  
  "palette": {
    "primary": "#e94560",
    "secondary": "#0f3460",
    "accent": "#ffd700",
    "background": "#1a1a2e",
    "text": "#ffffff",
    "textSecondary": "#cccccc",
    "textMuted": "#888888"
  },
  
  "typography": {
    "titleFont": "Montserrat",
    "headingFont": "Bebas Neue",
    "bodyFont": "Open Sans",
    "accentFont": "Playfair Display"
  },
  
  "defaultAiPromptHints": {
    "backgroundImage": "atmospheric outdoor scene, nature, forest, autumn colors, cinematic lighting, no text, no letters",
    "mainImage": "detailed illustration, high quality, vibrant colors, no text"
  },
  
  "metadata": {
    "author": "System",
    "version": "1.0.0",
    "tags": ["natura", "outdoor", "autunno", "sagra"]
  },
  
  "createdAt": "2025-01-15T10:00:00.000Z",
  "updatedAt": "2025-01-15T10:00:00.000Z"
}