:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode support removed - website now only uses light mode */
/* Force light mode regardless of system preferences */
* {
  color-scheme: light !important;
}

html, body {
  color-scheme: light !important;
}

/* Dark mode data attribute styles removed - website now only uses light mode */

/* Light mode data attribute styles removed - website now only uses light mode */

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  color-scheme: light !important;
}

body {
  margin: 0;
  padding: 0;
  color-scheme: light !important;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

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

.btn--primary:active {
  background: var(--color-primary-active);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Select caret - always uses light mode style */

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specific styles removed - website now only uses light mode */

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Traditional Indian Roka Ceremony Invitation Styles */

/* Custom CSS variables for the design system integration */
:root {
    /* Traditional Roka Color Palette */
    --roka-gold: #D4AF37;
    --roka-deep-red: #8B0000;
    --roka-cream: #FFF8DC;
    --roka-rose-gold: #E8B4B8;
    --roka-dark-brown: #3E2723;
    --roka-warm-orange: #FF8C69;
    --roka-soft-pink: #FFC0CB;
    --roka-sage-green: #9CAF88;
    
    /* Typography - Traditional Indian Style */
    --font-script: 'Dancing Script', cursive;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 248, 220, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--roka-gold);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 248, 220, 0.98);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--roka-gold);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--roka-dark-brown);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--roka-gold);
    background-color: rgba(212, 175, 55, 0.1);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-hamburger:hover {
    background: rgba(212, 175, 55, 0.1);
}

.nav-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--roka-gold);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Sections Control - FIXED */
section {
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    display: none;
}

/* Only show the active section */
section.active {
    display: block;
}

/* Hero Section */
.hero-section {
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--roka-cream) 0%, #FAF0E6 100%);
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.hero-section.active {
    display: flex;
}

.mandala-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.mandala-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.1);
    animation: rotate 30s linear infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -10%;
    border-width: 3px;
    border-color: rgba(212, 175, 55, 0.15);
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: -5%;
    border-width: 2px;
    border-color: rgba(232, 180, 184, 0.2);
    animation-direction: reverse;
}

.circle-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-width: 1px;
    border-color: rgba(156, 175, 136, 0.1);
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1.2s ease;
}

.ganesha-symbol {
    font-size: 3rem;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.couple-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: slideInUp 1.5s ease 0.3s both;
}

/* AI Couple Image Styling */
.ai-couple-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.ai-couple-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--roka-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease;
}

.ai-couple-image:hover {
    transform: scale(1.05);
}

.couple-sparkle {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

.couple-names {
    font-family: var(--font-script);
    font-size: 4rem;
    font-weight: 700;
    color: var(--roka-deep-red);
    margin-bottom: 1rem;
    animation: slideInUp 1.5s ease 0.6s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.ceremony-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--roka-gold);
    margin-bottom: 0.5rem;
    animation: slideInUp 1.5s ease 0.9s both;
    font-weight: 600;
}

.ceremony-date {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--roka-dark-brown);
    margin-bottom: 0.5rem;
    animation: slideInUp 1.5s ease 1.2s both;
}

.ceremony-tagline {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    animation: slideInUp 1.5s ease 1.5s both;
    font-style: italic;
}

.hero-btn {
    animation: slideInUp 1.5s ease 1.8s both;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--roka-gold);
    color: var(--roka-cream);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    font-weight: 600;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    background: #B8941F;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flower {
    position: absolute;
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
    opacity: 0.7;
}

.flower-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.flower-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.flower-3 {
    bottom: 25%;
    left: 20%;
    animation-delay: 2s;
}

.flower-4 {
    bottom: 40%;
    right: 25%;
    animation-delay: 3s;
}

/* Invitation Section */
.invitation-section {
    background: #0F4C3A;
    padding: 6rem 0;
    align-items: center;
    justify-content: center;
}

.invitation-section.active {
    display: flex;
}

.invitation-card {
    max-width: 900px;
    background: #1A4D2E;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 4px solid #D4AF37;
    animation: slideInUp 1s ease;
    position: relative;
}

.invitation-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #D4AF37;
    z-index: -1;
    border-radius: 22px;
}

.invitation-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: #1B5F47;
    position: relative;
}

.traditional-border {
    height: 4px;
    background: #D4AF37;
    margin: 1rem 0;
}

