:root {
  --red: #D4101E;
  --red-dark: #A80C17;
  --yellow: #FFC400;
  --bg: #F7F5F0;
  --text: #222;
  --card: #fff;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh;
  display: flex; flex-direction: column;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg); color: var(--text);
}
.topbar {
  background: var(--red); color: #fff;
  padding: 14px 24px;
  border-bottom: 5px solid var(--yellow);
}
.topbar h1 { margin: 0; font-size: 1.4rem; }

.layout { flex: 1; display: flex; }

.sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--card);
  border-right: 3px solid var(--yellow);
  padding: 20px 0;
}
.sidebar h2 {
  margin: 0 20px 12px; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--red);
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar a {
  display: block; padding: 12px 20px;
  color: var(--text); text-decoration: none; font-weight: 600;
  border-left: 5px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.sidebar a:hover {
  background: var(--red); color: #fff; border-left-color: var(--yellow);
}

.hero {
  flex: 1; min-height: 500px;
  display: flex; align-items: flex-end;
  background:
    linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.05) 60%),
    url("img/hero.jpg") center/cover no-repeat,
    linear-gradient(135deg, var(--red), var(--yellow));
}
.hero-text { padding: 40px; color: #fff; max-width: 640px; }
.hero-text h2 { margin: 0 0 8px; font-size: 2.4rem; }
.hero-text p { margin: 0 0 20px; font-size: 1.1rem; }
.btn {
  display: inline-block; padding: 12px 26px;
  background: var(--yellow); color: #222;
  font-weight: 700; text-decoration: none; border-radius: 6px;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--red); color: #fff; }

.footer {
  background: var(--red-dark); color: #fff;
  text-align: center; padding: 14px;
  border-top: 4px solid var(--yellow); font-size: .9rem;
}

@media (max-width: 700px) {
  .layout { flex-direction: column; }
  .sidebar { width: 100%; border-right: 0; border-bottom: 3px solid var(--yellow); }
  .hero { min-height: 340px; }
  .hero-text h2 { font-size: 1.7rem; }
}