﻿/* CVG Service Hub Base Styles (Template) */

:root {
  --cvg-green: #2e7d32;
  --cvg-green-2: #4caf50;
  --cvg-blue: #0277bd;
  --cvg-brown: #5d4037;
  --cvg-cream: #fafafa;
  --cvg-beige: #f5f5dc;
  --cvg-text: #1b1b1b;
  --cvg-muted: #555;
  --cvg-border: #e0e0e0;
  --cvg-accent: #ffa000;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--cvg-text);
  background: var(--cvg-cream);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* A11y */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 2000;
  background: #111;
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 16px; outline: 3px solid var(--cvg-accent); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 160, 0, 0.75);
  outline-offset: 3px;
}

/* Header + nav */
.header {
  background: linear-gradient(135deg, var(--cvg-green) 0%, var(--cvg-green-2) 100%);
  color: white;
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.brand-logo { width: 84px; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25)); }
.brand-text { display: grid; justify-items: center; }
.brand-text h1 { margin: 0; font-size: 3rem; font-weight: 800; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.tagline { margin: 0.35rem 0 0; font-size: 1.25rem; opacity: 0.95; }
.subtitle {
  margin: 0.6rem 0 0;
  font-size: 1rem;
  background: rgba(255,255,255,0.12);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.navigation {
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-item {
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--cvg-text);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.nav-item:hover { background: var(--cvg-beige); color: var(--cvg-green); }
.nav-item.active { background: #e8f5e9; color: var(--cvg-green); border-bottom-color: var(--cvg-green-2); }

/* Sections */
.hero {
  background: linear-gradient(to bottom, var(--cvg-beige), white);
  padding: 3.25rem 1.5rem;
  text-align: center;
}

.hero h2 { margin: 0 0 1rem; font-size: 2.5rem; color: var(--cvg-green); font-weight: 800; }
.hero-text { max-width: 920px; margin: 0.5rem auto 1.75rem; font-size: 1.15rem; color: var(--cvg-muted); }

.section { padding: 3.25rem 1.5rem; }
.section-title { text-align: center; font-size: 2.1rem; color: var(--cvg-green); margin: 0 0 0.8rem; font-weight: 800; }
.section-subtitle { text-align: center; max-width: 820px; margin: 0 auto 2rem; color: var(--cvg-muted); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--cvg-beige);
  border: 2px solid var(--cvg-border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 22px rgba(0,0,0,0.12); }
.card h3 { margin: 0 0 0.75rem; color: var(--cvg-green); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.35rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.btn-primary { background: var(--cvg-accent); color: white; box-shadow: 0 4px 8px rgba(0,0,0,0.12); }
.btn-primary:hover { background: #ff8f00; }
.btn-secondary { background: var(--cvg-blue); color: white; }
.btn-secondary:hover { background: #03a9f4; }
.btn-light { background: white; color: var(--cvg-green); border: 2px solid var(--cvg-green); }
.btn-light:hover { background: var(--cvg-green); color: white; }
.btn-block { display: block; width: 100%; text-align: center; }

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--cvg-brown); color: white; padding: 2.25rem 1.5rem; text-align: center; }
.footer-text { margin: 0 0 0.8rem; opacity: 0.92; }
.footer-text a { color: #d7f5d9; text-decoration: underline; }
.footer-disclaimer { max-width: 920px; margin: 0.75rem auto 0; opacity: 0.85; }

@media (max-width: 768px) {
  .brand-text h1 { font-size: 2.35rem; }
  .hero h2 { font-size: 1.95rem; }
  .cta-buttons { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}


