/*
Theme Name: Richard Ayoola Portfolio
Theme URI: https://nexisstudio.net/
Author: Richard Ayoola
Author URI: https://nexisstudio.net/
Description: Custom high-converting personal portfolio & Nexis Studio agency theme for Richard Ayoola. Features Framer-inspired minimalist aesthetics, interactive project filtering, typewriter hero, animated counters, custom post types, and seamless responsive design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: richard-ayoola
Tags: portfolio, agency, digital-designer, one-page, custom-colors, custom-menu, featured-images, theme-options
*/

:root {
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f7f7f5;
  --bg-card: #fbfbfa;
  --bg-card-hover: #f3f3f0;
  
  --text-primary: #0f0f0f;
  --text-secondary: rgba(15, 15, 15, 0.65);
  --text-muted: rgba(15, 15, 15, 0.4);
  
  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-card: rgba(0, 0, 0, 0.08);
  
  --accent-lime: #82ff1f;
  --accent-blue: #330ccc;
  --accent-dark: #0f0f0f;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
}

/* ==========================================================================
   Navigation Bar & Pills
   ========================================================================== */

.nav-item {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(15, 15, 15, 0.65);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.nav-item:hover {
  color: #0f0f0f;
  background-color: rgba(0, 0, 0, 0.04);
}

.nav-item.active {
  background-color: #0f0f0f;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(15, 15, 15, 0.75);
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #0f0f0f;
  background-color: rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Filter Pills
   ========================================================================== */

.filter-pill {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  background-color: #f7f7f5;
  color: rgba(15, 15, 15, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background-color: #ededeb;
  color: #0f0f0f;
}

.filter-pill.active {
  background-color: #0f0f0f;
  color: #ffffff;
  border-color: #0f0f0f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Expertise Pills (About / Intro Section)
   ========================================================================== */

.expertise-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(15, 15, 15, 0.75);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.expertise-pill:hover {
  background-color: #0f0f0f;
  color: #ffffff;
  border-color: #0f0f0f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Toolbox Cards (Creative Toolbox)
   ========================================================================== */

.toolbox-card {
  background-color: #fbfbfa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.toolbox-card:hover {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Process Cards
   ========================================================================== */

.process-card {
  background-color: #fbfbfa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.process-number {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0f0f0f;
  background-color: #82ff1f;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ==========================================================================
   Testimonial Cards
   ========================================================================== */

.testimonial-card {
  background-color: #fbfbfa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #0f0f0f;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-icon {
  width: 16px;
  height: 16px;
  color: #82ff1f;
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */

@media (max-width: 640px) {
  .project-card {
    padding: 20px !important;
    border-radius: 24px !important;
  }
}

/* ==========================================================================
   Typewriter Effect
   ========================================================================== */

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background-color: #0f0f0f;
  margin-left: 4px;
  vertical-align: -0.05em;
  animation: cursorBlink 0.9s infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
