/* CFI Main Styles */

:root {
  --cfi-navy: #1a365d;
  --cfi-rust: #c53030;
  --cfi-slate: #4a5568;
  --cfi-text-light: #718096;
  --cfi-white: #ffffff;
  --cfi-ivory: #f7fafc;
  --cfi-border: #e2e8f0;
  --cfi-font-serif: 'Georgia', 'Times New Roman', serif;
  --cfi-font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--cfi-font-sans);
  line-height: 1.6;
  color: #2d3748;
  background-color: #f8fafc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
.cfi-header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-link {
  text-decoration: none;
  color: var(--cfi-navy);
}

.logo-link h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
}

.subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--cfi-slate);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--cfi-slate);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--cfi-rust);
}

/* Footer Styles */
.cfi-footer {
  background-color: var(--cfi-navy);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #2d3748;
  color: #a0aec0;
  font-size: 0.9rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--cfi-slate);
}

.breadcrumb a {
  color: var(--cfi-rust);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--cfi-rust);
  color: white;
}

.btn-primary:hover {
  background: #9b2c2c;
}

.btn-secondary {
  background: var(--cfi-navy);
  color: white;
}

.btn-secondary:hover {
  background: #132440;
}

.btn-outline {
  background: transparent;
  color: var(--cfi-rust);
  border: 2px solid var(--cfi-rust);
}

.btn-outline:hover {
  background: var(--cfi-rust);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu ul {
    gap: 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}