
/* Base */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #222222;
  line-height: 1.6;
}

a {
  color: #c8102e;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

/* Header */
.top-bar {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar h1 {
  font-size: 1.8rem;
  color: #c8102e;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav ul li a {
  color: #222;
  font-weight: 500;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    right: 1rem;
    top: 60px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  #menu-toggle:checked + .menu-icon + ul {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}

/* Hero */
.hero {
  background: #f8f8f8;
  padding: 3rem 1rem;
  text-align: center;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.search-form input {
  padding: 0.8rem;
  width: 70%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 30px 0 0 30px;
  outline: none;
}

.search-form button {
  padding: 0.8rem 1rem;
  border: none;
  background: #c8102e;
  color: #fff;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card img {
  width: 100%;
  height: auto;
}

.card-info {
  padding: 1rem;
}

.card-info h4 {
  margin: 0 0 0.5rem 0;
  color: #c8102e;
}

.card-info p {
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #c8102e;
  color: #fff;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #a20e25;
}

/* Register bar */
.register-bar-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.register-bar-content .register-text {
  flex: 1;
}

.register-bar-content .register-image {
  flex: 1;
}

.register-bar-content img {
  max-width: 100%;
  border-radius: 8px;
}

/* Footer */
.footer {
  background: #f2f2f2;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer a {
  color: #c8102e;
}
