/*
Theme Name: Pride Minds NI
Theme URI: https://nipridemind-nongkegj.manus.space/
Author: Pride Minds NI
Author URI: https://nipridemind-nongkegj.manus.space/
Description: A warm, inclusive WordPress theme for the Pride Minds NI LGBTQIA+ mental health non-profit. Features a hero homepage, stats, about section, services, community sections, and a custom front page template based on the original site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pride-minds-ni
Tags: non-profit, community, one-column, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,600;1,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --teal: oklch(0.35 0.07 180);
  --teal-dark: oklch(0.28 0.06 180);
  --teal-soft: oklch(0.4 0.07 180 / 0.5);
  --bg: oklch(0.985 0.008 80);
  --ink: oklch(0.2 0.02 200);
  --muted: oklch(0.4 0.02 200);
  --mute2: oklch(0.5 0.02 200);
  --cream: oklch(0.9 0.02 80);
  --peach: oklch(0.86 0.06 50);
  --lilac: oklch(0.77 0.07 295);
  --white: #fff;
  --shadow-lg: 0 20px 40px -20px rgba(20, 60, 70, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { opacity: 0.85; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }

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

/* Top bar */
.top-bar {
  background: var(--teal);
  color: #fff;
  font-size: .9rem;
  text-align: center;
  padding: .55rem 1rem;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  flex-wrap: wrap;
}
.top-bar a { color: #fff; font-weight: 700; text-decoration: underline; }
.top-bar svg { flex-shrink: 0; }

/* Pride bar */
.pride-bar { height: 4px; background: linear-gradient(to right,
  #e40303 0 16.66%, #ff8c00 16.66% 33.33%, #ffed00 33.33% 50%,
  #008026 50% 66.66%, #004cff 66.66% 83.33%, #732982 83.33% 100%); }

/* Header */
.site-header {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; max-width: 1280px; margin: 0 auto; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--lilac));
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.brand-text strong { font-family: 'Fraunces', serif; font-size: 1.25rem; color: var(--teal); display:block; line-height:1; }
.brand-text small { color: var(--muted); font-size: .78rem; }

.main-nav { display: flex; gap: .25rem; }
.main-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: .25rem; }
.main-nav a {
  display: inline-block; padding: .55rem 1rem; border-radius: 999px;
  color: var(--ink); font-weight: 500; font-size: .95rem;
}
.main-nav .current-menu-item > a, .main-nav a.active { background: var(--teal); color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.25rem; border-radius: .55rem; font-weight: 600;
  border: 0; cursor: pointer; transition: all .2s ease;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-lg); }
.btn-primary:hover { background: var(--teal-dark); color:#fff; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: rgba(0,0,0,.04); }

.menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--teal); }

/* Hero */
.hero {
  position: relative; overflow: hidden; min-height: 88vh;
  display: flex; align-items: center;
}
.hero::before {
  content:""; position: absolute; inset: 0; z-index: 0;
  background-image: url('assets/abstract-blob-bg.webp');
  background-size: cover; background-position: center; opacity: .4;
}
.hero .container { position: relative; z-index: 1; padding: 5rem 1.25rem; display:grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem 1rem; border-radius: 999px; font-weight: 600;
  background: oklch(0.35 0.07 180 / 0.12); color: var(--teal);
  font-size: .85rem; margin-bottom: 1.25rem;
}
.eyebrow .dot { width:8px; height:8px; border-radius:50%; background: var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; margin-bottom: 1.25rem; }
.hero h1 .accent { font-style: italic; color: var(--teal); display: block; }
.hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 540px; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image { position: relative; }
.hero-image::before {
  content:""; position:absolute; inset: -1rem; border-radius: 2rem;
  background: linear-gradient(135deg, var(--lilac), var(--teal));
  opacity: .3; filter: blur(40px); z-index:0;
}
.hero-image img { position: relative; border-radius: 2rem; box-shadow: var(--shadow-lg); max-height: 480px; object-fit: cover; width: 100%; }
.glass-card {
  position: absolute; bottom: -1rem; left: -1rem;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  padding: .85rem 1.25rem; border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}
.glass-card .label { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 700; color: var(--teal); }
.glass-card .meta { color: var(--mute2); font-size: .75rem; }

/* Stats */
.stats { background: var(--teal); padding: 4rem 0; color: #fff; }
.stats .heading { text-align: center; font-size: .85rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; opacity: .7; color: var(--cream); margin-bottom: 2rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat {
  text-align: center; padding: 1.5rem;
  border-radius: 1rem; background: var(--teal-soft);
}
.stat .num { font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 700; color: var(--peach); margin-bottom: .35rem; }
.stat p { font-size: .9rem; opacity: .85; color: var(--cream); margin: 0; }
.stats .source { text-align: center; font-size: .75rem; opacity: .5; margin-top: 1.25rem; color: var(--cream); }

/* About */
.about { padding: 5rem 0; }
.about .grid { display:grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: 2rem; box-shadow: var(--shadow-lg); max-height: 420px; object-fit: cover; width:100%; }
.blob { position:absolute; border-radius: 50%; pointer-events:none; }
.blob-1 { width:6rem; height:6rem; top:-1rem; right:-1rem; background: var(--lilac); opacity: .4; animation: float 6s ease-in-out infinite; }
.blob-2 { width:8rem; height:8rem; bottom:-1.5rem; left:-1.5rem; background: var(--peach); opacity: .3; animation: float 6s ease-in-out infinite 2s; }
@keyframes float { 50% { transform: translateY(-15px); } }
.section-eyebrow { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: var(--teal); margin-bottom: .75rem; }
.about h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.about p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1rem; }

/* Features */
.features { padding: 5rem 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.02)); }
.features h2 { text-align: center; font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.features .lead { text-align:center; color: var(--muted); max-width: 640px; margin: 0 auto 3rem; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feat-card {
  background: #fff; padding: 2rem; border-radius: 1.25rem;
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.15);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-icon {
  width:3rem; height:3rem; border-radius: .85rem;
  background: oklch(0.35 0.07 180 / 0.12); color: var(--teal);
  display: grid; place-items:center; margin-bottom: 1rem;
}
.feat-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.feat-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* CTA */
.cta {
  padding: 4rem 0; text-align: center;
  background: linear-gradient(135deg, var(--teal), var(--lilac));
  color: #fff;
}
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.cta p { opacity: .9; max-width: 600px; margin: 0 auto 1.75rem; }
.cta .btn-light { background: #fff; color: var(--teal); }
.cta .btn-light:hover { background: var(--cream); }

/* Footer */
.site-footer { background: var(--teal-dark); color: var(--cream); padding: 3rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-family: 'Inter', sans-serif; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer a { color: var(--cream); opacity: .85; }
.site-footer a:hover { opacity: 1; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.5rem; text-align:center; font-size: .85rem; opacity: .7; }

/* Default page / posts */
.page-wrap { max-width: 800px; margin: 0 auto; padding: 4rem 1.25rem; }
.page-wrap h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.entry-content p { margin: 0 0 1rem; color: var(--ink); }
.entry-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.post-card { background:#fff; padding: 1.5rem; border-radius: 1rem; margin-bottom: 1rem; box-shadow: 0 4px 12px -8px rgba(0,0,0,.1); }
.post-card h2 { font-size: 1.5rem; margin-bottom: .25rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero .container, .about .grid, .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background:#fff; padding: 1rem; flex-direction:column; box-shadow: var(--shadow-lg); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; width:100%; }
  .main-nav a { display:block; }
  .menu-toggle { display: inline-block; }
  .header-cta { display: none; }
}
