/*
 * BioYard Ventures - Custom Branding Stylesheet
 * Overrides for HomeSpace Bootstrap Theme
 */

/* ========================================
   CSS Custom Properties - Brand Colors
   ======================================== */
:root {
  /* Primary Brand Colors */
  --bioyard-dark-green: #1b5e20;
  --bioyard-deep-green: #2d5016;
  --bioyard-medium-green: #388e3c;
  --bioyard-light-green: #7cb342;
  --bioyard-pale-green: #aed581;
  --bioyard-accent-orange: #ff6f00;
  --bioyard-light-orange: #ff8f00;
  
  /* Functional Colors */
  --bioyard-text-dark: #1a1a1a;
  --bioyard-text-gray: #555555;
  --bioyard-text-light: #757575;
  --bioyard-bg-light: #f8f9fa;
  --bioyard-bg-white: #ffffff;
  
  /* Override Bootstrap Primary Colors */
  --bs-primary: var(--bioyard-deep-green);
  --bs-primary-rgb: 45, 80, 22;
  --bs-secondary: var(--bioyard-light-green);
  --bs-secondary-rgb: 124, 179, 66;
}

/* ========================================
   Typography
   ======================================== */
body {
  font-family: "Rubik", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--bioyard-text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Rubik", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  color: var(--bioyard-dark-green);
}

/* ========================================
   Logo Styling
   ======================================== */
.logo img {
  max-height: 50px;
  width: auto;
  display: block;
}

.sitename {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bioyard-dark-green);
  margin-left: 0.5rem;
}

