/* Basic reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Global styles */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #0b1120;
  color: #e5e7eb;
  line-height: 1.6;
}

a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid #1f2937;
  background: radial-gradient(circle at top, #0f172a, #020617);
}

.site-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.tagline {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.nav {
  margin-top: 0.75rem;
}

.nav a {
  margin-right: 1rem;
  font-size: 0.95rem;
  color: #e5e7eb;
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

/* Sections */
main {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.section-intro {
  color: #9ca3af;
  margin-bottom: 1rem;
}

/* Room grid */
.room-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1rem;
}

/* Room cards */
.room-card {
  background: #020617;
  border: 1px solid #1f2937;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.room-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.room-meta {
  font-size: 0.85rem;
  color: #a1a1aa;
  margin-bottom: 0.6rem;
}

.room-card p {
  margin-bottom: 0.5rem;
}

.skills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.skills li {
  font-size: 0.8rem;
  background: #0f172a;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #1d4ed8;
}

.room-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #1d4ed8;
  color: #e5e7eb;
}

.room-link:hover {
  background: #2563eb;
  text-decoration: none;
}

/* About section */
#about {
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid #1f2937;
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
  background-color: #020617;
}

/* Responsive layout */
@media (min-width: 768px) {
  .site-header h1 {
    font-size: 2.4rem;
  }

  .room-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
