/* ═══════════════════════════════════════
   CHAKIRI JEWELRY – Luxury CSS
   Dark · Gold · Subtle Red Accent
═══════════════════════════════════════ */

:root {
  --bg:        #0a0804;
  --bg2:       #100d08;
  --bg3:       #161008;
  --gold:      #c9a84c;
  --gold-lt:   #e2c06e;
  --gold-dk:   #9c7a2e;
  --red:       #8b1a1a;
  --red-lt:    #b22222;
  --text:      #f0e6d3;
  --text-dim:  #9e8e72;
  --border:    rgba(201,168,76,0.18);
  --ff-serif:  'Cormorant Garamond', Georgia, serif;
  --ff-sans:   'Montserrat', sans-serif;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  font-weight: 300;
  overflow-x: hidden;
}

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dk); border-radius: 3px; }

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  border-radius: 1px;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #0a0804;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
}

/* ══════════════════════════════════
   SECTION SHARED
══════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
}
.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto 0;
}

/* ══════════════════════════════════
   NAVBAR
══════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 5%;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(10,8,4,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 5%;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
}
.nav-logo img {
  height: 40px;
  filter: brightness(1);
  transition: opacity 0.3s;
}
.nav-logo:hover img { opacity: 0.8; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 1px;
  font-size: 0.7rem;
}
.nav-links .nav-cta:hover {
  background: var(--gold);
  color: #0a0804;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.8s;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,8,4,0.95) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(10,8,4,0.6) 0%, transparent 40%),
    radial-gradient(ellipse at center, transparent 30%, rgba(10,8,4,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  animation: fadeUp 1.2s var(--ease) both;
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-lt);
}
.hero-sub {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeIn 2s 1.5s both;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s infinite;
}
.hero-scroll p {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.video-dots {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}
.vdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.vdot.active {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* ══════════════════════════════════
   BAND
══════════════════════════════════ */
.band {
  overflow: hidden;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-lt) 50%, var(--red) 100%);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 14px 0;
}
.band-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
}
.band-track span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,230,211,0.9);
  flex-shrink: 0;
}

/* ══════════════════════════════════
   SERVICES
══════════════════════════════════ */
.services {
  padding: 120px 5%;
  max-width: 1300px;
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  position: relative;
  padding: 60px 40px;
  background: var(--bg2);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  background: var(--bg3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-card.featured {
  background: linear-gradient(160deg, var(--bg3), rgba(201,168,76,0.04));
  border-color: rgba(201,168,76,0.35);
}
.service-card.featured::before { transform: scaleX(1); }
.svc-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
}
.svc-icon svg { width: 50px; height: 50px; }
.service-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}
.service-card p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--text-dim);
}
.svc-line {
  width: 40px;
  height: 1px;
  background: var(--gold-dk);
  margin: 24px auto 0;
}
.svc-badge {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 14px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dk);
  border-radius: 20px;
}

/* ══════════════════════════════════
   VIDEO GALLERY
══════════════════════════════════ */
.video-section {
  padding: 120px 5%;
  background: var(--bg2);
}
.video-section .section-header { max-width: 1300px; margin: 0 auto 64px; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 3px;
  max-width: 1300px;
  margin: 0 auto;
}
.vg-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  aspect-ratio: 9/16;
}
.vg-item:nth-child(1) { grid-column: span 1; grid-row: span 2; aspect-ratio: auto; }
.vg-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.4s;
  opacity: 0.7;
}
.vg-item:hover video {
  transform: scale(1.04);
  opacity: 0.9;
}
.vg-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
  transition: opacity 0.3s;
}
.vg-play {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(201,168,76,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(10,8,4,0.4);
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}
.vg-item:hover .vg-play {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  transform: scale(1.1);
}
.vg-play svg { width: 22px; height: 22px; margin-left: 3px; }

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lb-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
}
.lb-video {
  max-width: 90vw;
  max-height: 88vh;
  border: 1px solid var(--border);
}

/* ══════════════════════════════════
   DELIVERY BAND
══════════════════════════════════ */
.delivery-band {
  padding: 60px 5%;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.delivery-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.dlv-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.dlv-icon svg { width: 28px; height: 28px; }
.delivery-inner div { flex: 1; }
.delivery-inner h4 {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--text);
}
.delivery-inner p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact {
  padding: 120px 5%;
  background: var(--bg2);
}
.contact .section-header { max-width: 1300px; margin: 0 auto 64px; }
.contact-wrap {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.info-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.info-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: 2px;
}
.info-icon svg { width: 18px; height: 18px; }
.info-block h4 {
  font-family: var(--ff-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.info-block p, .info-block a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-dim);
}
.info-block a { transition: color 0.3s; }
.info-block a:hover { color: var(--gold); }
.wa-btn { align-self: flex-start; }
.map-wrap {
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
  filter: grayscale(30%) contrast(1.05);
}
.map-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--bg3);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  border-top: 1px solid var(--border);
  transition: background 0.3s;
}
.map-link:hover { background: rgba(201,168,76,0.06); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  padding: 70px 5% 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  height: 38px;
  margin: 0 auto 16px;
  opacity: 0.85;
}
.footer-tagline {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dk), transparent);
  margin: 0 auto 24px;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(158,142,114,0.5);
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════
   ANIMATIONS
══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════
   MOBILE NAV OVERLAY
══════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,8,4,0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  z-index: 1000;
}
.mobile-nav.open { display: flex; }
.mnav-link {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
}
.mnav-link:hover { color: var(--gold); }
.mnav-cta {
  margin-top: 12px;
  padding: 14px 36px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  border-radius: 1px;
}
.mnav-cta:hover { background: rgba(201,168,76,0.08); }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: span 2; }
  .contact-wrap { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .vg-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
  .nav-links { display: none; } /* desktop nav hidden on mobile */
  .hamburger { display: flex; z-index: 1001; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: span 1; }
  .video-grid { grid-template-columns: 1fr; }
  .vg-item:nth-child(1) { grid-column: span 1; aspect-ratio: 9/16; }
  .delivery-inner { flex-direction: column; text-align: center; }
  .delivery-inner div { text-align: center; }
  .wa-btn { align-self: center; }
  .hero-title { font-size: clamp(2.4rem, 12vw, 4rem); }
  .video-dots { display: none; }
  .map-wrap iframe { height: 300px; }
  .band-track { animation-duration: 6s; }
}
@media (max-width: 480px) {
  .services { padding: 80px 4%; }
  .video-section { padding: 80px 4%; }
  .contact { padding: 80px 4%; }
  .service-card { padding: 44px 28px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 220px; justify-content: center; }
  .band-track { animation-duration: 5s; }
}
