:root {
  --charcoal: #0F1115;
  --dark: #2A2E35;
  --gold: #C9A14A;
  --text: #fff
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif
}

body {
  background: var(--charcoal);
  color: var(--text)
}

a {
  color: #e7d08a;
  text-decoration: none
}

a:hover {
  color: var(--gold)
}

.header {
  position: sticky;
  top: 0;
  z-index: 9;
  backdrop-filter: blur(6px);
  background: rgba(15, 17, 21, .7);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding-top: 0px;
  padding-bottom: 0px;
}

/* Navigation Bar */
.navbar {
  padding-top: 0px;
  padding-bottom: 0px;
}

.logo {
    width: 180px;
    height: 40px;
    margin-top: -15px;
}

.nav-link {
    color: #fff;
    font-size: 18px;
}

.nav-link:hover {
    color: #f8b800;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, .55), rgba(15, 17, 21, .75))
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 5px;
  max-width: fit-content;
}

.hero p {
  opacity: .9;
  margin-bottom: 20px;
  max-width: fit-content;
}

.btn {
  color: #e7d08a;
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  border-color: color: #e7d08a;
  border: 1px solid rgba(255, 255, 255, .15);
  margin-right: 8px
}

.btn.gold {
  background: var(--gold);
  color: #111
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 60px 0
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
  transition: .2s
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45)
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover
}

.card .pad {
  padding: 16px
}

.section {
  border-top: 1px solid rgba(255, 255, 255, .06);
  width: 100%;
  display: flex;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 30px 0;
  opacity: .85
}

.form {
  max-width: 700px
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: #111;
  color: #fff
}

.form button {
  cursor: pointer
}

.ticker-wrap {
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: #0F1115;
  padding: 6px 0 0;
}

@media(max-width:900px) {
  .cards {
    grid-template-columns: 1fr
  }

  .hero h1 {
    font-size: 30px
  }
}

/* Products Cards */
.section-title {
  font-size: 36px;
  margin-bottom: 8px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  opacity: .85;
  margin-bottom: 40px;
  max-width: 700px;
}

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

.product-card {
  background: rgba(0, 0, 0, 0.75);
  border: 3px solid #c9a14a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
  transition: .2s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-content {
  padding: 20px;
}

.product-content h3 {
  margin-bottom: 8px;
}

.product-content p {
  opacity: .9;
  margin-bottom: 14px;
}

/* Products Carousel */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 20px;

  overflow-x: auto;
  scroll-behavior: smooth;

  padding: 10px 0 20px;
}

/* fade overlays */
.carousel::before,
.carousel::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 28px;
  width: 91px;
  pointer-events: none;
  z-index: 20;
}

/* hide fades by default */
.carousel::before,
.carousel::after {
  opacity: 0;
  transition: opacity .2s ease;
}

/* show left fade only if has-left */
.carousel.has-left::before {
  opacity: 1;
}

/* show right fade only if has-right */
.carousel.has-right::after {
  opacity: 1;
}

/* left fade */
.carousel::before {
  left: 4.5%; /* width of your left button area */
  background: linear-gradient(to right, rgba(0,0,0,.85), rgba(0,0,0,0));
}

/* right fade */
.carousel::after {
  right: 4.5%; /* width of your right button area */
  background: linear-gradient(to left, rgba(0,0,0,.85), rgba(0,0,0,0));
}

.carousel-track > .product-card:first-child {
  margin-left: 35px;
}

.carousel-track > .product-card:last-child {
  margin-right: 35px;
}

.carousel .nav {
  z-index: 50;
}

.carousel-track::-webkit-scrollbar {
  height: 8px
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .2);
  border-radius: 8px;
}

.carousel .nav {
  background: rgba(15, 17, 21, .8);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.carousel .nav:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.prev {
  padding-left: 1.5%;
  padding-right: 1.5%;
  padding-top: 0.5%;
}

.next {
  padding-left: 1.5%;
  padding-right: 1.5%;
  padding-top: 0.5%;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Responsive Carousel */
@media (max-width: 1024px) {
  .carousel-track {
    grid-auto-columns: minmax(220px, 1fr);
  }

  .product-card img {
    height: 180px;
  }
}

@media (max-width: 640px) {
  .carousel-track {
    grid-auto-columns: 85%;
  }

  .product-card img {
    height: 160px;
  }
}

.rfq {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold)
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000
}

.modal.show {
  display: flex
}

.modal-content {
  position: relative;
  background: #0F1115;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  max-width: 520px;
  width: 92%;
  padding: 24px
}

.modal input,
.modal textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: #111;
  color: #fff
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;

  background: none;
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.ticker-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #0F1115;
  border-top: 1px solid rgba(255, 255, 255, .06)
}