/*
Theme Name: Parent For Life
Theme URI: https://parentforlife.local
Author: Antigravity
Description: A parenting website theme for parents and grandparents, adapting the ForLifeCommunity.ai aesthetics.
Version: 1.0
Text Domain: parentforlife
*/

:root {
    /* Noble Futurism Palette */
    --color-forest-deep: #0B1D15;
    --color-forest-medium: #152C22;
    --color-gold: #C5A059;
    --color-gold-hover: #D6B36A;
    --color-slate: #5D6D7E;
    --color-cream: #F5F5F0;
    --color-cream-dim: #E6E6E1;

    /* Semantic Colors */
    --bg-primary: var(--color-forest-deep);
    --bg-secondary: var(--color-forest-medium);
    --text-primary: var(--color-cream);
    --text-secondary: #A0B3AB;
    --accent: var(--color-gold);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --nav-height: 90px;
    --container-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem; color: var(--text-primary); }
h3 { font-size: 1.75rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gold { color: var(--accent); }
.text-slate { color: var(--color-slate); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--color-forest-deep);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(197, 160, 89, 0.2);
}

.btn-secondary {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background: rgba(197, 160, 89, 0.05);
    color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(11, 29, 21, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-right: auto;
    padding-right: 2rem;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--nav-height) + 4rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero-overline {
    display: block;
    font-family: var(--font-body);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

/* Sections */
.section {
    padding: 8rem 0;
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

/* Feature Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    border-radius: var(--radius-sm);
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Internal Pages Typography */
.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 4rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-container h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-container p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.content-container ul, .content-container ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--text-secondary);
}

.content-container li {
    margin-bottom: 0.5rem;
}

/* Blog Feed */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.post-item {
    padding: 2.5rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.post-item:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.03);
}

.post-meta {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.post-title h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0;
    background: var(--bg-primary);
    text-align: center;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .nav-links { display: none; }
    .grid-3 { grid-template-columns: 1fr; }
}
