/* css/styles.css */

/* Theme variables */
:root {
    --blue: #003f8a;
    --blue-dark: #003b67;
    --gold: #ffcc33;
    --dark: #111827;
    --light: #f9fafb;
    --max-width: 1100px;
    --nav-height: 70px;
    --radius: 12px;
  }
  
  /* Reset-ish */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    background-color: #ffffff;
    line-height: 1.6;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  main {
    min-height: calc(100vh - var(--nav-height) - 140px);
  }
  
  /* Sections */
  .section {
    padding: 3rem 1.25rem;
  }
  
  .section-alt {
    background: var(--light);
  }
  
  .section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
  }
  
  .section-header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.75rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
    color: #4b5563;
  }
  
  /* Navbar */
  header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(17, 24, 39, 0.97);
    color: #f9fafb;
    backdrop-filter: blur(8px);
  }
  
  .navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0 1.25rem;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
  }
  
  .nav-brand span {
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    background: var(--gold);
    color: #1f2937;
    font-weight: 800;
  }
  
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.9rem;
  }
  
  .nav-links a {
    padding-bottom: 0.15rem;
    border-bottom: 2px solid transparent;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    border-bottom-color: var(--gold);
  }
  
  /* Home hero */
  .hero {
    position: relative;
    height: 60vh;
    min-height: 340px;
    color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(
        to right,
        rgba(17, 24, 39, 1) 0%,
        rgba(17, 24, 39, 0.95) 10%,
        rgba(17, 24, 39, 0) 28%,
        rgba(17, 24, 39, 0) 72%,
        rgba(17, 24, 39, 0.95) 90%,
        rgba(17, 24, 39, 1) 100%
      ),
      linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.15)),
      url("../Images/House.JPG");
    background-size: cover;
    background-position: 52% 42%;
    filter: saturate(1.1);
    transform: scale(1.04);
  }
  
  .hero-content {
    position: relative;
    max-width: 700px;
    padding: 0 1.25rem;
  }
  
  .hero-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(249, 250, 251, 0.25);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
  }
  
  .hero h1 {
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    margin-bottom: 0.6rem;
  }
  
  .hero-subtitle {
    font-size: 0.98rem;
    opacity: 0.94;
    max-width: 32rem;
    margin: 0 auto 1.5rem;
  }
  
  .hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  
  /* Buttons (global) */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
  }
  
  .btn-primary {
    background: var(--gold);
    color: #1f2937;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
  }
  
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(0, 0, 0, 0.4);
  }
  
  .btn-outline {
    border-color: rgba(249, 250, 251, 0.6);
    color: #f9fafb;
    background: transparent;
  }
  
  .btn-outline:hover {
    background: rgba(17, 24, 39, 0.7);
  }
  
  /* Cards and two-column layouts */
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
  }
  
  /* Photo cards on home page */
  .cards-photos {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  
  .cards-photos .card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    object-fit: cover;
  }
  
  /* Executive board layout */
  .exec-hero .exec-intro {
    max-width: 720px;
    margin-top: 0.75rem;
    font-size: 0.98rem;
  }
  
  .exec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
  }
  
  .exec-grid-row-center {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
  }
  
  .exec-card-empty {
    visibility: hidden;
  }
  
  @media (max-width: 900px) {
    .exec-card-empty {
      display: none;
    }
  }
  
  .exec-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.25rem 1.25rem 1.5rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .exec-card img {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 0.9rem;
  }
  
  .exec-card h4 {
    margin: 0.1rem 0;
    font-size: 1.05rem;
  }
  
  .exec-role {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2563eb;
  }
  
  .exec-blurb {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.4);
  }
  
  .card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
  }
  
  .card p {
    font-size: 0.9rem;
    color: #4b5563;
  }
  
  .card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin-bottom: 0.4rem;
  }
  
  .two-col {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: center;
  }
  
  .two-col img {
    border-radius: var(--radius);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  }
  
  /* Contact / form */
  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
  }
  
  .contact-card {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.92rem;
  }
  
  .contact-card h3 {
    margin-bottom: 0.4rem;
  }
  
  .contact-grid form {
    display: grid;
    gap: 0.75rem;
    font-size: 0.9rem;
  }
  
  label {
    font-weight: 600;
    font-size: 0.85rem;
  }
  
  input,
  textarea,
  select {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font: inherit;
  }
  
  textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  /* Rush photo zoom (to hide IG arrows) */
  .rush-photo-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  }
  
  .rush-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transform-origin: center;
  }
  
  /* Exec Page Styling (officers grid like example site) */
  
  .exec-page {
    background: var(--blue-dark); /* dark blue sides */
  }
  
  .exec-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
    background: #ffffff;
  }
  
  .exec-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.75rem;
  }
  
  /* Grid: 3 per row on desktop */
  .exec-page .officer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
  
  /* Cards: just images with overlay text */
  .exec-page .officer-card {
    position: relative;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
  }
  
  .exec-page .officer-card img {
    display: block;
    width: 100%;
    border-radius: 0;
  }
  
  /* Dark bar over bottom of each image */
  .officer-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #f9fafb;
    text-align: center;
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
  }
  
  .officer-overlay .officer-name {
    font-weight: 600;
  }
  
  .officer-overlay .officer-role {
    font-size: 0.8rem;
    opacity: 0.9;
  }
  
  /* Footer */
  footer {
    margin-top: 2.5rem;
    background: #0b1120;
    color: #9ca3af;
  }
  
  .footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
  }
  
  .footer-inner a {
    color: #e5e7eb;
  }
  
  /* === DONATE PAGE ADDITIONS === */
  
  /* Hero section for Donation page */
  .hero-section {
    position: relative;
    height: 50vh;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    border-bottom: 8px solid var(--gold);
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: brightness(0.85);
  }
  
  .hero-title {
    position: relative;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
  }
  
  /* Only affect the subtitle inside the donate hero, not the home hero */
  .hero-section .hero-subtitle {
    position: relative;
    font-size: 1.15rem;
    opacity: 0.9;
  }
  
  /* Content layout for donate page */
  .content-section {
    margin-top: 2.5rem;
  }
  
  .card-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .info-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(180, 180, 180, 0.35);
  }
  
  .info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }
  
  .info-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #444;
  }
  
  /* Donate page buttons */
  .button {
    display: inline-block;
    padding: 0.6rem 1.3rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transition: 0.15s ease;
  }
  
  .dark-button {
    background: var(--blue-dark);
    color: #fff;
  }
  
  .dark-button:hover {
    background: #002f57;
  }
  
  .gold-button {
    background: var(--gold);
    color: #1f2937;
  }
  
  .gold-button:hover {
    background: #e6b72e;
  }
  
  /* Footer spacing fix for donate page when using <p> tags */
  footer p {
    text-align: center;
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .exec-page .officer-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .hero {
      height: 70vh;
    }
  
    .two-col,
    .contact-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 600px) {
    .exec-wrapper {
      padding-inline: 0.75rem;
    }
  
    .exec-page .officer-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* === MOBILE NAVBAR TWEAKS === */
@media (max-width: 700px) {
    /* Let the navbar grow taller instead of being stuck at a fixed height */
    .navbar {
      height: auto;
      padding: 0.6rem 1.25rem 0.75rem;
      flex-direction: column;      /* stack logo and links */
      align-items: flex-start;
      gap: 0.4rem;
    }
  
    /* Slightly adjust the brand size for small screens */
    .nav-brand {
      font-size: 0.9rem;
    }
  
    /* Keep all nav links inside the dark bar with nicer spacing */
    .nav-links {
      width: 100%;
      flex-wrap: wrap;
      row-gap: 0.25rem;
      column-gap: 1rem;
      font-size: 0.9rem;
    }
  }
  