/*
Theme Name: xStrategy Health
Theme URI: https://xstrategyhealth.com
Author: Michele
Author URI: https://xstrategyhealth.com
Description: Custom WordPress theme for xStrategy Health - Health Consultation & Coaching
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xstrategy-health
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #5ABADB;
  --color-secondary: #E06C4F;
  --color-dark: #1A3A52;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-gray-700);
  background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--color-gray-700);
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--color-primary);
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--color-secondary);
  color: white;
  border-radius: 0.375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background: #c85a3f;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 108, 79, 0.3);
}

.btn-large {
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
  }
  
  .main-navigation.active {
    display: block;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Main Content */
.site-content {
  padding-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 8rem 0;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .tagline {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
  font-size: 1.25rem;
  max-width: 48rem;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.content-section {
  padding: 5rem 0;
}

.content-section.bg-gray {
  background: linear-gradient(to bottom right, var(--color-gray-50), white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Topics Grid */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  background: linear-gradient(to bottom right, var(--color-gray-50), white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.topic-item {
  display: flex;
  align-items: start;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
  cursor: help;
  position: relative;
}

.topic-item:hover {
  background: rgba(90, 186, 219, 0.05);
}

.topic-bullet {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-top: 8px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.topic-content h4 {
  color: var(--color-gray-900);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.topic-content p {
  color: var(--color-gray-600);
  font-size: 0.875rem;
  margin: 0;
}

/* Tooltip */
.topic-tooltip {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  padding: 1rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--color-gray-200);
  font-size: 0.875rem;
  color: var(--color-gray-700);
  line-height: 1.5;
  z-index: 100;
  margin-bottom: 10px;
}

.topic-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: white;
  border-right: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
  transform: translateX(-50%) rotate(45deg);
  margin-top: -6px;
}

.topic-item:hover .topic-tooltip {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Coaching Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.program-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--color-gray-100);
  transition: all 0.3s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.program-card:first-child {
  border-color: rgba(90, 186, 219, 0.2);
}

.program-card:last-child {
  border-color: rgba(224, 108, 79, 0.2);
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.resource-card {
  background: linear-gradient(to bottom right, var(--color-gray-50), white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--color-gray-100);
  text-align: center;
  transition: all 0.3s ease;
}

.resource-card:hover {
  transform: scale(1.05);
  border-color: rgba(90, 186, 219, 0.3);
}

.resource-icon {
  width: 64px;
  height: 64px;
  background: rgba(90, 186, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--color-primary);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: white;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--color-gray-300);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-gray-300);
  font-size: 0.875rem;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--color-gray-300);
  margin: 0 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-section {
    padding: 4rem 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .tagline {
    font-size: 1.5rem;
  }
  
  .content-section {
    padding: 3rem 0;
  }
  
  .topics-grid {
    grid-template-columns: 1fr;
  }
  
  .topic-tooltip {
    width: 280px;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }

