/* Old Glory Flags & Decor — shared stylesheet */

:root {
  --bg: #100d09;
  --bg-alt: #0d0a07;
  --footer-bg: #040302;
  --navy: #1B2E6B;
  --red: #BF0A30;
  --gold: #C8A84B;
  --cream: rgba(230, 210, 170, 0.75);
  --nav-h: 110px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  color: #fff;
  margin: 0 0 0.5em;
}

.section {
  padding: 90px 24px;
}

.section-alt {
  background: var(--bg-alt);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.eyebrow {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  letter-spacing: 6px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 34px;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-red:hover { opacity: 0.85; }

.btn-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold);
  color: #100d09;
}

/* ---------- Stripe divider ---------- */

.stripe-divider {
  display: flex;
  width: 100%;
  height: 8px;
}

.stripe-divider span {
  flex: 1 1 0;
}

.stripe-divider span:nth-child(odd) { background: var(--red); }
.stripe-divider span:nth-child(even) { background: var(--cream); }

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 8, 6, 0.96);
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 3px solid #C8A84B;
  padding-left: 14px;
}

.nav-brand img {
  height: 90px;
  width: auto;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.nav-brand-name {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 26px;
  letter-spacing: 3px;
}

.nav-brand-sub {
  font-family: 'Cinzel', serif;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
}

/* ---------- Hero (index only) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.6));
}

.hero-overlay-down {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 0 24px;
}

.hero-content .eyebrow {
  letter-spacing: 6px;
}

.hero-content h1 {
  font-size: 52px;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero-content h1 .accent {
  color: var(--gold);
}

.star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 26px;
  max-width: 320px;
}

.star-divider .line {
  flex: 1;
  height: 1px;
  background: var(--gold);
}

.star-divider .stars {
  color: var(--gold);
  letter-spacing: 8px;
  font-size: 14px;
}

.hero-content .subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page header (non-index pages) ---------- */

.page-header {
  padding: 70px 24px 60px;
  text-align: center;
  background: var(--bg-alt);
  border-bottom: 3px solid var(--red);
}

.page-header h1 {
  font-size: 40px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}
.pricing-callout {  max-width: 900px;  margin: 32px auto 0;  padding: 18px 24px;  background: #0d0a07;  border-left: 4px solid #C8A84B;  color: #C8A84B;  font-family: "Cinzel", serif;  font-size: 13px;  letter-spacing: 0.4px;  line-height: 1.7;  text-align: left;}

/* ---------- Product cards (index grid) ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}


.product-card {
  position: relative;
  height: 240px;
  overflow: hidden;
  display: block;
  border-top: 3px solid var(--red);
  background-color: #100d09;
  transition: transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  object-position: center;
  display: block;
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 60%);
  pointer-events: none;
  z-index: 1;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 2;
  text-align: center;
}

.product-card h3 {
  font-size: 17px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: #fff;
}

.product-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin: 0;
}

/* ---------- B2B strip ---------- */

.b2b-strip {
  background: #1a0f08;
  padding: 90px 24px;
  text-align: center;
}

.b2b-strip h2 {
  color: var(--gold);
  font-size: 30px;
}

.b2b-strip .section-sub {
  color: rgba(255, 255, 255, 0.65);
}

.badge-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 40px 0 46px;
}

.badge {
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 26px;
}

/* ---------- Gallery preview strip (index) ---------- */

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.gallery-strip .g-box {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  border: 1px solid rgba(200, 168, 75, 0.25);
  background-size: cover;
  background-position: center;
}

.view-gallery-link {
  display: block;
  text-align: center;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--gold);
}

.view-gallery-link:hover { opacity: 0.8; }

/* ---------- Full gallery page ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-filters { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:0 0 18px; }
.gallery-filters button { border:1px solid rgba(200,168,75,.55); background:transparent; color:rgba(255,255,255,.82); padding:10px 14px; font:600 12px/1.25 'Open Sans',sans-serif; letter-spacing:.5px; cursor:pointer; }
.gallery-filters button:hover,
.gallery-filters button[aria-pressed="true"] { background:var(--gold); color:#0a0806; }
.gallery-filters button:focus-visible,
.gallery-item-button:focus-visible,
.gallery-lightbox-close:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.gallery-status { min-height:22px; margin:0 0 16px; text-align:center; color:rgba(255,255,255,.58); font-size:13px; }

.gallery-grid figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid rgba(200, 168, 75, 0.2);
  cursor: pointer;
}

.gallery-item-button { display:block; width:100%; height:100%; padding:0; border:0; background:transparent; cursor:zoom-in; }

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.gallery-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  padding: 60px 24px;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

.gallery-lightbox[hidden] { display:none; }
.gallery-lightbox { position:fixed; inset:0; z-index:300; display:flex; align-items:center; justify-content:center; padding:48px 24px 24px; background:rgba(4,3,2,.96); }
.gallery-lightbox figure { margin:0; text-align:center; }
.gallery-lightbox img { max-width:92vw; max-height:82vh; border:2px solid var(--gold); }
.gallery-lightbox figcaption { margin-top:10px; color:#fff; }
.gallery-lightbox-close { position:absolute; top:16px; right:24px; border:0; background:transparent; color:var(--gold); font-size:36px; cursor:pointer; }
.lightbox-open { overflow:hidden; }

/* CSS-only lightbox using :target */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 3, 2, 0.94);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border: 2px solid var(--gold);
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 40px;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

