/* MichiganWeed.com - Matching logo color scheme (orange + green) */

:root {
  --orange: #e07a3d;
  --orange-dark: #c45e28;
  --green: #5a8a5a;
  --green-dark: #3d6b3d;
  --green-light: #7aaf7a;
  --accent: #e07a3d;
  --bg: #f8f9fa;
  --text: #212529;
  --card-bg: #ffffff;
  --border: #e9ecef;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

header {
  background: #ffffff;
  color: var(--green-dark);
  padding: 0.75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-bottom: 3px solid var(--orange);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

nav a {
  color: var(--green-dark);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--orange);
}

.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--orange-dark) 100%);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 122, 61, 0.3);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: var(--green-dark);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.city-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: var(--orange);
}

.city-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--green);
}

.city-card p {
  color: #6c757d;
  font-size: 0.95rem;
}

.dispensary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.dispensary-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.dispensary-card h3 {
  color: var(--green-dark);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.dispensary-card p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

.badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.4rem;
}

.legal-box {
  background: #fff8f0;
  border-left: 4px solid var(--orange);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  margin: 2rem 0;
  font-size: 0.95rem;
}

footer {
  background: var(--green-dark);
  color: white;
  text-align: center;
  padding: 2.5rem 1rem;
  margin-top: 3rem;
}

footer a {
  color: var(--orange);
  text-decoration: none;
}

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.age-gate-content {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  max-width: 420px;
}

.age-gate h2 {
  margin-bottom: 1rem;
  color: var(--green-dark);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  header .container { flex-direction: column; gap: 0.75rem; }
  nav a { margin: 0 0.6rem; }
  .logo img { height: 42px; }
}
