@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');

body {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 2rem;
  font-family: 'Quicksand', Arial, sans-serif;
}

.header-with-bg {
  position: relative;
  text-align: center;
  padding: 2em 1em 1em 1em; /* Top, right, bottom, left */
  overflow: hidden;
}

.header-with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/platosunglasses.png') center center/contain no-repeat;
  opacity: 0.15; /* Adjust to taste */
  z-index: 0;
  pointer-events: none;
}

.header-with-bg h1 {
  position: relative;
  z-index: 1;
  color: #1a1200;
  font-size: 2.5em;
  font-weight: bold;
  background: rgba(255,255,255,0.6); /* Optional: improves contrast */
  padding: 0.2em 0.7em;
  border-radius: 8px;
  display: inline-block;
  margin: 0 auto 0.5em auto;
}

.header-with-bg nav {
  position: relative;
  z-index: 1;
  margin-top: 0.5em;
}

.header-with-bg nav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
}

.header-with-bg nav ul li {
  display: inline-block;
  margin: 0 1em;
}

.header-with-bg nav ul li a {
  text-decoration: none;
  color: #1a1200;
  font-weight: 600;
  font-size: 1.1em;
}

header h1 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}

.smaller-heading {
  font-size: 1.8rem; /* or whatever size you want */
  font-weight: normal;
}

nav {
  margin: 1rem 0;
}
nav a {
  color: #7b5b24;
  text-decoration: none;
  margin: 0 1.5rem;
  font-weight: 500;
  font-size: 1.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
  padding-bottom: 0.2em;
  font-family: 'Segoe UI', Arial, sans-serif; /* Segoe UI for nav */
}
nav a:hover, nav a.active {
  color: #a47d2b;
  border-bottom: 2px solid #a47d2b;
}
.container {
  max-width: 950px;
  width: 95%;
  margin: 2rem auto;
  background: #fffbe9cc;
  border-radius: 14px;
  box-shadow: 0 4px 24px #e2c6a0aa;
  padding: 2rem 1.5rem;
  text-align: left;
}
section {
  margin-bottom: 2.5rem;
}
img {
  max-width: 90vw;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px #aaa;
  margin-top: 18px;
}
footer {
  text-align: center;
  font-size: 1rem;
  color: #7b5b24;
  padding: 1rem 0;
  margin-top: auto;
  background: rgba(255,255,255,0.4);
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  nav a { margin: 0 0.5rem; font-size: 1rem; }
  .container { padding: 1rem 0.5rem; }
  img { margin-top: 12px; }
}
