
/* =====================================
   SHINE TRADERS - COMPLETE STYLESHEET
===================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #17202a;
}

/* =====================================
   NAVIGATION BAR
===================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  padding: 14px 5%;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 30px;
  color: #fff;
  background: linear-gradient(100deg, #0d1b2a, #24507e 55%, #4d8df7);
  box-shadow: 0 5px 20px #0002;
}

.brand {
  font: 800 25px Georgia, serif;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  color: #d9e8ff;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-brand img {
  display: block;
  width: 62px;
  height: 48px;
  object-fit: contain;
}

.nav-wordmark {
  font: 900 17px Arial, sans-serif;
  letter-spacing: 1px;
  color: #fff;
}

.nav-wordmark b {
  color: #cfe2ff;
}

.search {
  height: 44px;
  max-width: 700px;
  width: 100%;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 25px;
  background: #ffffff29;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.search input::placeholder {
  color: #e4edf8;
}

.navbar nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.navbar nav a {
  color: #fff;
  text-decoration: none;
}

/* =====================================
   INTRO / STARTING LOGO SCREEN
===================================== */

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #081a2d, #123d68 58%, #176bd1);
  animation: splashFadeOut .45s ease 1.45s forwards;
}

.splash-card {
  width: min(430px, 90vw);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  animation: brandLift 1s cubic-bezier(.2,.8,.2,1) both;
}

