@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&display=swap');
/* =========================
 Rimzetti - Full Site CSS
 Black + Red Luxury Theme
 ========================= */

/* ---- Reset / Base ---- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; width: 100%; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.5;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; height: auto; }
.center{ text-align: center; }
.muted{ color: rgba(255,255,255,0.72); }

/* ---- Navbar ---- */
.navbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo img{
  height: 70px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 43, 43, 0.5)) brightness(1.15);
  transition: filter 0.2s;
}
.logo img:hover {
  filter: drop-shadow(0 0 16px rgba(255, 43, 43, 0.8)) brightness(1.25);
}
.navlinks{
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 24px;
}
.navlinks a{
  font-weight: 700;
  font-size: 15px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.navlinks a:hover { opacity: 1; }
.navlinks a.is-active{
  opacity: 1;
  color: #ff2b2b;
}

/* Mobile Nav Toggle (Hidden by default) */
.nav-toggle { display: none; }

/* ---- Buttons / Inputs ---- */
.btn-primary{
  background: #ff2b2b;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.1s, filter 0.2s;
  text-align: center;
  display: inline-block;
}
.btn-primary:hover{ filter: brightness(1.1); }
.btn-primary:active{ transform: scale(0.98); }
.input{
  width: 100%;
  margin: 8px 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 16px;
}

/* ---- Page Titles ---- */
.page-title{
  text-align: center;
  margin: 40px 0 10px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
}

/* =========================
   SHOP GRID + CARDS
   ========================= */
.product-grid{
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 30px 0 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card{
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #ff2b2b;
}
.product-image{
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #1a1a1a;
}
.product-body{
  padding: 20px;
  flex: 1;
}
.product-title{
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
}
.product-itemno{
   font-size: 12px;
   color: rgba(255,255,255,0.5);
   letter-spacing: 0.05em;
   margin: 0 0 6px;
 }
.product-row{
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}
.product-label{ color: rgba(255,255,255,0.6); font-weight: 600; }
.product-value{ font-weight: 700; }
.product-cta{ width: 100%; border-radius: 0; padding: 15px; }

/* =========================
   MODALS
   ========================= */
.modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 20px;
  overflow-y: auto;
}
.modal.is-open{
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
}
.modal__panel{
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 30px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal__close{
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
}
.modal__content{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.modal__media img{
  width: 100%;
  border-radius: 12px;
}

/* Chips */
.chipRow{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip{
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.chip.is-active{
  background: #ff2b2b;
  border-color: #ff2b2b;
  font-weight: 700;
}
.modal__label{ font-weight: 700; font-size: 14px; margin-bottom: 5px; display: block; }
.modal__block{ margin-bottom: 20px; }

/* Supplier link */
.supplier-link{
  color: #ff2b2b;
  font-weight: 700;
  text-decoration: underline;
  font-size: 14px;
}

/* =========================
   HOME PAGE
   ========================= */
.hero{
  padding: 0;
  text-align: center;
}
.hero__inner{
  width: 100%;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 120px 5% 100px;
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.45)), url('images/banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(56px, 9vw, 110px);
  line-height: 1.0;
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(255,43,43,0.35), 0 2px 8px rgba(0,0,0,0.8);
}
.hero__sub {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}
.hero__actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.home-section {
  width: min(1200px, 92%);
  margin: 60px auto;
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.home-card {
  background: #0f0f0f;
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.2s;
}
.home-card:hover { border-color: rgba(255,43,43,0.3); }

/* =========================
   RESPONSIVE FIXES
   ========================= */
@media (max-width: 768px) {
  .navbar { padding: 12px 5%; }
  .navlinks { display: none; }
  .modal__content { grid-template-columns: 1fr; }
  .modal__panel { padding: 20px; }
  .hero__inner { padding: 50px 20px; }
}

/* ==============================
   SUCCESS BANNER
   ============================== */
.success-banner {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #16a34a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 300px;
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn {
  from { transform: translateX(-50%) translateY(-100px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);      opacity: 1; }
}

/* ==============================
   ABOUT PAGE
   ============================== */
.about-section {
  width: min(800px, 92%);
  margin: 60px auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ==============================
   FOOTER
   ============================== */
footer {
  padding: 60px 5%;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  background: #050505;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}
.footer-social a { opacity: 0.7; transition: opacity 0.2s; }
.footer-social a:hover { opacity: 1; }
