<?php
// Header Section
Kirki::add_section( 'header_sections', array(
    'title'       => esc_html__( 'Header Section', 'faith-blog' ),
    'panel'       => 'faith_blog_global_panel',
    'priority'    => 1,
    'capability'  => 'edit_theme_options',
) );

// Transparent Menu Background Control
Kirki::add_field( 'faith_blog_config', [
    'type'        => 'switch',
    'settings'    => 'transparent_menu_bg',
    'label'       => esc_html__( 'Transparent Menu Background', 'faith-blog' ),
    'section'     => 'header_sections',
    'default'     => false,
    'choices'     => [
        'on'  => esc_html__( 'On', 'faith-blog' ),
        'off' => esc_html__( 'Off', 'faith-blog' ),
    ],
] );

// Sticky Header On/Off Control
Kirki::add_field( 'faith_blog_config', [
    'type'        => 'switch',
    'settings'    => 'sticky_header',
    'label'       => esc_html__( 'Sticky Header On/Off', 'faith-blog' ),
    'section'     => 'header_sections',
    'default'     => false,
    'choices'     => [
        'on'  => esc_html__( 'On', 'faith-blog' ),
        'off' => esc_html__( 'Off', 'faith-blog' ),
    ],
] );

// Header Height Control
Kirki::add_field( 'faith_blog_config', [
    'type'        => 'slider',
    'settings'    => 'header_height',
    'label'       => esc_html__( 'Logo Section Height', 'faith-blog' ),
    'section'     => 'header_sections',
    'default'     => 120,
    'choices'     => [
        'min'  => 50,
        'max'  => 300,
        'step' => 1,
    ],
] );