.splash-logo {
  display: block;
  width: min(300px, 75vw);
  max-height: 220px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.splash-wordmark {
  font: 900 clamp(25px, 6vw, 34px)/1.1 Arial, sans-serif;
  letter-spacing: 2px;
  color: #fff;
}

.splash-wordmark span {
  color: #9fc3ff;
}

.splash-card p {
  margin-top: 5px;
  color: #d5e4f8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
}

@keyframes brandLift {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes splashFadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-screen {
    animation-duration: .2s;
    animation-delay: .4s;
  }

  .splash-card {
    animation: none;
  }
}

/* =====================================
   HERO SECTION
===================================== */

.hero {
  min-height: 530px;
  padding: 70px 7%;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 30%, #4d8df759, transparent 30%),
    linear-gradient(125deg, #0d1b2a, #1e4568 58%, #315f8d);
}

.eyebrow {
  color: #6b9ff2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero .eyebrow {
  color: #9fc3ff;
}

.hero h1 {
  font: 800 clamp(42px, 6vw, 76px)/.98 Georgia, serif;
}

.hero h1 em {
  color: #9fc3ff;
  font-style: normal;
}

.lead {
  max-width: 650px;
  margin: 22px 0;
  line-height: 1.7;
  color: #d8e3ef;
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #2d6cdf;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  margin: 4px 8px 4px 0;
  cursor: pointer;
}

.ghost {
  border: 1px solid #ffffff59;
  background: #ffffff14;
}

.hero-art {
  width: min(430px, 90%);
  height: 320px;
  position: relative;
  justify-self: center;
  border-radius: 25px;
  background: #ffffff12;
  border: 1px solid #ffffff22;
}

.roll {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #f7f8fa 0 6px, #d9dfe6 7px 10px);
  box-shadow: 0 20px 35px #0003;
}

.r1 {
  left: 45px;
  top: 55px;
}

.r2 {
  right: 45px;
  top: 25px;
  width: 155px;
  height: 155px;
}

.box {
  position: absolute;
  left: 145px;
  bottom: 28px;
  width: 140px;
  height: 90px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c68b4a, #8c5c2e);
  transform: rotate(-5deg);
}

.tape {
  position: absolute;
  right: 115px;
  bottom: 45px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 18px solid #2d6cdf;
  background: #eef3f8;
}

/* =====================================
   SALE STRIP
===================================== */

.sale {
  width: 90%;
  margin: -28px auto 0;
  position: relative;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-radius: 14px;
  color: #fff;
  background: #142a40;
  box-shadow: 0 15px 45px #0d1b2a2e;
}

.sale small {
  color: #9fc3ff;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.sale h2 {
  margin-top: 6px;
  font: 23px Georgia, serif;
}

.sale a {
  padding: 12px 18px;
  border: 1px solid #8eb8ff;
  border-radius: 7px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

/* =====================================
   GENERAL SECTIONS
===================================== */

.section {
  width: 90%;
  max-width: 1250px;
  margin: 75px auto;
}

.section h2,
.quote h2 {
  font: 34px Georgia, serif;
}

.section-lead {
  margin-top: 8px;
  color: #687585;
  line-height: 1.55;
  max-width: 680px;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}

.head button {
  border: 0;
  background: transparent;
  color: #2d6cdf;
  font-weight: 800;
  cursor: pointer;
}

/* =====================================
   OLD CATEGORY BUTTONS
===================================== */

.categories {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.categories button {
  min-height: 125px;
  padding: 16px 8px;
  border: 1px solid #dce4ed;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transition: .2s;
}

.categories button:hover,
.categories button.active {
  transform: translateY(-4px);
  border-color: #9ec1f8;
  box-shadow: 0 10px 25px #2d6cdf1f;
}

.categories button:first-letter {
  font-size: 30px;
}

.categories b {
  font-size: 13px;
  color: #17202a;
}

/* =====================================
   CATEGORY CARD LINKS
===================================== */

.category-card-link {
  min-height: 125px;
  padding: 16px 8px;
  border: 1px solid #dce4ed;
  border-radius: 10px;
  background: #fff;
  color: #17202a;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transition: .2s ease;
}

.category-card-link:hover {
  transform: translateY(-4px);
  border-color: #9ec1f8;
  box-shadow: 0 10px 25px #2d6cdf1f;
}

.category-card-link b {
  font-size: 13px;
}

/* =====================================
   CATEGORY SHOWCASE - HOMEPAGE
===================================== */

.category-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.category-visual {
  display: block;
  min-width: 0;
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #17202a;
  transition: .2s;
  box-shadow: 0 7px 22px #1428460c;
}

.category-visual:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px #14284618;
}

.category-pic {
  height: 190px;
  background: #f7f9fc;
  overflow: hidden;
}

.category-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.category-visual:hover .category-pic img {
  transform: scale(1.045);
}

.category-visual > div:last-child {
  padding: 17px;
}

.category-visual small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: #6d7c8c;
}

.category-visual h3 {
  margin: 7px 0;
  font-size: 20px;
}

.category-visual p {
  color: #687585;
  font-size: 13px;
  line-height: 1.5;
  min-height: 40px;
}

.category-visual span {
  display: inline-block;
  margin-top: 10px;
  color: #2d6cdf;
  font-weight: 800;
  font-size: 13px;
}

/* =====================================
   PRODUCT GRIDS
===================================== */

.products {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.products article {
  overflow: hidden;
  border: 1px solid #dce4ed;
  border-radius: 10px;
  background: #fff;
  transition: .2s;
  cursor: pointer;
}

.products article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #1428461a;
}

.pic {
  height: 190px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: 2px;
  text-align: center;
}

.tapePic {
  background: linear-gradient(135deg, #e9eef5, #aab6c4);
}

.paperPic {
  background: linear-gradient(135deg, #f4efe5, #c9b89d);
}

.stickerPic {
  background: linear-gradient(135deg, #3d79c9, #1d3e69);
}

.chemPic {
  background: linear-gradient(135deg, #4f9d77, #174e38);
}

.pinPic {
  background: linear-gradient(135deg, #9b8a6c, #4b4033);
}

.machinePic {
  background: linear-gradient(135deg, #687583, #202b36);
}

.products article small,
.products article h3,
.products article p,
.products article strong {
  display: block;
  margin-left: 15px;
  margin-right: 15px;
}

.products article small {
  margin-top: 15px;
  color: #6d7c8c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.products article h3 {
  margin-top: 7px;
  font-size: 15px;
}

.products article p {
  min-height: 38px;
  margin-top: 7px;
  color: #687585;
  font-size: 12px;
  line-height: 1.45;
}

.products article strong {
  margin-top: 10px;
  margin-bottom: 15px;
  color: #2d6cdf;
  font-size: 13px;
}

/* Featured products */
.products-showcase {
  margin-top: 65px;
}

.products-showcase .head {
  align-items: end;
}

.products-showcase .products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.products-showcase .products article {
  box-shadow: 0 7px 22px #1428460c;
}

.products-showcase .pic {
  height: 205px;
  background: #f7f9fc;
  padding: 0;
  overflow: hidden;
}

.products-showcase .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.products-showcase article:hover .pic img {
  transform: scale(1.045);
}

.products-showcase article strong {
  display: inline-block;
  padding: 8px 0;
}

.none {
  display: none;
  text-align: center;
  padding: 30px;
  color: #687585;
}

/* =====================================
   QUOTE SECTION
===================================== */

.quote {
  width: 90%;
  max-width: 1250px;
  margin: 70px auto;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(120deg, #0d1b2a, #24507e);
}

.quote p:not(.eyebrow) {
  color: #cbd9e8;
  max-width: 650px;
  line-height: 1.6;
  margin-top: 10px;
}

/* =====================================
   ABOUT SECTION
===================================== */

.about {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
}

.about > p {
  color: #5c6c7c;
  font-size: 17px;
  line-height: 1.8;
}

/* =====================================
   CONTACT SECTION
===================================== */

.contact {
  padding: 45px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dce4ed;
}

.contact p:last-child {
  color: #687585;
  line-height: 1.6;
  margin-top: 12px;
}

form {
  display: grid;
  gap: 12px;
}

form input,
form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #dce4ed;
  border-radius: 7px;
  outline: 0;
  background: #fbfcfe;
}

/* =====================================
   FOOTER
===================================== */

footer {
  padding: 45px 5%;
  text-align: center;
  color: #c7d4e2;
  background: #0d1b2a;
}

footer p {
  margin: 8px 0 18px;
}

/* =====================================
   TABLET RESPONSIVE
===================================== */

@media (max-width: 1050px) {

  .navbar {
    grid-template-columns: auto 1fr;
  }

  .navbar nav {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .categories {
    grid-template-columns: repeat(5, 1fr);
  }

  .products {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-showcase .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-art {
    display: none;
  }
}


/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 650px) {

  .navbar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 4%;
  }

  .logo-brand {
    justify-content: center;
  }

  .nav-wordmark {
    font-size: 16px;
  }

  .navbar nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 12px;
  }

  .search {
    max-width: 100%;
  }

  .hero {
    padding: 55px 6%;
  }

  .sale,
  .quote,
  .about,
  .contact {
    display: block;
  }

  .sale a,
  .quote .btn {
    margin-top: 18px;
  }

  /* OLD CATEGORY BUTTONS */
  .categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .categories button {
    min-height: 100px;
    padding: 10px 5px;
  }

  /* CATEGORY SHOWCASE */
  .category-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .category-visual {
    min-width: 0;
    border-radius: 9px;
  }

  .category-pic {
    height: 85px;
  }

  .category-pic img {
    object-fit: contain;
  }

  .category-visual > div:last-child {
    padding: 8px;
  }

  .category-visual h3 {
    font-size: 12px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .category-visual p {
    font-size: 10px;
    line-height: 1.4;
    min-height: 0;
  }

  .category-visual span {
    font-size: 9px;
  }

  .category-visual small {
    font-size: 8px;
  }

  /* ALL PRODUCT GRIDS - 3 PER ROW */
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .products-showcase .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  /* PRODUCT CARDS */
  .products article {
    min-width: 0;
    border-radius: 8px;
  }

  .products article small,
  .products article h3,
  .products article p,
  .products article strong {
    margin-left: 7px;
    margin-right: 7px;
  }

  .products article small {
    margin-top: 9px;
    font-size: 8px;
  }

  .products article h3 {
    font-size: 11px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .products article p {
    font-size: 9px;
    line-height: 1.35;
    min-height: 0;
  }

  .products article strong {
    font-size: 10px;
    margin-top: 7px;
    margin-bottom: 10px;
  }

  .pic {
    height: 105px;
  }

  .products-showcase .pic {
    height: 105px;
  }

  .products-showcase .pic img {
    object-fit: contain;
  }

  /* QUOTE SECTION */
  .quote {
    padding: 28px 22px;
  }

  /* ABOUT SECTION */
  .about > p {
    margin-top: 18px;
    font-size: 14px;
  }

  /* CONTACT SECTION */
  .contact {
    padding: 22px;
  }

  .contact form {
    margin-top: 25px;
  }

  /* INTRO LOGO */
  .splash-card {
    padding: 15px;
  }

  .splash-logo {
    width: min(300px, 75vw);
  }

}

/* =====================================
   HOMEPAGE ONLY - MOBILE CATEGORY GRID
===================================== */

@media screen and (max-width: 650px) {

  body #products #categoryGrid.category-showcase {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row;
    gap: 8px !important;
    width: 100%;
  }

  body #products #categoryGrid.category-showcase > .category-visual {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0;
  }

  body #products #categoryGrid .category-pic {
    height: 95px !important;
  }

  body #products #categoryGrid .category-pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body #products #categoryGrid .category-visual > div:last-child {
    padding: 8px !important;
  }

  body #products #categoryGrid .category-visual h3 {
    font-size: 12px;
    line-height: 1.3;
  }

  body #products #categoryGrid .category-visual p {
    font-size: 10px;
    line-height: 1.4;
    min-height: 0;
  }

  body #products #categoryGrid .category-visual small {
    font-size: 8px;
  }

  body #products #categoryGrid .category-visual span {
    font-size: 9px;
  }

}


