/* Enhanced styling for Project Sogand */
:root {
  --bg: #fff;
  --fg: #222;
  --accent: #d73027;
  --secondary: #f7f7f7;
  --border: #ddd;
  --shadow: rgba(0,0,0,0.1);
  font-family: system-ui, -apple-system, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

/* Header */
header {
  padding: 3rem 1rem;
  background: var(--secondary);
  text-align: center;
  border-bottom: 3px solid var(--accent);
}

header h1 {
  margin: 0 0 1rem;
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 700;
}

.tagline {
  max-width: 45rem;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
}

/* Main sections */
section {
  padding: 3rem 1rem;
  max-width: 55rem;
  margin: 0 auto;
}

section h2 {
  color: var(--accent);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Map section */
.map-container {
  background: var(--secondary);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow);
}

.map-link {
  text-align: center;
  margin-top: 1rem;
}

.map-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.map-link a:hover {
  text-decoration: underline;
}

/* Form styling */
form {
  display: grid;
  gap: 1.5rem;
  background: var(--secondary);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow);
}

label {
  display: grid;
  font-weight: 600;
  gap: 0.5rem;
}

input, textarea, select {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  resize: vertical;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(215, 48, 39, 0.2);
}

button {
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #c62d26;
}

.req {
  color: var(--accent);
}

.privacy-note {
  background: #fff;
  padding: 1rem;
  border-radius: 4px;
  border-left: 4px solid var(--accent);
  margin-top: 1rem;
}

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

.resource-card {
  background: var(--secondary);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow);
}

.resource-card h3 {
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.resource-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.resource-card a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  padding: 2rem 1rem;
  background: #333;
  color: #fff;
  text-align: center;
  margin-top: 2rem;
}

footer nav {
  margin-bottom: 1rem;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  
  section {
    padding: 2rem 1rem;
  }
  
  .map-container iframe {
    height: 400px;
  }
}
