/* ========= Global Reset ========= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  background:#0f1115;
  color:#f3f3f3;
  font-family:"Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x:hidden;        /* stops whole page from sliding sideways */
}

/* ========= Hero / Header ========= */

.hero{
  min-height:70vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:60px 20px 40px;
}

.title{
  font-size:3.1rem;
  font-weight:700;
  color:#f7c940;           /* royal gold */
  letter-spacing:.04em;
  margin-bottom:10px;
}

.tagline{
  font-size:1.05rem;
  color:#d7e3ff;
  max-width:520px;
  margin:0 auto 26px;
}

/* CTA button */
.cta{
  display:inline-block;
  margin-top:8px;
  padding:14px 40px;
  border-radius:999px;
  background:#f7c940;
  color:#111;
  font-weight:600;
  font-size:1rem;
  text-decoration:none;
  letter-spacing:.06em;
  text-transform:uppercase;
  box-shadow:0 10px 28px rgba(0,0,0,.55);
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.cta:hover{
  background:#ffc94f;
  transform:translateY(-3px);
  box-shadow:0 16px 38px rgba(0,0,0,.65);
}

/* Hero JD logo under the button */
.hero-logo{
  display:block;
  margin:34px auto 6px;
  width:210px;
  max-width:48vw;
  height:auto;
}

/* ========= Generic sections ========= */

.section{
  padding:40px 22px 50px;
  text-align:center;
  max-width:900px;
  margin:0 auto;
  line-height:1.6;
}

.section h2{
  color:#f7c940;
  margin-bottom:16px;
}

/* ========= Featured Brands Slider ========= */

.brands{
  padding:22px 0 42px;
  background:#050608;
}

.brands-title{
  text-align:center;
  font-size:.95rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#f7c940;
  margin-bottom:12px;
}

/* outer scroll area – this is the thing that moves */
.brands-strip{
  max-width:1100px;
  margin:0 auto;
  padding:6px 0 14px;
  overflow-x:auto;
  overflow-y:visible;
  -webkit-overflow-scrolling:touch; /* smooth swipe on phone */
  scroll-behavior:smooth;
  cursor:grab;
}
.brands-strip:active{
  cursor:grabbing;
}

/* inner track – row of cards */
.brands-track{
  display:flex;
  gap:18px;
  align-items:stretch;
}

/* individual brand card */
.brand-card{
  min-width:230px;
  background:
    radial-gradient(circle at 0 0,#39112a,#090b10);
  border-radius:22px;
  padding:16px 18px 18px;
  text-align:left;
  color:#f3f3f3;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:0 14px 32px rgba(0,0,0,.55);
  opacity:.96;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    opacity .2s ease,
    background .2s ease;
}

.brand-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.7);
  opacity:1;
}

/* logo in card */
.brand-card img{
  display:block;
  margin:0 auto 8px;
  height:52px;
  width:auto;
  object-fit:contain;
}

/* brand text */
.brand-name{
  display:block;
  font-weight:600;
  font-size:.96rem;
  margin-bottom:3px;
}

.brand-tagline{
  display:block;
  font-size:.8rem;
  color:#a3a3a3;
}

/* ========= Gallery (if you still use it) ========= */

.gallery{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.gallery img{
  width:30%;
  min-width:180px;
  border-radius:12px;
  box-shadow:0 10px 25px rgba(0,0,0,.4);
}

/* ========= Footer ========= */

footer{
  text-align:center;
  padding:26px 18px 32px;
  font-size:.8rem;
  color:#888;
}

/* ========= Mobile tweaks ========= */

@media (max-width:768px){
  .hero{
    padding:40px 18px 30px;
  }
  .title{
    font-size:2.35rem;
  }
  .tagline{
    font-size:.98rem;
  }
  .hero-logo{
    width:170px;
    max-width:60vw;
  }
}

@media (max-width:600px){
  .brand-card{
    min-width:200px;
    padding:14px 13px 16px;
  }
  .brand-card img{
    height:46px;
  }
}
