/* 
  ═══════════════════════════════════════════════════════════════
  RISHU PHOTOGRAPHY — Premium Design System
  Theme: Deep Maroon × Champagne Gold × Warm Cream
  Aesthetic: Luxury Indian Wedding Portfolio
  ═══════════════════════════════════════════════════════════════
*/

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ─── CSS Variables (Design Tokens) ─── */
:root {
  /* Colors */
  --maroon-deep: #2a0305;
  --maroon-primary: #3d080c;
  --maroon-warm: #5a1a0e;
  --maroon-light: #7a2e1d;
  --gold-primary: #c5a059;
  --gold-light: #e5c583;
  --gold-dark: #997839;
  --gold-pale: #f0ddb0;
  --cream: #fdf5ea;
  --cream-dark: #f2e6d0;
  --white: #fdfaf6;
  --text-dark: #2a1810;
  --text-body: #4a3828;
  --text-muted-light: #c9b8a8;
  --text-muted-dark: #8a7a6a;
  --overlay-dark: rgba(42, 3, 5, 0.85);
  --overlay-light: rgba(42, 3, 5, 0.5);

  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #f0ddb0, #e5c583, #c5a059, #997839);
  --gold-gradient-soft: linear-gradient(135deg, #e5c583 0%, #c5a059 100%);
  --maroon-gradient: linear-gradient(180deg, #3d080c 0%, #2a0305 100%);
  --hero-vignette: radial-gradient(ellipse at center, rgba(42, 3, 5, 0.15) 0%, rgba(42, 3, 5, 0.8) 100%);

  /* Typography */
  --font-script: 'Alex Brush', cursive;
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: 6rem;
  --container-max: 1320px;
  --card-radius: 16px;

  /* Transitions */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.4s var(--ease-luxury);

  /* Mehndi Pattern */
  --mehndi-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg stroke='%23c5a059' stroke-width='0.6' fill='none' opacity='0.055'%3E%3Ccircle cx='60' cy='60' r='6'/%3E%3Ccircle cx='60' cy='60' r='12' stroke-dasharray='2,2'/%3E%3Ccircle cx='60' cy='60' r='20'/%3E%3Ccircle cx='60' cy='60' r='30' stroke-dasharray='1.5,2.5'/%3E%3Ccircle cx='60' cy='60' r='42'/%3E%3Ccircle cx='60' cy='60' r='55' stroke-dasharray='3,4'/%3E%3Cpath d='M60,18 C62,30 58,30 60,18'/%3E%3Cpath d='M60,102 C62,90 58,90 60,102'/%3E%3Cpath d='M18,60 C30,62 30,58 18,60'/%3E%3Cpath d='M102,60 C90,62 90,58 102,60'/%3E%3Cpath d='M34,34 C42,42 42,42 34,34'/%3E%3Cpath d='M86,86 C78,78 78,78 86,86'/%3E%3Cpath d='M86,34 C78,42 78,42 86,34'/%3E%3Cpath d='M34,86 C42,78 42,78 34,86'/%3E%3Ccircle cx='60' cy='60' r='4' fill='%23c5a059' opacity='0.08'/%3E%3Ccircle cx='0' cy='0' r='15'/%3E%3Ccircle cx='120' cy='0' r='15'/%3E%3Ccircle cx='0' cy='120' r='15'/%3E%3Ccircle cx='120' cy='120' r='15'/%3E%3Ccircle cx='0' cy='0' r='28' stroke-dasharray='2,3'/%3E%3Ccircle cx='120' cy='0' r='28' stroke-dasharray='2,3'/%3E%3Ccircle cx='0' cy='120' r='28' stroke-dasharray='2,3'/%3E%3Ccircle cx='120' cy='120' r='28' stroke-dasharray='2,3'/%3E%3C/g%3E%3C/svg%3E");

  /* Leaf Branch SVG */
  --leaf-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 400' opacity='0.12'%3E%3Cg fill='none' stroke='%23c5a059' stroke-width='1.2'%3E%3Cpath d='M40,0 Q45,50 40,100 Q35,150 40,200 Q45,250 40,300 Q35,350 40,400'/%3E%3Cpath d='M40,40 Q20,30 10,15'/%3E%3Cpath d='M40,40 Q55,25 65,10'/%3E%3Cpath d='M40,80 Q18,72 5,55'/%3E%3Cpath d='M40,80 Q58,68 70,50'/%3E%3Cpath d='M40,120 Q22,108 8,95'/%3E%3Cpath d='M40,120 Q60,110 72,92'/%3E%3Cpath d='M40,160 Q20,148 6,135'/%3E%3Cpath d='M40,160 Q58,150 68,132'/%3E%3Cpath d='M40,200 Q22,190 10,175'/%3E%3Cpath d='M40,200 Q60,192 70,175'/%3E%3Cpath d='M40,240 Q18,230 8,215'/%3E%3Cpath d='M40,240 Q56,232 68,218'/%3E%3Cpath d='M40,280 Q22,270 10,255'/%3E%3Cpath d='M40,280 Q60,272 72,258'/%3E%3Cpath d='M40,320 Q20,310 8,295'/%3E%3Cpath d='M40,320 Q58,312 70,298'/%3E%3Cpath d='M40,360 Q22,350 12,335'/%3E%3Cpath d='M40,360 Q60,352 68,338'/%3E%3C/g%3E%3C/svg%3E");
  --leaf-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 400' opacity='0.12'%3E%3Cg fill='none' stroke='%23c5a059' stroke-width='1.2' transform='translate(80,0) scale(-1,1)'%3E%3Cpath d='M40,0 Q45,50 40,100 Q35,150 40,200 Q45,250 40,300 Q35,350 40,400'/%3E%3Cpath d='M40,40 Q20,30 10,15'/%3E%3Cpath d='M40,40 Q55,25 65,10'/%3E%3Cpath d='M40,80 Q18,72 5,55'/%3E%3Cpath d='M40,80 Q58,68 70,50'/%3E%3Cpath d='M40,120 Q22,108 8,95'/%3E%3Cpath d='M40,120 Q60,110 72,92'/%3E%3Cpath d='M40,160 Q20,148 6,135'/%3E%3Cpath d='M40,160 Q58,150 68,132'/%3E%3Cpath d='M40,200 Q22,190 10,175'/%3E%3Cpath d='M40,200 Q60,192 70,175'/%3E%3Cpath d='M40,240 Q18,230 8,215'/%3E%3Cpath d='M40,240 Q56,232 68,218'/%3E%3Cpath d='M40,280 Q22,270 10,255'/%3E%3Cpath d='M40,280 Q60,272 72,258'/%3E%3Cpath d='M40,320 Q20,310 8,295'/%3E%3Cpath d='M40,320 Q58,312 70,298'/%3E%3Cpath d='M40,360 Q22,350 12,335'/%3E%3Cpath d='M40,360 Q60,352 68,338'/%3E%3C/g%3E%3C/svg%3E");
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--maroon-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--maroon-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

/* ─── Utility Classes ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.gold-gradient-text {
  background: var(--gold-gradient-soft);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title-main {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--white);
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted-light);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gold-line {
  width: 80px;
  height: 2px;
  background: var(--gold-gradient-soft);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient-soft);
  color: var(--maroon-deep);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 197, 131, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--gold-primary);
}

.btn-outline:hover {
  background: var(--gold-gradient-soft);
  color: var(--maroon-deep);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

.btn-sm {
  padding: 0.55rem 1.5rem;
  font-size: 0.65rem;
}

.btn-lg {
  padding: 1rem 2.8rem;
  font-size: 0.8rem;
}

/* ══════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

.header-bar {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled .header-bar {
  background: rgba(42, 3, 5, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-script);
  font-size: 2.8rem;
  line-height: 0.85;
  color: var(--gold-light);
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--text-muted-light);
  margin-top: 2px;
  padding-left: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 1px;
  position: relative;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient-soft);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 600;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('assets/hero_background.png') no-repeat 54% 25%/cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--hero-vignette);
  z-index: 1;
}

.hero-gradient-bottom {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--maroon-primary) 0%, transparent 100%);
  z-index: 2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(29, 161, 242, 0.12);
  border: 1px solid rgba(29, 161, 242, 0.35);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(6px);
}

.hero-badge svg {
  width: 16px; height: 16px; fill: #1da1f2;
}

.hero-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--white);
}

.hero-title-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.hero-script {
  font-family: var(--font-script);
  font-size: 7rem;
  color: var(--gold-light);
  position: absolute;
  top: -4.5rem;
  left: 3%;
  transform: rotate(-5deg);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
  pointer-events: none;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 6px;
  line-height: 1.15;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
  padding-top: 1.5rem;
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero-pipe {
  color: var(--gold-primary);
  margin: 0 0.3rem;
}

/* ══════════════════════════════════════════════════════
   SECTION WITH MEHNDI BACKGROUND
   ══════════════════════════════════════════════════════ */
.section-mehndi {
  background-color: var(--maroon-primary);
  background-image: var(--mehndi-svg);
  background-repeat: repeat;
  background-size: 120px;
  position: relative;
  padding: var(--section-pad) 0;
  border-top: 3px solid var(--gold-primary);
}

/* Leaf branch decorations */
.section-mehndi::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 100%;
  background-image: var(--leaf-left);
  background-repeat: repeat-y;
  background-size: 80px 400px;
  pointer-events: none;
  z-index: 1;
}

.section-mehndi::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 100%;
  background-image: var(--leaf-right);
  background-repeat: repeat-y;
  background-size: 80px 400px;
  pointer-events: none;
  z-index: 1;
}

.section-mehndi > .container {
  position: relative;
  z-index: 5;
}

/* ══════════════════════════════════════════════════════
   WEDDING STORIES CARDS (Dark Cards)
   ══════════════════════════════════════════════════════ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-bottom: 4rem;
}

/* Responsive Split Rows */
.split-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}

