/* ==========================================================================
   ARSHENA WEDDING - UNIFIED STYLESHEET (FRONTEND & BACKEND/DASHBOARD)
   100% Local & Standalone • Centralized CSS Engine
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LOCAL FONT DEFINITIONS (@font-face)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../webfonts/plus-jakarta-sans-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../webfonts/plus-jakarta-sans-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../webfonts/plus-jakarta-sans-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../webfonts/plus-jakarta-sans-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../webfonts/plus-jakarta-sans-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../webfonts/plus-jakarta-sans-800-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../webfonts/playfair-display-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../webfonts/playfair-display-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../webfonts/playfair-display-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../webfonts/playfair-display-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../webfonts/cormorant-garamond-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../webfonts/cormorant-garamond-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../webfonts/cormorant-garamond-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../webfonts/cormorant-garamond-700-normal.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
[x-cloak] { 
  display: none !important; 
}

html { 
  scroll-behavior: smooth; 
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
}

/* Custom Scrollbars */
::-webkit-scrollbar { 
  width: 6px; 
  height: 6px; 
}
::-webkit-scrollbar-track { 
  background: #f1f5f9; 
}
::-webkit-scrollbar-thumb { 
  background: #cbd5e1; 
  border-radius: 9999px; 
}
::-webkit-scrollbar-thumb:hover { 
  background: #B0804D; 
}

/* Utility to hide scrollbars on horizontal scroll tabs */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & LUXURY ACCENTS
   -------------------------------------------------------------------------- */
.font-serif-luxury {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.015em;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #B0804D 0%, #D4A359 50%, #8E6235 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #B0804D 0%, #D4A359 50%, #8E6235 100%);
}

.gold-solid-btn {
  background-color: #D4AF37;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gold-solid-btn:hover {
  background-color: #c49f2c;
  box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. GLASSMORPHISM UTILITIES
   -------------------------------------------------------------------------- */
.glass-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   5. DASHBOARD UI CARDS & COMPONENTS
   -------------------------------------------------------------------------- */
.dashboard-card {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.dashboard-card-hover {
  transition: all 0.25s ease;
}
.dashboard-card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.08);
  border-color: rgba(203, 213, 225, 0.8);
}

/* --------------------------------------------------------------------------
   6. SMART STICKY HEADER NAVIGATION
   -------------------------------------------------------------------------- */
.smart-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.smart-header--hidden {
  transform: translateY(-100%);
}

.smart-header--visible {
  transform: translateY(0);
}

.smart-header--scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

.smart-header--top {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

/* --------------------------------------------------------------------------
   7. SCROLL UP (BACK TO TOP) BUTTON
   -------------------------------------------------------------------------- */
.scroll-up-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 45;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #8E6235;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 0 15px rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

.scroll-up-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-up-btn:hover {
  background: #D4AF37;
  color: #ffffff;
  border-color: #D4AF37;
  box-shadow: 0 12px 28px -4px rgba(212, 175, 55, 0.45);
  transform: translateY(-4px) scale(1.05);
}

.scroll-up-btn:active {
  transform: translateY(0) scale(0.95);
}

/* --------------------------------------------------------------------------
   8. HERO SLIDER STYLES & ANIMATIONS
   -------------------------------------------------------------------------- */
.bg-radial-vignette {
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.65) 100%);
}

@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.swiper-slide .hero-anim-badge,
.swiper-slide .hero-anim-title,
.swiper-slide .hero-anim-desc,
.swiper-slide .hero-anim-cta {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.swiper-slide-active .hero-anim-badge {
  animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.swiper-slide-active .hero-anim-title {
  animation: heroFadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
.swiper-slide-active .hero-anim-desc {
  animation: heroFadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}
.swiper-slide-active .hero-anim-cta {
  animation: heroFadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

.swiper-slide .hero-bg-img {
  transform: scale(1);
  transition: transform 7s ease-out;
}
.swiper-slide-active .hero-bg-img {
  transform: scale(1.08);
}

/* Capsule Swiper Pagination */
.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  border-radius: 9999px;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 4px !important;
  cursor: pointer;
}
.hero-swiper-pagination .swiper-pagination-bullet:hover {
  background-color: rgba(255, 255, 255, 0.85);
}
.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 36px !important;
  height: 8px;
  background-color: #ffffff !important;
  border-radius: 9999px;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.85);
}