.blessing-symbol {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
    color: #D4AF37;
}

.invitation-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: #D4AF37;
    margin-bottom: 1rem;
    font-style: italic;
}

.invitation-couple {
    font-family: var(--font-script);
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(212, 175, 55, 0.4);
}

.invitation-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #D4AF37;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.invitation-body {
    padding: 2rem;
    background: #1A4D2E;
}

.ceremony-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #0F4C3A;
    border-radius: 12px;
    border-left: 4px solid #D4AF37;
    transition: transform 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.detail-item:hover {
    transform: translateY(-3px);
}

.detail-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.detail-content h3 {
    font-family: var(--font-serif);
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.detail-content p {
    color: #D4AF37;
    font-weight: 500;
}

.address {
    font-style: italic;
    color: #B8860B !important;
    font-size: 0.9rem;
}

.blessing-quote {
    text-align: center;
    padding: 2rem;
    background: #0F4C3A;
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    border: 2px solid rgba(212, 175, 55, 0.4);
}

.quote-decoration {
    font-size: 1.5rem;
    display: inline-block;
    color: #D4AF37;
}

.blessing-quote p {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: #FFD700;
    margin: 0 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(212, 175, 55, 0.3);
}

.invitation-footer {
    text-align: center;
    padding: 2rem;
    background: #1B5F47;
}

.invitation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Gallery Section */
.gallery-section {
    background: var(--color-bg-3);
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-script);
    font-size: 3.5rem;
    color: var(--roka-deep-red);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 4rem;
    font-style: italic;
}

.gallery-slideshow {
    max-width: 800px;
    margin: 0 auto;
}

.slideshow-container {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.slide {
    display: none;
    height: 100%;
    animation: slideIn 0.5s ease;
    padding: 15px;
    box-sizing: border-box;
}

.slide.active {
    display: block;
    background: rgba(212, 175, 55, 0.02);
    border-radius: 10px;
}

.slide-frame {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 5px solid var(--roka-gold);
    border-radius: 15px;
    overflow: hidden;
    background: rgba(212, 175, 55, 0.05);
}

.slide-photo {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    text-align: center;
}

.slide-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

.slide-decoration {
    padding: 1rem;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    color: var(--roka-gold);
}

.slideshow-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.slide-btn {
    background: var(--roka-gold);
    color: var(--roka-cream);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background: #B8941F;
    transform: scale(1.1);
}

.slide-indicators {
    display: flex;
    gap: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--roka-gold);
    transform: scale(1.2);
}

/* Ceremony Section */
.ceremony-section {
    background: var(--color-background);
    padding: 6rem 0;
}

.ceremony-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.ceremony-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--roka-gold);
    transition: transform 0.3s ease;
}

.ceremony-card:hover {
    transform: translateY(-8px);
}

.card-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.ceremony-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--roka-deep-red);
    margin-bottom: 1rem;
    text-align: center;
}

.ceremony-card p {
    line-height: 1.6;
    text-align: center;
}

.ceremony-card ul {
    list-style: none;
    padding-left: 0;
}

.ceremony-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.ceremony-card li::before {
    content: "🌸";
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.blessing-section {
    background: var(--color-bg-1);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.blessing-section h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--roka-deep-red);
    margin-bottom: 2rem;
}

.blessings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.blessing-item {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--roka-rose-gold);
}

.blessing-item p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--roka-dark-brown);
    font-style: italic;
    line-height: 1.6;
}

/* RSVP Section */
.rsvp-section {
    background: var(--color-bg-2);
    padding: 6rem 0;
}

.rsvp-header {
    text-align: center;
    margin-bottom: 3rem;
}

.rsvp-header h1 {
    font-family: var(--font-script);
    font-size: 3.5rem;
    color: var(--roka-deep-red);
    margin-bottom: 1rem;
}

.rsvp-header p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

.rsvp-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--roka-gold);
    position: relative;
}

.traditional-motif {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--roka-deep-red);
    font-family: var(--font-serif);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--color-background);
}

.form-control:focus {
    border-color: var(--roka-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    outline: none;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: var(--color-bg-6);
}

.radio-label:hover {
    background: var(--color-bg-8);
    border-color: var(--roka-rose-gold);
}

.radio-label input[type="radio"] {
    accent-color: var(--roka-gold);
}

.attending-fields {
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 1.5rem;
}

.attending-fields.show {
    opacity: 1;
}

.rsvp-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--roka-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
    animation: bounce 1s ease;
}

