/*
Theme Name: TalkToZaira
Theme URI: https://talktozaira.com
Author: TalkToZaira
Author URI: https://talktozaira.com
Description: Custom counselling theme for TalkToZaira.com — Zaira Rashid, Muslim Counsellor Manchester.
Version: 1.0.0
License: Private
Text Domain: talktozaira
Tags: counselling, therapy, mental-health
*/

/* ===== DESIGN TOKENS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --sage:       #8a9e8c;
  --sage-light: #c8d8c9;
  --sage-pale:  #edf2ed;
  --sand:       #f5f0e8;
  --sand-dark:  #e8e0d0;
  --warm:       #c8956a;
  --warm-light: #e8c4a0;
  --ink:        #2c2c2c;
  --ink-mid:    #555;
  --ink-light:  #888;
  --white:      #fefefe;
  --ff-head:    'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', sans-serif;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); color: var(--ink); background: var(--white); line-height: 1.7; font-size: 16px; overflow-x: hidden; }

/* ===== UTILITY ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--sand); }
.section--sage { background: var(--sage-pale); }
.section--dark { background: linear-gradient(135deg, #2c3e35 0%, #1a2820 100%); color: white; }

h1,h2,h3,h4 { font-family: var(--ff-head); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
p  { color: var(--ink-mid); margin-bottom: 16px; }
.section--dark p { color: rgba(255,255,255,0.75); }
.section--dark h2, .section--dark h3 { color: white; }

.label { font-family: var(--ff-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; display: block; }
.section--dark .label { color: var(--warm-light); }
.divider { width: 48px; height: 2px; background: var(--warm); margin: 20px 0 40px; }
.divider--center { margin: 20px auto 40px; }

.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-family: var(--ff-body); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em; text-decoration: none; cursor: pointer; transition: all 0.25s ease; border: none; }
.btn--primary { background: var(--sage); color: var(--white); }
.btn--primary:hover { background: #6e8570; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(138,158,140,0.4); }
.btn--outline { background: transparent; color: var(--sage); border: 2px solid var(--sage); }
.btn--outline:hover { background: var(--sage); color: var(--white); }
.btn--warm { background: var(--warm); color: var(--white); }
.btn--warm:hover { background: #b07d55; transform: translateY(-2px); }
.btn--outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ===== NAV ===== */
#site-header { position: sticky; top: 0; z-index: 100; background: rgba(254,254,254,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--sand-dark); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.site-logo { font-family: var(--ff-head); font-size: 1.4rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.02em; }
.site-logo span { color: var(--sage); }

/* WP nav menu */
#primary-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
#primary-menu a { font-size: 0.85rem; font-weight: 400; color: var(--ink-mid); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; padding-bottom: 2px; border-bottom: 2px solid transparent; }
#primary-menu a:hover, #primary-menu .current-menu-item > a { color: var(--sage); border-bottom-color: var(--sage); }
.nav-cta { flex-shrink: 0; }

/* Hamburger */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }

