@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  color-scheme: light;

  --ink:          #1A1209;
  --muted:        #6B5B47;
  --muted-lt:     #9B8870;
  --paper:        #FDF8EF;
  --panel:        #FFFFFF;
  --line:         #E8D9C0;
  --line-lt:      #F2EBD9;

  --gold-pale:    #FDF0BC;
  --gold-lt:      #F4CF74;
  --gold:         #C98209;
  --gold-mid:     #A86D08;
  --gold-deep:    #7B4D07;
  --gold-darkest: #4A2D02;

  --gold-grad:    linear-gradient(135deg, #F9E08B 0%, #D4A520 45%, #8B5E04 100%);
  --gold-grad-h:  linear-gradient(90deg, #8B5E04 0%, #D4A520 35%, #F9E08B 55%, #D4A520 75%, #8B5E04 100%);

  --silver-bg:    #EEF1F4;
  --green:        #0F3D30;

  --sh-xs:  0 2px 8px  rgba(32,24,12,.07);
  --sh-sm:  0 6px 20px rgba(32,24,12,.10);
  --sh:     0 14px 44px rgba(32,24,12,.13);
  --sh-lg:  0 28px 70px rgba(32,24,12,.18);
  --sh-gold:0 8px 32px  rgba(201,130,9,.24);

  --pad: clamp(22px, 6vw, 88px);
  --r:   12px;
  --r-lg:20px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Raleway', Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1,h2,h3,p { margin-top: 0; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-scale {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px var(--pad);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
  background: rgba(253,248,239,.92);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border-bottom-color: rgba(232,217,192,.65);
  box-shadow: 0 3px 28px rgba(32,24,12,.10);
}
/* Mobile: add background when nav is open even if not scrolled */
.site-header.nav-open {
  background: rgba(253,248,239,.96);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border-bottom-color: rgba(232,217,192,.65);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo {
  flex: 0 0 auto;
  height: 72px;
  width: 72px;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.1;
  color: white;
  transition: color .35s ease;
}
.brand small {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .70rem;
  font-weight: 400;
  letter-spacing: .13em;
  margin-top: 3px;
  text-transform: uppercase;
  transition: color .35s ease;
}
.site-header.scrolled .brand strong { color: var(--ink); }
.site-header.scrolled .brand small  { color: var(--muted); }
.site-header.nav-open  .brand strong { color: var(--ink); }
.site-header.nav-open  .brand small  { color: var(--muted); }

/* ── Nav ───────────────────────────────────────────────────── */
nav { display: flex; gap: 2px; }
nav a {
  border-radius: 8px;
  color: rgba(255,255,255,.88);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 9px 14px;
  transition: background .2s, color .35s ease;
}
nav a:hover {
  background: rgba(255,255,255,.12);
  color: white;
}
.site-header.scrolled nav a       { color: var(--muted); }
.site-header.scrolled nav a:hover { background: rgba(201,130,9,.09); color: var(--gold-deep); }
.site-header.nav-open  nav a      { color: var(--ink); }

/* ── Buttons ───────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .05em;
  min-height: 50px;
  padding: 0 24px;
  transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: var(--gold-grad);
  color: #1A0E02;
  box-shadow: 0 5px 22px rgba(201,130,9,.38);
}
.button.primary:hover { box-shadow: 0 10px 30px rgba(201,130,9,.48); }
.button.secondary {
  border: 1.5px solid rgba(255,255,255,.5);
  color: white;
}
.button.secondary:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.75);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  padding: 148px var(--pad) 80px;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url("assets/hero-jewellery.png") center / cover no-repeat;
  animation: hero-scale 10s ease forwards;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(12,8,3,.92) 0%, rgba(12,8,3,.66) 38%, rgba(12,8,3,.18) 100%),
    linear-gradient(0deg, rgba(12,8,3,.55) 0%, transparent 48%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--pad);
  right: var(--pad);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,207,116,.45) 30%, rgba(244,207,116,.45) 70%, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 780px;
  animation: fade-up .95s ease both;
}

/* ── Eyebrow ───────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .22em;
  margin: 0 0 18px;
  text-transform: uppercase;
  color: #F0CB6C;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .65;
}
.section-heading .eyebrow { color: var(--gold); }

/* ── Typography ────────────────────────────────────────────── */
h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(2.8rem, 7.5vw, 6.8rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: .08em;
  margin-bottom: 24px;

  /* Gold shimmer on hero h1 */
  background: linear-gradient(90deg,
    #fff 0%, #F9E08B 25%, #fff 42%, #F9E08B 58%, #fff 75%, #F9E08B 88%, #fff 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .06em;
  margin-bottom: 0;
}
h3 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: .06em;
}

.hero-copy {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 300;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.hero-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  color: rgba(255,255,255,.7);
  font-size: .73rem;
  letter-spacing: .06em;
  padding: 6px 14px;
}

/* ── Section common ────────────────────────────────────────── */
section:not(.hero) { padding: 90px var(--pad); }

.section-heading {
  display: grid;
  gap: 0 52px;
  grid-template-columns: minmax(0, .68fr) minmax(280px, 1fr);
  align-items: end;
  margin-bottom: 50px;
}
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 2px; }
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.78;
  margin: 0;
}
.section-heading.compact { display: block; max-width: 800px; margin-bottom: 44px; }
.section-heading.compact h2 { margin-bottom: 14px; }

/* ── Gold divider ──────────────────────────────────────────── */
.gold-divider {
  border: none;
  margin: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, rgba(201,130,9,.35) 28%, rgba(244,207,116,.6) 50%, rgba(201,130,9,.35) 72%, transparent);
}

/* ── Scroll reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .65s ease var(--reveal-delay, 0s),
    transform .65s ease var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Rates section ─────────────────────────────────────────── */
