/* ============================================================
   Mrs_Elite_India â€” "Elite Sovereign" Design System
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Outfit:wght@200;300;400;500;600;700;800&display=swap');

/* --- Design Tokens (CSS Custom Properties) --- */
:root {
  /* Colors â€” Primary */
  --color-primary: #d4af37;
  --color-primary-light: #e6c85a;
  --color-primary-dark: #b8962e;
  --color-primary-rgb: 212, 175, 55;

  /* Colors â€” Surfaces */
  --color-surface: #131313;
  --color-surface-elevated: #1a1a1a;
  --color-surface-card: #1e1e1e;
  --color-surface-overlay: rgba(0, 0, 0, 0.7);
  --color-surface-glass: rgba(19, 19, 19, 0.85);

  /* Colors â€” Text */
  --color-text: #f5f5f5;
  --color-text-secondary: #cccccc;
  --color-text-muted: #888888;
  --color-text-inverse: #131313;

  /* Colors â€” Borders & Accents */
  --color-border: rgba(212, 175, 55, 0.15);
  --color-border-strong: rgba(212, 175, 55, 0.35);
  --color-accent-soft: rgba(212, 175, 55, 0.08);
  --color-accent-glow: rgba(212, 175, 55, 0.25);

  /* Colors â€” Semantic */
  --color-success: #4ade80;
  --color-warning: #fbbf24;
  --color-error: #f87171;
  --color-info: #60a5fa;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes â€” Fluid Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-hero: clamp(2.5rem, 6vw, 5.5rem);

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Line Heights */
  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  /* Letter Spacing */
  --ls-tight: -0.025em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;
  --ls-widest: 0.2em;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --nav-height: 80px;
  --sidebar-width: 260px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
  --shadow-gold-lg: 0 8px 40px rgba(212, 175, 55, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-navbar: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-toast: 600;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-surface);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-light);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--color-text);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}

/* --- Typography Classes --- */
.heading-display {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

.heading-hero {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  letter-spacing: var(--ls-tight);
}

.heading-1 {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}

.heading-2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
}

.heading-3 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}

.heading-4 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}

.text-gold,
.gold {
  background: linear-gradient(135deg, #f1e4a3 0%, #d4af37 50%, #a67c1e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--fw-light);
  color: var(--color-text-secondary);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.label-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-primary);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-24) 0;
}

.section-sm {
  padding: var(--space-16) 0;
}

/* Flex */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-1 {
  gap: var(--space-1);
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

.gap-12 {
  gap: var(--space-12);
}

/* Grid */
.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Text alignment */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Visibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Animation Keyframes --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
  }

  50% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  }
}

@keyframes goldShine {
  0% {
    left: -100%;
  }

  50%,
  100% {
    left: 100%;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes borderGlow {

  0%,
  100% {
    border-color: rgba(212, 175, 55, 0.15);
  }

  50% {
    border-color: rgba(212, 175, 55, 0.5);
  }
}

/* --- Animation Utility Classes --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Slide Left Reveal --- */
.animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Slide Right Reveal --- */
.animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Premium Blur Reveal --- */
.animate-blur-reveal {
  opacity: 0;
  filter: blur(15px);
  transform: scale(0.97);
  transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1),
    filter 1.4s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-blur-reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.2s;
}

.animate-delay-3 {
  transition-delay: 0.3s;
}

.animate-delay-4 {
  transition-delay: 0.4s;
}

.animate-delay-5 {
  transition-delay: 0.5s;
}

/* --- Decorative Elements --- */
.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  margin: var(--space-4) auto;
}

.gold-line-left {
  display: none;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  margin: var(--space-4) 0;
}

.gold-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.section-header .label-tag {
  display: block;
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
  letter-spacing: 0.25em;
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}

.section-header .heading-2 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--fw-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.section-header .heading-2 span {
  font-weight: var(--fw-bold);
  font-style: italic;
}

.section-header .gold-line {
  width: 80px;
  height: 1px;
  background: var(--color-primary);
  margin: var(--space-6) auto;
  opacity: 0.6;
}

