/* ==========================================================================
   EVER GOLD AND DIAMONDS LLP — style.css
   Mobile-first base styles. Breakpoint refinements live in responsive.css
   ========================================================================== */

:root {
  /* Colors */
  --gold: #D4AF37;
  --gold-light: #F4E2A4;
  --gold-dark: #9C7A24;
  --black: #111111;
  --white: #FFFFFF;
  --bg: #F8F8F8;
  --card: #FFFFFF;
  --text-muted: #5A5A5A;
  --border-soft: #ECE6D8;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  --gradient-gold-soft: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', sans-serif;

  /* Layout */
  --container-w: 1240px;
  --radius: 4px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure, blockquote, address { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, textarea { font-family: inherit; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--black);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
  font-weight: 500;
}

/* ---------- Signature element: faceted divider ---------- */
.facet-divider {
  position: relative;
  width: 110px;
  height: 14px;
  margin: 18px 0 22px;
}
.facet-divider.center { margin-left: auto; margin-right: auto; }
.facet-divider::before, .facet-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  width: 42px;
  background: linear-gradient(90deg, transparent, var(--gold));
  transform: translateY(-50%);
}
.facet-divider::before { left: 0; }
.facet-divider::after { right: 0; background: linear-gradient(90deg, var(--gold), transparent); }
.facet-divider .egd-diamond,
.facet-divider {
  /* diamond drawn via background svg for crispness */
}
.facet-divider {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpolygon points='7,1 13,7 7,13 1,7' fill='%23D4AF37'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gradient-gold);
  color: var(--black);
  position: relative;
  overflow: hidden;
}
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.btn-gold:hover::before { left: 130%; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212,175,55,0.35); }

.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--black);
}
.btn-outline:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }

.btn-call {
  background: var(--black);
  color: var(--white);
  padding: 9px 18px;
  font-size: 12px;
}
.btn-call:hover { background: var(--gold-dark); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 16px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo { height: 36px; width: auto; }

.main-nav { position: fixed; inset: 0 0 0 30%; background: rgba(17,17,17,0.97); transform: translateX(100%); transition: transform var(--transition); z-index: 1001; display: flex; align-items: center; }
.main-nav.open { transform: translateX(0); }
.main-nav ul { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 0 32px; }
.nav-link {
  display: block;
  padding: 14px 0;
  color: var(--white);
  font-size: 18px;
  font-family: var(--font-heading);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition), padding-left var(--transition);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--gold); padding-left: 8px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-call span { display: none; }

.hamburger { display: flex; flex-direction: column; gap: 5px; width: 26px; z-index: 1002; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--white); transition: transform var(--transition), opacity var(--transition), background var(--transition); }
.site-header.scrolled .hamburger span { background: var(--black); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header.scrolled {
  background: rgba(248,248,248,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 10px 0;
}
.site-header:not(.scrolled) .nav-link,
.site-header:not(.scrolled) .btn-call { color: var(--white); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--black); padding: 10px 16px; z-index: 2000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.65) 0%, rgba(10,10,10,0.75) 60%, rgba(10,10,10,0.9) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); padding-top: 90px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { font-size: 38px; font-weight: 600; max-width: 720px; }
.hero h1 em, .hero h1 .gold-text { font-style: italic; }
.hero-sub { max-width: 460px; color: rgba(255,255,255,0.82); font-size: 15px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkles span {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 6px 2px rgba(244,226,164,0.7);
  animation: sparkle-float 6s ease-in infinite;
}
.sparkles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.sparkles span:nth-child(2) { top: 40%; left: 80%; animation-delay: 1s; }
.sparkles span:nth-child(3) { top: 65%; left: 25%; animation-delay: 2s; }
.sparkles span:nth-child(4) { top: 15%; left: 60%; animation-delay: 3s; }
.sparkles span:nth-child(5) { top: 80%; left: 70%; animation-delay: 1.5s; }
.sparkles span:nth-child(6) { top: 50%; left: 45%; animation-delay: 2.5s; }
.sparkles span:nth-child(7) { top: 30%; left: 90%; animation-delay: 4s; }
.sparkles span:nth-child(8) { top: 70%; left: 5%; animation-delay: 0.5s; }

@keyframes sparkle-float {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-80px) scale(1.2); }
}

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 38px; border: 1px solid rgba(255,255,255,0.6); border-radius: 14px; z-index: 2;
}
.scroll-cue span { position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; background: var(--gold); border-radius: 2px; transform: translateX(-50%); animation: scroll-dot 1.8s ease infinite; }
@keyframes scroll-dot { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 20px; } }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head h2 { font-size: 30px; }

section { padding: 80px 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); }
.about-badge {
  position: absolute; bottom: -18px; right: 18px;
  background: var(--black); color: var(--gold-light);
  padding: 16px 22px; border-radius: var(--radius);
  text-align: center; box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}
.about-badge-num { display: block; font-family: var(--font-heading); font-size: 28px; color: var(--gold); }
.about-badge-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.about-text h2 { font-size: 30px; }
.about-text em { font-style: italic; color: var(--gold-dark); }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.about-points li {
  font-size: 13px; padding-left: 16px; position: relative; color: var(--black); font-weight: 500;
}
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px;
  background: var(--gold); transform: rotate(45deg);
}

/* ============================================================
   COLLECTIONS
   ============================================================ */
