/* Reset basic browser defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding: 0;
  margin: 0;
  background: #f9f9f9;
  color: #333;
}

/* Navigation bar */
nav {
  background: #333;
  color: white;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5em 1em;       /* add some clickable area */
  border-radius: 4px;       /* soften edges */
  transition: all 0.2s ease; /* smooth hover effect */
}

nav a:hover {
  text-decoration: underline;
  color: #333;
  background-color: white;
}

/* Main content */
main {
  max-width: 120ch;
  margin: auto;
  padding: 0 1rem;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Make nav stack on small screens */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: center;
  }
}

ul {
  margin: 1em 0;
  padding-left: 1.5em;
}

li {
  margin: 0.5em 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 1em;     /* space before headings */
  margin-bottom: 0.5em; /* little space after heading */
  line-height: 1.2;    /* headings are tighter */
}

.box {
  border: 1px solid #ccc;      /* subtle gray border */
  border-radius: 8px;          /* rounded corners */
  background: #fff;            /* white background */
  padding: 1.5rem;             /* inner spacing */
  margin: 1.5rem 0;            /* spacing between offers */
  box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* light shadow for depth */
}

/* Headings inside offers */
.box h3 {
  margin-top: 0;
  color: #333;
}