.split-row-secondary {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

/* Instagram Grid Columns */
.stories-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stories-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Instagram Embed Wrapper to Hide Likes, Comments, Headers */
.instagram-embed-wrapper {
  width: 100%;
  height: 290px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(197, 160, 89, 0.25);
  background: #000;
  transition: var(--transition);
}

.instagram-embed-wrapper:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.25);
  transform: translateY(-4px);
}

.instagram-embed-wrapper iframe {
  width: 100%;
  height: 480px;
  border: none;
  margin-top: -55px;
}

/* Larger height on phone for better image details & zoom */
@media (max-width: 768px) {
  .instagram-embed-wrapper {
    height: 380px;
  }
  .instagram-embed-wrapper iframe {
    height: 520px;
    margin-top: -55px;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .split-row, .split-row-secondary {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .stories-grid-3col, .stories-grid-2col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.story-card {
  background: linear-gradient(180deg, rgba(42, 3, 5, 0.6) 0%, rgba(42, 3, 5, 0.95) 100%);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(197, 160, 89, 0.1);
}

.story-card-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.story-card-img img {
  width: 100%; height: 100%;
  transition: transform 0.7s var(--ease-luxury);
}

.story-card:hover .story-card-img img {
  transform: scale(1.08);
}

/* Play button overlay for cinematography cards */
.play-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: var(--transition);
}

.play-overlay:hover {
  background: rgba(0,0,0,0.15);
}

.play-btn-icon {
  width: 60px; height: 60px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.play-btn-icon svg {
  width: 24px; height: 24px;
  fill: white;
  margin-left: 3px;
}

.story-card:hover .play-btn-icon {
  background: var(--gold-gradient-soft);
  border-color: var(--gold-light);
  transform: scale(1.1);
}

.story-card:hover .play-btn-icon svg {
  fill: var(--maroon-deep);
}

.story-card-body {
  padding: 1.5rem 1.2rem 1.8rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.story-card-sub {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted-light);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.story-card-location {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold-primary);
  margin-bottom: 1.2rem;
}

/* ══════════════════════════════════════════════════════
   CELEBRATIONS SECTION (Cream Cards)
   ══════════════════════════════════════════════════════ */
.celebrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.celebration-card {
  background: var(--cream);
  border: 1px solid var(--gold-primary);
  border-radius: var(--card-radius);
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: var(--transition);
}

.celebration-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(197, 160, 89, 0.25);
  border-color: var(--gold-light);
}

.celebration-card .card-thumb {
  width: 100%;
  height: 170px;
  border-radius: 10px;
  overflow: visible; /* Changed to visible for the stack overlap */
  border: none;
  position: relative;
}

/* Card Stack Container (Vanilla Port of React Stack Component) */
.card-stack-container {
  position: relative;
  width: 100%;
  height: 170px;
  perspective: 1000px;
}

.card-stack-item {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  /* Custom cubic-bezier transition to simulate Framer Motion spring/bounce physics */
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.255), opacity 0.5s ease, z-index 0.5s ease;
  transform-origin: 90% 90%;
  cursor: pointer;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.card-stack-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}



.celebration-card .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.8rem 0.4rem 0.4rem;
  text-align: center;
}

