/* EconoClub USA - Main CSS File */

/* ========================================
   CSS CUSTOM PROPERTIES (Color Palette)
   ======================================== */
:root {
  --primary-blue: #1e3a8a;
  --secondary-blue: #3b82f6;
  --accent-yellow: #FFD700;
  --success-green: #28A745;
  --text-dark: #2C3E50;
  --text-light: #6C757D;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  
  /* Bootstrap Color Overrides */
  --bs-primary: var(--primary-blue);
  --bs-secondary: var(--secondary-blue);
  --bs-warning: var(--accent-yellow);
  --bs-success: var(--success-green);
  --bs-light: var(--light-gray);
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  --font-size-base: 14px;
  --font-size-body: 16px;
  --font-size-h1: 48px;
  --font-size-h2: 36px;
  --font-size-h3: 28px;
  --font-size-h4: 24px;
  --font-size-h5: 20px;
  --font-size-h6: 18px;
}

/* ========================================
   BASE STYLES
   ======================================== */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  margin: 0;
  padding: 0;
}

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

h1 {
  font-size: var(--font-size-h1);
  font-weight: 700;
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

p {
  font-size: var(--font-size-body);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

/* ========================================
   CUSTOM BOOTSTRAP OVERRIDES
   ======================================== */
.btn {
  font-family: var(--font-primary);
  font-weight: 500;
  border-radius: 8px;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background-color: var(--secondary-blue);
  border-color: var(--secondary-blue);
}

.btn-warning {
  background-color: var(--accent-yellow);
  border-color: var(--accent-yellow);
  color: var(--text-dark);
  font-weight: 600;
}

.btn-warning:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: var(--text-dark);
}

.card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section-title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  min-height: 600px;
  padding: 100px 0;
}

.hero-cta .btn {
  font-size: 1.1rem;
  padding: 15px 30px;
}

/* ========================================
   BENEFITS SECTION
   ======================================== */
.benefits-section .card-body {
  padding: 2rem;
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.step-card {
  padding: 2rem 1rem;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem auto;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonial-card {
  padding: 2rem;
}

.stat-card {
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-carousel {
  /* Placeholder for partner logos carousel */
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* ========================================
   FOOTER STYLES
   ======================================== */
.footer {
  background-color: var(--text-dark) !important;
}

.footer h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer .social-links a {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer .social-links a:hover {
  color: var(--accent-yellow) !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  :root {
    --font-size-h1: 32px;
    --font-size-h2: 28px;
    --font-size-h3: 24px;
  }
  
  .hero-section {
    padding: 60px 0;
    text-align: center;
  }
  
  .hero-cta .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .step-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}