/*
Theme Name: Bharat Patel - Revenue Systems
Theme URI: https://patelbharat.com
Author: Bharat Patel
Author URI: https://patelbharat.com
Description: Premium consulting theme for GTM & Revenue Architects. Fully compatible with Elementor Pro. HubSpot-inspired design with coral/navy color scheme.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: patelbharat
Tags: elementor, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, e-commerce, portfolio

This theme is built for Elementor Pro and includes custom widgets,
templates, and dynamic content support via ACF.
*/

/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. CSS Variables (HubSpot Colors)
   2. Base Styles
   3. Typography
   4. Layout
   5. Components
   6. Elementor Specific
   7. Responsive
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
  /* HubSpot Primary Colors */
  --hs-coral: #FF7A59;
  --hs-coral-dark: #E66A49;
  --hs-coral-light: #FFF0EC;
  
  /* HubSpot Navy Colors */
  --hs-navy: #2D3E50;
  --hs-navy-dark: #1E2A37;
  --hs-navy-light: #3D5268;
  
  /* Supporting Colors */
  --hs-slate: #425B76;
  --hs-gray: #6B7C8E;
  --hs-light-gray: #A5B5C5;
  --hs-border: #E5E9EF;
  --hs-bg: #F5F8FA;
  --hs-white: #FFFFFF;
  
  /* Status Colors */
  --hs-success: #00BDA5;
  --hs-warning: #F5C443;
  --hs-error: #F2545B;
  
  /* Typography */
  --font-display: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-padding: 80px;
  --container-max: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   2. BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hs-navy);
  background-color: var(--hs-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--hs-navy);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

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

a {
  color: var(--hs-coral);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--hs-coral-dark);
}

/* ============================================
   4. LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

.section-white { background-color: var(--hs-white); }
.section-light { background-color: var(--hs-bg); }
.section-navy { 
  background-color: var(--hs-navy); 
  color: var(--hs-white);
}
.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4,
.section-navy h5,
.section-navy h6 {
  color: var(--hs-white);
}
.section-navy p {
  color: var(--hs-light-gray);
}

/* ============================================
   5. COMPONENTS
   ============================================ */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--hs-coral);
  color: var(--hs-white);
}

.btn-primary:hover {
  background-color: var(--hs-coral-dark);
  color: var(--hs-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 122, 89, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--hs-navy);
  border: 2px solid var(--hs-navy);
}

.btn-secondary:hover {
  background-color: var(--hs-navy);
  color: var(--hs-white);
  transform: translateY(-2px);
}

.btn-outline-coral {
  background-color: transparent;
  color: var(--hs-coral);
  border: 2px solid var(--hs-coral);
}

.btn-outline-coral:hover {
  background-color: var(--hs-coral);
  color: var(--hs-white);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: var(--hs-white);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--hs-border);
  transition: all var(--transition-normal);
}

.card:hover {
  border-color: rgba(255, 122, 89, 0.3);
  box-shadow: 0 8px 24px rgba(45, 62, 80, 0.1);
  transform: translateY(-4px);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  background-color: var(--hs-coral-light);
  color: var(--hs-coral);
}

/* ============================================
   6. ELEMENTOR SPECIFIC
   ============================================ */

/* Elementor Section Defaults */
.elementor-section {
  padding: 0 !important;
}

.elementor-container {
  max-width: var(--container-max) !important;
}

/* Elementor Widget Spacing */
.elementor-widget:not(:last-child) {
  margin-bottom: 0;
}

/* Elementor Button Override */
.elementor-button {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 14px 28px !important;
}

.elementor-button-primary {
  background-color: var(--hs-coral) !important;
}

.elementor-button-primary:hover {
  background-color: var(--hs-coral-dark) !important;
}

/* Custom Elementor Widgets */
.bp-hero-widget {
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.bp-metric-counter {
  text-align: center;
}

.bp-metric-counter .counter-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--hs-coral);
  line-height: 1;
}

.bp-metric-counter .counter-label {
  font-size: 14px;
  color: var(--hs-gray);
  margin-top: 8px;
}

.bp-service-card {
  height: 100%;
}

.bp-service-card .icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: var(--hs-coral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bp-service-card .icon-wrapper i {
  font-size: 24px;
  color: var(--hs-coral);
}

.bp-case-study-card {
  border-left: 4px solid var(--hs-coral);
}

.bp-testimonial-card {
  position: relative;
}

.bp-testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--hs-coral);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: 20px;
  line-height: 1;
}

/* ============================================
   7. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 60px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
  }
  
  .container {
    padding: 0 16px;
  }
}

/* ============================================
   WORDPRESS DEFAULTS
   ============================================ */
.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 14px;
  color: var(--hs-gray);
  text-align: center;
  margin-top: 8px;
}

.gallery-caption {
  font-size: 14px;
  color: var(--hs-gray);
}

.bypostauthor {
  font-weight: 600;
}

/* Screen Reader Text */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Selection */
::selection {
  background-color: rgba(255, 122, 89, 0.2);
  color: var(--hs-navy);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--hs-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--hs-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--hs-light-gray);
}