.card-script {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--gold-primary);
  line-height: 1;
}

.card-heading {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--maroon-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0.3rem 0;
}

.card-text {
  font-size: 0.72rem;
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.btn-card-gold {
  display: block;
  background: var(--gold-gradient-soft);
  color: var(--maroon-deep);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.2);
}

.btn-card-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS (Cream Cards with Avatar)
   ══════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--gold-primary);
  border-radius: var(--card-radius);
  padding: 2.8rem 1rem 1.2rem;
  text-align: center;
  position: relative;
  margin-top: 1.8rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-light);
  box-shadow: 0 16px 40px rgba(197, 160, 89, 0.25);
}

.testimonial-avatar {
  position: absolute;
  top: -1.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  padding: 3px;
  background: var(--gold-gradient-soft);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.testimonial-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid var(--cream);
}

.testimonial-name {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.45;
}

/* ══════════════════════════════════════════════════════
   STATS / COUNTERS SECTION
   ══════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--maroon-deep);
  padding: 3.5rem 0;
  border-top: 2px solid rgba(197, 160, 89, 0.15);
  border-bottom: 2px solid rgba(197, 160, 89, 0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-item .stat-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted-light);
}

/* ══════════════════════════════════════════════════════
   SERVICES PAGE
   ══════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: linear-gradient(180deg, rgba(42, 3, 5, 0.5) 0%, rgba(42, 3, 5, 0.9) 100%);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--card-radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.service-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--gold-gradient-soft);
  display: flex; align-items: center; justify-content: center;
}

.service-icon svg {
  width: 28px; height: 28px;
  fill: var(--maroon-deep);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.8rem;
  color: var(--text-muted-light);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════
   GALLERY PAGE (Masonry Grid)
   ══════════════════════════════════════════════════════ */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: var(--text-muted-light);
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-gradient-soft);
  color: var(--maroon-deep);
  border-color: transparent;
}

