:root { --bg: #0b0e14; --fg: #e6e6e6; --muted:#a8b0bf; --card:#141a24; --accent:#7aa2f7; --err:#ff6b6b; }
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  
    /* ✨ Background image setup */
    background-image: 
      linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.55)), /* dark overlay */
      url("/img/targets.jpg");
    background-size: cover;      /* scale to fill screen */
    background-position: center; /* keep it centered */
    background-attachment: fixed;/* parallax effect */
    background-repeat: no-repeat;
  
    color: var(--fg);
  }
a { color: var(--accent); text-decoration: none; }

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #7aa2f7; /* your accent */
    text-shadow:
      0 0 6px rgba(122,162,247,0.6),
      0 0 12px rgba(122,162,247,0.4);
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    text-align: center;
    background: rgba(20,25,40,0.9);
    border: 2px solid var(--accent);
    display: inline-block;        /* keeps it tight around the text */
    padding: 0.6rem 1rem;
  }

  .top-section {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    margin-bottom: 1rem;
  }

.site-header {
    display: flex;
    flex-direction: column;  /* stack items vertically */
    align-items: center;     /* center all children horizontally */
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    border-bottom: 1px solid #223;
  }
/*
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  */
  .site-logo {
    height: 100px;
    display: block;
    width: auto;
    margin-right: 1rem;
  } 
.site-footer { padding: 1rem; border-bottom: 1px solid #223; }
.site-footer { border-top: 1px solid #223; border-bottom: none; text-align: center; color: var(--muted); }
nav a { margin-right: 1rem; }
main { padding: 1rem; max-width: 1100px; margin: 0 auto; }

.cartbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 0.8rem 1rem; margin-bottom: 1rem;
  background: rgba(20,25,40,0.65); border: 1px solid #223; border-radius: 0.6rem;
}
.cart-left { font-size: 1rem; }
.cart-right .button[disabled] { opacity: 0.5; cursor: not-allowed; }

/*.card { background: var(--card); padding: 1rem; border-radius: 1rem; box-shadow: 0 4px 16px rgba(0,0,0,.25); } */
.card {
    background: rgba(0, 0, 0, 0.9); /* transparent dark card */
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
  }


  .options {
    display: flex;
    flex-direction: column;   /* stack vertically */
    gap: 0.5rem;              /* space between rows */
    margin: 0.75rem 0 1rem;
    width: 100%;
  }
  /* 
  .options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.5rem;
    margin: 0.5rem 0 0.75rem;
    width: 100%;              
    box-sizing: border-box; 
  }
  */


  /*.options label {
  //  display: flex;
  //  flex-direction: column;
  //  gap: 0.25rem;
    font-size: 0.9rem;
    align-items: flex-start; 
  } */
  
  .options label span {
    font-weight: 500;
    letter-spacing: 0.5px;
  }

  .options select,
  .options input[type="number"] {
    width: 100%;               /* fill their grid cell only */
    max-width: 100%;           /* prevent overflow */
    padding: 0.4rem 0.5rem;
    border-radius: 0.4rem;
    border: 1px solid #223;
    background: #0f1522;
    color: var(--fg);
    box-sizing: border-box;
  }
  /*
  .options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin: .5rem 0 0.75rem;
  }
  .options label { display: flex; flex-direction: column; gap: .25rem; font-size: .95rem; }
  .options select, .options input[type="number"] {
    padding: .45rem .5rem;
    border-radius: .5rem;
    border: 1px solid #223;
    background: #0f1522;
    color: var(--fg);
  }
  */

  .top-hero {
    display: flex;
    justify-content: center;  /* center horizontally */
    align-items: center;
    padding: 1rem 0 1rem;     /* space above/below the image */
  }
  
  .top-hero-img {
    max-width: 300px;         /* limit size on large screens */
    width: 100%;              /* responsive */
    height: auto;             /* keep aspect ratio */
    border-radius: 0.75rem;   /* optional rounded corners */
    box-shadow: 0 8px 24px rgba(0,0,0,.35); /* subtle depth */
    border: 1px solid #223;   /* matches your theme */
  }

/* --- Gallery thumbnails --- */
.gallery-section h2 { margin-bottom: .75rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem;
}
.gallery-item {
  display: block;
  border: 1px solid #223;
  border-radius: .5rem;
  overflow: hidden;
  background: #0f1522;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform .2s ease;
}
.gallery-item:hover img { transform: scale(1.03); }

/* --- Lightbox modal --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  display: none;                    /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}
.lightbox[aria-hidden="false"] { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: .5rem;
  border: 1px solid #333;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
}

.lightbox-caption {
  color: var(--muted);
  text-align: center;
  margin-top: .75rem;
  max-width: 80ch;
}

/* Close + nav buttons */
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(20,25,40,.7);
  border: 1px solid #223;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 999px;
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 1.6rem;
}
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav.prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(20,25,40,.9); }

/* Prevent background scroll while modal open */
.body-noscroll { overflow: hidden; }



.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.product-card { background: #0f1522; padding: 1rem; border-radius: 0.75rem; border: 1px solid #223; display: flex; flex-direction: column; gap: .5rem; }
.product-card img { width: 100%; height: 180px; object-fit: cover; border-radius: .5rem; border: 1px solid #223; background: #101826; }
.product-card .desc { color: var(--muted); min-height: 3em; }
.product-card .price { font-size: 1.05rem; margin-bottom: .25rem; }
.button { display: inline-block; padding: 0.6rem 0.9rem; border-radius: 0.6rem; border: 1px solid #223; background: var(--accent); color: #fff; font-weight: 600; text-align: center; cursor: pointer; }
.button:hover { opacity: 0.9; }
.product-actions { margin-top: .5rem; }
code { background: #111826; padding: 0.2rem 0.4rem; border-radius: 0.4rem; }
.err { color: var(--err); margin-top: .5rem; font-size: .95rem; white-space: pre-wrap; }

.our-story {
  max-width: 800px;
  margin: 2.5rem auto;
  padding: 1.5rem 1rem;
  text-align: center;
  background: rgba(15, 20, 30, 0.7);
  border: 1px solid #223;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.our-story h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.our-story p {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #ddd;
  margin: 0 auto;
  max-width: 70ch;
}


.social-links {
  text-align: center;
  margin: 3rem auto 2rem;
  padding: 1.5rem 1rem;
  max-width: 700px;
  background: rgba(15,20,30,0.7);
  border: 1px solid #223;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.social-links h2 {
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
}

.social-links p {
  color: #ddd;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(25,30,45,0.8);
  border: 1px solid #334;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.social-buttons a:hover {
  background: rgba(35,40,60,0.9);
  transform: scale(1.04);
}

.social-buttons img {
  width: 20px;
  height: 20px;
}


.email-highlight {
  color: var(--accent);
  font-weight: 700;
  background: rgba(122,162,247,0.15); /* subtle glow */
  padding: 0 .3rem;
  border-radius: .35rem;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(122,162,247,0.25) inset;
}
.email-highlight:hover {
  text-decoration: underline;
  box-shadow: 0 0 0 2px rgba(122,162,247,0.35) inset;
}

.icon-mail {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}
