/* Google Fonts imported in HTML head */
:root {
  --primary: #1d3557;
  --secondary: #457b9d;
  --accent: #f1faee;
  --danger: #e63946;
  --text-primary: #222;
  --text-secondary: #555;
  --background: #fff;
  --background-dark: #f7f9fc;
  --border-radius: 8px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--background-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

/* Header */
header {
  background: var(--primary);
  color: var(--accent);
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgb(29 53 87 / 0.2);
  position: sticky;
  top: 0;
  z-index: 999;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header h1 {
  font-weight: 700;
  font-size: 1.8rem;
  margin: 0;
}

nav a {
  color: var(--accent);
  text-decoration: none;
  margin-left: 1.2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: color var(--transition);
}

nav a:hover,
nav a:focus {
  color: var(--danger);
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--accent);
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* Buttons */
button, .btn {
  background: var(--secondary);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background var(--transition);
}

button:hover, .btn:hover {
  background: var(--danger);
}

/* Alerts Section */
.alerts, .twitter, .staff-member, section {
  background: var(--background);
  border-radius: var(--border-radius);
  box-shadow: 0 0 10px rgb(0 0 0 / 0.05);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* Staff grid */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.staff-member {
  text-align: center;
}

.staff-member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary);
  margin-bottom: 1rem;
  transition: transform var(--transition);
}

.staff-member img:hover {
  transform: scale(1.05);
}

.staff-member h3 {
  margin-bottom: 0.2rem;
  color: var(--primary);
  font-weight: 700;
}

.staff-member p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Radar Buttons */
.radar-buttons {
  text-align: center;
  margin-bottom: 1.5rem;
}

.radar-buttons button {
  margin: 0.3rem;
  min-width: 160px;
}

.radar-frame {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 0 15px rgb(0 0 0 / 0.1);
  display: none;
}

.radar-frame.active {
  display: block;
}

/* Twitter embed */
.twitter iframe {
  border-radius: var(--border-radius);
  border: none;
}

/* Responsive */
@media (max-width: 600px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  nav a {
    margin: 0.5rem 1rem 0 0;
  }
  .staff-grid {
    grid-template-columns: 1fr;
  }
  .radar-frame {
    height: 400px;
  }
}
