/* TeamLMI Theme - Complete Professional CSS */

/* ========================================
   Design Tokens & CSS Variables
   ======================================== */

[data-site="teamlmi"],
:root {
  /* Brand Colors - Matching TeamLMI.com exactly */
  --color-primary: #0066cc;
  --color-primary-dark: #003e7e;
  --color-primary-light: #4d94ff;
  --color-accent: #ff6600;
  
  /* Header Styling */
  --header-bg: #ffffff;
  --header-text: #333333;
  --header-height: 80px;
  --header-border: 1px solid #e9ecef;
  
  /* Navigation */
  --nav-link-color: #333333;
  --nav-link-hover: #0066cc;
  --nav-link-active: #0066cc;
  
  /* Footer Styling */
  --footer-bg: #f8f9fa;
  --footer-text: #666666;
  --footer-border: 1px solid #dee2e6;
  
  /* Buttons */
  --btn-primary-bg: #0066cc;
  --btn-primary-text: #ffffff;
  --btn-primary-hover: #004499;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-text: #0066cc;
  --btn-secondary-border: 2px solid #0066cc;
  
  /* Hero Section */
  --hero-bg: #0066cc;
  --hero-text: #ffffff;
  --hero-overlay: rgba(0, 102, 204, 0.9);
  
  /* Service Sections */
  --service-card-bg: #ffffff;
  --service-card-border: 1px solid #e9ecef;
  --service-card-shadow: 0 2px 4px rgba(0,0,0,0.1);
  --service-section-bg: #0066cc;
  --service-section-text: #ffffff;
  
  /* Font Overrides for TeamLMI */
  --font-primary: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-heading: 'Arial Black', Arial, sans-serif;
}

/* TeamLMI Specific Components */

/* Logo */
.site-logo {
  height: 60px;
  width: auto;
}

/* Navigation Menu */
.nav--teamlmi {
  background-color: var(--header-bg);
  border-bottom: var(--header-border);
}

.nav--teamlmi .nav__link {
  color: var(--nav-link-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}

.nav--teamlmi .nav__link:hover,
.nav--teamlmi .nav__link--active {
  color: var(--nav-link-hover);
}

/* Blue Service Sections */
.section--blue {
  background-color: var(--service-section-bg);
  color: var(--service-section-text);
  padding: 3rem 0;
  position: relative;
}

.section--blue h2,
.section--blue h3 {
  color: var(--service-section-text);
  margin-bottom: 1.5rem;
}

.section--blue p {
  color: var(--service-section-text);
  opacity: 0.95;
}

.section--blue a {
  color: var(--service-section-text);
  text-decoration: underline;
  font-weight: 500;
}

.section--blue a:hover {
  text-decoration: none;
}

/* Alternating Blue/White Sections */
.section--blue:nth-child(even) {
  background-color: #004499; /* Darker blue for alternation */
}

/* Service Cards */
.service-card--teamlmi {
  background: var(--service-card-bg);
  border: var(--service-card-border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--service-card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card--teamlmi:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.service-card--teamlmi .service-card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.service-card--teamlmi .service-card__title {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Call-to-Action Buttons */
.btn--teamlmi-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
  cursor: pointer;
  display: inline-block;
}

.btn--teamlmi-primary:hover {
  background-color: var(--btn-primary-hover);
  text-decoration: none;
}

.btn--teamlmi-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: var(--btn-secondary-border);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-block;
}

.btn--teamlmi-secondary:hover {
  background-color: var(--color-primary);
  color: white;
  text-decoration: none;
}

/* Footer Specific */
.footer--teamlmi {
  background-color: var(--footer-bg);
  border-top: var(--footer-border);
  padding: 3rem 0 2rem;
}

.footer--teamlmi .footer__section {
  margin-bottom: 2rem;
}

.footer--teamlmi .footer__title {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer--teamlmi .footer__link {
  color: var(--footer-text);
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.footer--teamlmi .footer__link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Certification Logos in Footer */
.certifications {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.certifications__logo {
  height: 60px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.certifications__logo:hover {
  opacity: 1;
}

/* Contact Form Button Styles */
.contact-email-display {
  color: #0066cc;
  font-weight: 500;
  margin-bottom: 5px;
  word-break: break-all;
}

.contact-info-text {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.footer__contact-cta {
  margin-top: 10px;
}

/* ========================================
   Responsive Overrides for CMS Content
   ======================================== */

/* Blockquote responsive - override inline styles on mobile */
@media (max-width: 768px) {
  blockquote[style*="display: flex"] {
    max-width: 100% !important;
    flex-direction: column !important;
    text-align: left !important;
    padding: 20px !important;
    margin: 20px 0 !important;
    gap: 15px !important;
  }

  blockquote[style*="display: flex"] img {
    width: 60px !important;
    height: 60px !important;
    margin: 0 !important;
  }

  blockquote[style*="display: flex"] p[style*="font-style: italic"] {
    font-size: 16px !important;
  }

  blockquote[style*="display: flex"] p[style*="text-align: right"] {
    text-align: left !important;
    margin-top: 10px !important;
  }
}