:root {
  --gold: #73275C;
  --purple: #903F8A;
  --dark: #111111;
  --dark-card: #1A1A1A;
  --text: #E8E0D0;
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  overflow-y: scroll;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* ── Grain overlay ── */
.grain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.grain-overlay::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  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)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.04;
}

/* ── Navbar ── */
.navbar {
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  z-index: 1000;
  padding-top: 10px;
  padding-bottom: 10px;
}

@media (min-width: 768px) {
  .navbar {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.navbar.scrolled {
  background: rgba(17, 17, 17, 0.92);
  box-shadow: 0 2px 30px rgba(0,0,0,0.6);
}
.nav-link {
  position: relative;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: none;
  color: var(--text);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover { color: var(--gold); }
.nav-link.active { color: var(--gold); }

/* ── Shimmer heading ── */
.shimmer {
  background: linear-gradient(90deg, var(--text) 0%, var(--gold) 40%, var(--gold) 60%, var(--text) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerMove 3s ease-in-out infinite;
}
@keyframes shimmerMove {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

/* ── Bokeh particles ── */
.bokeh {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(115,39,92,0.3), transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: floatBokeh var(--d, 8s) ease-in-out infinite alternate;
}
@keyframes floatBokeh {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.2; }
  50%  { opacity: 0.6; }
  100% { transform: translateY(-60px) translateX(30px) scale(1.2); opacity: 0.1; }
}

/* ── Text reveal ── */
.reveal-text {
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp 1s ease forwards;
}
.reveal-text:nth-child(1) { animation-delay: 0.2s; }
.reveal-text:nth-child(2) { animation-delay: 0.6s; }
.reveal-text:nth-child(3) { animation-delay: 1.0s; }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Service cards ── */
.service-card {
  background: var(--dark-card);
  border: 1px solid rgba(115,39,92,0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 40px rgba(115,39,92,0.15), 0 0 80px rgba(115,39,92,0.05);
  border-color: rgba(115,39,92,0.4);
}
.service-card-img {
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img {
  transform: scale(1.1);
}

/* ── Gold divider ── */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  width: 120px;
  margin: 0 auto;
}
.gold-divider.lg { width: 200px; }
.gold-divider.left { margin: 0; }

/* ── Stat counter ── */
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

/* ── Testimonial carousel ── */
.testimonial-card {
  background: var(--dark-card);
  border: 1px solid rgba(115,39,92,0.1);
  border-radius: 16px;
  min-width: 100%;
  padding: 2rem;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonial-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(115,39,92,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ── Instagram grid overlay ── */
.insta-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
.insta-item img { transition: transform 0.5s ease; }
.insta-item:hover img { transform: scale(1.1); }
.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.insta-item:hover .insta-overlay { opacity: 1; }

/* ── Masonry gallery ── */
.masonry {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 768px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(115,39,92,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.masonry-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(115,39,92,0.12);
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.08); }
.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.gallery-filter-btn {
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(115,39,92,0.3);
  color: var(--text);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(115,39,92,0.1);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
}
.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(115,39,92,0.15);
  border: 1px solid rgba(115,39,92,0.2);
  color: #fff;
  font-size: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  opacity: 0.6;
}
.lightbox-nav:hover { opacity: 1; background: rgba(115,39,92,0.3); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ── Pricing table ── */
.pricing-card {
  background: var(--dark-card);
  border: 1px solid rgba(115,39,92,0.12);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(115,39,92,0.08);
}
.pricing-card.gold {
  background: linear-gradient(145deg, #1A1A1A 0%, #222 100%);
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(115,39,92,0.12);
  position: relative;
}
.pricing-card.gold::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 1.25rem;
  border-radius: 999px;
}

/* ── Team cards ── */
.team-card {
  background: var(--dark-card);
  border: 1px solid rgba(115,39,92,0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.team-card:hover { transform: translateY(-4px); }
.team-role {
  display: inline-block;
  background: rgba(115,39,92,0.12);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
}

/* ── Value cards ── */
.value-card {
  background: var(--dark-card);
  border: 1px solid rgba(115,39,92,0.08);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(115,39,92,0.25);
}

/* ── Coverage badge ── */
.coverage-badge {
  background: var(--dark-card);
  border: 1px solid rgba(115,39,92,0.15);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.coverage-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(115,39,92,0.4);
}

/* ── Award badges ── */
.award-badge {
  background: var(--dark-card);
  border: 1px solid rgba(115,39,92,0.1);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.3s ease;
}
.award-badge:hover { transform: translateY(-3px); }

/* ── Form ── */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(115,39,92,0.15);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(115,39,92,0.08);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(232,224,208,0.35);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23D4AF37'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-select option {
  background: var(--dark);
  color: var(--text);
}

/* ── Toast notification ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99999;
  background: var(--dark-card);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 0 40px rgba(115,39,92,0.12);
  display: none;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  min-width: 280px;
}
.toast.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.toast-icon {
  width: 32px; height: 32px;
  background: rgba(115,39,92,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── WhatsApp FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

/* ── Alternating service layout ── */
.service-detail {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .service-detail { flex-direction: row; }
  .service-detail.reverse { flex-direction: row-reverse; }
  .service-detail > * { flex: 1; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(115,39,92,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(115,39,92,0.5); }

/* ── Mobile Nav Drawer ── */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 11, 11, 0.97);
  z-index: 999;
  padding: 80px 36px 40px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.4s;
  visibility: hidden;
  border-top: 2px solid var(--gold);
}

.mobile-nav.open {
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
  visibility: visible;
  will-change: transform;
}

.navbar-brand img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.mobile-nav .nav-link {
  font-size: 1.05rem;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  letter-spacing: 0.18em;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s;
  transition-delay: 0s;
}

.mobile-nav .nav-link:hover {
  color: var(--gold);
  transform: translateX(6px);
  border-bottom-color: rgba(115, 39, 92, 0.25);
}

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

.mobile-nav.open .nav-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.open .nav-link:nth-child(2) { transition-delay: 0.14s; }
.mobile-nav.open .nav-link:nth-child(3) { transition-delay: 0.20s; }
.mobile-nav.open .nav-link:nth-child(4) { transition-delay: 0.26s; }
.mobile-nav.open .nav-link:nth-child(5) { transition-delay: 0.32s; }

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10000;
  padding: 0.5rem;
  transition: color 0.3s;
}
.hamburger-btn:hover { color: #fff; }

@media (min-width: 768px) {
  .hamburger-btn {
    display: none;
  }
}

@media (max-width: 767px) {
  .hamburger-btn { display: flex; }
}

/* ── Pull quote ── */
.pull-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-style: italic;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .pull-quote { font-size: 2.25rem; }
}

/* ── CTA buttons ── */
.btn-gold {
  background: var(--gold);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
}
.btn-gold:hover {
  background: var(--gold);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(115,39,92,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ── Hero parallax feel ── */
.hero-section {
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
}

/* ── Section heading underline ── */
.section-heading {
  position: relative;
  display: inline-block;
}
.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0.75rem auto 0;
}

@media (max-width: 374px) {
  .stat-item:not(:last-child)::after { display: none; }
}
