/*
Theme Name: WellSpring
Theme URI: http://silverassist.com/wellspring-theme
Description: WellSpring is a modern and minimalist WordPress theme, designed with modular architecture and optimized for performance. Includes complete Elementor integration, Contact Form 7 support and is prepared for future WooCommerce, Gutenberg and Yoast SEO integrations.
Author: Silver Assist
Author URI: http://silverassist.com/
Version: 1.3.1
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GPL v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: wellspring
Tags: elementor, modern, responsive, customizable, blocks, contact-forms, future-ready
Network: false
*/

/**
 * WellSpring Theme Main Stylesheet
 *
 * Main theme styles for WellSpring
 *
 * @package WellSpring
 * @since 1.0.0
 * @version 1.2.0
 */

/* Normalize and Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* CSS Custom Properties (Variables) */
:root {
    /* Colors - Base */
    --ws-primary: #4E7B95;
    --ws-secondary: #0C1C3C;
    --ws-accent: #f0f0f0;
    --ws-text: #333;
    --ws-text-light: #666;
    --ws-text-lighter: #999;
    --ws-text-dark: #000;
    --ws-background: #fff;
    --ws-background-light: #f7f7f7;
    --ws-background-gradient: #f5f5f5;
    --ws-background-gradient-end: #e8e8e8;
    --ws-border: #e0e0e0;
    --ws-border-light: #ddd;

    /* Colors - Components */
    --ws-card-background: #fff;
    --ws-card-border: #666;
    --ws-placeholder-start: #f0f0f0;
    --ws-placeholder-end: #e0e0e0;
    --ws-shadow-color: rgba(0, 0, 0, 0.1);
    --ws-shadow-hover-color: rgba(0, 0, 0, 0.15);

    /* Typography - Font Families */
    --ws-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --ws-font-family-open-sans: 'Open Sans', sans-serif;
    --ws-font-family-source-serif: 'Source Serif Pro', serif;
    --ws-font-family-montserrat: 'Montserrat', sans-serif;

    /* Typography - Sizes */
    --ws-font-size-base: 16px;
    --ws-font-size-small: 14px;
    --ws-font-size-large: 18px;
    --ws-font-size-h1: 2.5rem;
    --ws-font-size-h2: 2rem;
    --ws-font-size-h3: 1.75rem;
    --ws-font-size-h4: 1.5rem;
    --ws-font-size-h5: 1.25rem;
    --ws-font-size-h6: 1rem;
    --ws-font-size-title-large: 48px;
    --ws-font-size-card-title: 24px;
    --ws-font-size-card-subtitle: 18px;

    /* Typography - Weights & Line Heights */
    --ws-font-weight-normal: 400;
    --ws-font-weight-medium: 500;
    --ws-font-weight-semibold: 600;
    --ws-font-weight-bold: 700;
    --ws-line-height-base: 1.6;
    --ws-line-height-tight: 1.3;
    --ws-line-height-relaxed: 1.4;

    /* Spacing - Standard Scale */
    --ws-spacing-xs: 0.5rem;    /* 8px */
    --ws-spacing-sm: 1rem;      /* 16px */
    --ws-spacing-md: 1.5rem;    /* 24px */
    --ws-spacing-lg: 2rem;      /* 32px */
    --ws-spacing-xl: 3rem;      /* 48px */

    /* Spacing - Component Specific */
    --ws-spacing-10: 10px;
    --ws-spacing-15: 15px;
    --ws-spacing-20: 20px;
    --ws-spacing-30: 30px;
    --ws-spacing-40: 40px;
    --ws-spacing-60: 60px;
    --ws-spacing-80: 80px;

    /* Border Radius */
    --ws-border-radius-small: 5px;
    --ws-border-radius-medium: 8px;
    --ws-border-radius-large: 10px;
    --ws-border-radius-xl: 20px;

    /* Shadows */
    --ws-shadow-light: 0 2px 8px var(--ws-shadow-color);
    --ws-shadow-medium: 0 4px 12px var(--ws-shadow-color);
    --ws-shadow-hover: 0 8px 22px var(--ws-shadow-hover-color);

    /* Grid & Layout */
    --ws-grid-gap-small: 20px;
    --ws-grid-gap-medium: 30px;
    --ws-grid-gap-large: 40px;
    --ws-image-size-team: 150px;
    --ws-image-height-team: 200px;
    --ws-image-height-team-mobile: 240px;
    --ws-image-height-card: 200px;
    
    /* Breakpoints */
    --ws-breakpoint-sm: 576px;
    --ws-breakpoint-md: 768px;
    --ws-breakpoint-lg: 992px;
    --ws-breakpoint-xl: 1200px;
    --ws-breakpoint-mobile: 480px;
    
    /* Transitions */
    --ws-transition: all 0.3s ease;
    --ws-transition-fast: all 0.2s ease;
    --ws-transition-transform: transform 0.3s ease;
    --ws-transition-shadow: box-shadow 0.3s ease;
}

/* Base Styles */
body {
    font-family: var(--ws-font-family);
    font-size: var(--ws-font-size-base);
    line-height: var(--ws-line-height-base);
    color: var(--ws-text);
    background-color: var(--ws-background);
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--ws-spacing-sm) 0;
    font-weight: var(--ws-font-weight-semibold);
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 var(--ws-spacing-sm) 0;
}

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

a:hover {
    color: var(--ws-secondary);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ws-spacing-sm);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Responsive Utilities */
@media (max-width: 767px) {
    .d-md-none { display: none; }
}

@media (min-width: 768px) {
    .d-md-block { display: block; }
    .d-md-flex { display: flex; }
}

/* WordPress Core Styles */
.alignnone {
    margin: var(--ws-spacing-sm) var(--ws-spacing-md) var(--ws-spacing-sm) 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: var(--ws-spacing-sm) auto;
}

.alignright {
    float: right;
    margin: var(--ws-spacing-sm) 0 var(--ws-spacing-sm) var(--ws-spacing-md);
}

.alignleft {
    float: left;
    margin: var(--ws-spacing-sm) var(--ws-spacing-md) var(--ws-spacing-sm) 0;
}

.wp-caption {
    background: var(--ws-accent);
    border: 1px solid var(--ws-border);
    max-width: 96%;
    padding: var(--ws-spacing-xs);
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--ws-text-light);
    text-align: center;
    margin: var(--ws-spacing-xs) 0 0 0;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--ws-accent);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--ws-text);
    display: block;
    font-size: 0.875rem;
    font-weight: var(--ws-font-weight-semibold);
    height: auto;
    left: var(--ws-spacing-xs);
    line-height: normal;
    padding: var(--ws-spacing-xs) var(--ws-spacing-sm);
    text-decoration: none;
    top: var(--ws-spacing-xs);
    width: auto;
    z-index: 100000;
}

/* Print Styles */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }
}
