/* A-MX Sport - Bold purple theme, overlay cards, centered header */
:root {
  --primary: #4a148c;
  --secondary: #6a1b9a;
  --accent: #ff4081;
  --dark: #1a0033;
  --light: #fafafa;
  --white: #fff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; line-height: 1.6; color: #212121; background: var(--light); }
header { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 1.5rem 0 1rem; text-align: center; }
.logo { font-size: 2rem; font-weight: 800; text-decoration: none; color: white; display: block; margin-bottom: 0.8rem; }
nav { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
nav a { color: white; text-decoration: none; font-weight: 500; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a.active { border-bottom-color: var(--accent); }
.hero-banner { height: 380px; background: url('../images/hero.jpg') center/cover; position: relative; display: flex; align-items: flex-end; }
.hero-banner .caption { background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: white; width: 100%; padding: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 2rem 0; }
.card-overlay { position: relative; height: 220px; border-radius: 12px; overflow: hidden; background: #333; color: white; display: flex; align-items: flex-end; text-decoration: none; }
.card-overlay .info { background: linear-gradient(transparent, rgba(0,0,0,0.8)); width: 100%; padding: 1.2rem; }
.card-overlay h3 { margin: 0; }
footer { background: var(--dark); color: #ccc; padding: 2rem 0 1rem; margin-top: 3rem; text-align: center; }
.menu-toggle { display: none; }
@media (max-width: 700px) {
  .menu-toggle { display: block; background: none; border: none; color: white; font-size: 1.5rem; position: absolute; right: 20px; top: 20px; }
  nav { display: none; flex-direction: column; }
  nav.active { display: flex; }
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.article-full { background: white; padding: 2rem; border-radius: 12px; margin: 2rem 0; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
