/* === For Parents page — lushka.tanazur.org/parents === */

:root {
    --warm-bg: #faf8f5;
    --text-main: #2c2c2c;
    --text-muted: #666;
    --accent: #c0392b;
    --accent-soft: #e8d5c4;
    --section-bg: #fff;
    --border: #e8e0d8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-main);
    background: var(--warm-bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

/* --- Header --- */
.header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
}

.header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.75;
    max-width: 600px;
    margin: 0 auto;
}

.header-nav {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: all 0.2s;
}
.header-nav a:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
}

/* --- Content --- */
.content {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

/* --- Table of Contents --- */
.toc {
    background: var(--section-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}

.toc h2 {
    font-size: 1rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.toc ol {
    padding-left: 1.2rem;
}

.toc li {
    margin-bottom: 0.4rem;
}

.toc a {
    color: var(--accent);
    text-decoration: none;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 0.95rem;
}
.toc a:hover {
    text-decoration: underline;
}

/* --- Sections --- */
.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    border-bottom: 2px solid var(--accent-soft);
    padding-bottom: 0.4rem;
}

.section h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-main);
}

.section p {
    margin-bottom: 1rem;
}

.section blockquote {
    border-left: 3px solid var(--accent);
    margin: 1.2rem 0;
    padding: 0.8rem 1.2rem;
    background: rgba(192, 57, 43, 0.04);
    font-style: italic;
    color: var(--text-muted);
}

.section ul, .section ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.section li {
    margin-bottom: 0.5rem;
}

/* Principles list */
.principles {
    list-style: none;
    padding-left: 0;
    counter-reset: principle;
}

.principles li {
    counter-increment: principle;
    padding: 0.8rem 1rem 0.8rem 3.2rem;
    position: relative;
    background: var(--section-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.principles li::before {
    content: counter(principle);
    position: absolute;
    left: 0.8rem;
    top: 0.8rem;
    width: 1.8rem;
    height: 1.8rem;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
}

.principles li strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.principles li span {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Cycle steps */
.cycle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.2rem 0;
}

.cycle-step {
    background: var(--section-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.cycle-step .step-num {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.cycle-step h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.cycle-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Influences list */
.influences {
    list-style: none;
    padding-left: 0;
}

.influences li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}

.influences li:last-child { border-bottom: none; }

.influences strong {
    color: var(--accent);
}

/* --- Footer --- */
.page-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}

.page-footer a {
    color: var(--accent);
    text-decoration: none;
}
.page-footer a:hover {
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .header h1 { font-size: 1.6rem; }
    .header p { font-size: 0.95rem; }
    .content { padding: 1.5rem 1rem 3rem; }
    .section h2 { font-size: 1.35rem; }
    .cycle { grid-template-columns: 1fr; }
    .principles li { padding-left: 2.8rem; }
}