.section-header p {
  max-width: 850px;
  margin: 0 auto;
  color: var(--color-text-secondary);
  font-size: var(--text-2xl);
  line-height: var(--lh-relaxed);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-wide);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .heading-1 {
    font-size: var(--text-5xl);
  }
}

@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 var(--space-4);
  }

  .section {
    padding: var(--space-12) 0;
  }

  .heading-1 {
    font-size: var(--text-4xl);
  }

  .heading-2 {
    font-size: var(--text-3xl);
  }

  .hide-mobile {
    display: none !important;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .heading-1 {
    font-size: var(--text-3xl);
  }
}

/* --- Page Transition Shutter Loader --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loader-content {
  position: relative;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.loader-logo {
  height: 120px;
  animation: scalePulse 2s ease-in-out infinite alternate;
}

.loader-line {
  width: 140px;
  height: 1px;
  background: rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
}

.loader-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  animation: loadingBar 1.5s infinite;
}

/* Shutter Panels */
.loader-shutter {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50.5%;
  background: var(--color-surface);
  z-index: 10001;
  transition: transform 0.9s cubic-bezier(0.85, 0, 0.15, 1);
}

.shutter-left {
  left: 0;
  transform-origin: left center;
}

.shutter-right {
  right: 0;
  transform-origin: right center;
}

/* Active transitions */
.page-loader.reveal-active .shutter-left {
  transform: translateX(-100%);
}

.page-loader.reveal-active .shutter-right {
  transform: translateX(100%);
}

.page-loader.reveal-active {
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.9s;
}

@keyframes loadingBar {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes scalePulse {
  0% {
    transform: scale(0.96) rotate(-2deg);
    opacity: 0.85;
  }

  100% {
    transform: scale(1.04) rotate(2deg);
    opacity: 1;
  }
}

/* --- High-Fashion Scroll Transitions --- */
.animate-scale {
  opacity: 0;
  transform: scale(0.96) translateY(35px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.animate-clip-reveal {
  opacity: 0;
  transform: translateY(20px);
  /* primary reveal uses clip-path, but provide a transform fallback for browsers
     that don't animate clip-path reliably. */
  -webkit-clip-path: inset(100% 0 0 0);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s cubic-bezier(0.76, 0, 0.24, 1),
    -webkit-clip-path 1.4s cubic-bezier(0.76, 0, 0.24, 1),
    transform 1.4s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 1.4s ease;
}

.animate-clip-reveal.visible {
  opacity: 1;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

/* --- Gold Dust Particles --- */
.gold-dust-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.gold-particle {
  position: absolute;
  background: radial-gradient(circle, var(--color-primary) 0%, rgba(212, 175, 55, 0) 70%);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary);
  opacity: 0;
}

@keyframes floatParticle {
  0% {
    transform: translateY(105vh) translateX(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 0.7;
  }

  90% {
    opacity: 0.7;
  }

  100% {
    transform: translateY(-5vh) translateX(80px) scale(0.5);
    opacity: 0;
  }
}

/* --- Background Radial Glow --- */
.bg-glow-effect {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
  filter: blur(40px);
}

/* --- Luxury Cursor --- */
.custom-cursor {
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.custom-cursor-outline {
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

.custom-cursor.hovered {
  width: 25px;
  height: 25px;
  background: rgba(212, 175, 55, 0.2);
}

.custom-cursor-outline.hovered {
  width: 50px;
  height: 50px;
  border-color: var(--color-primary-light);
}

@media (max-width: 768px) {

  .custom-cursor,
  .custom-cursor-outline {
    display: none !important;
  }
}

/* ===== ANIMATED LOGO WATERMARK OVERLAY ===== */
body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  width: 75vmax;
  height: 75vmax;
  transform: translate(-50%, -50%);
  background-image: url('../assets/images/logo2026.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.015;
  /* Extremely subtle branding watermark */
  pointer-events: none;
  z-index: 999;
  /* Overlay elements, pointer-events: none allows click-through */
  animation: slowRotateLogo 180s linear infinite;
}

@keyframes slowRotateLogo {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.95);
  }

  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.05);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(0.95);
  }
}