.gallery-masonry {
  columns: 4;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(197, 160, 89, 0.15);
  transition: var(--transition);
}

.gallery-item:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.2);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease-luxury);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(42, 3, 5, 0.8) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-label {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold-light);
}

/* ══════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════ */
.about-hero {
  padding: calc(var(--section-pad) + 5rem) 0 var(--section-pad);
  background: var(--maroon-primary);
  background-image: var(--mehndi-svg);
  background-size: 120px;
  border-bottom: 3px solid var(--gold-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.about-photo {
  border-radius: 20px;
  overflow: visible; /* Allow card and rope to render outside boundaries */
  border: none;
  box-shadow: none;
}

.about-photo img {
  width: 100%; height: 100%; min-height: 400px;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.about-text p {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.about-text .signature {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--gold-light);
  margin-top: 1.5rem;
}

/* ══════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  background: rgba(42, 3, 5, 0.5);
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.15);
}

.form-input::placeholder {
  color: rgba(201, 184, 168, 0.5);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

select.form-input {
  appearance: none;
  cursor: pointer;
}

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

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 45px; height: 45px;
  min-width: 45px;
  border-radius: 50%;
  background: var(--gold-gradient-soft);
  display: flex; align-items: center; justify-content: center;
}

.contact-info-icon svg {
  width: 20px; height: 20px;
  fill: var(--maroon-deep);
}

.contact-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.2rem;
}

.contact-info-value {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  line-height: 1.4;
}

.contact-info-value a:hover {
  color: var(--gold-light);
}

/* Map Embed */
.map-embed {
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.2);
  margin-top: 2rem;
  height: 250px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.6) contrast(1.1);
}

/* ══════════════════════════════════════════════════════
   PAGE HERO (Sub-pages)
   ══════════════════════════════════════════════════════ */
.page-hero {
  padding: 10rem 0 4rem;
  background: var(--maroon-primary);
  background-image: var(--mehndi-svg);
  background-size: 120px;
  text-align: center;
  border-bottom: 3px solid var(--gold-primary);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,3,5,0.3) 0%, rgba(42,3,5,0.7) 100%);
}

.page-hero .container {
  position: relative; z-index: 5;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
  margin-bottom: 0.8rem;
}

.page-hero-sub {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted-light);
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.site-footer {
  background-color: var(--maroon-deep);
  background-image: var(--mehndi-svg);
  background-size: 120px;
  border-top: 3px solid var(--gold-primary);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .brand-name {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.footer-brand .footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted-light);
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 260px;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted-light);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-muted-light);
}

.footer-contact-item svg {
  width: 16px; height: 16px;
  fill: var(--gold-primary);
  min-width: 16px;
}