.collections { background: var(--white); }
.collections-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.collection-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.collection-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,0.14); }
.collection-img { aspect-ratio: 1/1; overflow: hidden; }
.collection-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.collection-card:hover .collection-img img { transform: scale(1.08); }
.collection-card h3 {
  position: absolute; left: 0; right: 0; bottom: 0;
  margin: 0; padding: 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
  color: var(--white); font-size: 16px; font-weight: 500;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us { background: var(--black); color: var(--white); }
.why-us .eyebrow { color: var(--gold-light); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.why-card {
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.why-card:hover { transform: translateY(-5px); border-color: var(--gold); background: rgba(212,175,55,0.06); }
.why-icon { margin-bottom: 14px; }
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: rgba(255,255,255,0.65); }

/* ============================================================
   FEATURED PRODUCTS
   ============================================================ */
.featured-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.product-card { padding: 2px; border-radius: var(--radius); background: var(--border-soft); transition: background var(--transition); }
.product-card:hover { background: var(--gradient-gold); }
.product-card-inner {
  background: var(--card); border-radius: var(--radius); padding: 18px;
  transition: transform var(--transition);
}
.product-card:hover .product-card-inner { transform: translateY(-4px); }
.product-img { aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius); margin-bottom: 14px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-cat { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.product-card h3 { font-size: 19px; margin: 6px 0 8px; }
.product-card p { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
  flex: 0 0 100%;
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 16px; font-size: 16px; }
.testimonial-card blockquote { font-family: var(--font-heading); font-size: 19px; font-style: italic; color: var(--black); margin-bottom: 18px; }
.testimonial-card figcaption { font-size: 13px; color: var(--text-muted); }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--border-soft); transition: background var(--transition), transform var(--transition); }
.slider-dots button.active { background: var(--gold); transform: scale(1.3); }

/* ============================================================
   STORE HIGHLIGHTS
   ============================================================ */
.highlights { background: linear-gradient(135deg, #161616, #0c0c0c); color: var(--white); }
.highlights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; text-align: center; }
.highlight-num { font-family: var(--font-heading); font-size: 38px; color: var(--gold); }
.highlight-suffix { font-family: var(--font-heading); font-size: 38px; color: var(--gold); }
.highlight p { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-top: 6px; }

/* ============================================================
   VISIT OUR STORE
   ============================================================ */
.visit-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.visit-info h2 { font-size: 26px; }
.visit-info address { font-style: normal; color: var(--text-muted); margin: 14px 0; line-height: 1.8; }
.visit-info p { margin-bottom: 8px; }
.visit-info a[href^="tel"], .visit-info a[href^="mailto"] { color: var(--gold-dark); font-weight: 500; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.visit-map { border-radius: var(--radius); overflow: hidden; min-height: 320px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.visit-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form { max-width: 680px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.field { position: relative; margin-bottom: 20px; }
.field input, .field textarea {
  width: 100%; padding: 16px 14px 8px; border: 1px solid var(--border-soft);
  border-radius: var(--radius); background: var(--white); font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.field label {
  position: absolute; left: 14px; top: 16px; font-size: 14px; color: var(--text-muted);
  transition: all 0.2s ease; pointer-events: none; background: var(--white); padding: 0 4px;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -8px; font-size: 11px; color: var(--gold-dark);
}
.field-error { display: block; font-size: 12px; color: #c0392b; margin-top: 4px; min-height: 14px; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.btn-submit { width: 100%; }
.form-success { text-align: center; margin-top: 16px; font-size: 14px; color: #1d7a45; font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--black); color: rgba(255,255,255,0.75); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; font-family: var(--font-heading); }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { font-size: 13px; transition: color var(--transition); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact address { font-style: normal; font-size: 13px; margin-bottom: 10px; line-height: 1.8; }
.social-icons { display: flex; gap: 12px; margin-top: 18px; }
.social-icons a {
  width: 34px; height: 34px; border: 1px solid rgba(212,175,55,0.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  transition: background var(--transition), transform var(--transition);
}
.social-icons a:hover { background: var(--gold); color: var(--black); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; text-align: center; font-size: 12px; }

/* ============================================================
   UTILITIES — back to top, mouse glow, loader
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient-gold); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 8px 20px rgba(212,175,55,0.35);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.mouse-glow {
  position: fixed; top: 0; left: 0; width: 280px; height: 280px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(212,175,55,0.12), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.3s ease;
  display: none;
}

#loader {
  position: fixed; inset: 0; z-index: 3000; background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-fill { animation: loader-pulse 1.2s ease-in-out infinite; }
@keyframes loader-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal-up { transform: translateY(36px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.in-view, .reveal-left.in-view, .reveal-right.in-view {
  opacity: 1; transform: none;
}
.collections-grid .reveal-up:nth-child(2) { transition-delay: 0.08s; }
.collections-grid .reveal-up:nth-child(3) { transition-delay: 0.16s; }
.collections-grid .reveal-up:nth-child(4) { transition-delay: 0.24s; }
.why-grid .reveal-up:nth-child(2) { transition-delay: 0.08s; }
.why-grid .reveal-up:nth-child(3) { transition-delay: 0.16s; }
.why-grid .reveal-up:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   FOCUS VISIBILITY (accessibility)
   ============================================================ */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}