/* Hide the SVG icon from original theme */
.logo .my-icon {
  display: none;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  background-color: var(--bioyard-bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navmenu a {
  color: var(--bioyard-text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navmenu a:hover,
.navmenu a.active {
  color: #335716;
}

.navmenu .dropdown > a:hover {
  color: #335716;
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary,
.btn-cta,
.search-btn,
.btn-primary-custom {
  background: linear-gradient(135deg, var(--bioyard-deep-green) 0%, var(--bioyard-medium-green) 100%);
  border: none;
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-cta:hover,
.search-btn:hover,
.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--bioyard-medium-green) 0%, var(--bioyard-light-green) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.btn-outline-primary,
.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--bioyard-deep-green);
  color: var(--bioyard-deep-green);
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-custom:hover {
  background: var(--bioyard-deep-green);
  color: white;
}

/* Secondary CTA Button (Orange Accent) */
.btn-secondary-cta {
  background: linear-gradient(135deg, var(--bioyard-accent-orange) 0%, var(--bioyard-light-orange) 100%);
  border: none;
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary-cta:hover {
  background: linear-gradient(135deg, var(--bioyard-light-orange) 0%, var(--bioyard-accent-orange) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
}

/* ========================================
   Badges & Labels
   ======================================== */
.hero-label,
.badge-bioyard {
  background: var(--bioyard-deep-green);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
}

.section-label {
  color: var(--bioyard-light-green);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
  padding: 80px 0;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero .orange-highlight {
  color: var(--bioyard-accent-orange);
}

/* ========================================
   Feature Cards
   ======================================== */
.service-card,
.feature-card-bioyard {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.service-card:hover,
.feature-card-bioyard:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(45, 80, 22, 0.15);
  border-color: var(--bioyard-light-green);
}

.service-icon,
.feature-icon {
  font-size: 2.5rem;
  color: var(--bioyard-deep-green);
  margin-bottom: 1rem;
}

.service-card h3,
.feature-card-bioyard h3 {
  color: var(--bioyard-dark-green);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ========================================
   CTA Banner Sections
   ======================================== */
.cta-banner-bioyard {
  background: linear-gradient(135deg, var(--bioyard-deep-green) 0%, var(--bioyard-medium-green) 100%);
  color: white;
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  margin: 60px 0;
}

.cta-banner-bioyard h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-banner-bioyard p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

/* ========================================
   Comparison Section - Modern Card Design
   ======================================== */
.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e67e22;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.comparison-badge i {
  font-size: 16px;
}

.comparison-card-modern {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  background: #3d5a3a;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0;
}

.comparison-header > div {
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison-header i {
  font-size: 16px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s;
}

.comparison-row:hover {
  background-color: #f9fafb;
}

.comparison-row:last-of-type {
  border-bottom: none;
}

.comparison-label-col {
  padding: 18px 16px;
  font-weight: 500;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.comparison-label-col i {
  font-size: 18px;
}

.comparison-fuel-col {
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.badge-green {
  background: #8bc34a;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-block;
}

.comparison-notes {
  background: #f9fafb;
  padding: 20px 24px;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.6;
  border-top: 1px solid #e5e7eb;
}

.comparison-notes strong {
  color: #374151;
}

/* Responsive Design for Comparison Table */
@media (max-width: 992px) {
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  }
  
  .comparison-label-col,
  .comparison-fuel-col {
    padding: 14px 12px;
    font-size: 0.8125rem;
  }
  
  .comparison-header {
    font-size: 0.8125rem;
  }
}

@media (max-width: 768px) {
  .comparison-header {
    display: none;
  }
  
  .comparison-row {
    grid-template-columns: 1fr;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 16px;
  }
  
  .comparison-label-col {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding: 0;
  }
  
  .comparison-fuel-col {
    padding: 8px 0;
    justify-content: flex-start;
    border-top: 1px solid #f3f4f6;
  }
  
  .comparison-fuel-col:first-of-type {
    border-top: none;
  }
  
  .comparison-fuel-col::before {
    content: attr(data-label);
    font-weight: 600;
    color: #374151;
    margin-right: 8px;
  }
}

/* ========================================
   Stats & Counters
   ======================================== */
.stat-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45, 80, 22, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--bioyard-deep-green);
  line-height: 1;
}

.stat-label {
  color: var(--bioyard-text-gray);
  font-weight: 600;
  margin-top: 0.5rem;
}

.stat-icon {
  color: var(--bioyard-light-green);
}

/* Minimal Stats Container */
.stats-minimal-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  background: #ffffff;
  padding: 40px 60px;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-minimal-item {
  text-align: center;
}

.stat-minimal-value {
  font-family: "Rubik", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.stat-minimal-value.text-orange {
  color: #e67e22;
}

.stat-minimal-value.text-green {
  color: #8bc34a;
}

.stat-minimal-label {
  font-family: "Rubik", sans-serif;
  font-size: 0.9375rem;
  color: #6b7280;
  font-weight: 400;
}

@media (max-width: 768px) {
  .stats-minimal-container {
    flex-direction: column;
    gap: 32px;
    padding: 32px 24px;
  }
  
  .stat-minimal-value {
    font-size: 1.75rem;
  }
}

/* ========================================
   Service Highlights
   ======================================== */
.service-highlights {
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.service-highlights li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--default-color);
}

.service-highlights li i {
  margin-right: 10px;
  font-size: 16px;
  flex-shrink: 0;
}

/* ========================================
   Solution Cards - Simple Design
   ======================================== */
.section-subtitle {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.solution-card-simple {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.solution-card-simple:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.solution-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.solution-icon-box i {
  font-size: 24px;
  color: white;
}

.solution-card-simple h3 {
  font-family: "Rubik", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.solution-card-simple p {
  font-family: "Rubik", sans-serif;
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
}

.solution-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-highlights li {
  font-family: "Rubik", sans-serif;
  font-size: 0.875rem;
  color: #4b5563;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.solution-highlights li i {
  color: #8bc34a;
  font-size: 14px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .solution-card-simple {
    padding: 28px 24px;
  }
  
  .solution-icon-box {
    width: 48px;
    height: 48px;
  }
  
  .solution-icon-box i {
    font-size: 20px;
  }
  
  .solution-highlights li {
    font-size: 0.8125rem;
  }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bioyard-dark-green);
  color: rgba(255, 255, 255, 0.9);
}

.footer .copyright {
  border-radius: 12px;
}

.footer .copyright p {
  color: #8bc34a;
}

.footer h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.footer .social-links a {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  background: var(--bioyard-light-green);
  transform: translateY(-3px);
}

/* ========================================
   Forms
   ======================================== */
.form-control {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--bioyard-light-green);
  box-shadow: 0 0 0 0.2rem rgba(124, 179, 66, 0.25);
}

.btn-submit,
button[type="submit"] {
  background: linear-gradient(135deg, var(--bioyard-deep-green) 0%, var(--bioyard-medium-green) 100%);
  border: none;
  color: white;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-submit:hover,
button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--bioyard-medium-green) 0%, var(--bioyard-light-green) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

/* ========================================
   Section Spacing
   ======================================== */
.section {
  padding: 80px 0;
}

.section-title h2 {
  color: var(--bioyard-dark-green);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--bioyard-text-gray);
  font-size: 1.125rem;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-green {
  color: var(--bioyard-deep-green);
}

.text-orange {
  color: var(--bioyard-accent-orange);
}

.bg-light-green {
  background-color: rgba(124, 179, 66, 0.1);
}

.bg-green-gradient {
  background: linear-gradient(135deg, var(--bioyard-deep-green) 0%, var(--bioyard-medium-green) 100%);
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.875rem;
  }
  
  .stat-number {
    font-size: 2.25rem;
  }
  
  .logo img {
    max-height: 40px;
  }
}

/* ========================================
   Animation Enhancements
   ======================================== */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Colorful Feature Cards - Why Choose Section
   ======================================== */
#why-choose {
  background-color: #ffffff;
}

.feature-card-colorful {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card-colorful:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-box i {
  font-size: 22px;
  color: white;
}

.bg-dark-green {
  background-color: #3d5a3a;
}

.bg-light-green {
  background-color: #8bc34a;
}

.bg-orange {
  background-color: #d97706;
}

.bg-yellow {
  background-color: #f59e0b;
}

.bg-dark-gray {
  background-color: #5a6c7d;
}

.feature-card-colorful h3 {
  font-family: "Rubik", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.4;
}

.feature-card-colorful p {
  font-family: "Rubik", sans-serif;
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.feature-stat {
  font-family: "Rubik", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d5a3a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-stat i {
  font-size: 14px;
}

.feature-stat.text-success {
  color: #8bc34a;
}

.feature-stat.text-warning {
  color: #d97706;
}

.feature-stat.text-secondary {
  color: #5a6c7d;
}

/* Section Title Styling for Why Choose */
#why-choose .section-title h2 {
  font-family: "Rubik", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #1a1a1a;
}

#why-choose .section-title h2 .text-green {
  color: #2d5016;
}

#why-choose .section-title p {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  color: #9ca3af;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-card-colorful {
    padding: 28px 24px;
  }
  
  .feature-icon-box {
    width: 44px;
    height: 44px;
  }
  
  .feature-icon-box i {
    font-size: 20px;
  }
  
  .feature-card-colorful h3 {
    font-size: 1.05rem;
  }
  
  #why-choose .section-title h2 {
    font-size: 2rem;
  }
}
