/* website-template.css
   Full design system for the reusable agency template.
   Search ✏️ CUSTOMIZE to find every value you should change per client.
*/

/* ─── Design Tokens ──────────────────────────────────────────
   ✏️ CUSTOMIZE: Swap gradients to match each client's brand.
   Keep --bg-color and --bg-color-alt dark for the best contrast.
─────────────────────────────────────────────────────────── */
:root {
  --bg-color:        #0f0f0f;
  --bg-color-alt:    #141414;
  --text-primary:    #f0ece4;
  --text-secondary:  #7a7068;

  /* Primary accent — used for logo, gradient text, active states */
  --accent-gradient:   linear-gradient(135deg, #E25A3C 0%, #F0A500 100%);
  /* Secondary — service card 2, glass card top bar */
  --accent-gradient-2: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
  /* Tertiary — service card 3 */
  --accent-gradient-3: linear-gradient(135deg, #FF9933 0%, #E25A3C 100%);

  --card-bg:     rgba(22, 20, 18, 0.85);
  --card-border: rgba(240, 236, 228, 0.07);
  --glass-bg:    rgba(255, 255, 255, 0.03);
  --glass-border:rgba(255, 255, 255, 0.07);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2 { font-family: 'DM Serif Display', Georgia, serif; line-height: 1.15; }
h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; line-height: 1.2; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }

/* ─── Scroll Animations ──────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll[data-delay="1"] { transition-delay: 0.10s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.22s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.34s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.46s; }

/* ─── Section Navigator ──────────────────────────────────── */
.section-nav {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.section-nav-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.nav-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(240,236,228,0.18);
  border: 1px solid rgba(240,236,228,0.28);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.nav-label {
  color: rgba(240,236,228,0.35);
  font-size: 0.72rem;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.section-nav-item:hover .nav-dot,
.section-nav-item.active  .nav-dot {
  background: #E25A3C;
  border-color: #E25A3C;
  box-shadow: 0 0 12px rgba(226,90,60,0.6);
  transform: scale(1.3);
}

.section-nav-item:hover .nav-label,
.section-nav-item.active  .nav-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--text-primary);
}

@media (max-width: 1200px) { .section-nav { display: none; } }

/* ─── Navigation Bar ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.3s;
}
.nav-cta:hover { background: #E25A3C; color: #fff; border-color: #E25A3C; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary { background: #E25A3C; color: #fff; border: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(226,90,60,0.35); background: #c94e32; }

.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid rgba(240,236,228,0.2); }
.btn-outline:hover { background: var(--glass-bg); border-color: rgba(240,236,228,0.4); transform: translateY(-2px); }

.btn-sm    { padding: 0.65rem 1.3rem; font-size: 0.85rem; }
.btn-large { padding: 1.2rem 3rem;    font-size: 1.1rem; }

/* ─── Typography ─────────────────────────────────────────── */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.section-title { font-size: 3.5rem; font-weight: 600; margin-bottom: 1.5rem; }

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 4rem;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
  margin-top: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  background: rgba(226, 90, 60, 0.12);
  border: 1px solid rgba(226, 90, 60, 0.6);
  color: #E25A3C;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  box-shadow: 0 0 18px rgba(226, 90, 60, 0.25), inset 0 0 12px rgba(226, 90, 60, 0.06);
  text-transform: uppercase;
}

.hero-title { font-size: 6.5rem; font-weight: 400; line-height: 1.08; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.hero-sub   { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1.8rem; max-width: 520px; line-height: 1.7; }

/* Trust signal row */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.trust-stars { display: flex; gap: 2px; }

.trust-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-cta-group { display: flex; gap: 1rem; }

.hero-canvas-container {
  position: absolute;
  top: 0; right: -10%;
  width: 65%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ─── About ──────────────────────────────────────────────── */
.about { padding: 8rem 0; background: var(--bg-color); border-top: 1px solid var(--card-border); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 4px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent-gradient);
}
.glass-card h3 { font-size: 1.8rem; margin-bottom: 1rem; font-family: 'DM Serif Display', serif; }
.glass-card p  { color: var(--text-secondary); }

.stats-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-label { font-size: 0.78rem; color: var(--text-secondary); margin-top: 0.3rem; }

/* ─── Services ───────────────────────────────────────────── */
.services { padding: 8rem 0; border-top: 1px solid var(--card-border); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3.5rem;
  margin-top: 4rem;
}

.service-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 0;
  border-radius: 0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(0,0,0,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 20px; padding: 2px;
  background: var(--glass-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.4s ease;
}

.service-card:hover { transform: none; background: transparent; border-top-color: #E25A3C; }
.service-card:hover::after { opacity: 0; }

.service-card:nth-child(1):hover::before { background: transparent; }
.service-card:nth-child(2):hover::before { background: transparent; }
.service-card:nth-child(3):hover::before { background: transparent; }
.service-card:nth-child(4):hover::before { background: transparent; }

.service-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; position: relative; z-index: 2; }
.service-card p  { color: var(--text-secondary); font-size: 0.95rem; position: relative; z-index: 2; flex: 1; }

.service-link {
  display: inline-block;
  margin-top: 1.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative; z-index: 2;
}
.service-link:hover { color: var(--text-primary); }

/* ─── Work / Portfolio ───────────────────────────────────── */
.work { padding: 8rem 0; background: var(--bg-color); border-top: 1px solid var(--card-border); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-item { display: flex; flex-direction: column; gap: 1.5rem; }

.portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
}

.portfolio-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}

.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(15,15,15,0.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-item:hover .portfolio-img     { transform: scale(1.06); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* Results metric badge */
.portfolio-metric {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgba(252,248,242,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1510;
  letter-spacing: 0.04em;
  background-clip: padding-box;
  z-index: 2;
}

.portfolio-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.tag {
  padding: 0.25rem 0.85rem;
  background: rgba(240,236,228,0.05);
  border: 1px solid rgba(240,236,228,0.1);
  border-radius: 50px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.portfolio-info h3 { font-size: 1.6rem; margin: 0.6rem 0 0.4rem; }
.portfolio-info p  { color: var(--text-secondary); font-size: 0.9rem; }

/* ─── Care & Growth Plans ────────────────────────────────── */
.plans { padding: 10rem 0; background: var(--bg-color); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.plan-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
}

.plan-card:hover { transform: translateY(-4px); }

/* Featured plan */
.plan-featured {
  border-color: rgba(226,90,60,0.35);
  background: rgba(226,90,60,0.04);
  box-shadow: 0 0 40px rgba(226,90,60,0.08), inset 0 0 0 1px rgba(226,90,60,0.35);
}

.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #E25A3C, #F0A500);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-header { margin-bottom: 2rem; }

.plan-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.plan-price {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.plan-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  margin-bottom: 2.5rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.check {
  color: #38ef7d;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.plan-btn { width: 100%; text-align: center; margin-top: auto; }

/* ─── Reviews ────────────────────────────────────────────── */
.reviews { padding: 8rem 0; background: var(--bg-color); border-top: 1px solid var(--card-border); position: relative; overflow: hidden; }

.reviews::before { display: none; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--card-bg);
  border: none;
  border-top: 1px solid var(--card-border);
  border-radius: 0;
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-top-color 0.35s ease;
}
.review-card:hover { transform: none; box-shadow: none; border-top-color: #E25A3C; }

.review-featured { grid-column: span 2; }

/* Top accent bar — hidden in editorial style */
.review-accent { display: none; }
.accent-pink   { background: linear-gradient(90deg, #FF3366, #FF9933); }
.accent-blue   { background: linear-gradient(90deg, #00C6FF, #0072FF); }
.accent-green  { background: linear-gradient(90deg, #11998e, #38ef7d); }
.accent-purple { background: linear-gradient(90deg, #667eea, #764ba2); }
.accent-gold   { background: linear-gradient(90deg, #f5af19, #f12711); }
.accent-cyan   { background: linear-gradient(90deg, #43e97b, #38f9d7); }

.review-quote-mark {
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 0.6;
  color: rgba(255,255,255,0.06);
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  color: #FFD700;
}

.review-quote {
  color: var(--text-secondary);
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  flex: 1;
  font-style: italic;
}
.review-featured .review-quote { font-size: 1.35rem; }

.review-author { display: flex; align-items: center; gap: 1rem; margin-top: auto; }

.review-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.avatar-pink   { background: linear-gradient(135deg, #FF3366, #FF9933); color: #fff; }
.avatar-blue   { background: linear-gradient(135deg, #00C6FF, #0072FF); color: #fff; }
.avatar-green  { background: linear-gradient(135deg, #11998e, #38ef7d); color: #fff; }
.avatar-purple { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.avatar-gold   { background: linear-gradient(135deg, #f5af19, #f12711); color: #fff; }
.avatar-cyan   { background: linear-gradient(135deg, #43e97b, #38f9d7); color: #0a0a0a; }

.review-name { font-weight: 600; font-family: 'Outfit', sans-serif; font-size: 0.95rem; }
.review-role { font-size: 0.78rem; color: var(--text-secondary); margin-top: 0.2rem; }

/* ─── Contact CTA ────────────────────────────────────────── */
.contact-section {
  padding: 8rem 0;
  background: var(--bg-color);
  border-top: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(226,90,60,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; }
.contact-title { font-size: 4rem; font-weight: 800; line-height: 1.15; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer { padding: 4rem 0; border-top: 1px solid var(--card-border); background: var(--bg-color); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo { display: block; margin-bottom: 1rem; font-size: 1.4rem; }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; max-width: 260px; }

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.footer-links a { color: rgba(240,236,228,0.4); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--text-primary); }

.copyright { color: var(--text-secondary); font-size: 0.82rem; border-top: 1px solid var(--card-border); padding-top: 2rem; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-title { font-size: 5rem; }
  .section-title { font-size: 2.8rem; }
  .contact-title { font-size: 3rem; }
}

@media (max-width: 768px) {
  .nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

  .hero { padding: 0 1.5rem; min-height: 100svh; height: auto; padding-top: 5rem; padding-bottom: 4rem; }
  .hero-content { margin-top: 2rem; }
  .hero-title { font-size: 3rem; }
  .hero-sub { font-size: 1rem; }
  .hero-canvas-container { opacity: 0.25; right: -20%; width: 100%; }
  .hero-cta-group { flex-direction: column; gap: 0.75rem; }
  .hero-cta-group .btn { text-align: center; }

  .section-title { font-size: 2.2rem; }
  .contact-title { font-size: 2.2rem; }

  .about { padding: 5rem 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .glass-card { padding: 2rem; }
  .stats-row { gap: 2rem; }
  .stat-number { font-size: 2rem; }

  .services { padding: 5rem 0; }
  .services-grid { grid-template-columns: 1fr; gap: 0; }

  .work { padding: 5rem 0; }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 480px; }

  .reviews { padding: 5rem 0; }
  .reviews-grid { grid-template-columns: 1fr; gap: 0; }
  .review-featured { grid-column: span 1; }
  .review-featured .review-quote { font-size: 1.15rem; }

  .contact-section { padding: 5rem 0; }

  .footer { padding: 3rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
