/* ===== COLORS =====
   We save our colors here once, then use them everywhere.
   Change a color here and it changes on the whole page! */
:root {
  --dark-blue: #0f2a4a;
  --blue: #1d4e89;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
  --white: #ffffff;
}

/* ===== WHOLE PAGE ===== */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--light-gray);
  color: var(--dark-blue);
}

/* ===== TOP BAR (header) ===== */
header {
  background: var(--dark-blue);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
}
nav a {
  color: var(--light-gray);
  text-decoration: none;
  margin-left: 20px;
}
nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ===== BIG WELCOME AREA (hero) ===== */
.hero {
  background: linear-gradient(135deg, var(--dark-blue), var(--blue));
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}
.hero h1 {
  font-size: 44px;
  margin: 0 0 16px;
}
.hero p {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
  color: var(--light-gray);
}

/* ===== SECTIONS ===== */
section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}
h2 {
  text-align: center;
  font-size: 32px;
  margin-top: 0;
}

/* ===== PRODUCT CARDS ===== */
.products {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  width: 260px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.card svg {
  width: 120px;
  height: 120px;
}
.card h3 {
  font-size: 24px;
  margin: 16px 0 8px;
}
.card p {
  color: var(--gray);
}
.price {
  display: inline-block;
  background: var(--dark-blue);
  color: var(--white);
  font-size: 22px;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 8px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--white);
  border-radius: 12px;
  text-align: center;
  color: var(--gray);
  font-size: 18px;
  line-height: 1.6;
}

/* ===== BOTTOM BAR (footer) ===== */
footer {
  background: var(--dark-blue);
  color: var(--light-gray);
  text-align: center;
  padding: 24px;
}

/* ===== CLICKABLE CARDS =====
   Cards that are links lift up a little when your mouse is on them */
a.card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
a.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.click-hint {
  display: block;
  margin-top: 16px;
  color: var(--blue);
  font-weight: bold;
}

/* ===== BACK LINK ===== */
.back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: bold;
  text-decoration: none;
}
.back:hover {
  text-decoration: underline;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  margin: 8px 0 24px;
}
.button:hover {
  background: var(--dark-blue);
}
.hero .button {
  margin-top: 32px;
  background: var(--white);
  color: var(--dark-blue);
}
.hero .button:hover {
  background: var(--light-gray);
}

/* ===== ORDER PAGE ===== */
.steps {
  text-align: left;
  max-width: 480px;
  margin: 0 auto 24px;
}
.price-list {
  margin: 0 auto 24px;
  border-collapse: collapse;
  color: var(--dark-blue);
}
.price-list td {
  padding: 10px 20px;
  border-bottom: 1px solid var(--light-gray);
}

/* A gray button that can't be clicked yet */
.button.disabled,
.button.disabled:hover {
  background: var(--gray);
  cursor: not-allowed;
}
