/* components.css - Reusable UI Components */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1rem;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: #006366; /* Slightly darker teal */
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-teal);
  border-color: var(--primary-teal);
}

.btn-outline:hover {
  background-color: var(--primary-teal);
  color: var(--bg-white);
}

/* Header & Navigation */
.site-header {
  height: var(--header-height);
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-header.nav-up {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-navy);
}
.logo-text span {
  color: var(--primary-teal);
}

.logo-img {
  height: 50px;
  width: auto;
}
.logo-text-block {
  display: flex;
  flex-direction: column;
}
.logo-company-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #165688;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.logo-tagline {
  font-size: 0.75rem;
  font-style: italic;
  color: #666;
  line-height: 1.1;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary-navy);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-teal);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary-navy);
  cursor: pointer;
}

/* Footer */
.site-footer {
  background-color: var(--secondary-navy);
  color: var(--bg-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #A0AEC0;
}
.footer-links a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #A0AEC0;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none; /* Hide on mobile initially */
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--secondary-navy);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--border-light);
  }
  
  .main-nav.show {
    display: flex;
  }
  
  .main-nav .nav-link {
    color: var(--bg-white);
  }
  
  .main-nav .nav-link:hover, .main-nav .nav-link.active {
    color: rgba(255, 255, 255, 0.7);
  }
  
  .main-nav .btn-outline {
    border-color: var(--bg-white);
    color: var(--bg-white);
  }
  
  .main-nav .btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary-teal);
  }
  
  .mobile-menu-btn {
    display: block;
  }

  /* Logo mobile adjustments */
  .logo-img {
    height: 40px;
  }
  .logo-company-name {
    font-size: 0.95rem;
    line-height: 1.1;
  }
  .logo-tagline {
    display: none; /* Hide tagline on mobile to save space */
  }
  

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