.rsvp-success h3 {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--roka-deep-red);
    margin-bottom: 1rem;
}

/* Share Section */
.share-section {
    background: var(--color-bg-4);
    padding: 6rem 0;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.share-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-card:hover {
    transform: translateY(-8px);
    border-color: var(--roka-gold);
}

.share-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.share-card h3 {
    font-family: var(--font-serif);
    color: var(--roka-deep-red);
    margin-bottom: 0.5rem;
}

.music-placeholder {
    background: var(--color-surface);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px dashed var(--roka-gold);
    max-width: 600px;
    margin: 0 auto;
}

.music-placeholder h3 {
    font-family: var(--font-serif);
    color: var(--roka-deep-red);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.music-controls {
    margin-bottom: 1rem;
}

.music-btn {
    background: var(--roka-gold);
    color: var(--roka-cream);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.music-btn:hover {
    background: #B8941F;
    transform: scale(1.05);
}

.music-note {
    font-style: italic;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    gap: 0.5rem;
}

.btn--primary {
    background: var(--roka-gold);
    color: var(--roka-cream);
}

.btn--primary:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--roka-gold);
    color: var(--roka-gold);
}

.btn--outline:hover {
    background: var(--roka-gold);
    color: var(--roka-cream);
}

.btn--full-width {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.5), 0 0 10px rgba(255, 215, 0, 0.3);
    }
    to {
        text-shadow: 0 0 15px rgba(212, 175, 55, 0.8), 0 0 20px rgba(255, 215, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.4);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-brand {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 248, 220, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        transform: translateY(-100vh);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 2px solid var(--roka-gold);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        text-align: center;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(212, 175, 55, 0.15);
        color: var(--roka-gold);
        transform: translateX(10px);
    }
    
    .nav-hamburger {
        display: flex;
    }
    
    .slide {
        padding: 10px;
    }
    
    .slide-photo {
        padding: 8px;
    }
    
    .gallery-image {
        border-width: 1px;
    }
    
    .couple-names {
        font-size: 2.5rem;
    }
    
    .ceremony-title {
        font-size: 1.5rem;
    }
    
    .invitation-couple {
        font-size: 2.5rem;
    }
    
    .ai-couple-image {
        width: 200px;
        height: 200px;
    }
    
    .ceremony-details {
        grid-template-columns: 1fr;
    }
    
    .invitation-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .rsvp-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .rsvp-form-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .slideshow-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        top: 70px;
        max-height: calc(100vh - 70px);
    }
    
    .nav-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .couple-names {
        font-size: 2rem;
    }
    
    .slide {
        padding: 8px;
    }
    
    .slide-photo {
        padding: 6px;
    }
    
    .gallery-image {
        border-width: 1px;
        border-radius: 6px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .ceremony-grid {
        grid-template-columns: 1fr;
    }
    
    .blessings-grid {
        grid-template-columns: 1fr;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .ai-couple-image {
        width: 180px;
        height: 180px;
    }
}

/* Fullscreen Modal Styles */
.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.fullscreen-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.fullscreen-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    z-index: 10;
}

.fullscreen-header h3 {
    color: #D4AF37;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.fullscreen-close {
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-close:hover {
    background: #D4AF37;
    transform: scale(1.1);
}

/* Navigation Buttons */
.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.fullscreen-nav:hover {
    background: #D4AF37;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.fullscreen-prev {
    left: 20px;
}

.fullscreen-next {
    right: 20px;
}

/* Photo Counter */
.fullscreen-counter {
    position: absolute;
    top: 50%;
    right: 100px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #D4AF37;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    z-index: 20;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.fullscreen-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 80px 20px 100px 20px;
    box-sizing: border-box;
}

#fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 3px solid rgba(212, 175, 55, 0.3);
    background: rgba(0, 0, 0, 0.1);
}

#fullscreen-image:hover {
    transform: scale(1.02);
}

.fullscreen-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.fullscreen-footer p {
    color: #D4AF37;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

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

/* Make gallery images clickable */
.gallery-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Utility Classes */
.hidden {
    display: none !important;
}

.show {
    display: block !important;
}