/*
Theme Name: Adelante PTA Theme
Theme URI:
Author: Manus AI
Author URI:
Description: Custom WordPress theme for Adelante PTA, a nonprofit providing financial aid and scholarships to San Jose students.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adelante-pta-theme
Tags: custom-background, custom-header, custom-menu, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
*/

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
@font-face {
    font-family: 'Fraunces';
    src: url('assets/fonts/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
    /* Colors */
    --color-primary: #1B3A5C; /* Deep Navy */
    --color-body-text: #22242A; /* Near-black */
    --color-background-white: #FFFFFF;
    --color-background-off-white: #FAFAF8;
    --color-accent-gold: #E8A33D; /* Warm Gold */
    --color-accent-coral: #E8613C; /* Coral */
    --color-supporting-teal: #3E8E7E; /* Muted Teal */

    /* Typography */
    --font-family-heading: 'Fraunces', serif;
    --font-family-body: 'Inter', sans-serif;
    --line-height-body: 1.6;

    /* Spacing (multiples of 8px) */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    --spacing-xxxl: 96px;

    /* Border Radius */
    --border-radius-card: 12px;
    --border-radius-button: 8px;
}

/*--------------------------------------------------------------
# Base Styles
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
    font-size: 100%;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: var(--font-family-body);
    font-size: 1rem;
    line-height: var(--line-height-body);
    color: var(--color-body-text);
    background-color: var(--color-background-off-white);
    margin: 0;
    padding: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--color-primary);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem; /* Mobile */
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
}

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

/* Buttons */
.button {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-button);
    font-family: var(--font-family-body);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.button-primary {
    background-color: var(--color-primary);
    color: var(--color-background-white);
}

.button-primary:hover,
.button-primary:focus {
    background-color: #152C45; /* Slightly darker navy */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button-accent-gold {
    background-color: var(--color-accent-gold);
    color: var(--color-body-text);
}

.button-accent-gold:hover,
.button-accent-gold:focus {
    background-color: #D4942E; /* Slightly darker gold */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button-accent-coral {
    background-color: var(--color-accent-coral);
    color: var(--color-background-white);
}

.button-accent-coral:hover,
.button-accent-coral:focus {
    background-color: #D4522D; /* Slightly darker coral */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Cards */
.card {
    background-color: var(--color-background-white);
    border-radius: var(--border-radius-card);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-lg);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Layout */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.75rem;
    }

    .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}

@media (min-width: 1200px) {
    .container {
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
    }
}
