:root{
  --accent: #c79a2a; /* gold accent */
  --dark: #0f1724;
  --muted:#68707a;
  --bg: #ffffff;
  --surface: #ffffff;
  --max-width:1200px;
  --radius:12px;
  --card-shadow: 0 6px 18px rgba(15,23,36,0.06);
}

/* Reset / base */
*{box-sizing:border-box}
html,body{height:100%;width:100%;}
body{
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, "Helvetica Neue", Arial;
  color:var(--dark);
  background:var(--bg);
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  margin:0; padding:0;
  -webkit-text-size-adjust:100%;
}
.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 13px;
  margin-left: 6px;
}


/* Layout container */
.container{max-width:var(--max-width);margin:0 auto;padding:0 20px}
main.container{padding-top:10px}

/* NAV */
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{font-weight:700;letter-spacing:1px;font-size:20px}
.brand span{color:var(--accent);margin-left:6px}
.nav-links{display:flex;gap:18px;align-items:center}
.nav-links a{color:var(--dark);text-decoration:none;font-weight:600;padding:6px 8px;border-radius:8px}
.nav-links a:hover, .nav-links a:focus{background:rgba(199,154,42,0.06);outline:none}
.nav-actions{display:flex;gap:10px;align-items:center}
.icon-btn{background:transparent;border:1px solid #eee;padding:8px;border-radius:999px;cursor:pointer;font-size:14px}
.icon-btn:focus{outline:2px solid rgba(199,154,42,0.18)}

/* Hamburger for small screens */
.hamburger{display:none;border:0;background:transparent;font-size:22px;padding:6px}
@media(max-width:860px){
  .nav-links{display:none}
  .hamburger{display:inline-block}
}
/* Hero card animated reveal */
.hero-card{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:center;
  background:linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.96));
  border-radius:14px;
  padding:12px;
  box-shadow: 0 12px 30px rgba(15,23,36,0.06);
  transform: translateX(36px) translateY(6px) scale(.995);
  opacity: 0;
  transition: transform 520ms cubic-bezier(.2,.9,.26,1), opacity 420ms ease;
  overflow:hidden;
}

/* media container */
.hero-card-media img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:10px;
  display:block;
}

/* info column */
.hero-card-info{ padding:6px 8px; display:flex;flex-direction:column;gap:8px; }
.hero-badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:12px;
  background:linear-gradient(90deg, rgba(199,154,42,0.12), rgba(199,154,42,0.03));
  color:var(--accent);
  width:max-content;
}

/* title and subtitle smaller than page hero */
.hero-card-title{ font-size:18px; margin:0; font-weight:700; color:var(--dark) }
.hero-card-sub{ font-size:13px; color:var(--muted); margin:0 }

/* CTA inside card uses existing .cta style but slightly smaller */
.hero-card-cta{ padding:8px 12px; font-size:13px; width:max-content }

/* the visible state (applied by JS) */
.hero-card.show{
  transform: translateX(0) translateY(0) scale(1);
  opacity:1;
}

/* subtle floating motion once visible */
@keyframes heroFloat {
  0%{ transform: translateY(0) }
  50%{ transform: translateY(-6px) }
  100%{ transform: translateY(0) }
}
.hero-card.show .hero-card-media img{
  animation: heroFloat 6s ease-in-out infinite;
  animation-delay: 300ms;
}

/* responsive adjustments */
@media (max-width:980px){
  .hero-card{ grid-template-columns: 1fr; }
  .hero-card-media img { height:220px; }
}
@media (max-width:480px){
  .hero-card{ padding:10px; gap:10px; }
  .hero-card-media img { height:120px; }
  .hero-card-title{ font-size:16px }
  .hero-card-sub{ font-size:12px }
}

/* Respect reduced motion preference: disable animations */
@media (prefers-reduced-motion: reduce) {
  .hero-card,
  .hero-card-media img {
    transition: none !important;
    animation: none !important;
  }
  .hero-card{ transform:none; opacity:1 }
}


/* HERO */
.hero{display:grid;grid-template-columns:1fr 420px;gap:36px;align-items:center;padding:28px 0}
.hero-left h1{font-size:40px;margin-bottom:12px;line-height:1.05}
.lead{color:var(--muted);margin-bottom:18px}
.cta{display:inline-block;padding:10px 20px;border-radius:999px;border:1px solid var(--accent);background:linear-gradient(90deg, rgba(199,154,42,0.06), transparent);font-weight:600}
.hero-right{border-radius:14px;overflow:hidden;box-shadow:var(--card-shadow)}
.hero-right img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:980px){
  .hero{grid-template-columns:1fr;}
  .hero-right{height:260px}
}

/* Collections - compact card grid (mobile-first) */
.collections{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin:18px 0 28px;
  align-items:start;
}

