/* AuSMB Website - Minimal CSS */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}
a { color: #00796b; }
a:hover { color: #004d40; }
img { max-width: 100%; height: auto; }

/* Colors */
:root {
  --primary: #004d40;
  --primary-light: #00796b;
  --bg-light: #f5f5f5;
  --text: #333;
  --text-light: #666;
  --border: #ddd;
}

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

/* Header & Nav */
header {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
nav .logo img { height: 40px; display: block; }
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}
nav ul li a:hover { opacity: 0.8; }

nav details { display: none; }
nav details summary {
  cursor: pointer;
  color: white;
  font-weight: 500;
  list-style: none;
}
nav details summary::-webkit-details-marker { display: none; }
nav details ul {
  position: absolute;
  right: 1rem;
  top: 100%;
  background: var(--primary);
  padding: 1rem;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 0 0 4px 4px;
}

/* Responsive Nav */
@media (max-width: 600px) {
  nav .desktop-nav { display: none; }
  nav details { display: block; }
}
@media (min-width: 601px) {
  nav details { display: none !important; }
}

/* Hero Section */
.hero {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}
.hero h1 { margin: 0 0 0.5rem; font-size: 2rem; color: white; }
.hero p { margin: 0; opacity: 0.9; color: white; }
.hero img { max-width: 200px; margin-top: 1.5rem; }

/* Main Content */
main { padding: 2rem 0; }
section { margin-bottom: 2rem; }
h1, h2, h3 { color: var(--primary); }
h2 { border-bottom: 2px solid var(--primary); padding-bottom: 0.5rem; }

/* Card Grid (speakers/team) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.card {
  text-align: center;
  padding: 1rem;
}
.card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
.card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  border: none;
  padding: 0;
}
.card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Sponsor Logos */
.sponsors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  background: var(--bg-light);
  margin: 1rem 0;
}
.sponsors img { max-height: 80px; max-width: 150px; }

/* Video Embed */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 1.5rem auto;
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Map Embed */
.map-container {
  height: 300px;
  margin: 1rem 0;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th { background: var(--bg-light); font-weight: 600; }

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