/* ================================================
   HOUSE OF NIHIRA — styles.css
   ================================================ */

/* ── CSS VARIABLES ── */
:root {
  --gold: #B8860B;
  --gold-light: #C9A84C;
  --gold-pale: #E8C96D;
  --champagne: #7A5C1E;
  --black: #ffffff;
  --black-soft: #f5f0e8;
  --white-soft: #2a1f0a;
  --glass: rgba(201,168,76,0.07);
  --glass-border: rgba(184,134,11,0.25);
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #0a0a0a;
  font-family: 'Raleway', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ══════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════ */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .1s ease;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, width .3s, height .3s, opacity .3s;
}

body:hover .cursor-ring {
  opacity: 1;
}

/* ══════════════════════════════════════
   LOADING SCREEN
══════════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease, visibility 1s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: .5em;
  color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 2s infinite;
}

.loader-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-top: 1.5rem;
  animation: expandLine 2s ease forwards .4s;
}

.loader-pct {
  font-family: 'Raleway', sans-serif;
  font-size: .7rem;
  letter-spacing: .4em;
  color: var(--gold);
  margin-top: 1rem;
  font-weight: 300;
}

/* ══════════════════════════════════════
   PARTICLES CANVAS
══════════════════════════════════════ */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.4rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(255,255,255,.92), transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184,134,11,0.1);
  transition: background .4s;
}

nav.scrolled {
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(184,134,11,0.15);
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  letter-spacing: .35em;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.nav-tagline {
  font-size: .6rem;
  letter-spacing: .35em;
  color: rgba(201,168,76,.55);
  font-weight: 300;
  text-transform: uppercase;
}

.nav-gem {
  font-size: .9rem;
  color: var(--gold);
  letter-spacing: .2em;
}

/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(201,168,76,.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,168,76,.07) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 80% 70%, rgba(201,168,76,.06) 0%, transparent 60%),
    linear-gradient(160deg, #fffdf8 0%, #ffffff 40%, #fdfaf3 100%);
}

.hero-jewel-svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .13;
  pointer-events: none;
}

.hero-jewel-svg svg {
  width: min(700px, 90vw);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 2;
  animation: glowPulse 5s ease-in-out infinite;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 35%, rgba(255,253,248,.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 860px;
  padding: 2rem 2rem;
  animation: heroReveal 1.8s cubic-bezier(.16,1,.3,1) forwards;
  opacity: 0;
}

.hero-eyebrow {
  font-size: .65rem;
  letter-spacing: .55em;
  color: #0a0a0a;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: center;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.01em;
  color: #0a0a0a;
  margin-bottom: .4rem;
}

.hero-heading em {
  font-style: italic;
  color: #0a0a0a;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-rule {
  width: 80px;
  height: 1px;
  margin: 2rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  color: #111111;
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 3rem;
  letter-spacing: .03em;
}

/* ══════════════════════════════════════
   COUNTDOWN TIMER
══════════════════════════════════════ */
.countdown-wrap {
  display: flex;
  justify-content: center;
  gap: clamp(.8rem, 3vw, 2.5rem);
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.count-box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: 4px;
  padding: clamp(.8rem, 2vw, 1.2rem) clamp(1rem, 3vw, 2rem);
  min-width: clamp(68px, 12vw, 100px);
  position: relative;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}

.count-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.count-box:hover {
  border-color: rgba(201,168,76,.5);
  box-shadow: 0 0 30px rgba(201,168,76,.1);
}

.count-box:hover::before {
  opacity: 1;
}

.count-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: #8B6914;
  display: block;
  line-height: 1;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.count-box:hover .count-num {
  transform: scale(1.08);
}

.count-label {
  font-size: .55rem;
  letter-spacing: .35em;
  color: #111111;
  text-transform: uppercase;
  margin-top: .4rem;
  display: block;
  font-weight: 500;
}

.count-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: rgba(201,168,76,.3);
  align-self: center;
  margin-top: -.5rem;
  animation: blink 1.5s ease-in-out infinite;
}

/* ══════════════════════════════════════
   EMAIL SUBSCRIPTION FORM
══════════════════════════════════════ */
.email-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(20px);
  transition: border-color .3s, box-shadow .3s;
}

.email-form:focus-within {
  border-color: rgba(201,168,76,.55);
  box-shadow: 0 0 40px rgba(201,168,76,.1);
}

.email-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 1rem 1.5rem;
  font-family: 'Raleway', sans-serif;
  font-size: .8rem;
  letter-spacing: .08em;
  color: #0a0a0a;
  font-weight: 400;
}

.email-form input::placeholder {
  color: rgba(0,0,0,.4);
}

.btn-notify {
  padding: .9rem 2rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  border: none;
  cursor: none;
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .25em;
  color: var(--black);
  font-weight: 600;
  border-radius: 50px;
  transition: background-position .5s, transform .3s, box-shadow .3s;
  white-space: nowrap;
}

