/*
Theme Name: Silva's Remodeling 2025
Theme URI: https://remodelwithsilva.com
Author: Silva's Remodeling
Author URI: https://remodelwithsilva.com
Description: Custom WordPress theme for Silva's Remodeling - Family-owned remodeling contractor serving Illinois south suburbs with 30+ years of professional trade experience. Features SEO-optimized service pages, portfolio showcase, blog system, and cost calculators.
Version: 2.0.1
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silvas-remodeling
Tags: construction, remodeling, contractor, business, custom-colors, custom-logo, custom-menu, featured-images, portfolio, blog

Silva's Remodeling WordPress Theme, Copyright 2025
Silva's Remodeling Theme is distributed under the terms of the GNU GPL.
*/

/* ==========================================================================
   CSS VARIABLES - Brand Colors & Typography
   ========================================================================== */

:root {
    /* Brand Colors */
    --color-deep-navy: #001540;
    --color-deep-blue: #014385;
    --color-bright-blue: #0A5CAA;
    --color-gold: #8B7500; /* Updated for WCAG AA compliance (4.52:1 contrast ratio) */
    --color-light-gold: #E8C98F;
    --color-yellow-gold: #FFC107;
    --color-white: #F8F9FA;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(1, 67, 133, 0.1);
    --shadow-md: 0 4px 15px rgba(1, 67, 133, 0.15);
    --shadow-lg: 0 8px 30px rgba(1, 67, 133, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: #333;
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-bright-blue);
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   WORDPRESS CORE CLASSES
   ========================================================================== */

.alignleft {
    float: left;
    margin-right: var(--spacing-md);
}

.alignright {
    float: right;
    margin-left: var(--spacing-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #666;
    margin-top: var(--spacing-xs);
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
    padding-top: 90px; /* Account for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.wide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    .container,
    .wide-container {
        padding: 0 var(--spacing-sm);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
