/*
 Theme Name:   Astra Child
 Theme URI:    http://example.com/astra-child/
 Description:  Astra Child Theme
 Author:       Trae
 Author URI:   http://example.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  astra-child
*/

/* --- CSS VARIABLES & RESET --- */
:root {
    --primary: #0d47a1; /* Primary 900 */
    --accent: #1565c0; /* Primary 800 */
    --text-light: #f8fafc;
    --text-dark: #0a1628; /* Primary 950 */
    --bg-light: #f0f9ff; /* Primary 50 */
    --container-width: 1200px;
}

/* Global Styles */
.custom-home-wrapper {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: white;
}

.custom-home-wrapper * {
    box-sizing: border-box;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.custom-home-wrapper h1, 
.custom-home-wrapper h2, 
.custom-home-wrapper h3, 
.custom-home-wrapper h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(13, 71, 161, 0.4);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(13, 71, 161, 0.5);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* --- SECTIONS --- */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0d47a1 100%);
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: white;
}
.hero p {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* About Section */
.about {
    padding: 100px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.stat-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: var(--bg-light);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.product-img {
    height: 220px;
    background-color: #cbd5e1;
    background-size: cover;
    background-position: center;
}
.product-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-content h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: var(--primary);
}
.product-content p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 16px;
}
