/*
Theme Name: AM2PM Supports
Theme URI: https://am2pm.com.au
Description: Professional NDIS support services WordPress theme for AM2PM Supports.
Version: 1.0.0
Author: AM2PM Team
Author URI: https://am2pm.com.au
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: am2pm-supports
Domain Path: /languages
*/

/* ===========================
   GLOBAL STYLES
   =========================== */

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

:root {
    --primary-blue: #1e81dd;
    --primary-dark-blue: #176bb8;
    --accent-yellow: #f3c63a;
    --accent-yellow-hover: #d9b134;
    --accent-purple: #7653b8;
    --text-dark: #333333;
    --text-light: #4b5563;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --bg-light: #f0f4ff;
    --border-light: #e5e7eb;
    --footer-bg: #1e81dd;
    --footer-text: #ffffff;
    --footer-text-light: #e0e7ff;
    --footer-text-muted: #a5b4fc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark-blue);
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.row {
    display: grid;
    gap: 32px;
}

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

.row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.row-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: 'Sora', system-ui, -apple-system, sans-serif;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: #003d99;
}

.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
    .row-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 20px; }

    .container {
        padding: 0 16px;
    }

    .row-2,
    .row-3,
    .row-4 {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* ===========================
   WORDPRESS CLASSES
   =========================== */

.wp-caption {
    max-width: 100%;
}

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

.wp-caption-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin: 20px auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===========================
   UTILITY CLASSES
   =========================== */

.highlight {
    color: var(--accent-yellow);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pt-4 { padding-top: 32px; }

.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
.pb-4 { padding-bottom: 32px; }
