/*
Theme Name: Precise Talent LLC
Theme URI: https://precisetalent.com
Author: Precise Talent LLC
Author URI: https://precisetalent.com
Description: Professional career coaching and recruitment services theme for Precise Talent LLC.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: precise-talent
Tags: career, coaching, recruitment, business, professional
*/

/* ==========================================
   BASE RESET & VARIABLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-400: #60a5fa;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }

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

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}

.animate-fade-in-up   { animation: fadeInUp .8s ease forwards; }
.animate-fade-in-left { animation: fadeInLeft .6s ease forwards; }
.animate-fade-in-right{ animation: fadeInRight .6s ease forwards; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity .6s ease, transform .6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ==========================================
   HEADER
   ========================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

#site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
}
.site-logo span { color: var(--blue-600); }

/* Desktop Nav */
#primary-navigation { display: flex; align-items: center; gap: 2rem; }
#primary-navigation a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: .95rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
#primary-navigation a:hover,
#primary-navigation a.active {
  color: var(--blue-600);
  border-bottom-color: var(--blue-600);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--gray-700);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* Mobile drawer */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 300px;
  height: 100%;
  background: var(--white);
  padding: 2rem;
  z-index: 201;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav-drawer.open  { transform: translateX(0); }

.mobile-nav-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 2rem;
}
.mobile-nav-close svg { width: 24px; height: 24px; }

.mobile-nav-links { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1rem; }
.mobile-nav-links a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color .2s;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active { color: var(--blue-600); }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.7), rgba(0,0,0,.6), rgba(0,0,0,.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  animation: fadeInUp .8s ease forwards;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-content h1 span { color: var(--blue-400); }

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #e5e7eb;
  margin-bottom: 2.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  line-height: 1;
}
.btn-red {
  background: var(--red-600);
  color: var(--white);
  box-shadow: var(--shadow-2xl);
}
.btn-red:hover {
  background: var(--red-700);
  color: var(--white);
  box-shadow: 0 25px 50px -12px rgba(220,38,38,.4);
}
.btn-blue {
  background: var(--blue-600);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue-700); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-600);
}
.btn-outline:hover { background: var(--blue-50); color: var(--blue-600); }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.scroll-indicator-ring {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: .5rem 0;
}
.scroll-dot {
  width: .375rem;
  height: .375rem;
  background: var(--white);
  border-radius: 9999px;
  animation: scrollBounce 1.5s infinite;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--white), var(--gray-50));
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}
.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.service-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.service-benefits {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}
.service-benefits li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .95rem;
  color: var(--gray-700);
}
.service-benefits li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-600);
  flex-shrink: 0;
  margin-top: .45rem;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  padding: 5rem 0;
  background: var(--white);
}

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

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}
.about-content p {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.differentiators-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.differentiator-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.differentiator-icon {
  background: var(--blue-100);
  padding: .75rem;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.differentiator-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--blue-600);
  stroke: var(--blue-600);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.differentiator-item h3 {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .25rem;
  font-size: 1rem;
}
.differentiator-item p {
  font-size: .875rem;
  color: var(--gray-600);
  margin: 0;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--gray-50), var(--blue-50));
}
.cta-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}
.cta-inner p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-page {
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--gray-50), var(--white));
  padding: 4rem 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}
.contact-header h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.contact-header p {
  font-size: 1.25rem;
  color: var(--gray-600);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.contact-info-card,
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
}
.contact-info-card h2,
.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  background: var(--blue-100);
  padding: .75rem;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--blue-600);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-info-item h3 {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .25rem;
}
.contact-info-item a,
.contact-info-item p {
  color: var(--gray-600);
  font-size: .95rem;
  transition: color .2s;
  margin: 0;
}
.contact-info-item a:hover { color: var(--blue-600); }

/* Form styles */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: .5rem;
  font-size: .95rem;
}
.form-control {
  width: 100%;
  padding: .625rem .875rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-control.error { border-color: #ef4444; }
.form-error {
  color: #ef4444;
  font-size: .875rem;
  margin-top: .25rem;
  display: none;
}
.form-error.show { display: block; }
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Alert/Notice */
.form-notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  display: none;
}
.form-notice.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  display: block;
}
.form-notice.error-notice {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  display: block;
}

/* ==========================================
   FOOTER
   ========================================== */
#site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-brand h2 span { color: var(--blue-400); }
.footer-brand p { color: var(--gray-400); line-height: 1.7; }

.footer-col h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a {
  color: var(--gray-400);
  font-size: .95rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--blue-400); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
}
.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--blue-400);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.footer-contact-item a {
  color: var(--gray-400);
  font-size: .95rem;
  transition: color .2s;
}
.footer-contact-item a:hover { color: var(--blue-400); }

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-links a {
  color: var(--gray-400);
  transition: color .2s;
}
.social-links a:hover { color: var(--blue-400); }
.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p { color: var(--gray-400); font-size: .9rem; }

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--blue-600);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, background .2s;
  z-index: 50;
}
#scroll-top.visible { opacity: 1; visibility: visible; }
#scroll-top:hover { background: var(--blue-700); }
#scroll-top svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================
   GENERIC PAGE
   ========================================== */
.page-content {
  min-height: 60vh;
  padding: 4rem 0;
}
.page-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.page-content .entry-content { max-width: 800px; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: 2; }
  .about-content { order: 1; }
  .about-image img { height: 350px; }
}

@media (max-width: 768px) {
  #primary-navigation { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .differentiators-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .btn { padding: .75rem 1.5rem; font-size: 1rem; }
}
