/*
Theme Name: We're Ready
Theme URI: https://www.westandreadytoserve.org
Author: The Paratrooper Veteran Foundation Corp
Author URI: https://www.westandreadytoserve.org
Description: Custom WordPress theme for The Paratrooper Veteran Foundation Corp - a nonprofit dedicated to supporting U.S. military veterans through housing assistance, emergency shelter, and disaster relief services.
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: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: were-ready
Tags: nonprofit, charity, veterans, donation, accessibility-ready, custom-header, custom-logo, custom-menu, featured-images, flexible-header, full-width-template, rtl-language-support, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and support our veterans.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Reset & Base Styles
2.0 Typography
3.0 Layout
4.0 Header
5.0 Navigation
6.0 Content
7.0 Donation Forms
8.0 Impact Metrics
9.0 Footer
10.0 Accessibility
11.0 Media Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Reset & Base Styles
--------------------------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #004499;
    text-decoration: underline;
}

a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/*--------------------------------------------------------------
3.0 Layout
--------------------------------------------------------------*/

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-content {
    min-height: calc(100vh - 200px);
}

/*--------------------------------------------------------------
4.0 Header
--------------------------------------------------------------*/

.site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.custom-logo-link img {
    max-height: 60px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/

.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-grow: 1;
    justify-content: flex-end;
}

.menu-primary-container {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: #0066cc;
}

.header-actions {
    display: flex;
    align-items: center;
}

/*--------------------------------------------------------------
6.0 Content
--------------------------------------------------------------*/

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/*--------------------------------------------------------------
7.0 Donation Forms
--------------------------------------------------------------*/

.donation-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.donation-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.donation-tier {
    display: block;
    background: #fff;
    border: 2px solid #0066cc;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #000;
}

.donation-tier:hover,
.donation-tier:focus {
    background: #0066cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.donation-tier.selected {
    background: #0066cc;
    color: #fff;
}

.donation-tier .amount {
    font-size: 2rem;
    font-weight: 700;
}

/*--------------------------------------------------------------
8.0 Impact Metrics
--------------------------------------------------------------*/

.impact-section {
    padding: 4rem 0;
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.metric-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0066cc;
    display: block;
}

.metric-label {
    font-size: 1rem;
    color: #666;
}

/*--------------------------------------------------------------
9.0 Footer
--------------------------------------------------------------*/

.site-footer {
    background: #333;
    color: #fff;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.site-footer a {
    color: #fff;
}

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

/*--------------------------------------------------------------
10.0 Accessibility
--------------------------------------------------------------*/

.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;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto;
    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;
}

/*--------------------------------------------------------------
11.0 Media Queries
--------------------------------------------------------------*/

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }

    .donation-tiers {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .donation-tiers {
        grid-template-columns: 1fr;
    }
}
