/* =============================================
   DARSHAN JEWELLERS — style.css
   Gold Manufacturer Website
   ============================================= */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark:  #8B6914;
  --cream:      #FAF7F0;
  --dark:       #1A1208;
  --text:       #3A2E10;
  --muted:      #7A6A40;
  --border:     rgba(201, 168, 76, 0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-weight: 300;
  overflow-x: hidden;
}

/* ---------- Loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.loader-logo {
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.loader-logo-img {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(5deg);
}

.loader-bar-wrap {
  width: 200px;
  height: 1px;
  background: rgba(201, 168, 76, 0.2);
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.05s linear;
}

.loader-pct {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold-light);
  opacity: 0.6;
}

/* ---------- Cursor Glow ---------- */
#cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ---------- Navigation ---------- */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }

nav {
  background: rgba(250, 247, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  opacity: 0;
  transform: translateY(-100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 80px;
  width: 80px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(201,168,76,0.4));
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
}

.nav-logo-text em {
  font-style: normal;
  color: var(--gold);
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  font-weight: 400;
  margin-top: 3px;
}

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

.nav-links a {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  padding: 8px 20px;
  cursor: pointer;
  background: none;
  font-family: 'Jost', sans-serif;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
}

.hero-ornament {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ornament::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 50%;
}

.hero-ornament-inner {
  width: 200px;
  height: 200px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  color: var(--gold);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  max-width: 560px;
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
}

.hero-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(100%);
}

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

.hero-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 420px;
  opacity: 0;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  opacity: 0;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--gold-dark);
  color: #fff;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s;
}

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

.btn-outline {
  background: none;
  color: var(--gold-dark);
  padding: 14px 32px;
  border: 1px solid var(--gold);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
}

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

/* ---------- Marquee ---------- */
.marquee-wrap {
  background: var(--gold-dark);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

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

.marquee-item {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.marquee-item::after {
  content: '◆';
  color: var(--gold-light);
  font-size: 8px;
}

/* ---------- Section Commons ---------- */
section { padding: 5rem 2rem; }

.section-tag {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 em {
  font-style: italic;
  color: var(--gold-dark);
}

/* ---------- About ---------- */
.about-section { padding: 6rem 2rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #f5edd4, #efe0a8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual-inner {
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  color: rgba(201, 168, 76, 0.3);
  line-height: 1;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gold-dark);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.about-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.about-badge-txt {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

.about-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  padding: 1rem;
  border: 1px solid var(--border);
  background: rgba(201, 168, 76, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.feature-icon { font-size: 20px; margin-bottom: 0.5rem; }
.feature-title { font-size: 13px; font-weight: 500; color: var(--dark); }
.feature-desc { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- Products / Collections ---------- */
.products-section {
  background: var(--dark);
  padding: 6rem 2rem;
}

.products-section h2 { color: var(--cream); }

.products-section .section-tag { color: var(--gold-light); }
.products-section .section-tag::before { background: var(--gold-light); }

.products-header {
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(201, 168, 76, 0.15);
}

.product-card {
  background: #221A08;
  padding: 2.5rem 2rem;
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}

.product-card:hover {
  background: #2C2010;
  transform: scale(1.02);
}

.product-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
  font-weight: 400;
  line-height: 1.2;
  clip-path: none;
}

.product-desc {
  font-size: 13px;
  color: rgba(250, 247, 240, 0.5);
  line-height: 1.7;
}

.product-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 4px 10px;
}

/* ---------- Process ---------- */
.process-outer { padding: 6rem 2rem; }

.process-grid { list-style: none; }

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1rem;
  transform-origin: left;
}

.step-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  clip-path: none;
  font-family: 'Jost', sans-serif;
}

.step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--cream);
  padding: 6rem 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-info p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details { list-style: none; }

.contact-details li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.contact-details .ci { color: var(--gold); font-size: 18px; margin-top: 2px; }
.contact-details .cl { color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.contact-details .cv { color: var(--dark); font-weight: 400; }
.contact-details .cv a { color: var(--dark); text-decoration: none; }
.contact-details .cv a:hover { color: var(--gold); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field textarea { resize: none; }

.submit-btn {
  background: var(--gold-dark);
  color: #fff;
  padding: 16px;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Map ---------- */
.map-section {
  padding: 5rem 2rem 0;
  background: var(--cream);
  overflow: hidden;
}

.map-header {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.map-header .section-tag {
  justify-content: center;
}

.map-header .section-tag::before { display: none; }

.map-address {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-top: 0.75rem;
}

.map-embed {
  width: 100%;
  height: 520px;
  border-top: 2px solid var(--gold);
}

.map-embed iframe {
  display: block;
  filter: sepia(20%) contrast(95%);
}

/* ---------- Footer ---------- */
footer {
  background: var(--dark);
  color: rgba(250, 247, 240, 0.5);
  padding: 2rem;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-img {
  width: 80px;
  height: auto;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(5deg) opacity(0.85);
}

.footer-sub {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-divider {
  width: 50px;
  height: 1px;
  background: rgba(201, 168, 76, 0.3);
  margin: 0.4rem auto;
}

.footer-copy { font-size: 11px; }

/* ---------- GSAP Initial States ---------- */
.fade-up   { opacity: 0; transform: translateY(40px); }
.fade-left  { opacity: 0; transform: translateX(-50px); }
.fade-right { opacity: 0; transform: translateX(50px); }
.scale-in  { opacity: 0; transform: scale(0.85); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .process-grid  { grid-template-columns: 1fr 1fr; }
  .hero-ornament { display: none; }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .nav-links     { display: none; }
  .hero-stats    { gap: 1.5rem; }
  .features      { grid-template-columns: 1fr; }
}
