/* styles.css */

/* -----------------------------
   Base / Tokens (Subaru-ish)
------------------------------ */
:root{
  --bg: #ffffff;
  --text: #0b1220;
  --muted: #5b6678;

  --navy: #0b1f3a;
  --blue: #003a70;
  --blue-2: #0a4a8a;
  --accent: #0b5bd3;

  --line: rgba(11,18,32,.10);
  --shadow: 0 10px 30px rgba(11,18,32,.10);

  --radius: 16px;
  --radius-sm: 12px;

  --container: 1120px;
}

/* -----------------------------
   Reset-ish
------------------------------ */
* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
p{ margin: 0 0 1rem; }
h1,h2,h3,h4{ margin: 0 0 .75rem; line-height: 1.15; }
ul,ol{ margin: 0; padding-left: 1.2rem; }
li{ margin: .35rem 0; }

/* Accessibility */
.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  background: #000;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }

/* Layout */
.container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* -----------------------------
   Header
------------------------------ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo{
  height: 44px; /* bigger logo */
  width: auto;
}

.site-nav{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a{
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 10px;
}
.site-nav a:hover{ background: rgba(0,0,0,.05); }

.nav-cta{
  background: var(--blue);
  color: #fff !important;
  padding: 10px 14px !important;
}
.nav-cta:hover{
  background: var(--blue-2) !important;
}

/* -----------------------------
   Buttons
------------------------------ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover{ background: var(--blue-2); }

.btn-ghost{
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.22);
}
.btn-ghost:hover{ filter: brightness(1.06); }

/* -----------------------------
   Hero (Option 1 style)
   - Responsive height via clamp
   - Strong gradient overlay for readability
   - Background-position tuned to show more bottom
------------------------------ */
.hero{
  position: relative;
  min-height: 520px; /* adjust later */
  display: flex;
  align-items: center;
  color: #fff;

  /* The actual photo */
  background-image: url("../assets/img/hero.jpg");
  background-size: cover;
  background-position: center top; /* keeps heads safer */
  background-repeat: no-repeat;
}

.hero-overlay{
  position: absolute;
  inset: 0;

  /* dramatic blue overlay */
  background: linear-gradient(90deg, rgba(11,31,58,.88), rgba(11,31,58,.45));
  pointer-events: none;
}

.hero-inner{
  position: relative; /* sits above overlay */
  z-index: 1;
}
.hero h1{
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.02em;
}
.hero-lead{
  font-size: 18px;
  color: rgba(255,255,255,.92);
  max-width: 64ch;
}
.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* -----------------------------
   Sections
------------------------------ */
.section{
  padding: 60px 0;
}
.section-alt{
  background: #f6f8fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lead{
  color: var(--muted);
  font-size: 16px;
  max-width: 70ch;
}

/* Section header w/ CTA */
.section-header{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.section-cta{ display: flex; gap: 10px; }

/* Panels / cards */
.panel{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin: 18px 0;
}
.panel-subhead{
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 16px;
}

.info-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}
.info-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.two-col{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.below-cta{
  display: flex;
  justify-content: center;
  padding-top: 10px;
}
.bullets > li{ margin: .6rem 0; }
.bullets ul{ margin-top: .5rem; }

/* -----------------------------
   Parallax band (Ways of Giving)
------------------------------ */
.parallax{
  position: relative;
  color: #fff;
  padding: 64px 0;
  background: var(--bg) center / cover no-repeat;
  background-image:
    linear-gradient(90deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.70) 55%, rgba(11,31,58,.45) 100%),
    var(--bg);
  background-attachment: scroll;
}
.parallax-overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 90% at 10% 30%, rgba(0,0,0,.20), rgba(0,0,0,0) 65%);
}
.parallax-inner{ position: relative; }

.muted{ color: var(--muted); }
.ways-lead{ margin-bottom: 14px; }
.ways-lead-white{ color: #fff; } /* requested white line */

.card-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}
.card{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(6px);
}
.card h3{ margin-bottom: 6px; }

/* -----------------------------
   Cycles
------------------------------ */
.cycle{
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}
.cycle-title{
  font-weight: 800;
  color: var(--navy);
}

/* -----------------------------
   Videos (Option A: thumbnails)
------------------------------ */
.video-grid.thumbs{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.video-thumb{
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: #0b1f3a;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  transform: translateZ(0);
}

.video-thumb img{
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transition: transform .25s ease;
}

.video-thumb:hover img{
  transform: scale(1.03);
}

.thumb-grad{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0) 55%);
}

.play{
  position: absolute;
  left: 18px;
  top: 18px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}

.play::before{
  content: "";
  position: absolute;
  left: 21px;
  top: 16px;
  width: 0;
  height: 0;
  border-left: 14px solid rgba(255,255,255,.92);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.thumb-meta{
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
}

.thumb-title{
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
}

.thumb-sub{
  display: block;
  margin-top: 4px;
  font-size: .9rem;
  opacity: .85;
}

/* -----------------------------
   Contact
------------------------------ */
.contact-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
}
.contact-block{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.contact-form{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.field{ margin-bottom: 12px; }
label{
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--navy);
}
input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(11,18,32,.18);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
input:focus, select:focus, textarea:focus{
  outline: 3px solid rgba(11,91,211,.18);
  border-color: rgba(11,91,211,.55);
}

.small{
  font-size: 12px;
}
.muted{
  color: var(--muted);
}

/* -----------------------------
   Footer
------------------------------ */
.site-footer{
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

/* -----------------------------
   Responsive
------------------------------ */
@media (max-width: 980px){
  .info-grid{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .card-grid{ grid-template-columns: 1fr; }
  .video-grid.thumbs{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .hero-inner{ padding: 54px 0; }
  .logo{ height: 40px; }
}

@media (max-width: 620px){
  .site-nav a{ padding: 8px 10px; }
  .hero{ background-position: 50% 70%; } /* even more bottom on small screens */
  .video-thumb{ min-height: 240px; }
}