/*
Theme Name: Den Hartog Software
Theme URI: https://denhartogsoftware.nl
Author: Den Hartog Software
Author URI: https://denhartogsoftware.nl
Description: Custom theme voor Den Hartog Software - AI & Maatwerk Software Consultancy. Modern design met gradient styling.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: denhartogsoftware
Tags: custom-colors, custom-menu, featured-images, full-site-editing, block-patterns, wide-blocks

Den Hartog Software Theme - AI & Software Consultancy voor Nederlandse bedrijven
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
    /* Primary Gradient - Brand Blue from Logo */
    --gradient-primary: linear-gradient(135deg, #2BB5F2 0%, #1A9FD9 50%, #0D7AB8 100%);
    --gradient-primary-hover: linear-gradient(135deg, #3FC3FF 0%, #2BB5F2 50%, #1A9FD9 100%);
    --gradient-primary-reverse: linear-gradient(135deg, #0D7AB8 0%, #1A9FD9 50%, #2BB5F2 100%);

    /* Primary Solid Colors - Logo Blue */
    --color-primary: #1A9FD9;
    --color-primary-light: #2BB5F2;
    --color-primary-dark: #0D7AB8;
    --color-primary-rgb: 26, 159, 217;

    /* Secondary - Darker Blue (Depth) */
    --color-secondary: #0D7AB8;
    --color-secondary-light: #1A9FD9;
    --color-secondary-dark: #065A8C;

    /* Accent - Lighter Blue (Highlights) */
    --color-accent: #2BB5F2;
    --color-accent-light: #5ECBFF;
    --gradient-ai: linear-gradient(135deg, #2BB5F2 0%, #1A9FD9 100%);

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;
    --color-black: #0C0A09;

    /* Semantic Colors */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    --color-info: #3B82F6;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 25px rgba(26, 159, 217, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;

    /* Container */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-gray-800);
    background-color: var(--color-white);
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    color: var(--color-gray-900);
    margin-top: 0;
}

h1, .h1 {
    font-size: var(--text-5xl);
    letter-spacing: -0.025em;
}

h2, .h2 {
    font-size: var(--text-4xl);
    letter-spacing: -0.025em;
}

h3, .h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
}

h4, .h4 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
}

p {
    margin-top: 0;
    margin-bottom: var(--space-4);
}

.text-lead {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-600);
}

.text-small {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

/* ==========================================================================
   Container
   ========================================================================== */

.dhs-container {
    width: 100%;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

@media (min-width: 768px) {
    .dhs-container {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }
}

@media (min-width: 1024px) {
    .dhs-container {
        padding-left: var(--space-8);
        padding-right: var(--space-8);
    }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.dhs-section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

@media (min-width: 768px) {
    .dhs-section {
        padding-top: var(--space-20);
        padding-bottom: var(--space-20);
    }
}

.dhs-section--gray {
    background-color: var(--color-gray-50);
}

.dhs-section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.dhs-section-header h2 {
    margin-bottom: var(--space-4);
}

.dhs-section-header p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-gray-600);
}

/* ==========================================================================
   Links
   ========================================================================== */

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   WordPress Specific Overrides
   ========================================================================== */

.wp-site-blocks {
    padding-top: 0;
}

.entry-content > * {
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
}

/* Full width blocks */
.alignfull {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Wide blocks */
.alignwide {
    max-width: var(--container-2xl);
}

/* Admin bar adjustment */
body.admin-bar .dhs-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .dhs-header {
        top: 46px;
    }
}