/* ---------- Product detail sections ---------- */

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 70px 24px;
  border-bottom: 1px solid rgba(200, 168, 75, 0.15);
}

.product-detail:nth-child(even) .product-detail-media {
  order: 2;
}

.product-detail-media {
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border: 1px solid rgba(200, 168, 75, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--gold);
}
.product-detail-media { position: relative; overflow: hidden; }.product-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }.product-detail-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 3, 2, 0.55), rgba(4, 3, 2, 0)); pointer-events: none; }

.product-detail h2 {
  font-size: 28px;
  color: var(--gold);
}

.product-detail ul {
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.product-detail .quote-note {
  margin-top: 26px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.45);
}
.price-table {  margin-top: 22px;  border: 1px solid rgba(200, 168, 75, 0.25);}.price-row {  display: flex;  justify-content: space-between;  align-items: center;  padding: 12px 18px;  border-bottom: 1px solid rgba(200, 168, 75, 0.15);}.price-row:last-child { border-bottom: none; }.price-size {  font-family: "Cinzel", serif;  font-size: 13px;  letter-spacing: 1px;  color: #fff;}.price-amount {  font-family: "Cinzel", serif;  font-size: 15px;  letter-spacing: 1px;  color: var(--gold);  font-weight: 600;}

/* ---------- Forms ---------- */

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg-alt);
  border: 1px solid rgba(200, 168, 75, 0.3);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- Contact / about info blocks ---------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  text-align: center;
}

.info-item .icon {
  color: var(--gold);
  font-size: 26px;
  margin-bottom: 12px;
}

.info-item h4 {
  font-size: 14px;
  letter-spacing: 1px;
}

.info-item p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin: 0;
}

.story-block {
  max-width: 760px;
  margin: 0 auto;
}

.story-block p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 22px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.value-card {
  border: 1px solid rgba(200, 168, 75, 0.25);
  padding: 32px 24px;
  text-align: center;
}

.value-card h4 {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 1px;
}

.value-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  border-top: 3px solid var(--red);
  padding: 50px 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  margin: 0 0 4px;
}

.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-links a {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.footer-links a:hover {
  color: var(--gold);
}

.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 34px;
  padding: 20px 28px;
  border-top: 1px solid rgba(200, 168, 75, 0.3);
  border-bottom: 1px solid rgba(200, 168, 75, 0.3);
  background: var(--bg-alt);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .product-detail,
  .product-detail:nth-child(even) .product-detail-media {
    grid-template-columns: 1fr;
    order: initial;
  }

  .product-detail { grid-template-columns: 1fr; }

  .form-two-col { grid-template-columns: 1fr; }

  .gallery-strip { grid-template-columns: repeat(2, 1fr); }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { height: auto; }

  .nav-brand-name { font-size: 18px; }

  .nav-brand-sub { font-size: 10px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 8, 6, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 32px 20px;
    display: none;
    border-bottom: 2px solid var(--red);
  }

  .nav-links.open { display: flex; }

  .nav-links a { padding: 12px 0; width: 100%; }

  .nav-toggle { display: flex; }

  .hero-content h1 { font-size: 32px; }

  .hero-content .subtitle { font-size: 15px; }

  .hero-buttons { flex-direction: column; align-items: stretch; }

  .hero-buttons .btn { text-align: center; }

  .section,
  .page-header,
  .b2b-strip { padding: 30px 20px; }

  .product-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-filters { justify-content:flex-start; }
  .gallery-filters button { flex:1 1 calc(50% - 10px); }

  .badge-row { flex-wrap: wrap; justify-content: center; }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    align-items: center;
    text-align: center;
  }

  .footer-links { justify-content: center; }
}
