/* --- USA Patriotic Design System --- */
:root {
  --usa-blue: #002868;
  --usa-red: #bf0a30;
  --usa-white: #ffffff;
  --usa-gray: #f8fafc;
  --usa-text: #0f172a;
  --usa-text-muted: #4b5563;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
  font-family: 'Inter', sans-serif; 
  color: var(--usa-text); 
  background: var(--usa-gray); 
  line-height: 1.6; 
  padding-top: 4.5rem; /* Space for fixed header */
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Header & Nav --- */
.site-header { 
  height: 4.5rem; 
  background: rgba(255,255,255,0.98); 
  border-bottom: 3px solid var(--usa-blue); 
  position: fixed; 
  top: 0; 
  width: 100%; 
  z-index: 1000; 
  display: flex; 
  align-items: center; 
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo { 
  font-weight: 900; 
  font-size: 1.3rem; 
  text-decoration: none; 
  color: var(--usa-text); 
  text-transform: uppercase;
}
.logo span { color: var(--usa-blue); }

.main-nav a { margin-left: 2rem; text-decoration: none; font-weight: 700; color: var(--usa-text-muted); transition: var(--transition); }
.main-nav a:hover { color: var(--usa-red); }

/* --- Patriotic Hero --- */
.hero-usa {
  padding: 8rem 0 6rem; 
  text-align: center; 
  color: var(--usa-white);
  /* Step out of css/ folder to images/ folder using ../ */
  background: 
    linear-gradient(rgba(0, 40, 104, 0.8), rgba(15, 23, 42, 0.9)), 
    url('../images/american-flag.jpg') center/cover no-repeat fixed;
}
.hero-content h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; }
.hero-content p { font-size: 1.25rem; max-width: 750px; margin: 0 auto 3rem; color: #cbd5e1; }

/* --- Buttons --- */
.btn { display: inline-block; padding: 1rem 2.5rem; border-radius: 6px; font-weight: 800; text-decoration: none; transition: var(--transition); border: none; cursor: pointer; }
.btn-usa { background: var(--usa-red); color: white; }
.btn-usa:hover { background: #990826; transform: scale(1.05); }

/* START: ===================================================================
   STATE CARDS COMPONENT
   ========================================================================== */

.state-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.state-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
}

.state-card:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); 
}

.card-link-wrapper {
  display: block;
  width: 100%;
  text-decoration: none;
  overflow: hidden;
}

.card-img {
  height: 240px;
  width: 100%;
  background: #eee;
}

.card-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block;
  transition: opacity 0.3s ease;
}

.card-link-wrapper:hover img {
  opacity: 0.9;
}

.card-body { 
  padding: 2rem; 
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--usa-text);
}

.card-body p {
  color: var(--usa-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.text-link { 
  color: var(--usa-blue); 
  text-decoration: underline; 
  font-weight: 700; 
  margin-top: auto;
  transition: color 0.2s ease;
}

.text-link:hover { 
  color: var(--usa-red);
  text-decoration: none; 
}

/* END: =====================================================================
   STATE CARDS COMPONENT
   ========================================================================== */

/* --- Global Footer Styling --- */
.site-footer {
  background: var(--usa-blue);
  color: var(--usa-white);
  padding: 4rem 0 0;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  align-items: start;
}

.logo-footer { font-weight: 900; font-size: 1.5rem; margin-bottom: 0.5rem; }
.logo-footer span { color: #94a3b8; }
.tagline { font-size: 0.9rem; color: #cbd5e1; text-transform: uppercase; letter-spacing: 0.05em; }

.footer-contact { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: center; gap: 0.75rem; color: var(--usa-white); text-decoration: none; font-weight: 600; transition: var(--transition); }
.contact-item:hover { color: #cbd5e1; }

.footer-social { display: flex; gap: 1.5rem; justify-content: flex-end; }
.icon { width: 20px; height: 20px; fill: currentColor; }
.icon-brand { width: 32px; height: 32px; fill: var(--usa-white); transition: var(--transition); }
.icon-brand:hover { fill: var(--usa-red); transform: scale(1.1); }

.footer-bottom {
  background: rgba(15, 23, 42, 0.4);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .footer-contact, .footer-social { justify-content: center; align-items: center; }
  .footer-social { justify-content: center; margin-top: 1rem; }
}
/* --- Visual Breadcrumb Navigation --- */
.breadcrumb-nav {
  background: var(--usa-gray);
  padding: 0.85rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.875rem;
}

.breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--usa-text-muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #cbd5e1;
  font-weight: 400;
  font-size: 1rem;
}

.breadcrumbs a {
  color: var(--usa-blue);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--usa-red);
  text-decoration: underline;
}

.breadcrumbs li[aria-current="page"] {
  color: var(--usa-text);
  font-weight: 700;
}
.disclaimer-box {
margin-top: 2rem;
padding: 1.5rem;
background: #fffbeb;
border-left: 4px solid #f59e0b;
font-size: 0.95rem;
color: #92400e;
}