@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Open+Sans:wght@400;500;600&display=swap");

/* Indigo Run COA — Global Styles */
:root {
  --ir-blue: #024A8F;
  --ir-gold: #A08F62;
  --ir-light: #E8F0F9;
  --ir-dark: #012d57;
  --ir-grey: #555555;
}

/* ── Navbar ── */
.navbar-ircoa {
  background-color: var(--ir-blue) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.navbar-ircoa .navbar-brand img { height: 34px; width: auto; }
.navbar-ircoa .navbar-brand { color: #fff !important; }
.navbar-ircoa .nav-link { color: #fff !important; font-weight: 500; font-size: 0.79rem; white-space: nowrap !important; padding: 0.4rem 0.38rem !important; letter-spacing: -0.01em; }
.navbar-ircoa .navbar-nav { flex-wrap: nowrap; }
.navbar-ircoa .navbar-collapse { flex-grow: 0 !important; }
.navbar-ircoa .nav-link:hover,
.navbar-ircoa .nav-link.active { color: var(--ir-gold) !important; }
.navbar-ircoa .dropdown-menu {
  background-color: var(--ir-dark);
  border: none;
  border-top: 3px solid var(--ir-gold);
  border-radius: 0 0 6px 6px;
}
.navbar-ircoa .dropdown-item { color: #e0e8f5; font-size: .9rem; }
.navbar-ircoa .dropdown-item:hover { background-color: var(--ir-gold); color: #fff; }
/* ── Document list (header-style) ── */
.doc-list { border-top: 2px solid var(--ir-gold); }
.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid #e4e8ee;
}
.doc-row:hover { background: #f5f8fc; }
.doc-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ir-blue);
  text-decoration: none;
}
.doc-title:hover { text-decoration: underline; color: var(--ir-blue); }
.doc-meta { font-size: 0.82rem; color: #666; margin-top: 2px; }

.btn-login {
  background-color: var(--ir-gold);
  border: none;
  color: #fff !important;
  font-weight: 600;
  border-radius: 4px;
  padding: 6px 14px;
  white-space: nowrap;
}
.btn-login:hover { background-color: #8c7c52; color: #fff !important; }
.navbar-toggler { border-color: rgba(255,255,255,.5); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--ir-dark) 0%, var(--ir-blue) 60%, #1a5fa8 100%);
  padding: 16px 0 14px;
  color: #fff;
}
.hero h1 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; margin-bottom: 2px; }
.hero p { font-size: 0.85rem; opacity: .82; max-width: 680px; margin-top: 2px; }
.hero-divider {
  width: 40px; height: 3px;
  background: var(--ir-gold);
  margin: 6px 0 8px;
}

/* ── Carousel hero ── */
.carousel-slide {
  height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.22);
}
.carousel-caption-ir {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  width: 90%;
}
.carousel-sub { font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; opacity: .88; }
.carousel-title { font-family: "Cinzel", Georgia, serif; font-size: clamp(2rem,5vw,3.8rem); font-weight: 900; margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,.4); letter-spacing: 0.04em; }
.carousel-desc { font-size: 1.1rem; opacity: .9; margin-top: 10px; }
.hero-divider { background: var(--ir-gold); }
@media(max-width:576px) { .carousel-slide { height: 340px; } }

/* ── Section titles ── */
.section-title { color: var(--ir-blue); font-weight: 700; }
.section-title::after {
  content: '';
  display: block;
  width: 50px; height: 3px;
  background: var(--ir-gold);
  margin-top: 6px;
}

/* ── Cards ── */
.card-ir {
  border: none;
  border-top: 4px solid var(--ir-gold);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.card-ir:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.13); }
.card-ir .card-title { color: var(--ir-blue); font-weight: 700; }
.card-ir-icon { font-size: 2.2rem; color: var(--ir-gold); }

/* ── Document cards ── */
.doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid #dee2e6;
  border-left: 5px solid var(--ir-gold);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ir-blue);
  background: #fff;
  transition: background .15s, box-shadow .15s;
  margin-bottom: 12px;
}
.doc-card:hover { background: var(--ir-light); box-shadow: 0 2px 8px rgba(0,0,0,.1); color: var(--ir-dark); }
.doc-card .doc-icon { font-size: 1.8rem; color: var(--ir-gold); flex-shrink: 0; }
.doc-card .doc-label { font-weight: 600; font-size: .95rem; }
.doc-card .doc-sub { font-size: .8rem; color: var(--ir-grey); }

/* ── Link cards ── */
.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ir-blue);
  background: #fff;
  font-weight: 600;
  transition: background .15s;
}
.link-card:hover { background: var(--ir-light); color: var(--ir-dark); }

/* ── Staff cards ── */
.staff-card {
  background: #fff;
  border-radius: 8px;
  border-top: 4px solid var(--ir-blue);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  padding: 20px;
  height: 100%;
}
.staff-card .staff-name { color: var(--ir-blue); font-weight: 700; font-size: 1.05rem; }
.staff-card .staff-role { color: var(--ir-gold); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.staff-card a { color: var(--ir-blue); }
.staff-card a:hover { color: var(--ir-gold); }

/* ── Fee tables ── */
.fee-table { border-collapse: collapse; width: 100%; }
.fee-table th { background: var(--ir-blue); color: #fff; padding: 10px 14px; text-align: left; }
.fee-table td { padding: 9px 14px; border-bottom: 1px solid #dee2e6; }
.fee-table tr:nth-child(even) td { background: var(--ir-light); }
.fee-table tfoot td { font-weight: 700; color: var(--ir-blue); background: #f0f5fb; }

/* ── Info box ── */
.info-box {
  background: var(--ir-light);
  border-left: 5px solid var(--ir-gold);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  color: var(--ir-grey);
  font-size: .95rem;
}
.info-box-notice {
  background: #fff8e6;
  border-left-color: #c8941a;
  color: #5a4000;
}

/* ── Buttons ── */
.btn-ir-primary { background: var(--ir-blue); border-color: var(--ir-blue); color: #fff; }
.btn-ir-primary:hover { background: var(--ir-dark); border-color: var(--ir-dark); color: #fff; }
.btn-ir-gold { background: var(--ir-gold); border-color: var(--ir-gold); color: #fff; }
.btn-ir-gold:hover { background: #8c7c52; border-color: #8c7c52; color: #fff; }

/* ── Footer ── */
.footer-ircoa {
  background: var(--ir-dark);
  color: #c8d4e8;
  padding: 40px 0 20px;
  font-size: .9rem;
}
.footer-ircoa a { color: var(--ir-gold); text-decoration: none; }
.footer-ircoa a:hover { color: #d4b97a; }
.footer-ircoa .footer-brand { color: #fff; font-weight: 700; font-size: 1.05rem; }
.footer-divider { border-color: rgba(255,255,255,.15); }
.footer-copy { color: #7a93b5; font-size: .8rem; }

/* ── Misc ── */
.gold-bar { height: 4px; background: var(--ir-gold); }
.bg-ir-light { background: var(--ir-light); }
.text-ir-blue { color: var(--ir-blue); }
.text-ir-gold { color: var(--ir-gold); }
.neighborhood-badge {
  display: inline-block;
  background: var(--ir-blue);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
