/*
Theme Name: Kids of Incarcerated Parents
Theme URI: https://steinmetzprinting.com
Author: Custom Theme
Author URI: https://steinmetzprinting.com
Description: A professional, donation-focused block theme for Kids of Incarcerated Parents non-profit. Features a calming blue color scheme, WooCommerce compatibility, and powerful messaging to drive donations and support for children of incarcerated parents.
Version: 1.0.0
Requires at least: 6.0
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: kiop-theme
Tags: block-theme, full-site-editing, one-column, two-columns, custom-colors, custom-menu, editor-style, featured-images, footer-widgets, sticky-post, threaded-comments, translation-ready, e-commerce, nonprofit

This theme is designed to support children of incarcerated parents through powerful storytelling and easy donation pathways.
*/

/*
 * Font smoothing and base styles
 */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*
 * Accessibility improvements
 */
.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;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/*
 * Donation and CTA button styles
 */
.wp-block-button.is-style-donation {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.wp-block-button.is-style-donation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(37, 99, 235, 0.4);
}

/*
 * Impact stats styling
 */
.impact-stat {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.impact-stat .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e40af;
    line-height: 1.2;
}

.impact-stat .stat-label {
    font-size: 1.125rem;
    color: #1e3a8a;
    margin-top: 0.5rem;
}

/*
 * WooCommerce compatibility
 */
.woocommerce-page .entry-content {
    max-width: 100%;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    margin-bottom: 2rem;
}

.woocommerce nav.woocommerce-pagination {
    text-align: center;
    padding: 2rem 0;
}

.woocommerce-cart .wc-proceed-to-checkout {
    padding: 2rem 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: #2563eb;
    border-radius: 8px;
    font-weight: 600;
    padding: 1rem 2rem;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #1d4ed8;
}

/*
 * Responsive images
 */
img {
    height: auto;
    max-width: 100%;
}

/*
 * Block editor alignment
 */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*
 * Typography enhancements
 */
.has-drop-cap:not(:focus)::first-letter {
    font-size: 3.5em;
    font-weight: 700;
    margin: 0.05em 0.1em 0 0;
    color: #1e40af;
}

/*
 * Mission statement styling
 */
.mission-statement {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.3);
}

.mission-statement h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/*
 * Testimonial styling
 */
.testimonial {
    background: #f0f9ff;
    padding: 2rem;
    border-left: 4px solid #2563eb;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #1e40af;
    margin-top: 1rem;
    font-style: normal;
}

/*
 * Card styling for content blocks
 */
.content-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

/*
 * Footer styling
 */
.site-footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #dbeafe;
}

.site-footer a {
    color: #93c5fd;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #ffffff;
}

/*
 * Header navigation
 */
.wp-block-navigation a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.wp-block-navigation a:hover {
    color: #2563eb;
}

/*
 * Utility classes
 */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}