.btn-notify:hover {
  background-position: 100% 100%;
  transform: scale(1.03);
  box-shadow: 0 6px 30px rgba(201,168,76,.35);
}

/* ══════════════════════════════════════
   SOCIAL MEDIA ICONS
══════════════════════════════════════ */
.socials {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: .5rem;
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,168,76,.6);
  text-decoration: none;
  transition: all .3s ease;
  font-size: .9rem;
  backdrop-filter: blur(10px);
  background: rgba(201,168,76,.04);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201,168,76,.15);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ══════════════════════════════════════
   DIAMOND SPARKLE ANIMATION
══════════════════════════════════════ */
.sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 6;
  animation: sparkleAnim var(--dur,.8s) ease forwards;
}

/* ══════════════════════════════════════
   WHATSAPP FLOATING BUTTON
══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #128C7E, #25D366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: transform .3s, box-shadow .3s;
  animation: waPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37,211,102,.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  position: relative;
  z-index: 10;
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(184,134,11,.15);
  background: linear-gradient(to top, rgba(250,245,235,.9), transparent);
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: .45em;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.footer-divider {
  width: 60px;
  height: 1px;
  margin: 1rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-copy {
  font-size: .6rem;
  letter-spacing: .35em;
  color: #111111;
  font-weight: 400;
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   SUCCESS MESSAGE
══════════════════════════════════════ */
.success-msg {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--gold-light);
  margin-top: .8rem;
  letter-spacing: .05em;
  opacity: 0;
  transition: opacity .5s;
  height: 1.5rem;
}

.success-msg.show {
  opacity: 1;
}

/* ══════════════════════════════════════
   JEWELLERY SHOWCASE STRIP
══════════════════════════════════════ */
.jewel-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 4rem 0;
  position: relative;
  z-index: 10;
}

.jewel-strip-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,11,.35), transparent);
}

.jewel-strip-label {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .45em;
  color: #0a0a0a;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

/* ══════════════════════════════════════
   JEWELLERY SHOWCASE CARDS
══════════════════════════════════════ */
.jewel-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 4rem 5rem;
  position: relative;
  z-index: 10;
}

.jewel-card {
  background: #fdfaf4;
  border: 1px solid rgba(184,134,11,.18);
  border-radius: 6px;
  padding: 2.5rem 1.8rem 2rem;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
  position: relative;
  overflow: hidden;
}

.jewel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #B8860B, transparent);
  opacity: 0;
  transition: opacity .35s;
}

.jewel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(184,134,11,.12);
  border-color: rgba(184,134,11,.4);
}

.jewel-card:hover::before {
  opacity: 1;
}

.jewel-card-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(201,168,76,.08), transparent);
  border-radius: 50%;
  transition: transform .4s ease;
}

.jewel-card:hover .jewel-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.jewel-card-icon svg {
  width: 80px;
  height: 80px;
}

.jewel-card-title {
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  letter-spacing: .3em;
  color: #0a0a0a;
  margin-bottom: .9rem;
  font-weight: 500;
  text-transform: uppercase;
}

.jewel-card-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem;
  color: #111111;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.jewel-card-tag {
  display: inline-block;
  font-size: .55rem;
  letter-spacing: .3em;
  color: #B8860B;
  border: 1px solid rgba(184,134,11,.35);
  padding: .3rem .9rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Raleway', sans-serif;
}

/* ══════════════════════════════════════
   KEYFRAME ANIMATIONS
══════════════════════════════════════ */
@keyframes expandLine {
  to { width: 200px; }
}

@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@keyframes glowPulse {
  0%,100% { opacity: .8; transform: translate(-50%,-55%) scale(1); }
  50%      { opacity: 1;  transform: translate(-50%,-55%) scale(1.1); }
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%,100% { opacity: .3; }
  50%     { opacity: .9; }
}

@keyframes sparkleAnim {
  0%   { opacity: 0; transform: scale(0) rotate(0deg); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.5) rotate(180deg) translateY(-30px); }
}

@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.35); }
  50%     { box-shadow: 0 4px 35px rgba(37,211,102,.6); }
}

/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════ */
@media (max-width: 900px) {
  .jewel-showcase { grid-template-columns: repeat(2, 1fr); padding: 2rem 2rem 4rem; }
  .jewel-strip    { padding: 2rem 2rem 0; }
}

@media (max-width: 600px) {
  nav             { padding: 1.2rem 1.5rem; }
  .count-sep      { display: none; }
  .email-form     { flex-direction: column; border-radius: 12px; }
  .email-form input { padding: 1rem 1.5rem; border-bottom: 1px solid var(--glass-border); }
  .btn-notify     { border-radius: 0 0 12px 12px; padding: 1rem; }
}

@media (max-width: 500px) {
  .jewel-showcase { grid-template-columns: 1fr; }
}