.rates-section { background: #FFFDF8; }

.rate-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: .875rem;
  margin-bottom: 24px;
  padding: 13px 16px;
}

#refresh-rates {
  background: var(--ink);
  border: 0;
  border-radius: 7px;
  color: white;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  min-height: 38px;
  padding: 0 18px;
  transition: background .2s, transform .15s;
}
#refresh-rates:hover { background: #2c2418; transform: translateY(-1px); }
#refresh-rates:disabled { cursor: wait; opacity: .5; transform: none; }

.rate-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rate-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-lt);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  min-height: 228px;
  padding: 30px 26px 26px;
  transition: transform .28s, box-shadow .28s;
}
.rate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-grad);
  border-radius: var(--r) var(--r) 0 0;
}
.rate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh), var(--sh-gold);
}

.metal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  margin-bottom: 20px;
  padding: 5px 12px;
  text-transform: uppercase;
}
.metal.gold  { background: var(--gold-pale); color: var(--gold-deep); }
.metal.silver{ background: var(--silver-bg); color: #3D4A52; }

.rate-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  margin-bottom: 8px;
  color: var(--muted);
  text-transform: uppercase;
}

.price {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  margin-bottom: 10px;

  background: var(--gold-grad-h);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rate-card small {
  color: var(--muted-lt);
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* ── Collections ───────────────────────────────────────────── */
.collections {
  background: linear-gradient(160deg, #F9EDD9 0%, #F1E4C9 55%, #EAD9BC 100%);
  position: relative;
}

.collection-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.collection-grid article {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232,217,192,.6);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  padding: 34px 28px 30px;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.collection-grid article::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s ease;
}
.collection-grid article:hover {
  background: rgba(255,255,255,.94);
  transform: translateY(-6px);
  box-shadow: var(--sh);
}
.collection-grid article:hover::after { transform: scaleX(1); }

.collection-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: var(--gold-pale);
  border-radius: 14px;
  font-size: 1.65rem;
  margin-bottom: 22px;
}
.collection-grid h3 { font-size: 1.45rem; }
.collection-grid p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.78;
  margin-bottom: 0;
}

/* ── Features / Why choose us ──────────────────────────────── */
.features { background: var(--paper); }

.features-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature-card {
  text-align: center;
  padding: 40px 30px 36px;
  border: 1px solid var(--line-lt);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: var(--sh-xs);
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--sh-sm); }
.feature-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--gold-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.55rem;
  box-shadow: var(--sh-gold);
}
.feature-card h3 { font-size: 1.3rem; }
.feature-card p { color: var(--muted); font-size: .9rem; line-height: 1.72; margin: 0; }

/* ── Visit ─────────────────────────────────────────────────── */
.visit {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 460px);
  align-items: center;
  background: linear-gradient(135deg, #0C3529 0%, #0F3D30 50%, #142E27 100%);
  color: white;
}
.visit::before {
  content: '';
  position: absolute;
  top: -40%; right: -8%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,130,9,.14) 0%, transparent 68%);
  pointer-events: none;
}
.visit .eyebrow { color: #E8BE5A; }
.visit h2 { color: white; margin-bottom: 14px; }
.visit p:not(.eyebrow) {
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  line-height: 1.78;
  margin-bottom: 0;
  max-width: 580px;
}

.contact-panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  display: grid;
  gap: 10px;
  padding: 24px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  padding: 15px 17px;
  transition: background .22s, border-color .22s;
}
.contact-item:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(201,130,9,.35);
}
.contact-item-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: #0D0A06;
  color: rgba(255,255,255,.5);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 28px var(--pad);
  font-size: .82rem;
  letter-spacing: .02em;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo {
  height: 44px;
  width: 44px;
  object-fit: contain;
  opacity: 0.80;
}
.footer-right { text-align: right; }

/* ── Hamburger — hidden on desktop ─────────────────────────── */
.nav-toggle { display: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .features-grid,
  .rate-grid,
  .collection-grid { grid-template-columns: 1fr; }

  .visit { grid-template-columns: 1fr; }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-right { text-align: center; }
}

@media (max-width: 820px) {
  /* Keep header fixed and in a single row */
  .site-header {
    position: fixed;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Hamburger button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    padding: 8px 2px;
    width: 36px;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease, background .35s ease;
  }
  .site-header.scrolled .nav-toggle span,
  .site-header.nav-open  .nav-toggle span { background: var(--ink); }

  /* Animate to ✕ when open */
  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Nav collapses below the header row */
  nav {
    flex-direction: column;
    order: 10;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease, padding .32s ease;
    gap: 0;
  }
  .site-header.nav-open nav {
    max-height: 220px;
    border-top: 1px solid var(--line-lt);
    padding-top: 8px;
    padding-bottom: 10px;
  }
  nav a {
    border-bottom: 1px solid var(--line-lt);
    border-radius: 0;
    color: var(--ink);
    font-size: .9rem;
    letter-spacing: .08em;
    padding: 13px 2px;
  }
  nav a:last-child { border-bottom: none; }
  nav a:hover { background: none; color: var(--gold); }

  .hero { min-height: 95vh; padding-top: 96px; }

  .section-heading { grid-template-columns: 1fr; }
  .section-heading p:not(.eyebrow) { margin-top: 8px; }
}

@media (max-width: 560px) {
  .brand-logo { height: 58px; width: 58px; }
  .brand strong { font-size: .88rem; }
  .brand small { font-size: .62rem; }

  h1 { font-size: 2.6rem; letter-spacing: .06em; }
  section:not(.hero) { padding-top: 60px; padding-bottom: 60px; }

  .rate-toolbar { flex-direction: column; align-items: flex-start; }

  .rate-card,
  .collection-grid article,
  .feature-card { padding: 22px 18px; }
}