.footer-contact-item a:hover {
  color: var(--gold-light);
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.social-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.3);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}

.social-circle svg {
  width: 15px; height: 15px;
  fill: var(--gold-primary);
  transition: var(--transition);
}

.social-circle:hover {
  background: var(--gold-gradient-soft);
  border-color: transparent;
  transform: translateY(-3px);
}

.social-circle:hover svg {
  fill: var(--maroon-deep);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(197, 160, 89, 0.12);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted-light);
}

/* ══════════════════════════════════════════════════════
   FLOATING WHATSAPP WIDGET
   ══════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.wa-label {
  background: rgba(42, 3, 5, 0.9);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.wa-label:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.wa-bubble {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.wa-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.wa-bubble svg {
  width: 28px; height: 28px;
  fill: white;
}

/* ══════════════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 0, 1, 0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 85vw;
  max-height: 85vh;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.8);
}

.lightbox-caption {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  text-align: center;
  color: var(--gold-light);
  margin-top: 1rem;
}

.lightbox-close, .lightbox-nav {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.8rem;
}

.lightbox-close {
  top: -3rem; right: 0;
}

.lightbox-close svg {
  width: 28px; height: 28px;
  fill: var(--gold-light);
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav svg {
  width: 32px; height: 32px;
  fill: var(--gold-primary);
  transition: var(--transition);
}

.lightbox-nav:hover svg {
  fill: white;
}

.lightbox-prev { left: -3rem; }
.lightbox-next { right: -3rem; }

/* ══════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-luxury), transform 0.6s var(--ease-luxury);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 992px) {
  :root { --section-pad: 4.5rem; }
  .hero-title { font-size: 3rem; }
  .hero-script { font-size: 5.5rem; top: -3.5rem; }
  .celebrations-grid, .testimonials-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .gallery-masonry { columns: 3; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    background: rgba(42, 3, 5, 0.98);
    backdrop-filter: blur(15px);
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-luxury);
    z-index: 550; /* Above lanyard card (z:10-12) but below hamburger (z:600) */
  }
  
  .nav-links.open {
    transform: translateX(0);
  }
  
  .nav-link { font-size: 1.2rem; }
  .nav-cta { margin-left: 0; }
  
  .hero-title { font-size: 2.5rem; letter-spacing: 3px; }
  .hero-script { font-size: 4.5rem; top: -3rem; }
  
  .celebrations-grid, .testimonials-grid, .services-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  
  .site-footer { padding: 2.5rem 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; text-align: center; }
  .footer-brand { grid-column: span 2; }
  .footer-brand .footer-tagline { margin: 0.8rem auto 0; max-width: 290px; font-size: 0.75rem; }
  .footer-socials { justify-content: center; margin-top: 0.8rem; }
  .footer-grid > div:last-child { grid-column: span 2; }
  .footer-contact-item { justify-content: center; font-size: 0.78rem; }
  .footer-bottom-bar { flex-direction: column; gap: 0.6rem; text-align: center; padding: 1.2rem 0; }
  
  .section-mehndi::before, .section-mehndi::after { width: 40px; }
  
  .page-hero-title { font-size: 2.4rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-script { font-size: 3.5rem; top: -2.2rem; }
  .section-title-main { font-size: 2rem; }
  .gallery-masonry { columns: 1; }
  .whatsapp-float .wa-label { display: none; }
}

/* ══════════════════════════════════════════════════════
   3D LANYARD CARD PHYSICS & STYLE (Vanilla Port of React Lanyard)
   ══════════════════════════════════════════════════════ */
.lanyard-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible; /* Allows the card to swing outside boundaries */
  background: transparent;
  border: none;
  box-shadow: none;
  perspective: 1000px;
}
.lanyard-rope-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: visible !important;
}

