/* ========== CSS: OSU Day Traders ========== */
:root{
  --scarlet:#bb0000;   /* OSU Scarlet */
  --gray:#666666;      /* Accent gray */
  --dark:#1f1f1f;
  --light:#f7f7f8;
  --white:#ffffff;
  --radius:16px;
  --shadow:0 8px 18px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#222;background:var(--light);line-height:1.6;
}

/* ===== Header / Nav ===== */
.site-header{
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;padding:0.75rem 1rem;background:var(--scarlet);color:var(--white);
  position:sticky;top:0;z-index:20;
}
.brand{display:flex;align-items:center;gap:.6rem;color:var(--white);text-decoration:none;font-weight:800}
.brand img{height:48px;width:auto;border-radius:50%}
.site-nav ul{display:flex;gap:1rem;list-style:none;margin:0;padding:0}
.site-nav a{color:var(--white);text-decoration:none;font-weight:700;opacity:.95}
.site-nav a.active,.site-nav a:hover{opacity:1;text-decoration:underline}
.nav-toggle{display:none}

@media (max-width: 840px){
  .site-nav ul{
    display:none;flex-direction:column;background:var(--scarlet);
    position:absolute;right:1rem;top:64px;padding:1rem;border-radius:12px
  }
  .site-nav ul.show{display:flex}
  .nav-toggle{
    display:inline-block;background:transparent;border:2px solid var(--white);
    color:#fff;border-radius:8px;padding:.25rem .5rem
  }
}

/* ===== Hero ===== */
.hero{
  min-height:48vh;display:grid;place-items:center;text-align:center;
  background:linear-gradient(135deg, #b30000 0%, #7a0000 70%);
  color:var(--white);padding:4rem 1rem;
}
.hero h1{font-size:clamp(2rem,6vw,3.25rem);margin:.2rem 0}
.hero p{font-size:clamp(1rem,2.5vw,1.25rem);opacity:.95}
.btn{display:inline-block;padding:.8rem 1.2rem;border-radius:999px;font-weight:800;text-decoration:none}
.btn--light{background:var(--white);color:var(--scarlet)}
.btn--outline{border:2px solid var(--white);color:var(--white);margin-left:.5rem}
.btn--dark{background:var(--dark);color:var(--white)}

/* ===== Slideshow (no-crop, true contain) ===== */
.slideshow{
  position:relative;max-width:1100px;margin:-2rem auto 2rem;
  background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;
}
.slideshow__viewport{
  position:relative;width:100%;height:500px;background:#000;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.slideshow__viewport img{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:auto;height:auto;max-width:100%;max-height:100%;
  object-fit:contain;opacity:0;transition:opacity 800ms ease-in-out;
}
.slideshow__viewport img.active{opacity:1}

.slideshow__controls{
  position:absolute;inset:0;display:flex;justify-content:space-between;align-items:center;
  padding:0 .5rem;pointer-events:none
}
.slideshow__controls button{
  pointer-events:auto;border:0;background:rgba(0,0,0,.45);color:#fff;
  font-size:2rem;width:44px;height:44px;border-radius:50%
}
.slideshow__dots{display:flex;gap:.75rem;justify-content:center;padding:.75rem}
.slideshow__dots button{
  width:14px;height:14px;border-radius:50%;border:0;background:#ddd;padding:0;line-height:0;cursor:pointer
}
.slideshow__dots button[aria-selected="true"]{background:var(--scarlet)}

@media (max-width:640px){
  .slideshow__viewport{height:300px}
}

/* ===== Content / Cards / Grids ===== */
.content{max-width:1100px;margin:0 auto;padding:2rem 1rem}
.content.narrow{max-width:800px}
.grid{display:grid;gap:1.25rem;padding:2rem 1rem;max-width:1100px;margin:0 auto}
.grid--3{grid-template-columns:repeat(3,1fr)}
@media (max-width:840px){.grid--3{grid-template-columns:1fr}}
.card{
  background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem
}
.link{font-weight:800;color:var(--scarlet);text-decoration:none}
.link:hover{text-decoration:underline}

/* ===== Lists ===== */
.checklist{list-style:none;padding-left:0}
.checklist li{position:relative;padding-left:1.4rem;margin:.35rem 0}
.checklist li::before{content:'✔';position:absolute;left:0;top:0;color:var(--scarlet)}

/* ===== Events ===== */
.events-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}

/* ===== CTA banner ===== */
.cta-banner{background:var(--scarlet);color:var(--white);text-align:center;padding:2rem 1rem;margin:2rem 0}

/* ===== Footer ===== */
.site-footer{background:#121212;color:#bdbdbd;text-align:center;padding:1rem}

/* ===== Forms ===== */
.contact-form{display:grid;gap:.75rem}
.contact-form input,.contact-form textarea{
  width:100%;padding:.75rem;border-radius:10px;border:1px solid #ddd;background:#fff;
}
.form-note{font-size:.9rem;color:#666}

/* ===== Leadership layout ===== */

/* First row: 2 wide cards only */
.leaders-featured{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:1rem;
  margin-top:1rem;
}

/* Other rows: 3-up grid */
.leaders-others{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:1rem;
  margin-top:1rem;
}

/* Shared card styles */
.leader.card{
  display:flex;align-items:center;gap:1rem;padding:1rem;
  background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);
}
.leader--wide{ /* visual tweak for the featured two */
  padding:1.25rem;
}

.leader-photo{
  width:90px;height:90px;border-radius:50%;object-fit:cover;flex:0 0 auto;
  box-shadow:var(--shadow);
}
.leader-body h3{margin:.25rem 0}
.leader-body p{margin:0;color:#333}

/* Fallback in case photo class is missed */
.leader.card > img:first-child{
  width:90px;height:90px;border-radius:50%;object-fit:cover;flex:0 0 auto;
}

/* Responsive behavior */
@media (max-width: 1000px){
  .leaders-others{grid-template-columns:repeat(2, minmax(0,1fr))}
}
@media (max-width: 700px){
  .leaders-featured{grid-template-columns:1fr}
  .leaders-others{grid-template-columns:1fr}
  .leader-photo{width:80px;height:80px}
}


/* Smaller titles + descriptions for leaders below President/VP */
.leaders-others .leader-body h3 {
  font-size: 0.9rem;
  line-height: 1.2;
}

.leaders-others .leader-body p {
  font-size: 0.75rem;
  line-height: 1.3;
  color: #444;
}
