/* ==========================================================================
   M.W CREATION LUXURY DESIGN SYSTEM - BASE & UTILITIES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --color-obsidian: #050505;
  --color-charcoal: #0E0E0E;
  --color-brand-orange: #FF5722;
  --color-brand-orange-dark: #E65100;
  --color-gold: #D4AF37;
  --color-gold-dark: #AA7C11;
  --color-cream: #FDFBF7;
  --color-muted: #8E8E8E;
  
  --font-serif: 'Cinzel', serif;
  --font-editorial: 'Playfair Display', serif;
  --font-sans: 'Poppins', sans-serif;
  --font-mono: 'Montserrat', sans-serif;
  
  --transition-luxurious: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-snappy: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base Custom Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  background-color: var(--color-obsidian);
  color: var(--color-cream);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--color-brand-orange);
  color: #000;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--color-obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--color-charcoal);
  border: 1px solid rgba(255, 87, 34, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-orange);
}

/* Lenis Scroll Smoothness */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overflow: clip;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* Premium Orange Glowing Custom Cursor */
.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-brand-orange);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  box-shadow: 0 0 10px var(--color-brand-orange), 0 0 20px var(--color-brand-orange);
}

.custom-cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 87, 34, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 87, 34, 0.1);
}

/* Active Hover Expansion */
body.cursor-hover .custom-cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--color-brand-orange);
  background-color: rgba(255, 87, 34, 0.05);
  box-shadow: 0 0 15px rgba(255, 87, 34, 0.3);
}

/* Islamic Geometric Backdrops */
.islamic-pattern-bg {
  position: relative;
}
.islamic-pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z M30 10 L50 30 L30 50 L10 30 Z M30 20 L40 30 L30 40 L20 30 Z' fill='%23FF5722' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Glassmorphism Orange Cards */
.glass-panel {
  background: rgba(14, 14, 14, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 87, 34, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-luxurious);
}

.glass-panel:hover {
  border-color: rgba(255, 87, 34, 0.25);
  box-shadow: 0 12px 40px 0 rgba(255, 87, 34, 0.05);
}

/* Premium Buttons & CTAs */
.btn-luxury {
  position: relative;
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--color-brand-orange);
  color: #000;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition-snappy);
  border: 1px solid var(--color-brand-orange);
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
  z-index: 1;
}

.btn-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn-luxury:hover::before {
  left: 100%;
}

.btn-luxury:hover {
  background-color: transparent;
  color: var(--color-cream);
  border-color: var(--color-brand-orange);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
  transform: translateY(-2px);
}

.btn-luxury-outline {
  display: inline-block;
  padding: 14px 36px;
  background-color: transparent;
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-snappy);
}

.btn-luxury-outline:hover {
  border-color: var(--color-brand-orange);
  color: var(--color-brand-orange);
  background-color: rgba(255, 87, 34, 0.05);
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.15);
  transform: translateY(-2px);
}

/* Luxury Loader screen */
.luxury-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-obsidian);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

.luxury-loader.loaded {
  transform: translateY(-100%);
}

.loader-logo {
  font-size: 2.5rem;
  letter-spacing: 0.3em;
  color: var(--color-cream);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
}

.loader-line-container {
  width: 180px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.loader-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--color-brand-orange);
  box-shadow: 0 0 8px var(--color-brand-orange);
}

/* Soft Glow Text and Box Highlights */
.orange-glow-text {
  text-shadow: 0 0 10px rgba(255, 87, 34, 0.5), 0 0 20px rgba(255, 87, 34, 0.3);
}

.orange-glow-border {
  box-shadow: 0 0 15px rgba(255, 87, 34, 0.15);
  border-color: rgba(255, 87, 34, 0.3) !important;
}

.gold-glow-text {
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Fabric Wave Shimmer Effect */
.fabric-wave-container {
  position: relative;
  overflow: hidden;
}
.fabric-wave-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 87, 34, 0.1), transparent);
  transform: skewX(-25deg);
  animation: fabricWaveShimmer 8s infinite linear;
}

@keyframes fabricWaveShimmer {
  0% { left: -150%; }
  40% { left: 150%; }
  100% { left: 150%; }
}
