/* Root colors (shared theme) */
:root {
  --orange: #CB8427;
  --blue:   #2A81CB;
  --red:    #CB2B3E;

  --bg-light: #f7f7f9;
  --text-main: #2d2d2d;
  --text-sub: #555;

  --nav-bg: #ffffff;
  --nav-border: #dcdcdc;
  --footer-bg: #ffffff;
}

/* Page layout and typography */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', 'Roboto', sans-serif;
  color: var(--text-main);
  background: var(--bg-light);

  display: flex;
  flex-direction: column;
}

/* Top Navigation Bar */
.navbar {
  width: 100%;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  padding: 0.75rem 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-left {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111;
}

.nav-right {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-right: 2rem;
}

.nav-right a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-right a:hover {
  background: var(--blue);
  color: white;
}

/* Main content section */
main {
  flex: 1;
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

main h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

main p {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Links section */
.social-links {
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
}

.social-links a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--blue);
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-1px);
}

/* Footer */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--nav-border);
  padding: 0.75rem 1.25rem;
  text-align: center;
  color: var(--text-sub);
  font-size: 0.9rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .navbar {
    justify-content: flex-start;
    padding: 0.5rem 1rem;
  }

  .nav-right {
    flex-basis: 100%;
    margin-top: 0.5rem;
    gap: 0.5rem;
  }

  .nav-right a {
    font-size: 0.9rem;
    padding: 0.3rem 0.5rem;
  }

  main h1 {
    font-size: 1.6rem;
  }

  main p {
    font-size: 0.95rem;
  }
}
