\ProvidesPackage{theme/beamercolorthemecipher}[2025/05/04 v1.0 Cipher Beamer Theme]

% Define the color palette
\definecolor{cipherprimary}{HTML}{2C5E1A}
\definecolor{cipherprimarydark}{HTML}{1E3E12}
\definecolor{ciphersecondary}{HTML}{4A9C31}
\definecolor{cipheraccent}{HTML}{8CB369}
\definecolor{cipherdark}{HTML}{1A2C0D}
\definecolor{cipherlight}{HTML}{F6F9F1}
\definecolor{ciphergray}{HTML}{E8F0DF}
\definecolor{ciphergraydark}{HTML}{CAD9B7}
\definecolor{cipherwhite}{HTML}{FFFFFF}
\definecolor{cipherdarkbg}{HTML}{040903}
\definecolor{hlbg}{HTML}{F5F5A4}
\colorlet{hlfg}{black}

% Basic colors
\setbeamercolor{background canvas}{bg=cipherlight}
\setbeamercolor{normal text}{fg=cipherdark, bg=cipherlight}
\setbeamercolor{alerted text}{fg=cipherprimary}
\setbeamercolor{example text}{fg=ciphersecondary}

% Title page
\setbeamercolor{title}{fg=cipherdark}
\setbeamercolor{subtitle}{fg=cipheraccent}
\setbeamercolor{author}{fg=cipherdark}
\setbeamercolor{date}{fg=cipherdark}
\setbeamercolor{cover website}{fg=cipherwhite}
\setbeamercolor{cover text}{fg=cipherwhite}
\setbeamercolor{title}{fg=cipherwhite}
\setbeamercolor{subtitle}{fg=cipheraccent}
\setbeamercolor{author}{fg=cipherwhite}
\setbeamercolor{institute}{fg=cipherwhite}
\setbeamercolor{part name}{fg=cipherwhite}
\setbeamercolor{topic name}{fg=cipherwhite}
\setbeamercolor{cover footer}{fg=cipherwhite, bg=cipherprimarydark}

% Structure elements
\setbeamercolor{structure}{fg=cipherprimary}
\setbeamercolor{frametitle}{fg=cipherdark, bg=}
\setbeamercolor{framesubtitle}{fg=cipheraccent, bg=}

% Blocks
\setbeamercolor{block title}{fg=cipherwhite, bg=cipherprimary}
\setbeamercolor{block body}{fg=cipherdark, bg=ciphergray}
\setbeamercolor{block title alerted}{fg=cipherwhite, bg=cipherprimarydark}
\setbeamercolor{block body alerted}{fg=cipherdark, bg=ciphergraydark}
\setbeamercolor{block title example}{fg=cipherwhite, bg=ciphersecondary}
\setbeamercolor{block body example}{fg=cipherdark, bg=ciphergray}

% Items
\setbeamercolor{item}{fg=cipherprimary}
\setbeamercolor{itemize item}{fg=cipherprimary}
\setbeamercolor{itemize subitem}{fg=ciphersecondary}
\setbeamercolor{itemize subsubitem}{fg=cipheraccent}

% Footline
\setbeamercolor{footline}{fg=cipherdark}
