/* ============================================
   SMITH SHOWCASE JEWELLERS - Premium Styles
   Palette: Deep Charcoal, Champagne Gold, Ivory
   ============================================ */

:root {
  --black:       #0e0d0b;
  --charcoal:    #1a1816;
  --dark:        #252220;
  --mid:         #3a3733;
  --gold:        #c9a84c;
  --gold-light:  #e4c97e;
  --gold-pale:   #f5e9c8;
  --ivory:       #faf7f0;
  --ivory-warm:  #f2ead8;
  --white:       #fffef9;
  --text-main:   #2a2724;
  --text-muted:  #7a7165;
  --text-light:  #a89f8e;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --max-width: 1200px;
  --section-pad: 120px;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ============ GRAIN OVERLAY ============ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ============ CONTAINER ============ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 40px;
  transition: background 0.4s ease, padding 0.4s ease, border-bottom 0.4s ease;
}

.header.scrolled {
  background: rgba(14, 13, 11, 0.92);
  backdrop-filter: blur(12px);
  padding: 16px 40px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-monogram {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1px;
  flex-shrink: 0;
  transition: background 0.3s;
}

.logo:hover .logo-monogram {
  background: rgba(201, 168, 76, 0.08);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:first-child { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:last-child  { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-link {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 2px;
  transition: color 0.2s;
}

.mobile-link:hover { color: var(--gold); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.hero-orb--1 {
  width: 600px; height: 600px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, #c9a84c 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb--2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -80px;
  background: radial-gradient(circle, #8b6914 0%, transparent 70%);
  animation: orbFloat 16s ease-in-out infinite reverse;
}

.hero-orb--3 {
  width: 300px; height: 300px;
  top: 40%; left: 40%;
  background: radial-gradient(circle, #c9a84c 0%, transparent 70%);
  opacity: 0.1;
  animation: orbFloat 20s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  padding-top: 100px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 32px;
  max-width: 800px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 48px;
  letter-spacing: 0.3px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.hero-scroll span {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.5; }
}

.hero-diamond {
  position: absolute;
  bottom: 48px;
  right: 40px;
  font-size: 80px;
  color: rgba(201, 168, 76, 0.08);
  z-index: 1;
  animation: diamondSpin 20s linear infinite;
  user-select: none;
}

@keyframes diamondSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn:hover::before { transform: translateX(0); }

.btn--primary {
  background: var(--gold);
  color: var(--black);
}

.btn--primary:hover {
  background: var(--gold-light);
}

.btn--ghost {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--light {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn--light:hover {
  background: var(--gold);
  color: var(--black);
}

/* ============ MARQUEE ============ */
.marquee-bar {
  background: var(--charcoal);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.7);
  flex-shrink: 0;
}

.marquee-track .dot {
  font-size: 6px;
  color: var(--gold);
  letter-spacing: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section {
  padding: var(--section-pad) 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 32px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-title.centered { text-align: center; }

.body-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 540px;
}

/* ============ ABOUT ============ */
.about {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--ivory-warm);
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--ivory-warm);
  flex-shrink: 0;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-frame {
  width: 400px;
  height: 400px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--ivory-warm) 100%);
}

.about-frame::before, .about-frame::after {
  content: '◆';
  position: absolute;
  font-size: 10px;
  color: var(--gold);
}

.about-frame::before { top: -6px; left: 50%; transform: translateX(-50%); }
.about-frame::after  { bottom: -6px; left: 50%; transform: translateX(-50%); }

.about-inner-frame {
  width: 80%;
  height: 80%;
  border: 1px solid rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-ornament {
  width: 200px;
  height: 200px;
  color: rgba(201, 168, 76, 0.4);
  animation: ornamentRotate 30s linear infinite;
}

@keyframes ornamentRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============ SERVICES ============ */
.services {
  background: var(--charcoal);
}

.services .section-label { color: var(--gold); }
.services .section-title { color: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.service-card {
  background: var(--charcoal);
  padding: 48px 40px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.service-card:hover::before { width: 100%; }
.service-card:hover { background: rgba(201, 168, 76, 0.04); }

.service-icon {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
  opacity: 0.7;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.service-card p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
}

.service-card--cta {
  background: rgba(201, 168, 76, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card--cta::before { display: none; }

.service-cta-inner {
  text-align: center;
}

.service-cta-diamond {
  display: block;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 24px;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.9); }
}

.service-cta-inner p {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ============ HOURS ============ */
.hours {
  background: var(--ivory-warm);
}

.hours-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.hours-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-main);
  margin-top: 8px;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.hours-phone:hover { color: var(--gold); }

.hours-phone-icon {
  font-size: 18px;
  color: var(--gold);
}

.hours-table {
  padding: 48px;
  background: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.15);
  position: relative;
}

.hours-table::before {
  content: '◆';
  position: absolute;
  top: -8px;
  left: 48px;
  font-size: 12px;
  color: var(--gold);
  background: var(--ivory-warm);
  padding: 0 4px;
}

.hours-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  transition: opacity 0.2s;
}

.hours-row:last-of-type { border-bottom: none; }
.hours-row--closed .hours-time { color: var(--text-light); opacity: 0.5; }

.hours-day {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 110px;
}

.hours-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(to right, rgba(201,168,76,0.2) 0, rgba(201,168,76,0.2) 4px, transparent 4px, transparent 8px);
}

.hours-time {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-main);
  min-width: 160px;
  text-align: right;
  letter-spacing: 0.3px;
}

.hours-status {
  margin-top: 24px;
  padding: 12px 20px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
}

.hours-status.open-now {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.hours-status.closed-now {
  background: rgba(0,0,0,0.04);
  color: var(--text-light);
  border: 1px solid rgba(0,0,0,0.06);
}

/* ============ CONTACT ============ */
.contact {
  background: var(--black);
}

.contact .section-label { color: var(--gold); }
.contact .section-title { color: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.08);
}

.contact-card {
  background: var(--black);
  padding: 48px 36px;
  transition: background 0.3s;
  position: relative;
}

.contact-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}

.contact-card:hover::after { height: 100%; }
.contact-card:hover { background: rgba(201, 168, 76, 0.03); }

.contact-icon {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.6;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.contact-card p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.contact-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  transition: opacity 0.2s;
}

.contact-link:hover { opacity: 0.7; }

/* ============ FOOTER ============ */
.footer {
  background: var(--charcoal);
  padding: 72px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer .logo-monogram { color: var(--gold); border-color: var(--gold); }
.footer .logo-name { color: var(--white); }
.footer .logo-sub { color: var(--gold); }
.footer .logo { justify-content: center; }

.footer-tagline {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}

.footer-tagline em { color: var(--gold); font-style: italic; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
}

.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-links span { color: rgba(201, 168, 76, 0.3); }

.footer-copy {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.2);
}

.footer-credit {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.12);
  margin-top: -8px;
}

.footer-credit a {
  color: rgba(201, 168, 76, 0.35);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-credit a:hover {
  color: var(--gold);
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { display: none; }
  .hours-layout { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }

  .container { padding: 0 24px; }

  .header { padding: 20px 24px; }
  .header.scrolled { padding: 14px 24px; }

  .nav { display: none; }
  .nav-toggle { display: flex; }

  .hero-content { padding: 0 24px; padding-top: 80px; }
  .hero-scroll { left: 24px; }
  .hero-diamond { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }

  .hours-table { padding: 32px 24px; }
  .hours-time { min-width: auto; font-size: 14px; }
  .hours-day { min-width: 90px; font-size: 11px; }
}

@media (max-width: 480px) {
  .contact-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 24px; }
  .stat-divider { width: 40px; height: 1px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .btn { text-align: center; }
  .footer-links { flex-direction: column; gap: 8px; }
  .footer-links span { display: none; }
}