.lanyard-card {
  width: 240px;
  height: 360px;
  position: absolute;
  transform-style: preserve-3d;
  cursor: grab;
  z-index: 10;
  will-change: transform;
  /* NO transition on transform to avoid lag behind mouse! Only transition flip */
  transition: transformY 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  /* Prevent text highlighting while dragging */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.lanyard-card:active {
  cursor: grabbing;
}

.lanyard-card.flipped {
  /* Handled dynamically in JS to combine translation and rotation */
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  border: 1.5px solid var(--gold-primary);
  background: linear-gradient(135deg, #3d080c 0%, #1a0204 100%);
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 0 20px rgba(197,160,89,0.1);
  overflow: hidden;
  transition: opacity 0.3s ease-in-out; /* Smooth fade to hide backface bleed */
}

.card-face-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #1a0204 0%, #3d080c 100%);
  opacity: 0;
  pointer-events: none;
  justify-content: flex-start !important; /* Spacing handled via margins, not stretching */
}

/* Force-hide faces based on flipped state to prevent 3D Z-fighting bleed */
.lanyard-card.flipped .card-face-front {
  opacity: 0;
  pointer-events: none;
}

.lanyard-card.flipped .card-face-back {
  opacity: 1;
  pointer-events: auto;
}

/* Metallic Lanyard Hook/Clip */
.lanyard-hook {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transform-origin: 50% 0%;
}

.hook-ring {
  width: 18px;
  height: 18px;
  border: 3px solid #b8963e;
  border-radius: 50%;
  background: transparent;
  box-shadow: 
    0 0 4px rgba(197, 160, 89, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.hook-clip {
  width: 8px;
  height: 20px;
  background: linear-gradient(180deg, #d4af5a 0%, #b8963e 40%, #8a6d2b 100%);
  border-radius: 0 0 3px 3px;
  box-shadow: 
    1px 0 2px rgba(0,0,0,0.3),
    -1px 0 2px rgba(0,0,0,0.3),
    inset 1px 0 1px rgba(255,255,255,0.2);
  margin-top: -2px;
}

/* Slot for Lanyard Strap */
.lanyard-slot {
  width: 50px;
  height: 8px;
  background: rgba(0,0,0,0.5);
  border-radius: 50px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  margin-bottom: 0.5rem;
}

/* Card Header */
.card-face .card-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.card-face .brand-name {
  font-family: var(--font-script);
  font-size: 2.2rem;
  line-height: 0.7;
  color: var(--gold-light);
}

.card-face .brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--white);
}

/* Avatar with Instagram Ring */
.profile-avatar-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 3.5px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2a0305;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar .avatar-text {
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 700;
  color: #3d080c;
  line-height: 1;
}

/* Card Bio Content */
.profile-details {
  text-align: center;
  width: 100%;
}

.profile-username {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.verified-badge {
  width: 13px;
  height: 13px;
}

.profile-category {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0.15rem 0 0.5rem;
}

.profile-bio {
  font-size: 0.68rem;
  color: var(--text-muted-light);
  line-height: 1.45;
  text-align: left;
  display: inline-block;
  margin: 0 auto;
}

.profile-bio p {
  margin-bottom: 2px;
}

/* Card Stats */
.profile-stats {
  display: flex;
  justify-content: space-around;
  width: 100%;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  padding: 0.5rem 0;
  margin: 0.5rem 0;
}

.profile-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-stats div strong {
  font-size: 0.8rem;
  color: var(--white);
}

.profile-stats div span {
  font-size: 0.55rem;
  color: var(--text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Barcode */
.card-barcode {
  width: 80%;
  height: 25px;
  background: repeating-linear-gradient(90deg, #c5a059, #c5a059 2px, transparent 2px, transparent 6px);
  opacity: 0.6;
  position: relative;
}

.card-barcode::after {
  content: '0 97612 78627 9';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 0.45rem;
  letter-spacing: 3px;
  color: var(--text-muted-dark);
}

/* Card Back absolute layout */
.card-face-back .lanyard-slot {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.card-face-back .camera-graphic {
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
}

.card-face-back .camera-graphic svg {
  width: 32px;
  height: 32px;
  fill: var(--gold-primary);
  opacity: 0.85;
}

.card-face-back .card-back-heading {
  position: absolute;
  top: 96px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.card-face-back .card-back-text {
  position: absolute;
  top: 126px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-muted-light);
  letter-spacing: 0.5px;
}

.card-face-back .qr-code-placeholder {
  position: absolute;
  top: 150px; /* CHANGE THIS to move QR up/down */
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  padding: 6px;
  background: white url('assets/instagram_qr.png') center / calc(100% - 12px) calc(100% - 12px) no-repeat;
  border-radius: 10px;
  border: 1px solid var(--gold-primary);
}

.card-face-back .card-footer-cta {
  position: absolute;
  bottom: 1.5rem; /* Locked to bottom */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

/* ══════════════════════════════════════════════════════
   MOBILE RESPONSIVE LANYARD CARD
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .lanyard-wrapper {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .lanyard-wrapper {
    height: 340px;
  }
}
