/*
Theme Name: AIHotelTools
Theme URI: https://aihoteltools.com
Author: AIHotelTools
Author URI: https://aihoteltools.com
Description: A professional WordPress theme for the AIHotelTools hotel review intelligence platform. Provides responsive portal templates, marketing pages, and seamless integration with the AIHotelTools plugin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hoteltools
Tags: business, portfolio, custom-logo, custom-menu, featured-images, theme-options, translation-ready

AIHotelTools Theme © 2024
*/

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

:root {
    /* Primary Brand Colors */
    --htai-primary: #1E3A5F;
    --htai-primary-dark: #152942;
    --htai-primary-light: #2E5A8A;
    
    /* Accent */
    --htai-accent: #D4A84B;
    --htai-accent-dark: #B8923F;
    --htai-accent-light: #E8C878;
    
    /* Semantic Colors */
    --htai-success: #2E7D32;
    --htai-success-light: #E8F5E9;
    --htai-warning: #F57C00;
    --htai-warning-light: #FFF3E0;
    --htai-danger: #C62828;
    --htai-danger-light: #FFEBEE;
    --htai-info: #1565C0;
    --htai-info-light: #E3F2FD;
    
    /* Neutrals */
    --htai-text: #333333;
    --htai-text-muted: #666666;
    --htai-text-light: #888888;
    --htai-border: #DDDDDD;
    --htai-border-light: #EEEEEE;
    --htai-bg: #FFFFFF;
    --htai-bg-alt: #F8F9FA;
    --htai-bg-dark: #F5F5F5;
    
    /* Shadows */
    --htai-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --htai-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --htai-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --htai-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --htai-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --htai-font-mono: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;
    
    /* Font Sizes */
    --htai-text-xs: 0.75rem;
    --htai-text-sm: 0.875rem;
    --htai-text-base: 1rem;
    --htai-text-lg: 1.125rem;
    --htai-text-xl: 1.25rem;
    --htai-text-2xl: 1.5rem;
    --htai-text-3xl: 1.875rem;
    --htai-text-4xl: 2.25rem;
    --htai-text-5xl: 3rem;
    
    /* Line Heights */
    --htai-leading-tight: 1.25;
    --htai-leading-normal: 1.5;
    --htai-leading-relaxed: 1.75;
    
    /* Font Weights */
    --htai-font-normal: 400;
    --htai-font-medium: 500;
    --htai-font-semibold: 600;
    --htai-font-bold: 700;
    
    /* Spacing Scale */
    --htai-space-1: 0.25rem;
    --htai-space-2: 0.5rem;
    --htai-space-3: 0.75rem;
    --htai-space-4: 1rem;
    --htai-space-5: 1.25rem;
    --htai-space-6: 1.5rem;
    --htai-space-8: 2rem;
    --htai-space-10: 2.5rem;
    --htai-space-12: 3rem;
    --htai-space-16: 4rem;
    --htai-space-20: 5rem;
    
    /* Container Widths */
    --htai-container-sm: 640px;
    --htai-container-md: 768px;
    --htai-container-lg: 1024px;
    --htai-container-xl: 1280px;
    --htai-container-2xl: 1536px;
    
    /* Breakpoints */
    --htai-breakpoint-sm: 640px;
    --htai-breakpoint-md: 768px;
    --htai-breakpoint-lg: 1024px;
    --htai-breakpoint-xl: 1280px;
    --htai-breakpoint-2xl: 1536px;
    
    /* Transitions */
    --htai-transition-fast: 0.15s ease;
    --htai-transition-normal: 0.3s ease;
    --htai-transition-slow: 0.5s ease;
    
    /* Border Radius */
    --htai-radius-sm: 4px;
    --htai-radius: 6px;
    --htai-radius-md: 8px;
    --htai-radius-lg: 12px;
    --htai-radius-full: 9999px;
}

/* ==========================================================================
   Reset / Normalize
   ========================================================================== */

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
}

body {
    font-family: var(--htai-font-sans);
    font-size: var(--htai-text-base);
    line-height: var(--htai-leading-normal);
    color: var(--htai-text);
    background-color: var(--htai-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove default focus outline and add custom */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--htai-primary);
    outline-offset: 2px;
}

/* Selection styling */
::selection {
    background-color: var(--htai-primary);
    color: var(--htai-bg);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
