/*
Theme Name: Kadence Child - Ranch Hand Roofing
Theme URI: https://ranchhandroofing.com
Author: Ranch Hand Roofing Development Team
Author URI: https://ranchhandroofing.com
Description: Custom child theme for Ranch Hand Roofing based on Kadence Theme. Implements the Modern Craftsman design philosophy with focus on trust, local community, and quality craftsmanship.
Template: kadence
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child-rhr
*/

/* ==========================================================================
   Modern Craftsman Design System
   ========================================================================== */

/* Import parent theme styles */
@import url("../kadence/style.css");

/* ==========================================================================
   Custom Properties (CSS Variables)
   ========================================================================== */
:root {
    /* Modern Craftsman Color Palette */
    --rhr-primary: #1E3A8A;        /* Deep Blue - professional and trustworthy */
    --rhr-secondary: #374151;      /* Charcoal Gray - modern and sophisticated */
    --rhr-accent: #F97316;         /* Bright Orange - CTAs and highlights */
    --rhr-text: #111827;           /* Dark Gray - excellent readability */
    --rhr-background: #FFFFFF;     /* Clean White */
    --rhr-light-bg: #F9FAFB;       /* Light Gray - section separation */
    
    /* Typography */
    --rhr-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --rhr-font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --rhr-spacing-xs: 0.5rem;
    --rhr-spacing-sm: 1rem;
    --rhr-spacing-md: 1.5rem;
    --rhr-spacing-lg: 2rem;
    --rhr-spacing-xl: 3rem;
    --rhr-spacing-xxl: 4rem;
    
    /* Shadows */
    --rhr-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --rhr-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --rhr-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --rhr-transition-fast: 150ms ease-in-out;
    --rhr-transition-base: 250ms ease-in-out;
    --rhr-transition-slow: 350ms ease-in-out;
}

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

/* Ensure our custom fonts are applied */
body {
    font-family: var(--rhr-font-body);
    color: var(--rhr-text);
}

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

/* ==========================================================================
   Component Styles
   ========================================================================== */

/* Trust Badge Styles */
.rhr-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--rhr-spacing-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rhr-primary);
}

/* CTA Button Styles */
.rhr-cta-button {
    background-color: var(--rhr-accent);
    color: white;
    padding: var(--rhr-spacing-sm) var(--rhr-spacing-lg);
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all var(--rhr-transition-base);
    box-shadow: var(--rhr-shadow-md);
}

.rhr-cta-button:hover {
    background-color: #ea580c; /* Darker orange */
    box-shadow: var(--rhr-shadow-lg);
    transform: translateY(-2px);
    color: white;
}

/* Local Focus Styles */
.rhr-local-emphasis {
    color: var(--rhr-primary);
    font-weight: 600;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Background Colors */
.rhr-bg-primary { background-color: var(--rhr-primary); }
.rhr-bg-secondary { background-color: var(--rhr-secondary); }
.rhr-bg-accent { background-color: var(--rhr-accent); }
.rhr-bg-light { background-color: var(--rhr-light-bg); }

/* Text Colors */
.rhr-text-primary { color: var(--rhr-primary); }
.rhr-text-secondary { color: var(--rhr-secondary); }
.rhr-text-accent { color: var(--rhr-accent); }

/* Spacing */
.rhr-mt-1 { margin-top: var(--rhr-spacing-sm); }
.rhr-mt-2 { margin-top: var(--rhr-spacing-md); }
.rhr-mt-3 { margin-top: var(--rhr-spacing-lg); }
.rhr-mt-4 { margin-top: var(--rhr-spacing-xl); }

.rhr-mb-1 { margin-bottom: var(--rhr-spacing-sm); }
.rhr-mb-2 { margin-bottom: var(--rhr-spacing-md); }
.rhr-mb-3 { margin-bottom: var(--rhr-spacing-lg); }
.rhr-mb-4 { margin-bottom: var(--rhr-spacing-xl); }

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --rhr-spacing-xl: 2rem;
        --rhr-spacing-xxl: 3rem;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .rhr-no-print {
        display: none !important;
    }
}