/* Dr. Michael Darville Campaign Website Styles */

  /* ─── RESET & BASE ─── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background: #FAF7F0;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { text-decoration: none; color: inherit; }

  /* ─── COLOUR TOKENS ─── */
  :root {
    --navy:       #1347A8;
    --navy-light: #1a58c4;
    --gold:       #C89A3B;
    --gold-light: #E8B84B;
    --cream:      #FAF7F0;
    --cream-dark: #F0ECE2;
    --white:      #ffffff;
    --text-dark:  #1a1a1a;
    --text-mid:   #4a4a4a;
    --text-muted: #888888;
    --border:     #e0dbd0;
    --red-dot:    #c0392b;
    --orange-dot: #D97706;
  }

  /* ─── TYPOGRAPHY ─── */
  .display    { font-family: 'Playfair Display', serif; }
  .label      { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--gold); }
  .section-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.2; }
  .card-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
  .body-text  { font-size: 14px; line-height: 1.65; color: var(--text-mid); }
  .body-sm    { font-size: 13px; line-height: 1.6; color: var(--text-mid); }

  /* ─── LAYOUT ─── */
  .container  { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
  .section    { padding: 56px 0; }
  .section-sm { padding: 36px 0; }
  .divider    { border: none; border-top: 1px solid var(--border); }
  .grid-2     { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .grid-3     { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
  .grid-4     { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }

  /* ─── CARDS ─── */
  .card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 22px;
  }
  .card-accent { border-left: 3px solid var(--navy); }

  /* ─── BUTTONS ─── */
  .btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 11px 24px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
  }
  .btn-primary:hover { background: var(--gold-light); }
  .btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.55);
    border-radius: 6px;
    padding: 10px 22px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
  }
  .btn-outline:hover { border-color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.08); }
  .btn-full { width: 100%; text-align: center; display: block; }

  /* ─── TAGS / PILLS ─── */
  .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 3px 10px;
    border-radius: 4px;
  }
  .tag-navy   { background: #E8EDF5; color: var(--navy); }
  .tag-gold   { background: #FBF4E6; color: #7A5A15; }
  .tag-grey   { background: #F0EFE8; color: #4a4a4a; }
  .tag-blue   { background: #EBF3FF; color: #1B3A6A; }
  .tag-green  { background: #EDFAF3; color: #0D6B3A; }

  /* ─── NAVBAR ─── */
  #navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    max-width: 1080px;
    margin: 0 auto;
  }
  .nav-brand { display: flex; align-items: center; gap: 12px; }
  .nav-bar-accent { width: 5px; height: 36px; background: var(--gold); border-radius: 2px; flex-shrink: 0; }
  .nav-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
  }
  .nav-brand-sub {
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-top: 1px;
  }
  .nav-links { display: flex; gap: 24px; align-items: center; }
  .nav-links a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--white); }
  .nav-cta {
    background: var(--gold);
    color: var(--white) !important;
    border-radius: 6px;
    padding: 7px 18px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--gold-light) !important; }

  /* Mobile nav toggle */
  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

  /* ─── HERO ─── */
  /* Hero image banner — full width, no overlay needed as image is self-contained */
  #hero-image-wrap {
    width: 100%;
    background: #1347A8;
    line-height: 0;
  }
  #hero-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 420px;
    object-fit: cover;
    object-position: center top;
  }
  /* Hero content band below the image */
  #hero {
    background: var(--navy);
    padding: 44px 0 40px;
    position: relative;
    border-top: 4px solid var(--gold);
  }
  #hero::before { display: none; }
  #hero::after { display: none; }
  #hero .container { position: relative; z-index: 1; }
  .hero-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 4px;
    background: rgba(200,154,59,0.15);
    color: var(--gold);
    margin-bottom: 20px;
  }
  .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    max-width: 560px;
    margin-bottom: 18px;
  }
  .hero-title span { color: var(--gold); }
  .hero-subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
    max-width: 440px;
    margin-bottom: 28px;
  }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
  }
  .hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
  }
  .hero-stat-label {
    font-size: 10px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
  }

  /* ─── ABOUT ─── */
  #about { background: var(--cream); }
  .about-inner {
    display: flex;
    gap: 32px;
    align-items: flex-start;
  }
  .about-avatar {
    width: 96px; height: 96px;
    border-radius: 10px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
  }
  .about-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
  .about-office-card { flex-shrink: 0; min-width: 210px; }

  /* ─── DELIVERED ─── */
  #delivered { background: var(--white); }
  .delivered-grid { margin-top: 28px; }
  .delivered-card .issue-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
  }

  /* ─── ISSUES ─── */
  #issues { background: var(--cream); }
  .issue-item { display: flex; gap: 14px; align-items: flex-start; }
  .issue-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }

  /* ─── UPDATES ─── */
  #updates { background: var(--white); }
  .updates-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
  }
  .updates-link { font-size: 13px; font-weight: 600; color: var(--navy); }
  .updates-link:hover { color: var(--gold); }
  .update-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; }
  .update-item + .update-item { border-top: 1px solid var(--border); }
  .update-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 6px; }
  .update-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
  .update-date { font-size: 11px; color: var(--text-muted); }
  .update-tags { display: flex; gap: 6px; margin-top: 8px; }

  /* ─── EVENTS ─── */
  #events { background: var(--cream); }
  .event-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: box-shadow 0.2s;
  }
  .event-card:hover { box-shadow: 0 4px 20px rgba(27,42,74,0.08); }
  .event-date-block {
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    width: 50px;
    min-width: 50px;
    text-align: center;
    padding: 8px 4px;
    flex-shrink: 0;
  }
  .event-day { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; line-height: 1; }
  .event-month { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.55); margin-top: 2px; }
  .event-time { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
  .events-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

  /* ─── GALLERY ─── */
  #gallery { background: var(--white); }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
    margin-top: 28px;
  }
  .gallery-placeholder {
    aspect-ratio: 1;
    background: var(--cream-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .gallery-placeholder:hover { background: #E8E3D8; }
  .gallery-note { font-size: 12px; color: var(--text-muted); margin-top: 14px; text-align: center; }

  /* ─── GET INVOLVED FORM ─── */
  #get-involved { background: var(--navy); }
  .form-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
  .form-subtitle { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 28px; max-width: 440px; }
  .form-row { display: flex; gap: 10px; margin-bottom: 10px; }
  .form-input, .form-select, .form-textarea {
    flex: 1;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 7px;
    padding: 11px 14px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
  }
  .form-input::placeholder,
  .form-textarea::placeholder { color: rgba(255,255,255,0.4); }
  .form-input:focus,
  .form-select:focus,
  .form-textarea:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,0.12);
  }
  .form-select option { background: var(--navy); color: var(--white); }
  .form-textarea { resize: none; height: 100px; }
  .form-submit {
    width: 100%;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 7px;
    padding: 13px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.2s;
  }
  .form-submit:hover { background: var(--gold-light); }
  .form-success {
    display: none;
    background: rgba(200,154,59,0.15);
    border: 1px solid rgba(200,154,59,0.4);
    border-radius: 8px;
    padding: 16px 20px;
    color: var(--gold);
    font-weight: 600;
    text-align: center;
    margin-top: 12px;
  }

  /* ─── SOCIAL + CONTACT ─── */
  #contact { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); }
  .social-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 12px;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s;
  }
  .social-chip:hover { background: rgba(255,255,255,0.16); }
  .social-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
  .social-handle { color: rgba(255,255,255,0.55); font-size: 11px; }
  .contact-row { display: flex; gap: 10px; margin-bottom: 10px; }
  .contact-label { font-size: 12px; color: rgba(255,255,255,0.45); min-width: 70px; padding-top: 1px; }
  .contact-value { font-size: 13px; color: rgba(255,255,255,0.85); }

  /* ─── FOOTER ─── */
  #footer {
    background: #111D32;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-copy { font-size: 11px; color: rgba(255,255,255,0.28); }
  .footer-links { display: flex; gap: 18px; }
  .footer-links a { font-size: 11px; color: rgba(255,255,255,0.28); }
  .footer-links a:hover { color: rgba(255,255,255,0.55); }

  /* ─── SCROLL ANIMATIONS ─── */
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 820px) {
    .nav-links { display: none; }
    .nav-links.open {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 64px; left: 0; right: 0;
      background: var(--navy);
      padding: 16px 28px 20px;
      gap: 14px;
      border-top: 1px solid rgba(255,255,255,0.08);
      z-index: 999;
    }
    .nav-toggle { display: flex; }
    #navbar { position: relative; }
    .hero-title { font-size: 26px; }
    #hero { padding: 32px 0 28px; }
    #hero-image-wrap img { max-height: 220px; object-position: 65% top; }
    .hero-stats { gap: 16px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .about-inner { flex-direction: column; }
    .about-office-card { width: 100%; }
    .hero-stats { gap: 20px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { flex-direction: column; }
    .updates-header { flex-direction: column; gap: 6px; align-items: flex-start; }
    #footer { flex-direction: column; text-align: center; }
  }