.collection{
  background:var(--surface);
  border-radius:10px;
  overflow:hidden;
  border:1px solid #f2f2f2;
  display:flex;
  flex-direction:column;
  align-items:stretch;
}

/* Image area */
.collection img{width:100%;height:140px;object-fit:cover;display:block}

/* caption box below image */
.collection .label{padding:10px 12px;font-weight:600;text-align:left;background:transparent;color:var(--dark);border-top:1px solid #f6f6f6}

.collection:hover{ box-shadow:var(--card-shadow); transform:translateY(-3px); transition:all .18s; }

/* Larger screens: more columns */
@media(min-width:860px){.collections{ grid-template-columns:repeat(3,1fr); gap:18px; }}
@media(min-width:1100px){.collections{ grid-template-columns:repeat(4,1fr); }}

/* Products */
.products{margin:28px 0}
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{border-radius:12px;padding:12px;border:1px solid #f2f2f2;background:var(--surface);display:flex;flex-direction:column}
.card img{width:100%;height:200px;object-fit:cover;border-radius:8px}
.card .title{margin-top:10px;font-weight:600;font-size:14px}
.price{color:var(--accent);font-weight:700;margin-top:6px}
.quick{margin-top:10px;display:flex;justify-content:space-between;align-items:center}
.btn{padding:8px 12px;border-radius:999px;border:1px solid var(--accent);background:transparent;cursor:pointer}
.btn:focus{outline:2px solid rgba(199,154,42,0.16)}
@media(max-width:1100px){.products-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.products-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:420px){.products-grid{grid-template-columns:1fr}}

/* Modal */
.modal{position:fixed;inset:0;background:rgba(2,6,23,0.6);display:flex;align-items:center;justify-content:center;padding:20px;visibility:hidden;opacity:0;transition:all .18s}
.modal.open{visibility:visible;opacity:1}
.modal-card{width:920px;max-width:100%;background:var(--surface);border-radius:14px;overflow:hidden;display:grid;grid-template-columns:460px 1fr}
.modal-card img{width:100%;height:100%;object-fit:cover}
.modal-body{padding:18px}
.close{float:right;border:0;background:transparent;font-size:20px;cursor:pointer}
@media(max-width:900px){.modal-card{grid-template-columns:1fr}}

/* About / Footer */
.about{display:flex;gap:28px;align-items:center;padding:26px 0;border-top:1px solid #f3f3f3}
.about .about-img{width:320px;border-radius:12px;overflow:hidden}
.footer{padding:22px 0;border-top:1px solid #f3f3f3;margin-top:30px;color:var(--muted);font-size:14px}

/* Utilities */
.muted{color:var(--muted)}
/* FIX: Make all Quick View images the same size */
.modal-card img {
  width: 100%;
  height: 420px;        /* set fixed height */
  object-fit: cover;    /* crops perfectly, keeps proportions */
  object-position: center; /* centers the crop */
  border-radius: 0;
  display: block;
}


/* mobile bottom nav */
.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;height:56px;background:var(--surface);border-top:1px solid #eee;display:flex;justify-content:space-around;align-items:center;z-index:1200;box-shadow:0 -6px 18px rgba(2,6,23,0.04)}
.mobile-bottom-nav .mb-item{font-size:13px;color:var(--dark);text-decoration:none;padding:6px 8px}
@media(min-width:760px){.mobile-bottom-nav{ display:none;}body{ padding-bottom:0; }}
@media(max-width:759px){main.container{ padding-bottom:72px; }}

/* === Compact mobile adjustments (overrides) === */
@media (max-width: 480px) {
  .hero { gap:12px; padding:14px 12px }
  .hero-left h1 { font-size:26px }
  .lead { font-size:13px }
  .cta { padding:8px 12px; font-size:13px }
  .hero-right { height:120px; border-radius:10px }
  .hero-right img { height:120px }
  .collections { gap:8px; margin:12px 0 16px; grid-template-columns:repeat(2,1fr) }
  .collection img { height:110px }
  .collection .label { padding:8px 10px; font-size:13px }
  .products-grid { gap:10px; grid-template-columns:repeat(2,1fr) }
  .card img { height:140px }
  .card .title { font-size:13px }
  .price { font-size:14px }
  main.container { padding-bottom:88px }
}
/* ===== FLOATING MOTION AFTER HERO ANIMATION ===== */
@keyframes heroFloatSlow {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-5px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

/* Apply floating AFTER animate-in */
.hero-img.animate-in {
  animation: heroFloatSlow 6s ease-in-out infinite;
}

.hero-overlay.animate-in {
  animation: heroFloatSlow 7s ease-in-out infinite;
  animation-delay: 0.8s; /* overlay floats slightly later */
}
.hero-image-wrapper.animate-in {
  animation: heroFloatSlow 10s ease-in-out infinite;
  animation-delay: 1s;
}

/* Super small phones: hide hero image to show items sooner */
@media (max-width:360px){ .hero-right{display:none} .hero-left h1{font-size:22px} }

/* Accessibility helpers */
a:focus{outline:2px solid rgba(199,154,42,0.12);outline-offset:2px}
button{font-family:inherit}

/* Smooth transitions */
img, .card, .collection { transition:all .18s ease }
/* ===== hero layering & reveal fixes ===== */

/* ensure header/nav sits above hero card */
header, .nav {
  position: relative;
  z-index: 9999;
}

/* ensure hero area does not overlap header */
.hero { margin-top: 6px; position: relative; z-index: 1; }

/* make hero-left visible and animate in */
.hero-left {
  transform: translateY(8px);
  opacity: 0;
  transition: transform 420ms cubic-bezier(.2,.9,.26,1), opacity 360ms ease;
  position: relative;
  z-index: 2;              /* keep hero-left above hero-card visually */
}

/* add class when visible */
.hero-left.show {
  transform: translateY(0);
  opacity: 1;
}

/* ensure hero-card sits visually behind left content on small screens */
.hero-card {
  position: relative;
  z-index: 1;
  margin-top: 6px;        /* small gap so it doesn't sit directly on the nav */
}

/* reduce hero-card elevation a bit so text reads clearly */
.hero-card { box-shadow: 0 10px 22px rgba(15,23,36,0.05); }

/* tighter mobile spacing so text appears quickly */
@media (max-width:480px) {
  .hero { padding-top: 10px; }
  .hero-card { margin-top: 8px; }
  .hero-left { padding-bottom: 6px; }
}

/* Safety: if user prefers reduced motion, show everything immediately */
@media (prefers-reduced-motion: reduce) {
  .hero-left, .hero-card { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-left.show { opacity: 1; transform: none; }
}
/* ===== HERO IMAGE FULL + TEXT OVERLAY ===== */

.hero {
  width: 100%;
  margin-top: 10px;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 380px; /* make image bigger */
  border-radius: 16px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEXT OVERLAY CARD */
.hero-overlay {
  position: absolute;
  bottom: 20px;        /* You can change this */
  left: 20px;          /* LEFT CORNER — change to right:20px for RIGHT CORNER */
  background: rgba(255,255,255,0.88);
  padding: 14px 18px;
  border-radius: 12px;
  max-width: 70%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.hero-overlay h2 {
  margin: 6px 0;
  font-size: 20px;
  font-weight: 700;
}

.hero-overlay p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.hero-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(199,154,42,0.15);
  color: var(--accent);
  font-weight: 600;
}

.hero-overlay-btn {
  font-size: 13px;
  padding: 8px 14px;
  background: var(--accent);
  border-radius: 999px;
  color: white;
  text-decoration: none;
}

/* MOBILE RESPONSIVE */
@media (max-width:480px) {
  .hero-image-wrapper { height: 480px; }
  .hero-overlay { max-width: 80%; bottom: 16px; left: 14px; }
  .hero-overlay h2 { font-size: 18px; }
}

/* ===== hero slide-in animation (from left) ===== */
.hero-image-wrapper,
.hero-img,
.hero-overlay {
  will-change: transform, opacity;
  transform-origin: left center;
}

/* initial hidden state */
.hero-image-wrapper,
.hero-img,
.hero-overlay {
  transform: translateX(-28px);
  opacity: 0;
}

/* visible state */
.hero-image-wrapper.animate-in,
.hero-img.animate-in,
.hero-overlay.animate-in {
  transform: translateX(0);
  opacity: 1;
}

/* transitions + subtle easing */
.hero-image-wrapper {
  transition: transform 560ms cubic-bezier(.2,.9,.26,1), opacity 420ms ease;
}
.hero-img {
  transition: transform 620ms cubic-bezier(.2,.9,.26,1), opacity 520ms ease;
}
.hero-overlay {
  transition: transform 560ms cubic-bezier(.2,.9,.26,1), opacity 480ms ease;
  transition-delay: 180ms; /* overlay appears slightly after image */
}

/* subtle parallax-like scale on image when visible (optional) */
.hero-img.animate-in {
  transform: translateX(0) scale(1.01);
}

/* small screens: less translate distance */
@media (max-width:480px) {
  .hero-image-wrapper,
  .hero-img,
  .hero-overlay { transform: translateX(-18px); }
}

/* Respect reduced motion: show immediately */
@media (prefers-reduced-motion: reduce) {
  .hero-image-wrapper,
  .hero-img,
  .hero-overlay {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
/* Lower the necklaces image slightly */
.img-lower {
  object-position: center 30%; /* increase % to move image further down */
}
/* Match necklace image crop to home page */
.necklace-align {
  object-position: center 25%;
}
