:root{
  --bg:#0e0b09;            /* colours that i used */
  --card:#16110d;          
  --card2:#1c1510;
  --text:#f5efe9;         
  --muted:#b7a89a;         
  --brand:#c89b6a;         
  --brand2:#8b5e34;       
  --danger:#e05a5a;
  --ok:#5fb38a;
  --shadow: 0 18px 40px rgba(0,0,0,.45);
  --radius: 18px;
}


html, body {
  height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: #271913; 
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(200,155,106,.18), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(139,94,52,.14), transparent 55%),
    linear-gradient(180deg, #0e0b09 0%, #090705 100%);
}

/* FIXED BACKGROUND LAYER and the position of the website */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(200,155,106,.18), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(139,94,52,.14), transparent 55%),
    linear-gradient(180deg, #0e0b09 0%, #090705 100%);

  background-repeat: no-repeat;
}
  /* creating the overall container for the website*/
.container{
  width:min(1100px, 92vw);
  margin:0 auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,11,9,.9);
  backdrop-filter: blur(12px);
  transition: transform .3s ease, background .3s ease;
}


h1, h2, h3{
  letter-spacing: .3px;
  font-weight: 800;
}

h1{
  font-size: clamp(28px, 4vw, 38px);
}

h2{
  font-size: 24px;
}

h3{
  font-size: 18px;
}
p{
  line-height: 1.6;
  color: var(--muted);
}

.product-title{
  color: var(--text);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
  font-weight:800;
  letter-spacing:.2px;
}
.brand-mark{
  width:40px;height:40px;
  border-radius:12px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: var(--shadow);
}
.brand-text{font-size:18px}

.nav{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.nav a{
  color:var(--text);
  text-decoration:none;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
}
.nav a:hover{
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.main{
  flex: 1;
  padding:26px 0 60px;
}

.hero{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:18px;
  margin-bottom:18px;
}
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before{
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(closest-side, rgba(200,155,106,.25), transparent 60%);
  animation: heroGlow 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroGlow{
  0%   { transform: translateX(-10%) translateY(-10%); opacity: .6; }
  50%  { transform: translateX(10%) translateY(10%);  opacity: .9; }
  100% { transform: translateX(-10%) translateY(-10%); opacity: .6; }
}
.hero h1{margin:0 0 6px; font-size:34px}
.hero p{margin:0; color:var(--muted); line-height:1.5}

.card{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.02)
  ), var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  border: 1px solid rgba(200,155,106,.12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover{
  transform: translateY(-3px);
  box-shadow:
    0 22px 50px rgba(0,0,0,.55),
    0 0 0 1px rgba(200,155,106,.25);
  border-color: rgba(200,155,106,.35);
}

/* creating the brand logo overall */
.brand-logo{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain; 
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,0.05);
}
/* allowing the website to be adaptable for different displays.  */
@media (min-width: 900px) {
  .brand-logo{
    width: 64px;
    height: 64px;
  }
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 900px){
  .hero{grid-template-columns:1fr}
  .grid{grid-template-columns: repeat(2,1fr)}
}
@media (max-width: 560px){
  .grid{grid-template-columns: 1fr}
}

.product-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.product-img{
  width:100%;
  aspect-ratio: 16/11;
  object-fit:cover;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background:#0a1020;
}
.product-title{
  margin:0;
  font-size:18px;
}
.product-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--muted);
}
.price{font-weight:800; color: var(--text)}
.muted{color:var(--muted)}

.pill{
  display:inline-block;
  padding:3px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;
  margin-left:6px;
}
/* how the button interacts with the website */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  cursor:pointer;
  text-decoration:none;
  color:var(--text);
  font-weight:700;
}
.btn-primary{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #1b120a;
  font-weight: 800;
  border: none;
  box-shadow: 0 10px 25px rgba(200,155,106,.35);
}

.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(200,155,106,.45);
}

.btn-ghost{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,155,106,.25);
  color: var(--text);
}

.btn-dark{
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.product-card:hover .btn-primary{
  box-shadow: 0 12px 28px rgba(200,155,106,.5);
}

.form{
  display:grid;
  gap:12px;
}
.input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
textarea{min-height:120px; resize:vertical}
.label{font-size:13px; color:var(--muted)}

.row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media (max-width:560px){ .row{grid-template-columns:1fr} }

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
}
.table th, .table td{
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
}
.table th{color:var(--muted); font-weight:700}
.table tr:hover td{background: rgba(255,255,255,.04)}

.alert{
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.alert-ok{border-color: rgba(46,229,157,.35); background: rgba(46,229,157,.08)}
.alert-bad{border-color: rgba(255,77,109,.35); background: rgba(255,77,109,.08)}

.site-footer{
  background: linear-gradient(180deg, #1a120c, #120c08);
  border-top: 1px solid rgba(200,155,106,.25);
  padding: 32px 0 16px;
  color: var(--text);
}

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

.footer-grid h4{
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--brand);
}

.footer-bottom{
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(200,155,106,.2);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 800px){
  .footer-grid{
    grid-template-columns: 1fr;
  }
}
.footer-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
