// 
//  BrandingConfig.swift
//  SelfieCam
//
//  App-specific branding configurations for icons and launch screens.
//

import SwiftUI
import Bedrock

// MARK: - App Branding Colors

extension Color {
    /// SelfieCam branding colors for icon and launch screen.
    enum BrandColors {
        /// Primary gradient color - rich magenta/rose for a vibrant, modern selfie aesthetic.
        static let primary = Color("Branding/primary")
        
        /// Secondary gradient color - deeper magenta/purple for depth.
        static let secondary = Color("Branding/secondary")
        
        /// Accent color - soft white/cream for clean, bright text and icons.
        static let accent = Color("Branding/accent")
    }
}

// MARK: - App Icon Configuration

extension AppIconConfig {
    /// SelfieCam app icon configuration.
    /// A vibrant, modern icon perfect for a selfie camera app.
    static let selfieCam = AppIconConfig(
        title: "SELFIE",
        subtitle: "CAM",
        iconSymbol: "camera.fill",
        primaryColor: Color.BrandColors.primary,
        secondaryColor: Color.BrandColors.secondary,
        accentColor: Color.BrandColors.accent
    )
}

// MARK: - Launch Screen Configuration

extension LaunchScreenConfig {
    /// SelfieCam launch screen configuration.
    /// Animated launch screen with camera-focused visuals and radial glow.
    static let selfieCam = LaunchScreenConfig(
        title: "SELFIE CAM",
        tagline: "Look Your Best",
        iconSymbols: ["camera.fill", "sparkles"],
        cornerSymbol: "sparkle",
        decorativeSymbol: "circle.fill",
        patternStyle: .radial,
        layoutStyle: .iconAboveTitle,
        primaryColor: Color.BrandColors.primary,
        secondaryColor: Color.BrandColors.secondary,
        accentColor: Color.BrandColors.accent,
        titleColor: .white,
        iconSize: 52,
        titleSize: 38,
        subtitleSize: 72,
        iconSpacing: 12,
        animationDuration: 0.6,
        showLoadingIndicator: false
    )
}
