/*
Theme Name: Links Connect
Theme URI: https://linksconnect.co.uk/
Author: Links Connect
Author URI: https://linksconnect.co.uk/
Description: Conversion-first, high-performance custom WordPress theme for Links Connect. Completely cookie-free, GDPR/PECR compliant, and optimized for B2B local business sponsorships and member communications.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linksconnect
*/

/* ── COLOR SYSTEM & VARIABLES ───────────────────────────────── */
:root {
  --green-deep:  #0a1a0a;
  --green-dark:  #0d2010;
  --green-mid:   #1a3a1c;
  --green-light: #2d5a30;
  --green-pale:  #3d7a40;
  --gold:        #c9a84c;
  --gold-light:  #e8d090;
  --gold-pale:   #f5e8c0;
  --white:       #ffffff;
  --off-white:   #f5f2ec;
  --text:        #1a1a1a;
  --grey:        #6a7060;
  --grey-text:   #a0aab8;
}

/* ── CORE RESET ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  background-color: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── COMMON UI STYLES ───────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }
.section-title.dark { color: var(--green-deep); }

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--green-deep);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── CASE STUDY CONTENT STYLES ───────────────────────────────── */
.case-study-hero {
  background-color: var(--green-deep);
  color: var(--white);
  padding: 120px 0 80px 0;
  border-bottom: 3px solid var(--gold);
}

.case-study-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.case-glance-meta {
  background: var(--green-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--gold);
  padding: 24px;
  margin-bottom: 40px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.meta-item-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 4px;
}

.meta-item-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

/* Structured Body Sections */
.case-body-section {
  padding: 80px 0;
}
.case-body-section:nth-of-type(even) {
  background-color: var(--white);
}
.case-body-section:nth-of-type(odd) {
  background-color: var(--off-white);
}

.section-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .section-layout-grid {
    grid-template-columns: 280px 1fr;
  }
}

.section-sidebar-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green-deep);
  letter-spacing: 1px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  align-self: start;
}

.section-main-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}
.section-main-content p {
  margin-bottom: 20px;
}
.section-main-content p:last-child {
  margin-bottom: 0;
}

/* Client Review block */
.client-review-card {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 32px;
  margin-top: 40px;
  border-radius: 0 4px 4px 0;
}
.review-quote {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--green-deep);
}
.review-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey);
}

/* Prominent Conversion CTA */
.inline-conversion-cta {
  background: var(--green-deep);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.inline-conversion-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.cta-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 16px;
}
.cta-heading em {
  color: var(--gold);
  font-style: italic;
}
.cta-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

/* ── GDPR COMPLIANT PRIVACY POLICY ───────────────────────────── */
.privacy-policy-container {
  padding: 120px 0 80px 0;
}
.privacy-policy-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 30px;
  color: var(--green-deep);
}
.privacy-policy-container h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 40px 0 16px 0;
  color: var(--green-deep);
  letter-spacing: 0.5px;
}
.privacy-policy-container p, .privacy-policy-container li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}
.privacy-policy-container ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
