/* Brand overrides for Pico.css */

:root {
  --pico-primary: #0d9488;
  --pico-primary-hover: #0f766e;
  --pico-primary-focus: rgba(13, 148, 136, 0.25);
  --pico-primary-inverse: #fff;
  --pico-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Navbar */
nav.brand-nav {
  background: #0d9488;
  padding: 0.75rem 0;
  margin-bottom: 0;
}

nav.brand-nav .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav.brand-nav .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

nav.brand-nav .brand img {
  height: 36px;
  width: 36px;
  border-radius: 6px;
}

nav.brand-nav .nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.brand-nav .nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav.brand-nav .nav-links a:hover,
nav.brand-nav .nav-links a.active {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, #0d9488 0%, #0e7490 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 2rem;
  max-width: 100%;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 480px;
  text-align: left;
}

.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

.hero-image {
  flex: 1;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Main content */
main.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

/* Section spacing */
main section {
  margin-bottom: 2.5rem;
}

main section h2 {
  color: #0d9488;
  border-bottom: 2px solid #0d9488;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

/* Cards grid for "What we do" */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  background: #f8fafc;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.card h3 {
  color: #0e7490;
  margin-top: 0;
  font-size: 1.1rem;
}

/* Contact section */
.contact-info {
  background: #f0fdfa;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid #0d9488;
}

.contact-info p {
  margin: 0.4rem 0;
}

/* Footer */
footer.site-footer {
  background: #1e293b;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 1.5rem 1.25rem;
  margin-top: 0;
}

footer.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

footer.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

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

footer.site-footer .footer-links a {
  margin: 0 0.75rem;
}

footer.site-footer .copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Legal pages */
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  color: #334155;
  margin-top: 1.5rem;
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content .last-updated {
  color: #64748b;
  font-style: italic;
  margin-bottom: 2rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.25rem;
    gap: 1.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-image {
    max-width: 90%;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  nav.brand-nav .container {
    flex-direction: column;
    gap: 0.5rem;
  }

  nav.brand-nav .nav-links {
    gap: 1rem;
  }
}
