<?php
// Header Options Section
Kirki::add_section( 'header_options', array(
    'title'      => esc_html__( 'Header Options', 'minimalblog' ),
    'priority'   => 1,
    'panel'      => 'minimalblog',
    'capability' => 'edit_theme_options',
) );

// Topbar Section On/Off (Checkbox)
Kirki::add_field( 'minimalblog_config', [
    'type'        => 'toggle',
    'settings'    => 'topbar_section_on_off',
    'label'       => esc_html__( 'Topbar Section On/Off', 'minimalblog' ),
    'section'     => 'header_options',
    'default'     => '0',

] );

// Header Layout (Radio)
Kirki::add_field( 'minimalblog_config', [
    'type'        => 'select',
    'settings'    => 'header_layout',
    'label'       => esc_html__( 'Header Layout', 'minimalblog' ),
    'section'     => 'header_options',
    'default'     => 'one',
    'choices'     => array(
        'one'   => esc_html__( 'Header Layout One', 'minimalblog' ),
        'two'   => esc_html__( 'Header Layout Two', 'minimalblog' ),
        'three' => esc_html__( 'Header Layout Three', 'minimalblog' ),
        'four'  => esc_html__( 'Header Layout Four', 'minimalblog' ),
    ),

] );

// Sticky Header On/Off (Checkbox)
Kirki::add_field( 'minimalblog_config', [
    'type'        => 'toggle',
    'settings'    => 'sticky_header',
    'label'       => esc_html__( 'Sticky Header On/Off', 'minimalblog' ),
    'section'     => 'header_options',
    'default'     => '0',
] );
