/* ============================================================
   WEDDINGKU - MAIN CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --rose:       #C4748A;
  --rose-dark:  #A85E75;
  --rose-light: #F5D8DF;
  --rose-soft:  #FFF0F3;
  --gold:       #C4A84A;
  --bg:         #FAFAFA;
  --text:       #1A1A2E;
  --muted:      #6B7280;
  --border:     #E5E7EB;
  --radius:     12px;
  --shadow:     0 2px 16px rgba(0,0,0,.07);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); }
.font-serif { font-family: 'Playfair Display', serif; }

/* ---- Utilities ---- */
.text-rose  { color: var(--rose) !important; }
.bg-rose    { background-color: var(--rose) !important; }
.bg-rose-soft { background-color: var(--rose-soft) !important; }
.min-vh-80  { min-height: 80vh; }
.py-6       { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.mt-6       { margin-top: 5rem !important; }
.font-mono  { font-family: monospace; }
.text-truncate-2 { overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }

/* ---- Color Soft Variants ---- */
.bg-blue-soft   { background-color: #EFF6FF !important; }
.bg-green-soft  { background-color: #ECFDF5 !important; }
.bg-purple-soft { background-color: #F5F3FF !important; }
.bg-orange-soft { background-color: #FFF7ED !important; }
.bg-teal-soft   { background-color: #F0FDFA !important; }
.bg-pink-soft   { background-color: #FFF0F3 !important; }
.bg-indigo-soft { background-color: #EEF2FF !important; }
.bg-success-soft { background-color: #ECFDF5 !important; }
.bg-danger-soft  { background-color: #FEF2F2 !important; }
.bg-warning-soft { background-color: #FFFBEB !important; }
.bg-info-soft    { background-color: #EFF6FF !important; }
.bg-alert-info-soft { background-color: #EFF6FF !important; }

.text-blue   { color: #2563EB !important; }
.text-green  { color: #059669 !important; }
.text-purple { color: #7C3AED !important; }
.text-orange { color: #D97706 !important; }
.text-teal   { color: #0D9488 !important; }
.text-pink   { color: #DB2777 !important; }
.text-indigo { color: #4F46E5 !important; }

/* ---- Buttons ---- */
.btn-rose {
  background-color: var(--rose);
  border-color: var(--rose);
  color: #fff;
  transition: all .2s;
}
.btn-rose:hover, .btn-rose:focus {
  background-color: var(--rose-dark);
  border-color: var(--rose-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196,116,138,.35);
}
.btn-outline-rose {
  color: var(--rose);
  border-color: var(--rose);
  transition: all .2s;
}
.btn-outline-rose:hover, .btn-outline-rose:focus {
  background-color: var(--rose);
  color: #fff;
}

/* ---- Navbar ---- */
.wk-navbar {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
}
.wk-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text) !important;
  text-decoration: none;
}
.wk-navbar .nav-link {
  color: var(--muted);
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: 8px;
  transition: all .15s;
}
.wk-navbar .nav-link:hover { color: var(--rose); background: var(--rose-soft); }

/* ---- Avatar ---- */
.wk-avatar-sm {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rose-soft); color: var(--rose);
  font-size: .75rem; font-weight: 700;
}
.wk-avatar-lg {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
}
.wk-avatar-xl {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700;
}

/* ---- Hero ---- */
.wk-hero { background: linear-gradient(135deg, #FFF5F7 0%, #FFF0E8 50%, #F0F8FF 100%); }
.wk-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
}
.wk-hero-title em { color: var(--rose); font-style: italic; }
.wk-hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 520px; line-height: 1.7; }
.wk-hero-illustration { position: relative; padding: 2rem; }
.wk-card-preview {
  background: #fff;
  border-radius: 24px;
  max-width: 320px;
  margin: auto;
  animation: floatCard 4s ease-in-out infinite;
}
.wk-card-deco { font-size: 3rem; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- Feature Cards ---- */
.wk-feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: all .25s;
}
.wk-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wk-feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}

/* ---- Stat Cards ---- */
.wk-stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  text-align: center;
  box-shadow: var(--shadow);
}
.wk-stat-card.border-rose { border-top-color: var(--rose); }
.wk-stat-card.border-green { border-top-color: #059669; }
.wk-stat-card.border-blue  { border-top-color: #2563EB; }
.wk-stat-card.border-purple { border-top-color: #7C3AED; }
.wk-stat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin: 0 auto .75rem;
}
.wk-stat-num  { font-size: 1.4rem; font-weight: 700; color: var(--text); }
.wk-stat-label { font-size: .72rem; color: var(--muted); margin-top: .2rem; }

/* ---- Product Cards ---- */
.wk-product-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .2s;
}
.wk-product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.wk-product-img {
  height: 180px; overflow: hidden; position: relative;
  background: #F9FAFB; display: flex; align-items: center; justify-content: center;
}
.wk-product-img img { object-fit: cover; width: 100%; height: 100%; }
.wk-product-placeholder { font-size: 3rem; color: #D1D5DB; }
.wk-badge-sale {
  position: absolute; top: 8px; left: 8px;
  background: #EF4444; color: #fff;
  font-size: .65rem; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
}
.wk-badge-featured {
  position: absolute; top: 8px; right: 8px;
  background: var(--gold); color: #fff;
  font-size: .65rem; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
}
.wk-product-detail-img { background: #F9FAFB; min-height: 380px; }

/* ---- Service Cards ---- */
.wk-service-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .2s;
}
.wk-service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.wk-service-img { position: relative; overflow: hidden; max-height: 200px; }
.wk-service-img img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s; }
.wk-service-card:hover .wk-service-img img { transform: scale(1.04); }
.wk-service-placeholder { height: 200px; display: flex; align-items: center; justify-content: center; }
.wk-service-cat-badge {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  color: var(--rose); font-size: .72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
}
.wk-service-body { padding: 1.25rem; }

/* ---- Wedding Cards ---- */
.wk-wedding-card { transition: all .2s; }
.wk-wedding-card:hover { transform: translateY(-3px); }

/* ---- CTA Section ---- */
.wk-cta-section {
  background: linear-gradient(135deg, var(--rose) 0%, #A85E75 50%, #7B3F60 100%);
  position: relative; overflow: hidden;
}
.wk-cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.text-white-75 { color: rgba(255,255,255,.75); }

/* ---- Footer ---- */
.wk-footer { background: #1A1A2E; }
.wk-footer h5, .wk-footer h6 { color: #fff; }

/* ---- Auth Layout ---- */
.auth-body { margin: 0; }
.auth-split { display: flex; min-height: 100vh; }
.auth-left {
  flex: 0 0 42%; background: linear-gradient(160deg, var(--rose) 0%, #8B3D5E 100%);
  align-items: center; justify-content: center;
  position: sticky; top: 0; height: 100vh;
}
.auth-left-inner { max-width: 380px; padding: 2rem; }
.auth-feat-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.auth-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem; background: #fff; }
.auth-form-wrap { width: 100%; max-width: 420px; }

/* ---- Alert soft variants ---- */
.alert-success-soft { background: #ECFDF5; color: #065F46; }
.alert-info-soft    { background: #EFF6FF; color: #1E40AF; }
.alert-warning-soft { background: #FFFBEB; color: #92400E; }

@media (max-width: 991px) {
  .auth-left { display: none !important; }
}
