:root{
  --primary:#ff4d4d;
  --dark:#0b0b0b;
  --muted:#666;
  --max-w:1100px;
}

/* Reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#222;background:#fff;line-height:1.5;
}

/* simple container */
.container{max-width:var(--max-w);margin:0 auto;padding:0 20px}

/* NAV */
header{background:var(--dark);color:#fff}
nav{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{font-weight:700;font-size:1.2rem}
.nav-links{list-style:none;display:flex;gap:18px;align-items:center}
.nav-links a{color:#fff;text-decoration:none;font-weight:500;padding:6px 8px;border-radius:6px}
.nav-links a:hover{background:rgba(255,255,255,0.06)}

/* HERO / SLIDER */
.hero{position:relative;overflow:hidden}
.slider{position:relative;height:60vh}
.slide{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;transition:opacity .6s ease-in-out}
.slide img{width:100%;height:100%;object-fit:cover;display:block}
.slide.active{opacity:1;z-index:1}

.hero-content{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  text-align:center;color:#fff;padding:18px;border-radius:10px;
  background:linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.45));
  max-width:900px;width:calc(100% - 40px)
}
.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.45));
  max-width: 900px;
  width: calc(100% - 40px);
  z-index: 2; /* stays on top of images */
}

.btn{background:var(--primary);color:#fff;padding:10px 16px;border-radius:8px;text-decoration:none;display:inline-block;margin:6px 6px;font-weight:600}
.btn:active{transform:translateY(1px)}
.btn-outline{background:transparent;border:1px solid rgba(255,255,255,0.12)}

/* About */
.about{padding:48px 0;background:#fbfbfb}
.about-inner{display:flex;gap:28px;align-items:center;flex-wrap:wrap}
.about-text{flex:1;min-width:260px}
.about-text h2{font-size:1.6rem;margin-bottom:12px}
.about-text p{color:var(--muted)}
.about-media{flex:1;min-width:260px}
.about-media img{width:100%;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,0.08)}

/* Products */
.products{padding:48px 0;text-align:center}
.products h2{margin-bottom:10px}
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:18px}
.card{background:#fff;border:1px solid #eee;padding:12px;border-radius:10px;transition:transform .18s,box-shadow .18s}
.card:hover{transform:translateY(-6px);box-shadow:0 12px 30px rgba(20,20,20,0.06)}
.card img{width:100%;height:160px;object-fit:cover;border-radius:8px}
.card h3{margin:10px 0 6px}
.card p{color:var(--muted);font-size:0.95rem}

/* Contact */
.contact{padding:48px 0;background:#fbfbfb}
.contact-inner{display:flex;gap:24px;flex-wrap:wrap;align-items:flex-start}
.contact-form{flex:1;min-width:260px}
.contact-info{flex:1;min-width:260px}
.contact-form input,.contact-form textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:8px;margin-bottom:10px;font-size:0.95rem}
.contact-form textarea{min-height:120px;resize:vertical}

/* Footer */
footer{background:var(--dark);color:#fff;padding:18px;text-align:center;font-size:0.95rem}

/* Utilities */
.mt-8{margin-top:2rem}
.center{text-align:center}

/* Responsive */
@media (max-width:880px){
  .hero-content{padding:14px}
  .hero-content h1{font-size:1.45rem}
  .slide img{height:42vh}
  nav{padding:0 10px}
  .nav-links{display:none} /* keep nav simple on small screens */
}
@media (max-width:520px){
  .slide img{height:34vh}
  .about-inner,.contact-inner{flex-direction:column}
  .hero-content{left:50%;top:55%}
}
/* Page hero for About, Products, Contact */
.page-hero {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.page-hero p {
  font-size: 1.1rem;
  color: #f0f0f0;
}
/* Page Hero */
.page-hero {
  position: relative;
  height: 40vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.page-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeIn 1s ease-out forwards;
}

.page-hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.page-hero-content p {
  font-size: 1.1rem;
  color: #f0f0f0;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.contact-info p a {
  color: var(--primary);
  text-decoration: none;
}
.contact-info p a:hover {
  text-decoration: underline;
}
.contact-info h3 {
  margin-top: 20px;
  font-size: 1.1rem;
}
/* Category Card Styling */
.card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 12px;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: 0.5px;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

/* Image Zoom on Hover */
.card img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.12);
}

/* Title Hover Color */
.card:hover h3 {
  color: var(--primary);
  transition: color 0.3s ease;
}
/* Remove link underline & color in cards */
.card a {
  text-decoration: none;
  color: inherit;
  display: block; /* make the link cover the entire card */
}

/* Ensure hover still works nicely */
.card a:hover {
  text-decoration: none;
  color: inherit;
}
.product-images {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.product-images img {
  width: 100%;
  max-width: calc(33.333% - 4px);
  border-radius: 8px;
  object-fit: cover;
  height: 120px;
  transition: transform 0.3s ease;
}

.product-images img:hover {
  transform: scale(1.05);
}

.price {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
}
/* CART PAGE STYLING */
.cart-empty {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
}

.product-grid .card .price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.product-grid .card button {
  margin-top: 8px;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.product-grid .card button.btn {
  background-color: var(--primary);
  color: white;
}

.product-grid .card button.btn:hover {
  background-color: #e63e3e;
}

.product-grid .card button.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.product-grid .card button.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.cart-empty {
    text-align: center;
    color: var(--muted);
    font-style: italic;
}

.cart-summary {
    margin-top: 20px;
    text-align: center;
}
/* Default desktop menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    color: #333;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 10px;
    border-bottom: 1px solid #eee;
  }
}
/* HAMBURGER MENU DEFAULT STYLE */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

/* MOBILE MENU STYLE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  /* ✅ Make text visible on white background */
  .nav-links li a {
    color: black;
    text-decoration: none;
  }

  .nav-links li a:hover {
    color: #ff6600; /* optional hover color */
  }
}
/* CART PAGE STYLING */
.cart-item {
  display: flex;              /* put image + details side by side */
  align-items: center;        /* vertically center items */
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.cart-item img {
  width: 80px;        /* small thumbnail */
  height: 80px;
  object-fit: cover;  /* crop nicely */
  border-radius: 8px;
  margin-right: 15px;
}

.cart-details {
  flex: 1;
}

.cart-details h4 {
  margin: 0;
  font-size: 16px;
}

.cart-details p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #333;
}
.cart-item video {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  margin-right: 15px;
  object-fit: cover;
}
/* ✅ Jewelry-specific styling */
.jewelry-images {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.jewelry-images img {
  flex: 1; /* adjusts automatically for 1, 2, or 3 */
  border-radius: 8px;
  object-fit: cover;
  height: 160px;
  transition: transform 0.3s ease;
}

.jewelry-images img:hover {
  transform: scale(1.05);
}
/* Jewelry images - show full picture */
.jewelry-images img {
  width: 100%;       /* takes full card width */
  height: auto;      /* keeps the natural aspect ratio */
  object-fit: contain; /* shows the whole image, no cropping */
  border-radius: 8px;
  display: block;
  margin: 0 auto;    /* centers the image */
}

