/* ═══════════════════════════════════════════════
   JAI MICROSITE — SHARED STYLES
   Sterling Silver Designer Brand
   ═══════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --charcoal: #2c2c2c;
  --warm-black: #1a1714;
  --silver: #c0c0c0;
  --silver-light: #d8d8d8;
  --gold-accent: #b8965a;
  --warm-white: #faf8f5;
  --cream: #f3efe8;
  --text-primary: #1a1a1a;
  --text-secondary: #5a5a5a;
  --text-light: #8a8a8a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ─── NAVIGATION ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(26, 23, 20, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 2rem;
}

.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: height 0.3s ease;
}

.site-nav.scrolled .nav-logo img {
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-accent);
}

.nav-cta {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-black) !important;
  background: var(--silver-light);
  padding: 0.6rem 1.5rem;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #fff;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ─── HERO (Homepage) ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #1a1714 0%, #2a2520 40%, #352f28 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(192,192,192,0.06) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 720px;
}

.hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
}

.hero-tagline {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--silver-light);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--sans);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(192,192,192,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ─── PAGE HERO (Inner pages) ─── */
.page-hero {
  position: relative;
  padding: 10rem 2rem 5rem;
  background: linear-gradient(165deg, #1a1714 0%, #2a2520 40%, #352f28 100%);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(192,192,192,0.05) 0%, transparent 60%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero .section-label {
  color: var(--gold-accent);
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── SHARED ELEMENTS ─── */
section { padding: 6rem 2rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm-black);
  background: var(--silver-light);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #fff;
  color: var(--charcoal);
}

.btn-outline {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: transparent;
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: #fff;
}

/* ─── CONTENT SECTIONS ─── */
.text-section {
  max-width: 700px;
  margin: 0 auto;
}

.text-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.text-section .quote {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  border-left: 2px solid var(--gold-accent);
  padding-left: 1.25rem;
  margin: 2.5rem 0;
  line-height: 1.7;
}

/* ─── IMAGE GRID ─── */
.image-grid {
  display: grid;
  gap: 1.5rem;
}

.image-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.image-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.image-grid-item {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.image-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-grid-item:hover img {
  transform: scale(1.05);
}

/* ─── COLLECTION CARDS ─── */
.collection-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.collection-card:hover img {
  transform: scale(1.05);
}

.collection-card .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.collection-card .overlay h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.2rem;
}

.collection-card .overlay span {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.collection-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

/* ─── TALKING POINTS ─── */
.talking-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.talking-point {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.talking-point h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.talking-point p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
}

/* ─── FEATURE CARDS ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.feature-card {
  padding: 2rem 0;
  border-top: 2px solid var(--gold-accent);
}

.feature-card h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
}

/* ─── MATERIALS TAGS ─── */
.materials-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.materials-tags span {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.5rem 1.25rem;
}

/* ─── PRICING BADGE ─── */
.price-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  background: var(--cream);
  padding: 0.6rem 1.5rem;
  margin-top: 1rem;
}

/* ─── DARK SECTION ─── */
.dark-section {
  background: var(--charcoal);
  color: #fff;
}

.dark-section .section-label {
  color: var(--silver-light);
}

.dark-section .section-title {
  color: #fff;
}

.dark-section p {
  color: rgba(255,255,255,0.55);
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(165deg, #1a1714 0%, #2a2520 50%, #352f28 100%);
  text-align: center;
  padding: 7rem 2rem;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(192,192,192,0.04) 0%, transparent 60%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section .section-label {
  color: var(--silver-light);
}

.cta-section .section-title {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.cta-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--silver-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(192,192,192,0.3);
  padding-bottom: 0.25rem;
  transition: all 0.3s ease;
  margin-bottom: 2.5rem;
}

.cta-email:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.cta-tagline {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  margin-top: 3rem;
}

.cta-note {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #141210;
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.4;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--silver-light);
}

.footer-copy {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

/* ─── FADE IN ANIMATION ─── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .image-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 2rem; }
  .talking-points { grid-template-columns: 1fr; }
  .collection-card.featured { grid-column: span 2; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(26, 23, 20, 0.98);
    padding: 2rem;
    gap: 1.5rem;
  }
  .page-hero { padding: 8rem 1.5rem 4rem; }
}

@media (max-width: 600px) {
  section { padding: 4rem 1.5rem; }
  .image-grid.cols-2,
  .image-grid.cols-3 { grid-template-columns: 1fr; }
  .collection-card.featured { grid-column: span 1; }
  .materials-tags { justify-content: center; }
}
