/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Raleway', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ========== COLOR SYSTEM ========== */
:root {
  --plum-dark: #1b0f1e;
  --plum: #2a1530;
  --plum-light: #3d1f47;
  --plum-200: #c4a0d4;
  --amber-300: #f5d061;
  --amber-400: #d4af37;
  --amber-500: #b8860b;
}

/* ========== TAILWIND EXTENSIONS ========== */
.bg-plum-dark { background-color: #1b0f1e; }
.bg-plum { background-color: #2a1530; }
.bg-plum-light { background-color: #3d1f47; }
.text-plum-light { color: #e8d5f5; }
.text-plum-200 { color: #c4a0d4; }

/* ========== HEADER ========== */
#header { background: transparent; }
#header.scrolled {
  background: rgba(27, 15, 30, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f5d061, #b8860b);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #f5d061; }

/* ========== MOBILE MENU ========== */
#mobile-menu { animation: slideDown 0.3s ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-link { transition: color 0.2s ease, padding-left 0.2s ease; }
.mobile-link:hover { padding-left: 8px; }

/* ========== STAT CARDS ========== */
.stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(27, 15, 30, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.stat-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}
.stat-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

/* ========== SERVICE CARDS ========== */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-4px); }

/* ========== GALLERY ========== */
.gallery-item {
  position: relative;
  cursor: pointer;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}
.gallery-item:hover::after { border-color: rgba(212, 175, 55, 0.4); }

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========== FORM ========== */
input:focus, textarea:focus {
  border-color: rgba(212, 175, 55, 0.6) !important;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1) !important;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1b0f1e; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #d4af37, #b8860b); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #f5d061; }

/* ========== SELECTION ========== */
::selection { background: rgba(212, 175, 55, 0.3); color: #e8d5f5; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .stat-card { flex-direction: column; align-items: flex-start; text-align: left; }
}
