/* 324 Larkin Residents - Empowerment-focused design */

:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --accent: #c53030;
  --accent-light: #e53e3e;
  --success: #276749;
  --warning: #c05621;
  --bg: #f7fafc;
  --bg-card: #ffffff;
  --text: #1a202c;
  --text-light: #4a5568;
  --border: #e2e8f0;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 2.5rem 0;
  box-shadow: 0 4px 12px var(--shadow);
}

header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

header .tagline {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 400;
}

header .address {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Navigation */
nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px var(--shadow);
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  background: var(--primary);
  color: white;
  text-decoration: none;
}

/* Main content */
main {
  padding: 2.5rem 0;
}

/* Sections */
section {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px var(--shadow);
}

h2 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary);
}

h3 {
  color: var(--primary-light);
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

h3:first-child {
  margin-top: 0;
}

p {
  margin-bottom: 1rem;
}

/* Alert boxes */
.alert {
  padding: 1.25rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  border-left: 4px solid;
}

.alert-rights {
  background: #fef3f2;
  border-color: var(--accent);
}

.alert-info {
  background: #eff6ff;
  border-color: var(--primary);
}

.alert-success {
  background: #f0fdf4;
  border-color: var(--success);
}

.alert-warning {
  background: #fffbeb;
  border-color: var(--warning);
}

.alert strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Links list */
.resource-list {
  list-style: none;
  margin-top: 1rem;
}

.resource-list li {
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  background: var(--bg);
  border-radius: 4px;
  border-left: 3px solid var(--accent);
}

.resource-list a {
  font-weight: 500;
}

/* Contact items */
.contact-item {
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  background: var(--bg);
  border-radius: 4px;
}

.contact-item strong {
  color: var(--primary);
  display: inline-block;
  min-width: 160px;
}


/* Featured CTA */
.hero-cta {
  background: linear-gradient(135deg, var(--bg-card) 0%, #ebf8ff 100%);
  border: 2px solid var(--primary-light);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hero-cta h2 {
  border-bottom: none;
  margin-bottom: 0.5rem;
}

.hero-cta p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn-cta {
  display: inline-block;
  background: var(--primary);
  color: white !important;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 4px 6px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-cta:active {
  transform: translateY(0);
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
}

footer p {
  margin: 0.5rem 0;
  opacity: 0.9;
}

footer .disclaimer {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.75rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  section {
    padding: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
