/* ONE POWER USA — layout & theme */

:root {
  --op-bg: #f4f7f5;
  --op-surface: #ffffff;
  --op-text: #1a2332;
  --op-muted: #5c6b7a;
  --op-accent: #0d7a5c;
  --op-accent-dark: #095c45;
  --op-radius: 0.75rem;
  --op-shadow: 0 0.25rem 1.25rem rgba(26, 35, 50, 0.08);
  /* Single column: hero, intro, section titles, and lists share the same width */
  --op-content-measure: min(48rem, 100%);
  /* Cool-tinted panels to match ocean background */
  --op-heading-panel-bg: rgba(245, 250, 252, 0.94);
  --op-heading-panel-border: rgba(26, 45, 58, 0.1);
  --op-heading-panel-shadow: 0 0.125rem 0.5rem rgba(26, 35, 50, 0.1);
  /* Hero: blue-teal layers that let the body ocean show through */
  --op-hero-blend-a: rgba(255, 247, 153, 0.78);   /* lemon yellow */
  --op-hero-blend-b: rgba(51, 230, 219, 0.62);    /* turquoise */
  --op-hero-blend-c: rgba(255, 137, 185, 0.60);   /* pink */
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--op-text);
  /* Fallback matches ocean tones when image is loading */
  background-color: #1e4552;
  background-image: url("./images/ocean-hydrogen.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  line-height: 1.6;
}

.site-header {
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  max-width: var(--op-content-measure);
  margin-inline: auto;
}

.site-header a {
  display: inline-flex;
  align-items: center;
  color: var(--op-text) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-header a:hover {
  color: var(--op-accent) !important;
}

.site-title {
  font-size: clamp(1.65rem, 4.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

/* Hero: translucent blue-teal wash over the same ocean image as the page */
.hero-banner {
  position: relative;
  border-radius: var(--op-radius);
  overflow: hidden;
  min-height: min(38vh, 22rem);
  max-width: var(--op-content-measure);
  margin-inline: auto;
  background-color: transparent;
  background-image: linear-gradient(
    135deg,
    var(--op-hero-blend-a) 0%,
    var(--op-hero-blend-b) 48%,
    var(--op-hero-blend-c) 100%
  );
  box-shadow: 0 0.2rem 1rem rgba(18, 45, 58, 0.18);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem);
}

.hero-heading-panel {
  padding: 1rem 1.15rem;
  max-width: 100%;
  background-color: var(--op-heading-panel-bg);
  border: 1px solid var(--op-heading-panel-border);
  border-radius: var(--op-radius);
  box-shadow: var(--op-heading-panel-shadow);
}

.hero-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--op-text);
  text-shadow: none;
  line-height: 1.25;
}

.hero-tagline {
  color: var(--op-muted);
}

.hero-inner .btn-primary {
  --bs-btn-bg: var(--op-accent);
  --bs-btn-border-color: var(--op-accent);
  --bs-btn-hover-bg: var(--op-accent-dark);
  --bs-btn-hover-border-color: var(--op-accent-dark);
  --bs-btn-active-bg: var(--op-accent-dark);
  --bs-btn-active-border-color: var(--op-accent-dark);
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
}

.content-section {
  margin-bottom: 2.5rem;
  max-width: var(--op-content-measure);
  margin-inline: auto;
}

.content-section:last-of-type {
  margin-bottom: 1rem;
}

.section-title {
  display: inline-block;
  max-width: 100%;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--op-accent-dark);
  margin-bottom: 1rem;
  padding: 0.5rem 0.85rem 0.55rem;
  background-color: var(--op-heading-panel-bg);
  border: 1px solid var(--op-heading-panel-border);
  border-radius: 0.5rem;
  border-bottom: 2px solid rgba(13, 122, 92, 0.35);
  box-shadow: var(--op-heading-panel-shadow);
}

.lead.intro {
  font-size: 1.125rem;
  color: var(--op-text);
  max-width: none;
  background-color: var(--op-heading-panel-bg);
  border-radius: 0.5rem;
  border-bottom: 2px solid rgba(13, 122, 92, 0.35);
  box-shadow: var(--op-heading-panel-shadow);
  padding: 1rem 1.15rem;  
}

.list-group-item {
  border-color: rgba(26, 35, 50, 0.1);
  padding: 1rem 1.15rem;
}

.list-group-item:first-child {
  border-top-left-radius: var(--op-radius);
  border-top-right-radius: var(--op-radius);
}

.list-group-item:last-child {
  border-bottom-left-radius: var(--op-radius);
  border-bottom-right-radius: var(--op-radius);
}

.site-footer {
  font-size: 0.9rem;
  color: #000;
  line-height: 1.5;
  max-width: var(--op-content-measure);
  margin-inline: auto;
  padding: 1rem 1.15rem;
  background-color: #fff;
  border-radius: var(--op-radius);
  border: 1px solid rgba(26, 45, 58, 0.1);
  box-shadow: var(--op-heading-panel-shadow);
}

#map {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 75%;
}
