/*
Theme Name: IBR
Theme URI: https://ikana.io
Author: Ikana Business Review
Author URI: https://ikana.io
Description: Custom WordPress theme for Ikana Business Review – research-led strategy and field-tested frameworks.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ibr
*/

:root {
  --red: #C0392B;
  --red-hover: #A93226;
  --red-bg: #F2D7D5;
  --bg: #FAF8F5;
  --char: #2C2C2C;
  --med: #666666;
  --lt: #aaaaaa;
  --bd: #e8e4df;
  --serif: 'Libre Baskerville', Georgia, serif;
  --body: 'Source Sans 3', 'Source Sans Pro', -apple-system, sans-serif;
  --sub: 'JetBrains Mono', monospace;
  --mono: 'JetBrains Mono', monospace;
}

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

::selection {
  background: var(--red);
  color: #fff;
}

html {
  scroll-behavior: smooth;
  font-family: var(--body);
  background: var(--bg);
  color: var(--char);
  min-height: 100vh;
}

body {
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
min-height: 100vh;
  display: flex;
  flex-direction: column;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--red) !important;
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

/* Utilities */
.nd { display: flex; }
.nm { display: none; }

@media(max-width: 900px) {
  .nd { display: none !important; }
  .nm { display: block !important; }
  .rg, .cg3 { grid-template-columns: 1fr !important; }
  .fg { grid-template-columns: 1fr 1fr !important; }
  .bk { grid-template-columns: 1fr !important; }
}

@media(max-width: 600px) {
  .fg { grid-template-columns: 1fr !important; }
}

/* Animations & Interactivity */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  padding: 13px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--body);
  transition: all 0.25s;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--red-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}

.btn-secondary:hover {
  background: var(--red);
  color: #fff;
}

.card-hover {
  transition: box-shadow 0.3s, transform 0.3s;
}

.card-hover:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.card-hover-soft {
  transition: box-shadow 0.3s;
}

.card-hover-soft:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.opacity-hover {
  transition: opacity 0.2s;
}

.opacity-hover:hover {
  opacity: 0.7;
}

.input-style {
  padding: 13px 16px;
  border: 1.5px solid var(--bd);
  border-radius: 4px;
  font-family: var(--body);
  font-size: 0.92rem;
  outline: none;
  background: #fff;
  width: 100%;
  color: var(--char);
}

/* Navbar */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,248,245,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.nav-container.scrolled {
  background: rgba(250,248,245,0.97);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-link {
  font-size: 1.04rem !important;
  font-weight: 500;
  font-family: var(--body);
  color: var(--med);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active {
  color: var(--red);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
}

/* Services page styles */
.impact-acc { background: #FAF8F5; border-left: 3px solid #C0392B; padding: 18px 24px; cursor: pointer; border-radius: 0 4px 4px 0; margin-bottom: 8px; transition: background 0.2s; }
.impact-acc:hover { background: #f0ede8; }
.impact-title { font-family: var(--body); font-weight: 600; font-size: 0.95rem; color: #2C2C2C; display: flex; justify-content: space-between; align-items: center; }
.impact-content { display: none; font-size: 0.88rem; color: #666; line-height: 1.6; margin-top: 12px; }
.impact-acc.open .impact-content { display: block; }
.impact-acc.open .acc-icon { transform: rotate(45deg); }
.acc-icon { transition: transform 0.2s; font-size: 1.2rem; line-height: 1; color: #aaa; }
.focus-tag { background: #FAF8F5; padding: 14px 20px; border-radius: 4px; border: 1px solid #e8e4df; font-size: 0.85rem; font-weight: 500; color: #2C2C2C; display: flex; align-items: center; gap: 10px; }
.focus-dot { width: 6px; height: 6px; border-radius: 50%; background: #C0392B; }
.proc-row { display: grid; grid-template-columns: 48px auto; gap: 24px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #e8e4df; }
.proc-num { font-family: var(--body); font-size: 1.5rem; font-weight: 800; color: #C0392B; }
.proc-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: #2C2C2C; margin-bottom: 6px; }
.proc-desc { font-family: var(--body); font-size: 0.88rem; color: #666; line-height: 1.6; }
.pricing-card { background: #FAF8F5; padding: 32px 28px; border-radius: 6px; border: 1px solid #e8e4df; display: flex; flex-direction: column; }
.pricing-tier { font-family: var(--sub); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: #aaa; margin-bottom: 12px; }
.pricing-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: #2C2C2C; margin-bottom: 8px; }
.pricing-price { font-family: var(--body); font-size: 1.8rem; font-weight: 800; color: #2C2C2C; margin-bottom: 24px; display: flex; align-items: baseline; gap: 4px; }
.pricing-freq { font-size: 0.8rem; font-weight: 400; color: #666; }
.pricing-feat { font-size: 0.82rem; color: #666; display: flex; gap: 10px; margin-bottom: 12px; }
.pricing-check { color: #C0392B; font-weight: bold; }

/* Reviews page styles */
.hero-car { transition: opacity 0.4s ease; cursor: pointer; position: relative; }
.car-btn { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.3); color: #fff; border: none; cursor: pointer; font-size: 0.7rem; font-weight: 600; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.car-btn.active { background: #C0392B; transform: scale(1.1); }
.reveal-forced { animation: faceInUp 0.6s ease forwards; opacity: 0; transform: translateY(20px); }
@keyframes faceInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
