/* assets/css/aoc-theme.css */

:root {
  --purple: #5E3696;
  --teal: #40B1A7;
  --ink: #1F2937;
  --muted: #6B7280;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(17,24,39,.08);
  --bg-gradient: linear-gradient(
    180deg,
    rgba(161,212,236,0.9),
    rgba(207,233,247,0.9),
    rgba(249,250,251,0.9)
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    var(--bg-gradient),
    url("../images/sky-bg.jpg") center/cover no-repeat fixed;
  background-attachment: fixed, fixed;
}

.sky-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, .12);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

/* Topbar + Nav */

.topbar {
  background: rgba(11, 23, 36, .9);
  color: #E5E7EB;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.95rem;
}

.topbar a {
  color: #E5E7EB;
  text-decoration: none;
}

.topbar-contacts {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-text {
  font-weight: 700;
  color: var(--purple);
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--purple);
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Hero */

.hero {
  padding: 60px 20px 40px;
  text-align: left;
}

.hero-panel {
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 28px;
  align-items: center;
}

.hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 14px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.hero-title {
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  color: var(--purple);
  margin-bottom: 6px;
}

.hero-tagline {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 1rem;
  max-width: 48ch;
  color: #111827;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 0.94rem;
  color: var(--muted);
  max-width: 50ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-secondary {
  background: rgba(94, 54, 150, .08);
  color: var(--purple);
}

.hero-side {
  text-align: left;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-side h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 6px;
}

/* Sections & Panels */

.section {
  padding: 40px 20px;
}

.panel {
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}

.section-title {
  text-align: center;
  color: var(--purple);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 60ch;
  margin: 0 auto 18px auto;
}

/* Cards */

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 3px 10px rgba(15,23,42,.06);
  padding: 18px 16px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.card .card-cta {
  margin-top: 10px;
}

/* Lists & Process */

.bullet-columns {
  columns: 2;
  column-gap: 40px;
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  font-size: 0.96rem;
}

.bullet-columns li {
  break-inside: avoid;
  margin-bottom: 4px;
}

.process-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.96rem;
}

.process-list li {
  margin-bottom: 10px;
}

/* Story / About */

.story-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: center;
}

.story-photo img {
  width: 100%;
  max-width: 340px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.story-photo .caption {
  text-align: center;
  color: var(--purple);
  font-weight: 600;
  margin-top: 10px;
  font-size: 0.95rem;
}

/* Forms */

.form-card {
  max-width: 720px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.form-grid-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #D1D5DB;
  padding: 8px 10px;
  font-size: 0.95rem;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.form-actions {
  margin-top: 14px;
  text-align: right;
}

/* Google Form Embed */

.gform-embed {
  position: relative;
  width: 100%;
  min-height: 2610px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.gform-embed iframe {
  width: 100%;
  height: 2610px;
  border: 0;
}

/* Footer */

footer {
  padding: 26px 20px;
}

.footer-panel {
  background: rgba(11, 23, 36, .94);
  color: #CBD5E1;
  border-radius: 14px;
  text-align: center;
  padding: 18px;
  font-size: 0.88rem;
}

.footer-panel a {
  color: #E5E7EB;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .story-photo img {
    margin: 0 auto;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .nav-inner {
    flex-direction: column;
    gap: 8px;
  }

  .hero-panel {
    padding: 22px 18px;
  }

  .bullet-columns {
    columns: 1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .gform-embed {
    min-height: 2800px;
  }

  .gform-embed iframe {
    height: 2800px;
  }
}
/* Shorter Google Form embed for support & caregiver interest */

.gform-embed-short {
  position: relative;
  width: 100%;
  min-height: 900px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.gform-embed-short iframe {
  width: 100%;
  height: 900px;
  border: 0;
}

@media (max-width: 640px) {
  .gform-embed-short {
    min-height: 1100px;
  }
  .gform-embed-short iframe {
    height: 1100px;
  }
}
