/* Redwood Jewelry Gallery - single page, "PDF style" layout */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #f7f0de;
  color: #5d301b;   /* matches logo lettering */
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

/* Everything sits in one centered column that never exceeds the banner width */
.site-header,
main,
.site-footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Header: logo centered */
.site-header {
  text-align: center;
  padding-top: 32px;
  padding-bottom: 16px;
}

.logo {
  max-width: 360px;
  width: 75%;
  height: auto;
}

/* Intro text */
.intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 32px;
}

.intro h1 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: normal;
  letter-spacing: 0.02em;
  margin: 8px 0 12px;
}

.intro p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  margin: 0;
}

/* Banners: max 1200x350, scale down proportionally, 20px between each */
.banners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.banners img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;        /* keeps the 1200:350 ratio as it shrinks */
}

.banner-link {
  display: block;
  width: 100%;
  max-width: 1200px;
  transition: opacity 0.2s ease;
}

.banner-link:hover { opacity: 0.9; }

/* Footer: address left, copyright right */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(93, 48, 27, 0.25);
  font-size: 0.95rem;
}

.site-footer address { font-style: normal; }
.site-footer p { margin: 0; }

.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

/* Footer columns: address | icons | copyright */
.site-footer address,
.site-footer .copyright { flex: 1 1 0; }
.site-footer .copyright { text-align: right; }

/* Contact + social icons - brown outline circles, fill on hover */
.social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #5d301b;
  border-radius: 50%;
  color: #5d301b;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social a:hover,
.social a:focus-visible {
  background: #5d301b;
  color: #f7f0de;
  text-decoration: none;
}

.social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social svg.outline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  width: 19px;
  height: 19px;
}

/* On tablets/phones, stack the footer and center it */
@media (max-width: 820px) {
  .site-footer {
    flex-direction: column;
    text-align: center;
  }
  .site-footer .copyright { text-align: center; }
}