/* ===== PAGE HERO ===== */
.page-hero { padding: 80px 0 72px; background: linear-gradient(135deg, var(--sand) 0%, #f0ece2 60%, var(--sage-pale) 100%); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; top: -60px; right: -60px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(138,158,140,0.12) 0%, transparent 70%); pointer-events: none; }
.breadcrumb { font-size: 0.78rem; color: var(--ink-light); margin-bottom: 16px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--sage); text-decoration: none; }
.page-hero h1 { max-width: 700px; margin-bottom: 20px; }
.page-hero h1 em { font-style: italic; color: var(--sage); }
.hero-sub { font-size: 1.1rem; max-width: 580px; margin-bottom: 32px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.card { background: white; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 1.8rem; margin-bottom: 16px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { font-size: 0.9rem; margin: 0; }

/* ===== TWO-COL ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
.two-col-img { width: 100%; aspect-ratio: 4/5; background: linear-gradient(135deg, var(--sage-pale), var(--sand)); border-radius: var(--radius); position: relative; overflow: hidden; }
.two-col-img::before { content: attr(data-letter); position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--ff-head); font-size: 10rem; color: rgba(138,158,140,0.18); font-weight: 600; }

/* ===== CHECK LIST ===== */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 24px 0 32px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--ink-mid); }
.check-list li::before { content: '✓'; color: var(--sage); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.section--dark .check-list li { color: rgba(255,255,255,0.8); }
.section--dark .check-list li::before { color: var(--warm-light); }

/* ===== TAGS ===== */
.tag { font-size: 0.72rem; background: var(--sage-pale); color: var(--sage); padding: 4px 10px; border-radius: 50px; font-weight: 500; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* ===== TESTIMONIALS ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.testimonial { background: white; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); position: relative; }
.testimonial::before { content: '"'; font-family: var(--ff-head); font-size: 5rem; color: var(--sage-light); position: absolute; top: 8px; left: 22px; line-height: 1; }
.testimonial-text { font-family: var(--ff-head); font-size: 1.05rem; font-style: italic; color: var(--ink); line-height: 1.7; margin-bottom: 20px; padding-top: 28px; }
.testimonial-meta { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 38px; height: 38px; background: var(--sage-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 1rem; color: var(--sage); flex-shrink: 0; }
.testimonial-name { font-weight: 500; font-size: 0.85rem; color: var(--ink); }
.testimonial-detail { font-size: 0.75rem; color: var(--ink-light); }
.stars { color: var(--warm); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 4px; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--sand-dark); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 22px 0; font-family: var(--ff-head); font-size: 1.1rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-arrow { width: 24px; height: 24px; border-radius: 50%; background: var(--sage-pale); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; transition: transform 0.3s; color: var(--sage); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding-bottom: 18px; font-size: 0.92rem; }
.faq-item.open .faq-a { max-height: 300px; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--sage); padding: 72px 0; text-align: center; }
.cta-band h2 { color: white; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 32px; }

/* ===== MARQUEE ===== */
.marquee-bar { background: var(--ink); color: var(--white); padding: 13px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 22s linear infinite; }
.marquee-item { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; display: flex; align-items: center; gap: 16px; }
.marquee-item::after { content: '✦'; color: var(--warm-light); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== BLOG ===== */
.blog-grid-wp { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.post-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-thumb { height: 200px; overflow: hidden; background: var(--sage-pale); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 28px; }
.post-cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.post-card h2 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.35; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--sage); }
.post-excerpt p { font-size: 0.88rem; margin-bottom: 16px; }
.post-meta { font-size: 0.75rem; color: var(--ink-light); }
.read-more { font-size: 0.82rem; color: var(--sage); font-weight: 600; text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* Single post */
.single-post { max-width: 720px; margin: 0 auto; padding: 64px 24px; }
.single-post h1 { margin-bottom: 16px; }
.single-post .post-meta { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--sand-dark); }
.single-post .entry-content p { margin-bottom: 20px; line-height: 1.85; }
.single-post .entry-content h2 { font-size: 1.9rem; margin: 40px 0 16px; }
.single-post .entry-content h3 { font-size: 1.4rem; margin: 32px 0 12px; }
.single-post .entry-content ul { padding-left: 24px; margin-bottom: 20px; }
.single-post .entry-content ul li { margin-bottom: 8px; font-size: 0.95rem; color: var(--ink-mid); }

/* ===== FOOTER ===== */
#site-footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-link { font-family: var(--ff-head); font-size: 1.5rem; color: white; margin-bottom: 14px; display: block; text-decoration: none; }
.footer-brand p { font-size: 0.86rem; line-height: 1.75; }
#site-footer h4 { color: white; font-family: var(--ff-head); font-size: 1rem; margin-bottom: 16px; font-weight: 400; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-menu a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-menu a:hover { color: var(--warm-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 12px; }
.ncps-badge { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.07); padding: 7px 14px; border-radius: 8px; font-size: 0.78rem; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 0.82rem; text-decoration: none; transition: color 0.2s; }
.footer-social a:hover { color: var(--warm-light); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-2 { animation: fadeUp 0.6s 0.1s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.2s ease both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col-img { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #primary-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: white; padding: 20px 24px; border-bottom: 1px solid var(--sand-dark); box-shadow: var(--shadow); gap: 0; }
  #primary-menu.is-open { display: flex; }
  #primary-menu li { border-bottom: 1px solid var(--sand-dark); }
  #primary-menu a { display: block; padding: 14px 0; }
  .menu-toggle { display: block; }
  #site-header { position: relative; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.4rem; }
  .section { padding: 64px 0; }
}
