/* ============================================
   Blog / Alt Sayfa Ortak CSS
   Oyun Terapisi Ankara
   ============================================ */

/* Reset and Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #4a90e2;
    --primary-dark: #2c5fb3;
    --secondary: #f39c12;
    --accent: #764ba2;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-dark: #1e293b;
    --text-mid: #475569;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 4px 20px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all .3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- HEADER / NAV ---- */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0; right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform .3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
    transform: scaleX(1);
}

.nav-cta {
    background: var(--secondary) !important;
    color: white !important;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: #e67e22 !important;
    transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
    background: var(--bg-light);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: .85rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb span { margin: 0 8px; }

/* ---- PAGE HERO ---- */
.page-hero {
    background: var(--gradient);
    padding: 70px 0 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><circle cx="10" cy="10" r="8" fill="rgba(255,255,255,0.05)"/><circle cx="30" cy="5" r="5" fill="rgba(255,255,255,0.05)"/><circle cx="60" cy="15" r="10" fill="rgba(255,255,255,0.03)"/><circle cx="85" cy="8" r="6" fill="rgba(255,255,255,0.04)"/></svg>') repeat;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero .lead {
    font-size: 1.1rem;
    opacity: .9;
    max-width: 650px;
    margin: 0 auto 1.5rem;
}

.hero-img-wrap {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-height: 420px;
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- ARTICLE LAYOUT ---- */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 60px 0;
    align-items: start;
}

/* ---- ARTICLE CONTENT ---- */
.article-content {
    min-width: 0;
}

.article-content h2 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
    border-bottom: 3px solid var(--secondary);
    padding-bottom: .5rem;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin: 1.75rem 0 .75rem;
}

.article-content h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 1.25rem 0 .5rem;
}

.article-content p {
    margin-bottom: 1.25rem;
    color: var(--text-mid);
    line-height: 1.8;
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
    margin-bottom: .5rem;
    color: var(--text-mid);
}

.article-content strong { color: var(--text-dark); }

.article-content a {
    color: var(--primary);
    font-weight: 500;
}

.article-content a:hover { text-decoration: underline; }

.article-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 1.5rem 0;
    object-fit: cover;
    max-height: 380px;
}

/* ---- INFO BOXES ---- */
.info-box {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 5px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 25px;
    margin: 1.5rem 0;
}

.info-box h4 { color: var(--primary-dark); margin-bottom: .5rem; }
.info-box p { margin: 0; }

.warning-box {
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    border-left: 5px solid var(--secondary);
}

.success-box {
    background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
    border-left: 5px solid #22c55e;
}

/* ---- FEATURE GRID ---- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin: 1.5rem 0;
}

.feature-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 22px;
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: .75rem;
    display: block;
}

.feature-card h4 {
    color: var(--primary-dark);
    margin-bottom: .5rem;
    font-size: 1rem;
}

.feature-card p {
    font-size: .9rem;
    color: var(--text-light);
    margin: 0;
}

/* ---- CTA BOXES ---- */
.cta-box {
    background: var(--gradient);
    color: white;
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    text-align: center;
    margin: 2.5rem 0;
}

.cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: .75rem;
}

.cta-box p {
    opacity: .9;
    margin-bottom: 1.5rem;
    color: white;
}

.btn-cta {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(243,156,18,.4);
}

.btn-cta:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243,156,18,.5);
}

/* ---- SIDEBAR ---- */
.sidebar {
    position: sticky;
    top: 80px;
}

.sidebar-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 25px;
    border: 1px solid var(--border);
}

.sidebar-card h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--primary);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    padding: .45rem 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-card ul li:last-child { border: none; }

.sidebar-card ul li a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: .9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-card ul li a:hover { color: var(--primary); }

.sidebar-card ul li a::before { content: '→'; color: var(--secondary); }

.sidebar-cta {
    background: var(--gradient);
    color: white;
    text-align: center;
}

.sidebar-cta h3 {
    color: white;
    border-color: rgba(255,255,255,.3);
}

.sidebar-cta p {
    font-size: .9rem;
    opacity: .9;
    margin-bottom: 1rem;
}

.btn-sidebar {
    display: block;
    background: var(--secondary);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
}

.btn-sidebar:hover {
    background: #e67e22;
    transform: translateY(-1px);
}

/* ---- RELATED ARTICLES ---- */
.related-section {
    padding: 50px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.related-section h2 {
    text-align: center;
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    border: 1px solid var(--border);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.related-card-body {
    padding: 20px;
}

.related-card-tag {
    font-size: .75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .5rem;
}

.related-card h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: .5rem;
    line-height: 1.4;
}

.related-card p {
    font-size: .85rem;
    color: var(--text-light);
    margin: 0;
}

/* ---- FOOTER ---- */
.site-footer {
    background: var(--text-dark);
    color: #94a3b8;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 { color: white; font-size: 1.2rem; margin-bottom: .75rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-brand a { color: var(--secondary); font-weight: 600; text-decoration: none; }

.footer-col h4 {
    color: white;
    font-size: .95rem;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: .5rem; }

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: .87rem;
    transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--secondary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .83rem;
}

.footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

/* ---- FAQ ---- */
.faq-section { padding: 50px 0; }
.faq-section h2 { font-size: 1.75rem; margin-bottom: 25px; color: var(--text-dark); }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: var(--bg-light);
    border: none;
    padding: 18px 22px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.faq-q:hover { background: #e2e8f0; }

.faq-q .arrow {
    transition: transform .3s;
    color: var(--primary);
    font-size: 1.2rem;
}

.faq-q.open .arrow { transform: rotate(180deg); }

.faq-a {
    display: none;
    padding: 20px 22px;
    background: white;
    color: var(--text-mid);
    line-height: 1.7;
}

.faq-a.open { display: block; }

/* ---- PROCESS STEPS ---- */
.steps-wrap {
    counter-reset: step;
    margin: 1.5rem 0;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-n {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-body h4 { margin-bottom: .35rem; color: var(--text-dark); }
.step-body p { color: var(--text-mid); font-size: .95rem; margin: 0; }

/* ---- STATS ---- */
.stats-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 2rem 0;
    justify-content: center;
}

.stat-box {
    text-align: center;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 25px 30px;
    flex: 1;
    min-width: 150px;
    border-top: 4px solid var(--secondary);
}

.stat-num { font-size: 2.2rem; font-weight: 700; color: var(--primary-dark); display: block; }
.stat-lbl { font-size: .85rem; color: var(--text-light); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 65px; left: 0; right: 0; background: white; box-shadow: var(--shadow); padding: 15px 20px; }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .page-hero h1 { font-size: 1.6rem; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
