/* ===== Global Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: Arial, Helvetica, sans-serif; line-height: 1.6; color: #222; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Navbar ===== */
header { background: #111; color: #fff; position: sticky; top: 0; z-index: 1000; }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { font-weight: 800; letter-spacing: .5px; font-size: 1.3rem; }
.nav-links { list-style: none; display: flex; gap: 1rem; }
.nav-links a { color: #fff; padding: 8px 10px; border-radius: 8px; transition: background .2s ease; }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.12); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 26px; height: 3px; background: #fff; border-radius: 3px; }

/* ===== Main layout helpers ===== */
.content { padding: 32px 0; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #f8f8f8; border-radius: 14px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }

/* ===== Footer ===== */
footer { background: #111; color: #fff; padding: 24px 16px; text-align: center; margin-top: 40px; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { 
    position: absolute; right: 12px; top: 58px; 
    background: #1a1a1a; padding: 12px; 
    border-radius: 12px; width: 220px;
    flex-direction: column; gap: 8px; display: none;
    box-shadow: 0 12px 24px rgba(0,0,0,.24);
  }
  .nav-links.active { display: flex; }
  .hamburger { display: flex; }
}
@media (max-width: 560px) {
  .logo { font-size: 1.1rem; }
  .content { padding: 24px 0; }
}
