/*
Theme Name: MyCoachLive
Theme URI: https://mycoachlive.com
Author: MyCoachLive Team
Author URI: https://mycoachlive.com
Description: Professional live coaching platform theme with Elementor support. Features live video sessions, coach profiles, program pricing, and booking system.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
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: mycoachlive
Tags: coaching, education, business, elementor, responsive, video

MyCoachLive - Live Coaching Platform WordPress Theme
*/

/* ===================================
   CSS Variables
   =================================== */
:root {
  /* Brand Colors */
  --red-600: #DC2626;
  --red-500: #EF4444;
  --orange-500: #F97316;
  --orange-600: #EA580C;
  
  /* Neutral Colors */
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: 96px;
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--slate-900);
  line-height: 1.6;
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--slate-600);
}

/* ===================================
   Container
   =================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(90deg, var(--red-600), var(--orange-500));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-outline {
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.btn-outline:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}

.btn-white {
  background: var(--white);
  color: var(--red-600);
}

/* ===================================
   Announcement Bar
   =================================== */
.announcement-bar {
  background: linear-gradient(90deg, var(--red-600), var(--orange-500));
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}

.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.announcement-bar a {
  font-weight: 600;
}

/* ===================================
   Header / Navigation
   =================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.main-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--red-500), var(--orange-500));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.nav-menu {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--slate-600);
  font-weight: 500;
  font-size: 14px;
}

.nav-menu a:hover {
  background: var(--slate-50);
  color: var(--slate-900);
}

.nav-buttons {
  display: flex;
  gap: 12px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #FFF7ED 0%, var(--white) 50%, #FEF2F2 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content h1 span {
  color: var(--red-600);
}

.hero-content > p {
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item .stat-value {
  font-size: 28px;
  font-weight: 900;
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--slate-500);
}

/* Video Card */
.video-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  position: relative;
}

.video-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-circle {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, #CBD5E1, #94A3B8);
  border-radius: 50%;
}

/* ===================================
   Features Section
   =================================== */
.features-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  padding: 6px 12px;
  background: #FEF2F2;
  color: var(--red-600);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--slate-200);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #FEF2F2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}

/* ===================================
   Programs Section
   =================================== */
.programs-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.program-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 20px;
  transition: all 0.3s;
}

.program-card.popular {
  border-color: var(--red-300);
  background: #FEF2F2;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
}

/* ===================================
   Coaches Section
   =================================== */
.coaches-section {
  padding: var(--section-padding) 0;
  background: var(--slate-50);
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.coach-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}

.coach-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.coach-image {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.coach-content {
  padding: 24px;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
  padding: var(--section-padding) 0;
  background: var(--slate-900);
  color: var(--white);
}

.testimonials-section .section-title {
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  padding: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.cta-box {
  background: linear-gradient(135deg, var(--red-600), var(--orange-500));
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-box > p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
  padding: var(--section-padding) 0;
  background: var(--slate-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--slate-100);
}

/* ===================================
   Footer
   =================================== */
.site-footer {
  background: var(--slate-900);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .programs-grid,
  .coaches-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-buttons {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .features-grid,
  .programs-grid,
  .coaches-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }
}

/* ===================================
   WordPress Specific
   =================================== */
.alignwide {
  max-width: 1400px;
  margin: 0 auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.wp-block-button__link {
  border-radius: 50px !important;
}

/* Elementor Compatibility */
.elementor-section {
  width: 100%;
}

/* Contact Form 7 */
.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.wpcf7 input[type="submit"] {
  background: linear-gradient(90deg, var(--red-600), var(--orange-500));
  color: var(--white);
  border: none;
  cursor: pointer;
  width: auto;
}
