/* Yuccan Technologies Brand Colors & Typography */

:root {
  /* Primary Brand Colors */
  --yuccan-navy: #2B4B8C;
  --yuccan-red: #D42C2C;
  --yuccan-light-blue: #8FA2C7;
  --yuccan-white: #FFFFFF;
  
  /* Complementary Business Colors */
  --trust-dark-blue: #1A365D;
  --success-green: #2D7A3E;
  --warning-orange: #E67E22;
  --neutral-gray: #4A5568;
  --light-gray: #F7FAFC;
  --silver: #E2E8F0;
  
  /* Typography */
  --font-primary: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-headers: 'Poppins', 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'IBM Plex Sans', 'Courier New', monospace;
}

/* Base Typography */
body, html {
  font-family: var(--font-primary) !important;
  color: var(--neutral-gray) !important;
  font-weight: 400;
  line-height: 1.6;
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers) !important;
  color: var(--trust-dark-blue) !important;
  font-weight: 600;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Links */
a {
  color: var(--yuccan-navy) !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover, a:focus {
  color: var(--yuccan-red) !important;
  text-decoration: none;
}

/* Navigation Brand Colors */
.navbar-default {
  background: var(--yuccan-white);
  border-bottom: 3px solid var(--yuccan-navy);
  box-shadow: 0 2px 10px rgba(43, 75, 140, 0.1);
}

.navbar-nav > li > a {
  color: var(--trust-dark-blue) !important;
  font-weight: 500;
  font-family: var(--font-headers);
}

.navbar-nav > li > a:hover {
  color: var(--yuccan-red) !important;
}

/* CTA Buttons Brand Update */
.cta-nav {
  background: linear-gradient(135deg, var(--yuccan-navy) 0%, var(--trust-dark-blue) 100%) !important;
  border: 2px solid var(--yuccan-navy) !important;
}

.cta-nav:hover {
  background: linear-gradient(135deg, var(--yuccan-red) 0%, #B22222 100%) !important;
  border-color: var(--yuccan-red) !important;
}

.cta-secondary {
  background: var(--success-green) !important;
  border: 2px solid var(--success-green) !important;
}

.cta-secondary:hover {
  background: #246A32 !important;
  border-color: #246A32 !important;
}

/* Section Backgrounds */
.section-light {
  background: var(--light-gray);
}

.section-brand {
  background: linear-gradient(135deg, var(--yuccan-navy) 0%, var(--trust-dark-blue) 100%);
  color: var(--yuccan-white);
}

/* Button Styles */
.btn-primary {
  background: var(--yuccan-navy);
  border-color: var(--yuccan-navy);
  font-family: var(--font-headers);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--yuccan-red);
  border-color: var(--yuccan-red);
}

.btn-success {
  background: var(--success-green);
  border-color: var(--success-green);
}

.btn-danger {
  background: var(--yuccan-red);
  border-color: var(--yuccan-red);
}

/* Cards and Metrics */
.metric-value, .waste-amount, .savings-amount {
  font-family: var(--font-accent) !important;
  color: var(--trust-dark-blue);
}

/* Professional Accents */
.text-primary {
  color: var(--yuccan-navy) !important;
}

.text-success {
  color: var(--success-green) !important;
}

.text-danger {
  color: var(--yuccan-red) !important;
}

.bg-primary {
  background-color: var(--yuccan-navy) !important;
}

.border-brand {
  border-color: var(--yuccan-navy) !important;
}

/* Form Elements */
.form-control {
  border: 2px solid var(--silver);
  color: var(--neutral-gray);
  font-family: var(--font-primary);
}

.form-control:focus {
  border-color: var(--yuccan-navy);
  box-shadow: 0 0 0 0.2rem rgba(43, 75, 140, 0.25);
}

/* Professional Spacing */
.section-padding {
  padding: 80px 0;
}

/* Contact Section Underline Fix */
#contact h2::after {
  background: #fd0003 !important;
  left: 50% !important;
  margin-left: -30px !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  body {
    font-size: 16px;
  }
}