/*
Theme Name: Citi Guard Services
Theme URI: https://citiguardservices.com
Author: Citi Guard Services Ltd
Author URI: https://citiguardservices.com
Description: Custom WordPress theme for Citi Guard Services Ltd — Professional Security Services UK
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: citiguard
Tags: security, business, custom
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — Design System
   ============================================================ */
:root {
    --color-primary:       #0077b6;
    --color-primary-dark:  #005a8e;
    --color-primary-light: #00a8e8;
    --color-dark:          #0d1b2a;
    --color-darker:        #060d14;
    --color-accent:        #f0a500;
    --color-accent-dark:   #d4920a;
    --color-light:         #f4f7fa;
    --color-white:         #ffffff;
    --color-text:          #2d3748;
    --color-text-muted:    #718096;
    --color-border:        #e2e8f0;

    --shadow-sm:   0 1px 3px rgba(0,0,0,0.1);
    --shadow-md:   0 4px 15px rgba(0,0,0,0.15);
    --shadow-lg:   0 10px 40px rgba(0,0,0,0.2);
    --shadow-blue: 0 4px 20px rgba(0,119,182,0.3);

    --font-family: 'Archivo', system-ui, -apple-system, sans-serif;

    --radius-sm: 4px;
    --radius-base: 8px;
    --radius-card: 12px;
    --radius-lg: 16px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover { color: var(--color-primary-dark); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   WORDPRESS REQUIRED STYLES
   ============================================================ */
.alignwide  { margin-left: auto; margin-right: auto; max-width: 1200px; }
.alignfull  { width: 100%; }
.alignleft  { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { text-align: center; margin: 0 auto; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 0.5rem; }

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--color-accent);
    color: var(--color-dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-base);
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }
