/* Proud Jewel — static site styles */
:root {
  --black: #000;
  --footer: #0a0a0a;
  --text: #555;
  --muted: #999;
  --white: #fff;
  --navy: #14254a;
  --gold: #c9a45c;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header { background: var(--black); color: var(--white); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 16px;
}
.social { display: flex; gap: 18px; list-style: none; }
.social a {
  display: inline-flex; width: 22px; height: 22px; color: var(--white);
}
.social a:hover { color: var(--gold); }
.social svg { width: 100%; height: 100%; fill: currentColor; }

.site-title {
  font-size: 24px; font-weight: 500; letter-spacing: 1px; color: var(--white);
}
.main-nav { display: flex; gap: 28px; list-style: none; font-size: 14px;
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }
.main-nav a { color: var(--white); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  line-height: 0;
}
.hero img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 2 / 1; object-fit: cover;
  color: transparent; /* hide alt text while image is missing */
}

/* ---------- Page content ---------- */
main { flex: 1; }
.page { padding: 72px 0 96px; }
.page h1 {
  font-size: 36px; font-weight: 500; color: #222; margin-bottom: 24px;
}
.page p { max-width: 760px; margin-bottom: 18px; }
.page .address { color: #777; font-size: 16px; }

.intro { padding: 72px 0; text-align: center; }
.intro h2 {
  font-size: 15px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; color: var(--gold); margin-bottom: 14px;
}
.intro p { max-width: 680px; margin: 0 auto; font-size: 20px; color: #444; }

/* ---------- Products ---------- */
.products .lead { color: #444; font-size: 19px; margin-bottom: 40px; }
.product-grid {
  list-style: none; display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.product {
  background: var(--white); border: 1px solid #eee; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.product:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); transform: translateY(-3px); }
.product img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 3 / 2; object-fit: cover; background: #f4f1ec;
}
.product-info { padding: 22px 24px 26px; }
.product-cat {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--gold);
}
.product h2 { font-size: 20px; font-weight: 500; color: #222; margin: 6px 0 8px; line-height: 1.4; }
.page .product p { font-size: 16px; line-height: 1.6; margin: 0; color: #666; }

.product-cta { text-align: center; margin-top: 64px; }
.page .product-cta p { margin: 0 auto 20px; color: #444; }
.btn {
  display: inline-block; background: var(--black); color: var(--white);
  padding: 14px 32px; font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.btn:hover { background: var(--gold); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--muted); }
.footer-widgets {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding: 72px 24px;
}
.footer-widgets h2 {
  font-size: 15px; font-weight: 700; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px; letter-spacing: 1px;
}
.footer-widgets ul { list-style: none; }
.footer-widgets li { margin-bottom: 8px; }
.footer-widgets p { font-size: 16px; }

.footer-bottom {
  border-top: 1px solid #1f1f1f; padding: 40px 24px; text-align: center;
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
}
.footer-bottom .social { justify-content: center; margin-top: 14px; gap: 24px; }
.footer-bottom .social a { width: auto; height: auto; color: var(--muted); }
.footer-bottom .social a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .site-header .container { flex-wrap: wrap; justify-content: center; padding: 16px 24px; }
  .site-title { order: -1; width: 100%; text-align: center; }
  .footer-widgets { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px; }
  .page h1 { font-size: 30px; }
  .intro p { font-size: 18px; }
  .main-nav { gap: 20px; }
  .product-grid { grid-template-columns: 1fr; gap: 24px; }
}
