﻿/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background-color: #FFFFFF; /* Locked: white only */
  color: #000000; /* Locked: jet black text */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* === LINKS === */
a {
  color: #000000;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === CTA BUTTON === */
.cta-button {
  display: inline-block;
  background-color: #D4AF37; /* Gold */
  color: #000000;
  border: 1px solid #E0E0E0; /* Light border to simulate real button */
  border-radius: 9999px; /* Pill shape */
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.cta-button:hover {
  background-color: #F5D76E; /* Lighter gold */
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.cta-button:active {
  background-color: #8C6C1A; /* Darker gold */
  color: #FFFFFF;
  box-shadow: inset 0 2px 4px #000000;
}

/* === STATE GRID === */
.state-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}
@media (max-width: 1024px) {
  .state-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 600px) {
  .state-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === NAVBAR === */
.navbar {
  padding: 16px 24px;
  background-color: #FFFFFF; /* Pure white only */
  border-bottom: 2px solid #D4AF37;
}
.navbar h1 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000000;
}

/* === SEARCH BAR === */
.search-bar {
  margin-top: 12px;
  display: flex;
  max-width: 600px;
}
.search-bar input[type="text"] {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #D4AF37;
  border-radius: 9999px 0 0 9999px;
  font-size: 1rem;
  outline: none;
}
.search-bar button {
  background-color: #D4AF37;
  color: #000000;
  border: none;
  border-radius: 0 9999px 9999px 0;
  padding: 10px 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
.search-bar button:hover {
  background-color: #F5D76E;
}
.search-bar button:active {
  background-color: #8C6C1A;
  color: #FFFFFF;
  box-shadow: inset 0 2px 4px #000000;
}

/* === FOOTER === */
.site-footer {
  padding: 24px;
  background-color: #FFFFFF;
  border-top: 2px solid #D4AF37;
  text-align: center;
  font-size: 0.9rem;
  color: #000000;
}

/* === CATEGORY GRID (used on state index pages) === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px;
  max-width: 800px;
  margin: 0 auto;
  justify-items: center;
}

/* === GSV CARD STYLE === */
.gsv-card {
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  background-color: #FFFFFF;
  transition: transform 0.2s ease-in-out;
  margin-bottom: 24px;
}
.gsv-card:hover {
  transform: scale(1.02);
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* === MOBILE HARDENING (extra-small phones, nav/search fixes) === */
@media (max-width: 400px) {
  .state-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-button {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  .navbar h1 {
    font-size: 1.4rem;
  }
  .search-bar {
    flex-direction: column;
  }
  .search-bar input[type="text"] {
    border-radius: 9999px;
    margin-bottom: 8px;
  }
  .search-bar button {
    border-radius: 9999px;
    width: 100%;
  }
}
